Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
abainbridge
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
31.
▲
by
abainbridge
10mo ago
The examples are fun, but rather than yet another article saying how amazing optimizing compilers are (they are, I already know), I'd probably benefit more from an article explaining when obvious optimizations are missed and what to do
32.
▲
by
abainbridge
1y ago
FTA, "A Gaussian splat is essentially a bunch of blurry ellipsoids. Each one has a view-dependent color". Does that explain it?
33.
▲
by
abainbridge
1y ago
While we're nit-picking the title, what does the "real-time" part mean? How would it be different if it wasn't real-time? Dictionary.com defines "real-time" like as, "the actual time during which a process
34.
▲
by
abainbridge
1y ago
Or academics in 1986: https://dl.acm.org/doi/abs/10.1145/13310.13338 The idea of optimizations running at different stages in the build, with different visibility of the whole program, was discussed in 1979,
35.
▲
by
abainbridge
1y ago
> I would have guessed that any kind of forests have quite limited cap how much carbon it could retain in dead wood The article says, "We found that a forest that's developing toward old-growth condition is accruing more wood i
36.
▲
by
abainbridge
2y ago
I skimmed https://en.wikipedia.org/wiki/Sinoatrial_node#Function . Here's my guess at what is going on: In humans (and I guess many animals), the thing that controls the heart beat is a structure in the heart calle
37.
▲
by
abainbridge
2y ago
Yep. When I walk into a room containing my dog and the poo it did on the carpet two hours earlier, it is sorry about what it did.
38.
▲
by
abainbridge
2y ago
Another example is Low Density Parity Check Codes [1]. Discovered in 1962 by Robert Gallager but abandoned and forgotten about for decades due to being computationally impractical. It looks like there was a 38 year gap in the literature unt
39.
▲
by
abainbridge
2y ago
An article about that from 2000. https://www.theregister.com/2000/04/17/playstation_2_exports... Brilliantly it says: Register readers with very long memories indeed will recall similar concerns being raised
40.
▲
by
abainbridge
2y ago
You missed out the input to the LLM, which would presumably be a requirements spec with all behaviour specified in exact detail, including all the tricky corner cases were someone has to think hard about which solution is most useful and le
41.
▲
by
abainbridge
2y ago
Hmmm, yes. I didn't understand what the code did. Instead of creating those buff0 and buff1 variables before the loop, I should have done: for (int i = 0; i < 10; ++i) { unsigned a = i; unsigned b = i+1;
42.
▲
by
abainbridge
2y ago
> strict aliasing allows for optimizations that are actually worthwhile I don't think there are many sensible, real world examples. A nice explanation of the optimizations the strict-aliasing rule allows: https://stackove
43.
▲
by
abainbridge
2y ago
https://en.wikipedia.org/wiki/Wafer_backgrinding
44.
▲
by
abainbridge
2y ago
They come in normal aspect ratio jars in the UK. eg https://www.ocado.com/products/m-s-nonpareilles-capers-60903...
45.
▲
by
abainbridge
2y ago
I doubt the surface area matters. The volume of air and therefore oxygen you introduce every time you open the jar is the important factor. I would have thought that oxygen will dissolve in the liquid over a day or so even with a small surf
46.
▲
by
abainbridge
2y ago
Not only that, but my dog has enough theory of mind to ignore a toy/food resource until another dog turns up, at which point she will grab it and parade in front of the other dog to show they can't have it. She knows she can demon
47.
▲
by
abainbridge
3y ago
Ah right, yep.
48.
▲
by
abainbridge
3y ago
OK, right, that's the clarity of thought I was missing. But in this case the compiler still misses the optimization with '(double)0.02f'. https://godbolt.org/z/az7819nKM I think this is because the optim
49.
▲
by
abainbridge
3y ago
One optimization for the C code is to put "f" suffixes on the floating point constants. For example convert this line: t[i] += 0.02 * (float)j; to: t[i] += 0.02f * (float)j; I believe this helps because 0.02 is a
50.
▲
by
abainbridge
3y ago
I think the Wikipedia page [1] agrees with your main point. I said pipelining allowed you to increase the clock rate, which isn't the best thing to say. The wiki page says, "instruction pipelining is a technique for implementing i
51.
▲
by
abainbridge
3y ago
Interesting. An R2000 did run programs faster than a 80386, right? This was a few years before my time. From a quick google now, it looks like the R2000 was about 3x better than the 80386 at Dhrystone MIPS/MHz. I guess an accurate comp
52.
▲
by
abainbridge
3y ago
Yep. RISC was interesting when gate budgets for CPU pipelines were seriously limited. It was interesting because before RISC the industry had been merrily spending the gate budget increase on adding lots of use-specific instructions. The RI
53.
▲
by
abainbridge
3y ago
Yep. I want to have the same config as everyone else to maximise the chance that I'm using the well tested path of the software.
54.
▲
by
abainbridge
3y ago
Not a direct answer to your questions, but there's some nice data here: https://en.wikipedia.org/wiki/List_of_offshore_wind_farms_in... Currently we have 14.7 GW of operational off-shore wind gen. Another 13 GW is
55.
▲
by
abainbridge
3y ago
I'm just seeing a white frame - no noise. Clicking on the white frame doesn't help. (Chrome 119, Windows 10, Intel NUC6i3).
56.
▲
by
abainbridge
3y ago
No. I believe a metal poor solar system wouldn't have rocky planets.
57.
▲
by
abainbridge
3y ago
Not if you had a hard drive. I can't find a decent video on YouTube showing how long booting from a hard drive took. Does anyone know of one? Otherwise I might have to get a pile of junk out of my loft and record a video myself. From m
58.
▲
by
abainbridge
3y ago
> I don't know where Scott got 30 The text where he says that is a clickable link! https://www.ncbi.nlm.nih.gov/pmc/articles/PMC4635397/
59.
▲
by
abainbridge
3y ago
The thing I don't understand is that if the CT scan is more dangerous than having a kidney removed, then surely they'd take the kidney out to see if it was compatible with the recipient rather than give you such a dangerous scan.
60.
▲
by
abainbridge
3y ago
The paper he links to [1] broadly agrees with his statement, eg "An estimated 1 in 270 women who underwent a coronary angiography CT at age 40 will develop cancer from that CT (1 in 600 men), compared with an estimated 1 in 8,100 women
More ›