damium

joined 2 years ago
[–] damium 2 points 11 months ago (1 children)

Fridges with a dial usually are an uncalibrated simple analog thermostat sensor (often a gas tube with a pressure switch) along with a simple analog control board. Fridges with a digital thermostat tend to use a calibrated sensor (usually a thermocouple) with a digital control board.

[–] damium 4 points 11 months ago (3 children)

You might also try running a few leveling probes in a row to check the repeatability of the measurements. It's possible that something is messing with the ability to make good measurements (unstable power feed, heat warp, probe binding, etc).

[–] damium 2 points 1 year ago

Yeah, I think that was it. I also played a heck of a lot of sudoku on it.

[–] damium 2 points 1 year ago (3 children)

That's awesome, I had an iRiver as well. Ended up putting custom firmware on it after a bit as the original firmware was buggy at times and lacked features. The device itself was surprisingly capable and could even play video.

[–] damium 8 points 1 year ago (5 children)

I had that very device right about 2002. Put my whole CD collection on a few mp3 disks. Replaced it a few years later with a 6GB mp3 player.

[–] damium 1 points 1 year ago

I'n Windows it is not stored in a keyring but instead in the registry. This has basically the same security threat model as a local key file.

The ssh-agent on Linux will do what you want with effectively the same security. The biggest difference being that it doesn't run as a system service but instead runs in userspace which can make it easier to dump memory. There are some other agent services out there with additional security options but they don't change the threat model much.

[–] damium 6 points 1 year ago

Initrd contains the systemd binary and enough libraries, services, and kernel modules to get booted this far. The system failed at switch root which is where the real root disk is mounted. Initrd can contain as much or as little as needed to get a working system which can be a lot of you are using a network filesystem as a root for instance.

[–] damium 1 points 1 year ago

My memory of the cp command is that attributes such as file times were transferred at the last step. I think this would make rsync safe in most situations where a system crash wasn't involved.

[–] damium 6 points 1 year ago (4 children)

If I'm reading it right I think the issue is using a HashSet to store the list of numbers for the sum. Some of the input numbers are repeated and the set discards them.

I could be wrong though as I only just started learning rust for AoC.

[–] damium 1 points 1 year ago

You can also use o1e as there are never more than a single shared character. It also doesn't change the string size so it can be done in place. Still an ugly hack of a solution.

[–] damium 4 points 1 year ago

You don't need to use big-O. You can calculate the full complexity in algebraic notation. It's just a lot more work as you don't get to discard terms.

[–] damium 1 points 1 year ago

I think I remember running into that as well but for whatever reason I couldn't get accelerated-x working with the opengl libraries I was using for school. Likely the issue was just a lack of understanding on my part as I don't think I had a good grasp of the Linux library loader until well after I graduated.

view more: ‹ prev next ›