Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
bjourne
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
20 ms
·
571.
▲
by
bjourne
1y ago
This is exactly the kind of technical pedantry I keep coming back to HN for.
572.
▲
by
bjourne
1y ago
I worked as a software engineer for well over a decade before I got my degree. You can learn everything you need to know without a formal education. However, if I was hiring, all else being equal, I'd choose the candidate with a degree
573.
▲
by
bjourne
1y ago
What if there is significant disagreement within the medical profession itself? For example, isotretinoin is proscribed for acne in many countries, but in other countries the drug is banned or access restricted due to adverse side effects.
574.
▲
by
bjourne
1y ago
Typos feel way harder to spot in proportional fonts. Maybe because proportional fonts are easier to read so your brain subconsciously ignores them. And typos, like a misplaced or forgotten comma, can cause some of the most annoying bugs. Al
575.
▲
by
bjourne
1y ago
Lazard agrees with you: https://www.lazard.com/media/uounhon4/lazards-lcoeplus-june-... Marginal costs of $108 for gas peaking and $31 for combined cycle. $48-$107 actual LCOE ($77.5 average).
576.
▲
by
bjourne
1y ago
> And it's on track to get a lot better. Production for sodium ion batteries is starting to come online in China. It will be a while before those make it to the US due to the politics. But some are now projecting cost as low as 10$&
577.
▲
by
bjourne
1y ago
HVDC losses are roughly 3.5% per 1000 km.
578.
▲
by
bjourne
1y ago
I think you misunderstand. DP is not equal to "caching", but in the set of all things that are "caching" DP is contained. I cannot think of any DP algorithm that does not explicitly or implicitly use a memory cache. Can
579.
▲
by
bjourne
1y ago
No definition of "caching" I know imply global shared state. Local private caches are commonplace.
580.
▲
by
bjourne
1y ago
But dp is a form of caching, no? It sacrifices space by caching intermediate results to compute successive results. The only reason it is called dp is because the "inventor" (Iirc Bell) needed a cool name.
581.
▲
by
bjourne
1y ago
If shorter distances were correlated with more peace there wouldn't be a genocide in Gaza, since the distance from Gaza to Tel Aviv is only about 70 km. More travel may have other advantages, but peace doesn't seem to be one of th
582.
▲
by
bjourne
1y ago
Good luck storing your private keys in environment variables!
583.
▲
by
bjourne
1y ago
No, that's an anti-feature. :) Sibling comments here claim that command line arguments "leak" whereas environment variables does not. It's plain wrong. An attacker with access to arbitrary processes' cmdline surely
584.
▲
by
bjourne
1y ago
Then how would you SET the API key in the first place? :) The argument doesn't make any sense at all.
585.
▲
by
bjourne
1y ago
Neophytes take notice. Attention to details like this is what separates truly great programmers from merely good ones. That said, for scripts reusable by others you should use command line arguments . Environment variables in lieu of comman
586.
▲
by
bjourne
1y ago
https://huggingface.co/papers/date/2025-07-15
587.
▲
by
bjourne
1y ago
Like Wikipedia tries to catalogue all useful knowledge in the world, a standard library should catalogue all useful modules in the world. The problem is that tools and community structures we have are not advanced enough to support that wor
588.
▲
by
bjourne
1y ago
4 KiB page sizes have been used since the 1960's. More memory doesn't necessarily mean that larger pages are beneficial. Maybe 16 KiB is better for Android? Maybe. There really is no clear consensus on what the optimal page size f
589.
▲
by
bjourne
1y ago
That's a valid point, but isn't memory protection the only common user-visible effect of changed page sizes? It would seem most apps which do not use write-protected memory would be unaffected.
590.
▲
by
bjourne
1y ago
Well, I wrote "in spirit". The point is that Rust, on average, needs to recompile much more code per change than a language that relies on small and self-contained compilation units.
591.
▲
by
bjourne
1y ago
That is basically what Oh My Zsh does for zsh: https://ohmyz.sh/ Even if you don't use zsh you can look at the source code and adapt the prompts for the shell you are using.
592.
▲
by
bjourne
1y ago
I believe the Rust compiler does whole program analysis or, at least, something very similar in spirit. Hence, unless you completely change how the language works it can't be as fast as a simpler compiler. You can work around it by hav
593.
▲
by
bjourne
1y ago
Yes, yes, and yes. Teams is absolute trash. Slack + Google stuff + Zoom works way better ime. But you have to experience it yourself. It's meaningless to try and list everything that works poorly in Teams.
594.
▲
by
bjourne
1y ago
The proof of the pudding is in the eating. That is, if you can produce a working (free) implementation demonstrating the superiority of your protocol then there is huge value. If you can't there is no value.
595.
▲
by
bjourne
1y ago
Wasn't that same argument used for legalizing cannabis? How did that work out?
596.
▲
by
bjourne
1y ago
Logisim Evolution. And I'm telling you, whoever can make a replacement addressing all its pain points, while being easy to use for students and grading teachers can become very very rich.
597.
▲
by
bjourne
1y ago
Those annotations create a compile-time enforced typological relationship between the input and output values of the function. Python doesn't have mandatory type-checking so it can't do that. But parent wasn't referring to ty
598.
▲
by
bjourne
1y ago
What can a Haskell monad do that a Python class cannot? 99% of all monads I've seen only facilitate local state manipulation.
599.
▲
The Roman Roads Research Association
(romanroads.org)
109 points
by
bjourne
1y ago
|
10 comments
600.
▲
by
bjourne
1y ago
I think lottery is a great analogy to contemporary society. Although those with the winning tickets have done their darndest to convince others that it was skill and hard work that got them the tickets.
More ›