ooterness

joined 2 years ago
[–] ooterness@lemmy.world 7 points 3 days ago

All proper supervillains must have a fluffy white cat, as we all know. For rabbit supervillains, sometimes the cat is larger than they are. 😹

[–] ooterness@lemmy.world 1 points 1 week ago (1 children)

I am not a vampire lawyer, but vampire courts do tend to side with the vampire when these types of questions come up after the fact.

[–] ooterness@lemmy.world 25 points 1 week ago (17 children)

Yes, you agreed to the Terms of Service (aka Social Contract). For people in the USA, that includes the 4th amendment, which explicitly allows law enforcement (living or semi-living) to enter with a warrant. Therefore you have granted permission to enter.

If they don't have a warrant, or if they messed up the paperwork somehow, then they burst into flame.

[–] ooterness@lemmy.world 25 points 2 weeks ago (2 children)

So he's actually being released, right?

And all the other people abducted without a trial?

[–] ooterness@lemmy.world 2 points 2 weeks ago

🙀 Quite right, my mistake.

[–] ooterness@lemmy.world 1 points 2 weeks ago (2 children)

"Yours" should not have an apostrophe.

[–] ooterness@lemmy.world 42 points 2 weeks ago

Remember when we had the Posse Comitatus Act? The law that makes doing this unambiguously illegal?

[–] ooterness@lemmy.world 8 points 2 weeks ago (2 children)

Why steal things that you can buy for $5?

[–] ooterness@lemmy.world 8 points 3 weeks ago (2 children)

Other exchanges? No idea, sorry. I never held much; I just sold everything and transferred it back to my regular bank account.

[–] ooterness@lemmy.world 40 points 3 weeks ago (6 children)

The moment I saw the banners on that stage, I started the process of closing my Coinbase account. Those corrupt fuckers can rot.

[–] ooterness@lemmy.world 82 points 3 weeks ago (1 children)

You're saying that the rat in an icing bag meme is real!?

 

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 2 years ago* (last edited 2 years ago) by ooterness@lemmy.world to c/advent_of_code@programming.dev
 

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.

 

This is an open-source FPGA project I've been working on for several years now. It's an Ethernet switch for FPGAs, but you can mix-and-match the usual RMII/RGMII/SGMII interfaces with unconventional options like a plain old UART.

My company uses it internally, but we decided to release it as open source. (Currently LGPLv3 but open to other weak-copyleft suggestions.)

Among other things, we've recently incorporated some new technology that allows picosecond-accurate timestamps to be compared across different digital clock domains. You can think of it as a group of NCOs that all track the same best-fit line.

1
Pyrrhic victory? (lemmy.world)
submitted 2 years ago* (last edited 2 years ago) by ooterness@lemmy.world to c/grimdank@lemmy.world
 

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 ›