[-] ooterness@lemmy.world 13 points 5 hours ago

LOOK WHAT THOSE GITS NEED TO MIMIC A FRACTION OF OUR POWER.

[-] ooterness@lemmy.world 2 points 6 hours ago

Sadly, Firefox mobile got rid of about:config, and I can't find any relevant options in the regular settings.

[-] ooterness@lemmy.world 49 points 18 hours ago

Apparently, 78 or 81 is a perfect age to run for President.

[-] ooterness@lemmy.world 55 points 1 day ago

You can disable this "feature":

  1. Visit about:config

  2. Set "dom.private-attribution.submission.enabled" to false

[-] ooterness@lemmy.world 1 points 1 day ago* (last edited 1 day ago)

Sure, but there's still no excuse for "store the password in plaintext lol". Once you've got user access, files at rest are trivial to obtain.

You're proposing what amounts to a phishing attack, which is more effort, more time, and more risk. Anything that forces the attacker to do more work and have more chances to get noticed is a step in the right direction. Don't let perfect be the enemy of good.

[-] ooterness@lemmy.world 7 points 2 days ago* (last edited 2 days ago)

No, defense in depth is still important.

It's true that full-disk encryption is useless against remote execution attacks, because the attacker is already inside that boundary. (i.e., As you say, the OS will helpfully decrypt the file for the attacker.)

However, it's still useful to have finer-grained encryption of specific files. (Preferably in addition to full-disk encryption, which remains useful against other attack vectors.) i.e., Prompt the user for a password when the program starts, decrypt the data, and hold it in RAM that's only accessible to that running process. This is more secure because the attacker must compromise additional barriers. Physical access is harder than remote execution with root, which is harder than remote execution in general.

[-] ooterness@lemmy.world 9 points 6 days ago

UTC is better than most, but leap seconds are still awful. Computers should use GPS or TAI everywhere. Dealing with time zones and leap seconds is for human readability and display purposes only.

[-] ooterness@lemmy.world 274 points 1 month ago

I saw that happen once in a big presentation.

There was a team of students presenting their work to ~200 people. Right in the middle, a pop-up says updates are finished and the computer needs to restart. It has a helpful 60-second countdown, but "cancel" is grayed out, so all they can do is watch.

I was only in the audience and I still have nightmares.

15

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.
[-] ooterness@lemmy.world 144 points 3 months ago

Finally, OJ can rest knowing his wife’s killer is dead.

124
submitted 4 months ago by ooterness@lemmy.world to c/grimdank@lemmy.world
[-] ooterness@lemmy.world 150 points 6 months ago

My head canon is that Tony Stark has a superpower: everything he builds works the first time.

If it's really complicated, like an entirely new Iron Man suit, then it might malfunction once in an amusing way. Then he tightens a screw and it's perfect. It never fails outright or bricks itself.

In my experience, this is not how hardware or software development goes. I want this power so much.

[-] ooterness@lemmy.world 164 points 7 months ago

Want to upgrade your F-91W? The open-source Sensor Watch is a board-swap that uses the same display, housing, and wrist-strap but lets you program your own functionality.

12
submitted 7 months ago* (last edited 7 months 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.

25
Pyrrhic victory? (lemmy.world)
submitted 1 year ago* (last edited 1 year 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 ›

ooterness

joined 1 year ago