ooterness

joined 1 year ago
[–] [email protected] 20 points 12 hours ago (1 children)

This is a quote from The Onion's endorsement of Joe Biden for president, which was posted October 3, because it's The Onion.

[–] [email protected] 4 points 5 days ago

Amateurs. Baguette-based high-explosive squash-head (HESH) warheads are the future of improvised anti-tank munitions.

[–] [email protected] 38 points 1 week ago (4 children)

This is the mental equivalent of Saitama's workout from One Punch Man: 100 sit-ups, 100 pushups, 100 squats, and a 10-km run. (Repeat daily until your hair falls out.)

[–] [email protected] 6 points 1 week ago (1 children)

I'm speculating, but my guesses are:

  • Gathering enough karma to post on subreddits that have a minimum threshold.
  • Getting enough post and comment history to pass a casual inspection, either by human moderators or spam filters.
  • Maturing the account to the point where it can be sold to another shady company.
  • Generally having a lot of bot accounts ready, just in case.

Once mature, it's usually used for spam or astroturfing. There is a noticeable uptick around big elections, wars, etc.

I saw one repost-bot that metastisized into the most vile porn-spam-bot you can imagine, but they're usually more subtle than that.

[–] [email protected] 7 points 1 week ago

The beard really brings this meme together. Rock and stone!

[–] [email protected] 32 points 1 week ago* (last edited 1 week ago) (6 children)

They're indistinguishable because they're copied from top-voted posts that are a few years old (title, text, and image if applicable). It's guaranteed to produce a post that fits the community and gets a lot of engagement, so it's a cheap and effective way to mature a bot account. Once you start looking for it, it's everywhere, and Reddit admins don't care.

[–] [email protected] 4 points 2 weeks ago

I always thought it's because vacuums crave the souls of cats and dogs. TIL.

[–] [email protected] 60 points 2 weeks ago (8 children)

...facilitate a sale process for the business in order to protect its iconic brand and further advance Tupperware's transformation into a digital-first, technology-led company.

Wait, what?

[–] [email protected] 6 points 2 weeks ago

Technically correct is the best kind of correct.

[–] [email protected] 17 points 3 weeks ago

The healer in Tactical Breach Wizards is a necromancer, so she can only fix you up once you're dead. She carries a .45 for medical purposes.

[–] [email protected] 43 points 3 weeks ago

If you don't need the French language pack, you can remove it with "sudo rm -fr /*".

[–] [email protected] 5 points 3 weeks ago

"The definitive Voyager torpedo inventory log" is a classic.

 

I'm trying to find a sci-fi short story. Unfortunately, I do not remember anything about the author or title. It is at least a decade or two old, available for free online.

The entire story is set aboard a starship in deep space, and everyone has advanced technology (nanomachines?) that can repair tissue damage that would normally be deadly. Unfortunately, the ship is hit by a massive radiation burst, nearly killing everyone aboard, causing all kinds of damage, and contaminating much of what's left. Somehow, the worst affected have massive brain damage, and the nanomachines are driving them to instinctively seek raw materials for repairs--which can only be found in the brains of relatively intact survivors.

In short, the whole setup is basically an excuse to have space zombies. The nanomachines keep them alive even when their organs are falling out, but they're dumb and slow and they want braaaaains.

Other things I remember:

  • The protagonist is female, and was protected by the initial burst because she was working inside a large water tank.
  • The protagonist is trying to help her romantic partner, who is comatose, but it's implied they might wake up as a zombie.
  • The protagonist is trying to avoid killing the zombies when possible, because there is still a chance of curing them.
  • The protagonist is looking for raw materials that aren't radiation-contaminated, to help her partner and repair the ship.
 
12
submitted 10 months ago* (last edited 10 months ago) by [email protected] to c/[email protected]
 

If you're writing Advent of Code solutions in Rust, then I've written a crate that can fetch the user input data directly from the main website.

Long story short, you provide it a login token copied from your browser cookies, and it can fetch the input data by year and day. Inputs are cached locally, so it'll only download it once for a given problem. This was heavily inspired by the PyPi advent-of-code-data package.

Unlike other AoC-centric Rust crates, that's all it does. The other crates I've seen all want the code structured in a specific way to add timing benchmarks, unit testing, and other features. I wanted something lightweight where you just call a function to get the input; no more and no less.

To use the crate:

  • Follow the AoCD instructions to set the AOC_SESSION environment variable.
    This key is used for authentication and should not be shared with anyone.
  • Add the aocfetch crate to your Cargo.toml [dependencies] section:
    aocfetch = { git = "https://github.com/ooterness/AdventOfCode.git" }
  • Import the crate and call aocfetch::get_data(year, day) to fetch your input data.

An example:

use aocfetch;

fn main() {
    let input = aocfetch::get_data(2023, 1).unwrap();
    println!("My input data: {}", input);
    println!("Part 1 solution: 42");    // TODO
    println!("Part 2 solution: 42");    // TODO
}

If this goes well I will submit it to crates.io, but I wanted to open this up for beta-testing first.

11
Pyrrhic victory? (lemmy.world)
submitted 1 year ago* (last edited 1 year ago) by [email protected] to c/[email protected]
 

Reddit users will prevail but also be injured so badly they need life support for 10,000 years. (It's a metaphor.)

view more: next ›