Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
barrkel
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
19 ms
·
361.
▲
by
barrkel
1y ago
That's not how it works. Here's a scenario. You pull in some library - maybe it resizes images or something. It in turn pulls in image decoders and encoders that you may or may not need. They in turn pull in metadata readers, and
362.
▲
by
barrkel
1y ago
Contemporary software was slow. You could tell you should consider more RAM when the HDD light and chugging noises told you it was swapping. But if you ran the same software with the benefit of 10 years of hardware improvement, it was not s
363.
▲
by
barrkel
1y ago
I came here looking for this. It's an old idea, from the days when spinning rust was the limiting factor - precache the binaries. If you ever tried Office 97 on a PC of 10+ years later, it's amazing how fast and lightweight it was
364.
▲
by
barrkel
1y ago
My usual problem with these palettes from color blindness. The two greens are almost identical for the most common type. They don't have good contrast if they're e.g. used for lines in a chart.
365.
▲
by
barrkel
2y ago
The alternative really is as Dan says: you end up with a bunch of REST endpoints that either serve up too much, or have configuration flags to control how much they serve, simply to satisfy front end concerns while avoiding adding round tri
366.
▲
by
barrkel
2y ago
The point of doing a server-side render follows from two other ideas: * that the code which fetches data required for UI is much more efficiently executed on the server-side, especially when there's data dependencies - when a later bit
367.
▲
by
barrkel
2y ago
The disadvantage is that LLMs are probabilistic, mercurial, unreliable. The advantage is that humans are probabilistic, mercurial and unreliable, and LLMs are a way to bridge the gap between humans and machines that, while not wholly reliab
368.
▲
by
barrkel
2y ago
Gemini 2.5 is very good. Since you have to wait for reasoning tokens, it takes longer to come back, but the responses are high quality IME.
369.
▲
by
barrkel
2y ago
Are the people better off because of these properties? What about the counterfactual, where there are more Star Wars stories by more varied producers? That they are valuable speaks to market inefficiency. Where is the consumer surplus? Sein
370.
▲
by
barrkel
2y ago
This argument works against you. The probability of a long tail of revenue is even less likely than a major hit, so it necessarily has less weight in any decision to swing for the fences. Producers don't invest in movies for hypothetic
371.
▲
by
barrkel
2y ago
If movies had a payoff curve like rents, this would be more true, but they're cultural artifacts that decay in relevance precipitously after release, and more permanently after a few decades, where they become "dated", outsid
372.
▲
by
barrkel
2y ago
The UK already had a populist takeover - Brexit.
373.
▲
by
barrkel
2y ago
The purpose of these articles is to promote the brand among engineers, help hire engineers, and help the careers of the authors both internally ("I'm helping the company hire") and externally (you can point at what you built
374.
▲
by
barrkel
2y ago
I'm guessing most downvoters didn't actually read the link.
375.
▲
by
barrkel
2y ago
Thing is, of you follow the link, it's actually doing a search and providing the evidence that was asked for. I did it via ChatGPT for the irony.
376.
▲
by
barrkel
2y ago
Most Russian soldiers are from the poorest areas of Russia. Most of the poor schlubs getting fed into the meat grinder are never going to get their payday.
377.
▲
by
barrkel
2y ago
You can ask ChatGPT for this. Here you go: https://chatgpt.com/share/67e39fc6-fb80-8002-a198-767fc50894...
378.
▲
by
barrkel
2y ago
I think data driven tests are underused by engineers generally. One advantage that shines in a porting scenario is that they can be language agnostic. There was pressure from a reviewer in one area where the code could obviously be improved
379.
▲
by
barrkel
2y ago
I did a reasonably big rewrite from JavaScript (Nashorn, long story) to Kotlin/JVM recently (with 60x speedup and elimination of huge variance in runtime). Keys to success in a larger scale translation: - don't redesign anything,
380.
▲
by
barrkel
2y ago
You're half right. Reuse is one half of plagiarism. But it's not the crucial thing which gives meaning to the word: lack of attribution and passing it off as your own. This is the moral wrong. It would be wrong in a work context t
381.
▲
by
barrkel
2y ago
In terms of pixels, it was 4x the resolution. And for fun, one of the window textures (visible in the difficulty choice lobby IIRC) was implemented as a mirror in glquake - IIRC John Carmack said it was so easy to do in OpenGL he did it as
382.
▲
by
barrkel
2y ago
It's less a parody of what the book was about and more a parody of Nazi Germany - and showing what great fun and how exciting war is to the kids.
383.
▲
by
barrkel
2y ago
I also have the ultra 7, 258V. What kernel are you running? I saw advice that 6.12 is recommended but 24.10 is on 6.11, and I do not want to be spending any time building kernels. https://www.reddit.com/r/linux/com
384.
▲
by
barrkel
2y ago
The Zenbook S14 is a lovely machine, and you can get it with 32G and 120Hz OLED HDR display without the weight or bulk of a macbook pro. I don't like Windows 11. WSL2 is just about an acceptable Linux, but I don't like how there&#
385.
▲
by
barrkel
2y ago
> Words don't need to retain intrinsic hurtfulness; their hurtfulness comes from their usage, and the hurtful intent with which they are spoken. Yes; and a rose by any other name would smell as sweet. Words don't need to retain
386.
▲
by
barrkel
2y ago
There's fits in memory, and there's fits in memory. I have used various bit-packing schemes in order to keep data in memory. If you can keep your entire dataset in memory, it opens up different ways to tackle it. Succinct data str
387.
▲
by
barrkel
2y ago
I've generally been impressed with engineering works in northern Italy, the tolled autostrada in the mountains etc.
388.
▲
by
barrkel
2y ago
In a native single-threaded UI, you can type ahead too. But it doesn't work on the web unless the page effectively reimplements an input queue.
389.
▲
by
barrkel
2y ago
These are orthogonal to form.
390.
▲
by
barrkel
2y ago
Yes. There are many in the US who have a particular strand of thinking. It goes a bit like this: The US is meddling too much in other country's affairs. Only a handful of countries actually have agency - US, Russia, China mostly. All t
More ›