nathanielherman
nathanielherman on Hacker News
Re:Claude Opus 4.7
on Thursday April 16, 2026 @10:55AM (#47794023)
Oh good call
Re:Claude Opus 4.7
on Thursday April 16, 2026 @10:54AM (#47794007)
Weird, yeah it works for me
Re:Claude Opus 4.7
on Thursday April 16, 2026 @10:45AM (#47793801)
Claude Code hasn't updated yet it seems, but I was able to test it using `claude --model claude-opus-4-7`
Or `/model claude-opus-4-7` from an existing session
edit: `/model claude-opus-4-7[1m]` to select the 1m context window version
Re:Claude Opus 4.7
on Thursday April 16, 2026 @10:44AM (#47793790)
Claude Code doesn't seem to have updated yet, but I was able to try it out by running `claude --model claude-opus-4-7`
Re:The unexpected shutdown of Clark Foams
on Friday February 10, 2023 @01:17PM (#34743455)
I was a kid who started shaping surfboards as a hobby shortly before this happened. The hectic-ness was real — it was almost impossible to find a foam blank afterwards, they were more expensive, and they felt noticeably lower quality. I thought my hobby was going to see a quick end. Glad it's turned around over the years for the better!
Re:Mutexes are faster than Spinlocks
on Saturday January 04, 2020 @09:59PM (#21959335)
Note that I get a similar speedup with 6 and 8 threads on my Mac (which has 8 logical CPUs)
Re:Mutexes are faster than Spinlocks
on Saturday January 04, 2020 @01:04PM (#21956314)
This experiment is a bit weird. If you look at https://github.com/matklad/lock-bench, this was run on a machine with 8 logical CPUs, but the test is using 32 threads. It's not that surprising that running 4x as many threads as there are CPUs doesn't make sense for spin locks.
I did a quick test on my Mac using 4 threads instead. At "heavy contention" the spin lock is actually 22% faster than parking_lot::Mutex. At "extreme contention", the spin lock is 22% slower than parking_lot::Mutex.
Heavy contention run:
$ cargo run --release 4 64 10000 100
Finished release [optimized] target(s) in 0.01s
Running `target/release/lock-bench 4 64 10000 100`
Options {
n_threads: 4,
n_locks: 64,
n_ops: 10000,
n_rounds: 100,
}
std::sync::Mutex avg 2.822382ms min 1.459601ms max 3.342966ms
parking_lot::Mutex avg 1.070323ms min 760.52µs max 1.212874ms
spin::Mutex avg 879.457µs min 681.836µs max 990.38µs
AmdSpinlock avg 915.096µs min 445.494µs max 1.003548ms
std::sync::Mutex avg 2.832905ms min 2.227285ms max 3.46791ms
parking_lot::Mutex avg 1.059368ms min 507.346µs max 1.263203ms
spin::Mutex avg 873.197µs min 432.016µs max 1.062487ms
AmdSpinlock avg 916.393µs min 568.889µs max 1.024317ms
Extreme contention run: $ cargo run --release 4 2 10000 100
Finished release [optimized] target(s) in 0.01s
Running `target/release/lock-bench 4 2 10000 100`
Options {
n_threads: 4,
n_locks: 2,
n_ops: 10000,
n_rounds: 100,
}
std::sync::Mutex avg 4.552701ms min 2.699316ms max 5.42634ms
parking_lot::Mutex avg 2.802124ms min 1.398002ms max 4.798426ms
spin::Mutex avg 3.596568ms min 1.66903ms max 4.290803ms
AmdSpinlock avg 3.470115ms min 1.707714ms max 4.118536ms
std::sync::Mutex avg 4.486896ms min 2.536907ms max 5.821404ms
parking_lot::Mutex avg 2.712171ms min 1.508037ms max 5.44592ms
spin::Mutex avg 3.563192ms min 1.700003ms max 4.264851ms
AmdSpinlock avg 3.643592ms min 2.208522ms max 4.856297ms