Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ajross
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
46 ms
·
721.
▲
by
ajross
1y ago
> Could lead to significant efficiency gains for EV's Not really. EV's are very heavy from non-motor weight. A Model Y weighs ~4300 lbs. A motor that is 75 lbs lighter is a 1.7% savings. That's not nothing, but I would
722.
▲
by
ajross
1y ago
> If money controlled politics to that degree FWIW the easier evidence here is that if money controlled politics to that degree the tech industry would be our explicit overlords. The defense industry is a bunch of mid-size Fortune 500&#
723.
▲
by
ajross
1y ago
> Military industrial complex That really seems just wrong. The established interests here haven't been pushing for a Venezuela action at all. They want to sell arms (via western assistance) to Ukraine, which is much more lucrativ
724.
▲
by
ajross
1y ago
Obviously "insufficient" is always going to be subjective. But some technologies really do end up bad by consensus, and I'm getting that smell from async. There really aren't any world class software efforts that rely
725.
▲
by
ajross
1y ago
> The classic use case for async was applications with extreme I/O intensity, like high-end database engines. If designed correctly it is qualitatively higher performance than classic multithreading. FWIW, I'm not aware of any
726.
▲
by
ajross
1y ago
> And the alternative without async-await is ? blocking the event loop or the callback pyramid. No, just callbacks and event handlers (and an interface like select/poll/epoll/kqueue for the OS primitives on which you need
727.
▲
by
ajross
1y ago
.NET wasn't the first either. Lisps were doing continuations in the 70's. But "invented" and "revealed" are different verbs for a reason. The release of node.js and it's pervasively async architecture ch
728.
▲
by
ajross
1y ago
"Nothing", in principle. But they're bug factories in practice. It's really easy to throw "past" cleanup code in a language where manual resource management remains the norm. It's not that they can'
729.
▲
by
ajross
1y ago
Is it time now to say that async was a mistake, a-la C++ exceptions? The recent futurelock discussion[1] more or less solidified for me that this is all just a mess. Not just that one bug, but the coloring issue mentioned in the blog post
730.
▲
by
ajross
1y ago
Trying to get my head around this. It seems like the "rootest" cause here is a paradigm clash between lock fairness and async futures. A fair lock[1] is designed to wake up the longest-waiting task, since it got to the queue firs
731.
▲
by
ajross
1y ago
> that is like skim reading or basic introductions No? How do you learn stuff you don't know? Are you really telling me you enroll in a graduate course or buy a textbook for everyone one? Like, can you give an example of a "
732.
▲
by
ajross
1y ago
I completely agree. There's an "obsequious verbosity" to these things, like they're trying to convince you they they're not bullshitting. But that seems like a tuning issue (you can obviously get an LLM to emit pr
733.
▲
by
ajross
1y ago
I think that's actually wrong, or hangs on a semantic argument about "complexity". Wikipedia is an overview source. It's not going to give you "all" the information, but it's absolutely going to tell you
734.
▲
by
ajross
1y ago
People do research work without a mac . A Windows box or Chromebook to do the stuff you want is less than half the cost of an Air, and a MBP is priced out of everything but status-conscious executive (and para-executive) consumers and FAA
735.
▲
by
ajross
1y ago
There are surely more than three! References can support mutation or not, "constants" may be runtime or compile time. The point is that the word "variable" inherently reflects change. And choosing it (a-la your malaprop
736.
▲
by
ajross
1y ago
Seems like you're coming around to my side of the fence that calling these clearly distinct constant expressions "variables" is probably a mistake?
737.
▲
by
ajross
1y ago
Or between iterations of the loop scope in which it's defined, const/immutable definitions absolutely change during the execution of a function. I understand the nitpicky argument, I just think it's kinda dumb. It's
738.
▲
by
ajross
1y ago
> In the cases we're interested in here the variable does vary, what it doesn't do is mutate. Those are synonyms, and this amounts to a retcon. The computer science term "variable" comes directly from standard mathem
739.
▲
by
ajross
1y ago
They did, and no one is perfect. But Debian is the best. FWIW, the subject at hand here isn't accidentally introduced security bugs (which affect all software and aren't well treated by auditing and testing). It's deliberat
740.
▲
by
ajross
1y ago
It really depends on what you're doing. But yes, if you want to develop in "The NPM Style" where you suck down tiny things to do little pieces of what you need (and those things suck down tiny things, ad infinitum) then you&
741.
▲
by
ajross
1y ago
> As a hobbyist how do I stay protected and in the loop for breaches like this? For the case of general software, "Don't use node" would be my advice, and by extension any packaging backend without external audit and valid
742.
▲
by
ajross
1y ago
End of an era. (Well, OK, the era ended long ago, this is just the long-delayed tombstone I guess). Those of us coming out of the pre-boom internet always sneered, but those floppies they'd pack into every magazine were the gateway f
743.
▲
by
ajross
1y ago
As mentioned it actually does have modes that assume various loops over the input. But it also has a bunch of syntax that naturally lends itself to that kind of very-narrow-text-dsl kind of code. Things like implicit variables, "pos
744.
▲
by
ajross
1y ago
What I always point out though is the bathtub curve of that perception. Awk started life as a unique, weird, but extremely clever and expressive environment with which you could do tricks that were impractical anywhere else. And that'
745.
▲
by
ajross
1y ago
See... this is where conspiracy thinking takes you. It's like an addiction, and you need to keep feeding it out of your head when the spigot runs dry. > people complain for years that industry shouldn't regulate itself, that i
746.
▲
by
ajross
1y ago
First, nothing you write seems to explain why we're seeing Trump at a podium or Paxton filing a suit. Why not just have the FDA announce an investigation? Second: this is one of the most common drugs on the planet, and has been for ha
747.
▲
by
ajross
1y ago
Can someone explain the angle here? I mean, I get why personally RFK Jr. might have opinions about stuff. I can imagine him putting his finger on the scale here or there. But why all the attention? It's... tylenol. Why is POTUS and
748.
▲
by
ajross
1y ago
This is probably snark, but to give a clear answer: no. Owners of a company technically "own" the debt in the sense of a balance sheet, but are not liable for it. If you buy a share of stock and the company goes into liquidation
749.
▲
by
ajross
1y ago
Some product decides not to use it. Someone loses a contract supporting it. Someone doesn't get a job because their work isn't favored anymore. I think you're trying to invoke a frame where because dnsmasq is "open sou
750.
▲
by
ajross
1y ago
> Is that not a problem with how people are using CVEs, scoring them and attaching value to them Well, yes, it is. But if that's the way the market is going to game the scoring/value system it's (mis)using, then it behoov
More ›