Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amluto
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
22 ms
·
451.
▲
by
amluto
6mo ago
> Malloc returns a buffer and then you cast it to the type you want. You can’t cast the buffer — you’re casting the pointer. One might argue (I’m not sure whether this is correct) that malloc allocated an array of ints and the language m
452.
▲
by
amluto
6mo ago
To be slightly fair to the parent comment, it seems at least a bit valid to choose whether to consider the social security tax to be revenue to the government and social security payments an expense or to treat them as an entirely separate
453.
▲
by
amluto
6mo ago
The same problem that a hybrid architecture solves for ships: the ability to use physically small electric motors with very high power density that are mechanically decoupled from the rest of the vehicle. This lets a bunch of designs pull o
454.
▲
by
amluto
6mo ago
> the Tesla Roadster sales figures completely support the idea that it was a complete flop of a car that didn’t even appeal to impractical rich people or anyone else. Tesla never meant to sell it in large numbers, and they probably could
455.
▲
by
amluto
6mo ago
I would guess that a military version would be a hybrid: electric motors as in all the e-VTOL prototypes, enough battery power to comfortably take off, land and maneuver in combat conditions, and a small hydrocarbon-fueled engine to recha
456.
▲
by
amluto
6mo ago
Amusing new observation due to today’s outage [0]: apparently GitHub never bothered to do the obvious optimization to the /pulls page: when you load it with the default “is:pr is:open”, they seem to be depending on their heavyweight se
457.
▲
by
amluto
6mo ago
> GitHub is not perfect but I don't think it's "degraded faster" at all. It's _grown_ faster. It’s grown in a way that degraded it and that required actual effort. For example: - The fancy new diff viewer fronte
458.
▲
by
amluto
6mo ago
How many CAFE compliant “light trucks” do you see around? CAFE is a great example of a well-meaning regulation failing because the people who developed and approved it didn’t think through the obvious consequences.
459.
▲
by
amluto
6mo ago
But you can't make a link to https://your.domain/my_phishing_page.svg work as a phishing page using service workers unless you've pretty thoroughly pwned the site already. (And you can constrain what gets to run
460.
▲
by
amluto
6mo ago
An idea I’ve been kicking around (which isn’t quite applicable to this use case, I think) is to aggressively restrict the Sec-Fetch- headers on user content. If a server is willing to serve up an untrustworthy SVG, it could refuse to serve
461.
▲
by
amluto
6mo ago
Even ignoring the lack of polish, the animations make it very hard to actually use Time Machine.
462.
▲
by
amluto
6mo ago
> high quality parametric stereo reverb/echo effect I’m sometimes annoyed that the home audio/audiophile world is so separate from the live/professional world. For playing recordings with fancy effects, you can throw massi
463.
▲
by
amluto
6mo ago
If it’s calling clock_gettime, it should be fine. If it uses RDTSCP, it should be fine (assuming your system actually has synchronized TSCs, and there is a long history of this failing). If it uses the sadly vendor-dependent magic incantat
464.
▲
by
amluto
6mo ago
If you do this, please be aware that there is absolutely no guarantee that you will not observe time going backwards. You probably will not have one thread ask for the time twice in a row and get results that are out of order, but you can h
465.
▲
by
amluto
6mo ago
> Yes, but I hope we can both agree that if Waymo stops where it's not allowed, it's waymo's fault, not anyone elses I don’t really agree, at least not in a broad sense. If Waymo refused to stop and circled the block many
466.
▲
by
amluto
6mo ago
Many cities would stop functioning if everyone followed traffic laws — the whole system is built around drivers ignoring many rules. Businesses need deliveries to be unloaded and delivered. Customers need to get where they are going. And m
467.
▲
by
amluto
6mo ago
Humans can do one thing that AI agents are 100% completely incapable of doing: being accountable for their actions.
468.
▲
by
amluto
6mo ago
If you read farther down, it’s obviously an inside job in the incompetent, not malicious, sense. Their employee did not do anything remotely resembling following procedures, misread an email to an outrageous degree, and transferred the wro
469.
▲
by
amluto
6mo ago
The UniFi U7 Lite is $99 and appears to be every bit as good as the more expensive gear unless you want 6GHz or need extra radios or have clients with more than two spatial streams.
470.
▲
by
amluto
6mo ago
Having recently terminated a nice name brand Cat6A jack (ICC brand), I’m quite unimpressed by the state of category cable shielding: The termination comes with basically no instructions. The connector shell contacts the shield by squishing
471.
▲
by
amluto
6mo ago
> > Yes, and that's both memory and cpu usage that isn't needed No, it literally is not. The "memory" is just entries in a page table in the kernel and MMU. It shouldn't worry you at all. Only if you never fre
472.
▲
by
amluto
6mo ago
Traditionally they were done in FORTRAN or C or maybe bespoke DSP code, usually using ordinary boring complex numbers. Sometimes you’ll see FFTs over rings, called “number theoretic transforms”, used to multiply very large integers. I supp
473.
▲
by
amluto
6mo ago
I can also implement compliant IEEE 754 floating point arithmetic, with all rounding modes and exceptions, in Conway’s Game of Life, and I can implement that on a Turing machine and emulate that Turing machine in Brainfuck. This does not
474.
▲
by
amluto
6mo ago
I can guess: Pure lambda calculus doesn’t have numbers, and FFT, as traditionally specified, needs real numbers or a decent approximation of them. There are also Fourier transforms over a ring. So the task needs to specify what kind of n
475.
▲
by
amluto
6mo ago
I am, oddly, able to get really quite a lot of mileage out of $20/mo of OpenAI plan, and I have never encountered a usage limit. I have gotten warnings that I was close a couple times. I wonder what I’m doing differently. I did spend
476.
▲
by
amluto
6mo ago
Not mentioned in the article: there is a really obvious biological effect of aspartame: it triggers your sweetness receptors. And you have them in your mouth (duh!) and elsewhere in your body including in your gut. https://pmc.nc
477.
▲
by
amluto
6mo ago
The tool calling Python example would have benefitted from actually parsing the tool call. As is, it explains almost nothing.
478.
▲
by
amluto
6mo ago
> Yeah, a house is always affordable to someone It’s actually not true that a house is affordable to the person living in it. First, plenty of people own houses, paid-off even, but have little else in the way of income or assets, and, ot
479.
▲
by
amluto
6mo ago
Sure, but a petabyte of block storage with redundancy and PIT backups is a poor abstraction to build on, in large part because it’s not a thing that can be built without either paying an wild amount of money or taking a huge performance h
480.
▲
by
amluto
6mo ago
I can think of a couple of utility models that could work and one that definitely doesn’t. First, the bad. Build a facility that consumes 1GW at existing rates in a market with slow growth like the US. The supply sources are roughly fixed,
More ›