HN user

alright2565

1,611 karma
Posts0
Comments273
View on HN
No posts found.

I haven't driven this particular car, but if it's anything like any other infotainment system I've seen, I'm really hoping they're able get a profiler running on there to determine the technique they use to get massive frame drops on hardware they fully control.

made CLOCK_MONOTONIC unclear in this regard

I don't understand what you mean. Doesn't smearing still mean the clock only goes forward? It's still steadily incrementing. The only difference is that a second is slightly longer/shorter than you expect, but you already have to account for that if you're doing the kind of physics experiment where it would matter.

I've done a similar sort of thing with my camera lens' firmware updater just out of curiosity, and I didn't use any kind of MCP. It's able to write an automated script using the Ghirda API to decompile the program just fine, and then code exploration can be done by reading the code.

Claude needs good variable names a lot less than humans do, so renaming/typedefing doesn't seem to be as necessary.

This is what Triplebyte tried to do, but unfortunately they failed in the market. Maybe they were ahead of their time and a similar concept would work now.

I've been enjoying this renewed focus on memory efficiency. On my personal system, I've noticed that even with loads of memory, having a large swap partition really helps out when a big burst of memory demand comes up, like then running a large compile job. And that even hours or days after the memory demand is over, I still have gigabytes of memory sitting in the swap page—evidently the programs don't actually need to use that memory at all!

We're in the age of LLMs and this is exactly what they shine at. Just the other day I got tired of Libre office having some crappy custom file picker.

"Claude, change the libre office file picker to the system default"

"Beep boop it is done"

Linux has a big leg up over windows in this regard because all the GUIs are essentially wrappers around CLIs and text files that LLMs can deal with quite well.

I'm not sure of the exact relationship, but power consumption increases greater than linear with clock speed. If you have 4 cores running at the same time, there's more likely to be thermal throttling → lower clock speeds → lower energy consumption.

Greater power draw though; remember that energy is the integral of power over time.

MacBook Neo 5 months ago

I'd rather my ram go to my page cache, not have bloated apps hoarding it.

https://en.wikipedia.org/wiki/Wikipedia:Notability#General_n...

You are welcome to join the conversation and try and convince everyone maintaining Wikipedia that random peoples' tweets should be considered a reliable source. Both those other people you mention have been mentioned multiple times in various reliable articles (see the bibliography), while the only thing I can find online about Ray Peat is something that looks a whole lot like blogspam on usnews.com.

If you are needing to version your password hashes, then you are likely doing them incorrectly and not using a proper computationally-hard hashing algorithm.

For example, with unsuitable algorithms like sha256, you get this, which doesn't have a version field:

    import hashlib; print(f"MD5:      {hashlib.md5(b'password').hexdigest()}")
    print(f"SHA-256:  {hashlib.sha256(b'password').hexdigest()}")


    MD5:      5f4dcc3b5aa765d61d8327deb882cf99
    SHA-256:  5e884898da28047151d0e56f8dc6292773603d0d6aabbdd62a11ef721d1542d8
But if you use a proper password hash, then your hashing library will automatically take care of versioning your hash, and you can just treat it as an opaque blob:
    import argon2; print(f"Argon2:   {argon2.PasswordHasher().hash('password')}")
    import bcrypt; print(f"bcrypt:   {bcrypt.hashpw(b'password', bcrypt.gensalt()).decode()}")
    from passlib.hash import scrypt; print(f"scrypt:   {scrypt.hash('password')}")


    Argon2:   $argon2id$v=19$m=65536,t=3,p=4$LZ/H9PWV2UV3YTgF3Ixrig$aXEtfkmdCMXX46a0ZiE0XjKABfJSgCHA4HmtlJzautU
    bcrypt:   $2b$12$xqsibRw1wikgk9qhce0CGO9G7k7j2nfpxCmmasmUoGX4Rt0B5umuG
    scrypt:   $scrypt$ln=16,r=8,p=1$/V8rpRTCmDOGcA5hjPFeCw$6N1e9QmxuwqbPJb4NjpGib5FxxILGoXmUX90lCXKXD4
This isn't a new thing, and as far as I'm aware, it's derived from the old apache htpasswd format (although no one else uses the leading colon)
    $ htpasswd -bnBC 10 "" password
    :$2y$10$Bh67PQAd4rqAkbFraTKZ/egfHdN392tyQ3I1U6VnjZhLoQLD3YzRe

I would love to see joint tarrifs, together with US allies, to fight against things like sweatshop labor, state-supported industry, etc. That would really send a signal that those things are unacceptable, and lead to change.

That's not what we have here, and that's not what the Trump tarrifs are perceived as internationally.

I misremembered :(

4.5 Sonnet, but because I've been stuck on 3.7 Sonnet for so long due to corporate policy I wrote the wrong thing.

And yeah corporate policy. Opus is not available. I prefer Codex for my personal coding but I have not needed to look in the Git history here yet.

I personally don't have any trouble with that. Using Sonnet 3.7 in Claude Code, I just ask it to spelunk the git history for a certain segment of the code if I think it will be meaningful for its task.

Sure, at the same rate as cars, $20/hr per 12.5m^2. Since I take up about .25m^2, my bill for today ought to be about $0.10, so let me know how I should pay it.

Or we can acknowledge the reason we have money: to distribute scare resources. Parking in urban areas is scarce and expensive, while space to walk and sit simply isn't.