HackerLangs
トップ新着トレンドコメント過去質問紹介求人

sapiogram

no profile record

コメント

sapiogram
·7 日前·議論
Requires an area around your office that isn't ugly or overrun with cars.
sapiogram
·5 か月前·議論
> Officially before the one child policy they were at 800 million. After 30 years of 1 child policy somehow they were at 1.2 billion. The math isn't mathing.

Even if I take your numbers at face value, it is absolutely possible for this math to math. To simplify massively, if the average person dies at 80 years old, the population growth today depends on the number of births 80 years ago, compared to today. Not 30 years ago. The population may have grown massively between 30 and 80 years ago, so that the absolute number of births remains high, despite a low birth rate.
sapiogram
·7 か月前·議論
Haskell is far more dangerous. It allows you to simple destruct the `Just` variant without a path for the empty case, causing a runtime error if it ever occurs.
sapiogram
·8 か月前·議論
I thought this problem was Wayland's reason for existing?
sapiogram
·8 か月前·議論
As long as you're willing to stay on some old LTS distro, you'll be fine for at least another 10 years. X isn't going anywhere.
sapiogram
·8 か月前·議論
Depends on your definition of "major". Small utility functions are added on nearly every release, but they definitely aren't major.
sapiogram
·8 か月前·議論
Rust's standard library hasn't received any major additions since 1.0 in 2015, back when nobody was writing web services in Rust so no one needed logging.
sapiogram
·8 か月前·議論
> Or, for $300, you can buy an RTX 5060 that is better than the best GPU from just 6 years ago. It's even faster than the top supercomputer in the world in 2003, one that cost $500 million to build.

RTX 5060 is slower than the RTX 2080 Ti, released September 2018. Digital Foundry found it to be 4% slower in 1080p, 13% slower in 1440p: https://www.youtube.com/watch?v=57Ob40dZ3JU
sapiogram
·8 か月前·議論
Kill threads at will?
sapiogram
·8 か月前·議論
Rust solves this at compile-time with move semantics, with no runtime overhead. This feature is arguably why Rust exists, it's really useful.
sapiogram
·9 か月前·議論
Do you monitor your product closely enough to know that there weren't other brief outages? E.g. something on the scale of unscheduled server restarts, and minute-long network outages?
sapiogram
·9 か月前·議論
Idk about subpixel font rendering, but font rendering on Linux looks massively better after a patch last week: https://github.com/zed-industries/zed/issues/7992#issuecomme...
sapiogram
·9 か月前·議論
And that was already impressive. High-end gaming computers with dual-channel DDR5 only reach ~100GB/s of CPU memory bandwidth.
sapiogram
·9 か月前·議論
> I wish Apple would take gaming more seriously and make GPTK a first class citizen such as Proton on Linux.

Note that games with anticheat don't work on Linux with Proton either. Everything else does, though.
sapiogram
·9 か月前·議論
In Norway, power cables have been a top-tier political issue for years. They make electricity more expensive locally, since the surplus power can be exported instead of needing to be dumped for 0 or negative cost.
sapiogram
·9 か月前·議論
> I bet it’s smooth given how concurrent friendly Go is with channels and go routines etc.

You can do the same in any language with threads, and a library providing channels. Hell, you could probably do it better with a library, go's channels are unnecessarily error prone with nils, channel closing, and cleanup behavior.
sapiogram
·10 か月前·議論
There's a hugely popular video game called Rust not written in Rust.
sapiogram
·10 か月前·議論
How close is Redox to being able to run a web browser? I'd love to try doing real work on it.
sapiogram
·10 か月前·議論
WASM does not support pthreads in the browser, only web workers, which are much more limited.
sapiogram
·10 か月前·議論
Wikipedia give a lower bound for BB(6) of 2^2^2^2^2^2... repeated 33554432 times, that's definitely a fast-growing function!