Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
nayuki
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
61 ms
·
901.
▲
by
nayuki
4y ago
> the latest Gen5 NVME drives tend to cap out at ~90MBps for such loads (worst kind of loads) Possibly scattered 1-byte writes rather than sequential 4096-byte page writes.
902.
▲
by
nayuki
4y ago
Linus Tech Tips reviewed the Gigabyte i-RAM SATA drive back in year 2019. https://www.youtube.com/watch?v=bYbCYgYZVT8 , https://en.wikipedia.org/wiki/I-RAM
903.
▲
by
nayuki
4y ago
It's true. It's easier to make mathematical connections with algebra, combinatorics, etc. when you're reading short formulas and not being not knee-deep in hand-written SSE asm.
904.
▲
by
nayuki
4y ago
At some point in my programmer career I figured out that optimizing for human comprehension, a.k.a. "clean code", is a valid goal. I watched Casey's video in full and agree with all the points he made. But as others pointed o
905.
▲
by
nayuki
4y ago
On Reddit they call this phenomenon beetlejuicing. (Subreddit, Know Your Meme, Urban Dictionary)
906.
▲
by
nayuki
4y ago
The HotSpot JVM does return memory to the operating system. https://stackoverflow.com/a/30464183/839689 , https://www.stefankrause.net/wp/?p=14 , https://shipilev.net/jvm/
907.
▲
by
nayuki
4y ago
I got to play with this welding simulator at a Toronto Transit Commission (TTC) open house last year. Seemed cool.
908.
▲
by
nayuki
4y ago
Some other times this was tried: https://en.wikipedia.org/wiki/Optimus_Maximus_keyboard , https://liliputing.com/the-poly-keyboard-uses-tiny-oled-disp... , https://www.alphr.com/united-
909.
▲
by
nayuki
4y ago
Also noteworthy is that compared to leading commercial websites (Amazon, Facebook, etc.), the Canada Revenue Agency website: Responds an order of magnitude slower (like 3000 ms vs. 300 ms), and has maintenance downtime hours (instead of bei
910.
▲
by
nayuki
4y ago
So, (unsigned int) - (unsigned int) → (unsigned int) is guaranteed on every platform. But relevant to the bad SHA-3 code, the resulting type of size_t - size_t can be surprising. First, size_t is not guaranteed to have any relation with uns
911.
▲
by
nayuki
4y ago
More mass means more kinetic energy when moving. In the vast majority of cars, all the kinetic energy is wasted as heat when braking. More mass means more rolling friction on the tires. More energy wasted means more gasoline burned, more re
912.
▲
by
nayuki
4y ago
Yup. https://www.nytimes.com/2014/10/28/world/asia/china-began-pu... > But documents recently released by the National Archives in Britain suggest that beginning in the 1950s, the colonial govern
913.
▲
by
nayuki
4y ago
Heavier cars are safer than lighter cars but it's an arms race. People keep buying bigger cars until their wallets are drained, the planet is paved, and pedestrians are all murdered.
914.
▲
by
nayuki
4y ago
Electric cars are here to save the auto industry, not the environment or society. Powering a 2000-kg vehicle to move a 100-kg human is beyond wasteful.
915.
▲
by
nayuki
4y ago
> It is commonly thought to be futile to even try to make youngsters interested in computers – they simply don't yet have the required patience or concentration. There's no addictivity or instant gratification, nothing flashy o
916.
▲
by
nayuki
4y ago
Correct, but there are several things to consider. Due to byte/short/char being promoted to int for any arithmetic, any time you do an operation like char+char→int, you'll still come into contact with signed types and need to
917.
▲
by
nayuki
4y ago
What percentage of C and C++ programmers do you think really understand all the rules regarding integer types in C? Namely: https://www.nayuki.io/page/summary-of-c-cpp-integer-rules , https://en.cppreferen
918.
▲
by
nayuki
4y ago
> > To operate on two uint32_t values, we need to widen them to Java long [...] Unfortunately this technique does not allow us to operate on two uint64_t This was filed under the heading "Straightforward emulation". In the n
919.
▲
by
nayuki
4y ago
From the article: > Bytes are a different story however. I argue that signed bytes make programming needlessly annoying, and that only unsigned bytes should have been implemented in the first place > https://www.nayuki.io&#
920.
▲
by
nayuki
4y ago
Trivia: POV-Ray is one of the few languages that supports both color and colour as keywords. https://www.povray.org/documentation/3.7.0/r3_3.html#r3_3_1_...
921.
▲
by
nayuki
4y ago
At first I thought you were referring to shielded twisted pair cables for Ethernet, then I realized you were talking about the spanning tree protocol for switches.
922.
▲
by
nayuki
4y ago
It sounds like you are not familiar with the most vexing parse. https://en.wikipedia.org/wiki/Most_vexing_parse , https://stackoverflow.com/questions/14077608/what-is-the-pur... Also pointer&
923.
▲
by
nayuki
4y ago
> shadows result in cancers So all basement rental units are going to be banned, right? /s
924.
▲
by
nayuki
4y ago
My Mathematica solutions are a bit shorter than my Python solutions mainly because of convenient functions like PrimeQ, Binomial, ContinuedFraction.
925.
▲
by
nayuki
4y ago
I agree with everything you said up to the last sentence. > Digital data simply isn't durable unlike analog data. What I would say is, the most popular digital storage hardware like HDD/SSD are significantly less durable than h
926.
▲
by
nayuki
4y ago
A mew video, you say? stacksmashing has one ;-) : https://www.youtube.com/watch?v=U8fWTDUdWGA "Exploring the Mew Glitch"
927.
▲
by
nayuki
4y ago
> colorful wall of lava lamps [...] might be what’s generating the random code > which converts the randomness into a virtually unhackable code > Why use lava lamps for encryption instead of computer-generated code? Pet peeve: Non-
928.
▲
by
nayuki
4y ago
> Free, off-street parking mandated in building codes > Exempting pickup trucks and SUVs from emissions laws > Lack of vehicle safety laws to protect pedestrians and cyclists > A mortgage interest deduction drives suburban spraw
929.
▲
by
nayuki
4y ago
Rotterdam is much more car-friendly than Amsterdam. Not Just Bikes: "Rotterdam: the City Rebuilt for Cars": https://www.youtube.com/watch?v=22ovt1EMULY
930.
▲
by
nayuki
4y ago
"Ivan's Car": https://www.deautovanivan.nl/eng.html > We think that the car due to its speed saves time. But when you are traveling by car, you not only lose the time it takes to go from A to B. You also h
More ›