Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
hajile
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
36 ms
·
571.
▲
by
hajile
3y ago
An extra byte to eliminate a MOV via a 3-register instruction is a no-brainer savings. The extra 16 registers are going to be a lot more fun though. It will also eliminate a lot of those MOVs, but every access will have a 17% penalty going
572.
▲
by
hajile
3y ago
The difference is a lot when put into proper perspective. Average x86 instruction length is 4.25 bytes. ARM64 is 32-bits. RISC-V compressed was a little under 3 bytes around 10 years ago when introduced. So if RISC-V instruction length is 3
573.
▲
by
hajile
3y ago
> 3) designing and implementing CISC is difficult and takes long time — that's true... but designing and implementing a highly performant RISC is also quite difficult and takes a long time, and today the difference is mainly in the
574.
▲
by
hajile
3y ago
I glanced over the Intel APX spec paper while reading this article. https://cdrdv2.intel.com/v1/dl/getContent/784266 It looks like it uses the 4-byte EVEX prefix. It would also need 1-2 operand bytes and anot
575.
▲
by
hajile
3y ago
"Where did all the bugs go?" is a serious question representing a serious and potentially life-ending problem caused by the many chemicals we're pumping out. A few million climate migrants are insignificant in comparison to t
576.
▲
by
hajile
3y ago
You have any per-capita numbers? How about per-square-kilometers?
577.
▲
by
hajile
3y ago
The US is also much larger than Germany and is in the process of building more nuclear plants. If you care about the environment, nuclear is the only sustainable option at the moment. The plant costs have a very long time to recoup. Lots of
578.
▲
by
hajile
3y ago
The real question would be: Did BMW go on a massive hiring spree in 2021-2022 like most US companies did? If not, then the comparison doesn't make any sense.
579.
▲
by
hajile
3y ago
Intel changed their TDP on more recent chips to be more reflective of reality. Actual peak power for the AMD chip will be at least 2x higher or 18-60w which isn’t that different (and I believe it can actually hit even higher than that at th
580.
▲
by
hajile
3y ago
The book is primarily good at introducing the basic concepts of functional programming. It’s also one of the best for that in my opinion. You wouldn’t use the quicksort from your textbook in production because it’s an example designed to t
581.
▲
by
hajile
3y ago
External cable size is limited by flexibility. In theory the 4x variant could drive an external GPU at PCIe 5 x16 bandwidth. Alternatively, it could drive a 4x16 card and have bandwidth left for fast SSDs and fast Ethernet and various USB s
582.
▲
by
hajile
3y ago
Most of the replacement cost is the battery itself and you're still only going to do that maybe 1-2 times over the lifespan of the vehicle
583.
▲
by
hajile
3y ago
Then they make a version that flies farther and it sometimes randomly fails to detonate.
584.
▲
by
hajile
3y ago
An implementation using TypedArray should be in constant time.
585.
▲
by
hajile
3y ago
I was primarily addressing > It's better to use Python, which at least has bignums.
586.
▲
by
hajile
3y ago
JS not only has BigInt, but it also has TypedArrays too. It even used to have SIMD support before they dropped it for WASM.
587.
▲
by
hajile
3y ago
.NET and C# are the opposite of what everyone is doing?
588.
▲
by
hajile
3y ago
The weirdest part is "compiler improvement is the wrong approach" then pushing Svelte, Solid, etc which ALL REQUIRE custom compilers. At least the React team is looking to make any added compiler optional.
589.
▲
by
hajile
3y ago
It's not the general public -- it's the ideological echochambers around these companies. You have 10% left extremists, 10% right extremists, and 80% centrists. The 10% leftist extremists control most of the educational institutes
590.
▲
by
hajile
3y ago
That's a scary proposition as it means the most vocal side wins the AI battle even if their position is bad or even if it is morally evil. If one side is constantly vocalizing their position while the other side remains silent, then th
591.
▲
by
hajile
3y ago
ElectroVoice re20. The "variable-D" design helps you sound decent if you're not keeping exact distance from the mic. The builtin pop blocker is also quite effective. It was designed so that if your interview target didn'
592.
▲
by
hajile
3y ago
Encapsulation is extremely important and pairs with single responsibility, but that’s completely orthogonal to OOP. Once you are solidly in the composition camp, functions are immediately superior. They tend to be naturally single purpose a
593.
▲
by
hajile
3y ago
I’ve never understood this issue. We get paid well. A $400-450 Shure sm7b or Electrovoice re20 will last you decades and is an incredible return on investment — way better than your electronics and monitor investments and probably better th
594.
▲
by
hajile
3y ago
It’s generally not what it claims. Single purpose is a good idea, but the rest… The idea that one class changing won’t change others is a pipe dream. Substitution only matters if you’re using inheritance, but if you’re inheriting, you likel
595.
▲
by
hajile
3y ago
Interestingly, The Last Samurai was extremely popular in Japan. It sold more tickets in Japan than the US (even though the US population was over 2x as large in 2003). This is in stark contrast with basically every other Western movie repre
596.
▲
by
hajile
3y ago
Not all publicity is good. How many people will never again trust Google's AI because they know Google is eager to bias the results? Competitors are already pointing out that their models don't make those mistakes, so you should u
597.
▲
by
hajile
3y ago
I'm with you right up until the last part. If they don't feel comfortable putting all White people in one group, why are they perfectly fine shoving all Asians, Hispanics, Africans, etc into their own specific groups?
598.
▲
by
hajile
3y ago
> We're already working to address recent issues with Gemini's image generation feature. While we do this, we're going to pause the image generation of people and will re-release an improved version soon. They were replyin
599.
▲
by
hajile
3y ago
Yet another setback hot on the heels of their faked demos, but this one is much worse. Their actions shifted things into the political realm and ticked off not only the extremists, but a lot of the majority moderate middle too. For those lo
600.
▲
by
hajile
3y ago
This is a program that apparently can't make a Norman Rockwell styled painting because his portrayal of society was idyllic instead of focusing on everything wrong with society (or that the Gemini creators believe was wrong that nobody
More ›