HNHacker News
TopNewBestAskShowJobs

billyjmc

115 karma · joined August 16, 2023

submissionscomments
billyjmc··on Build your own 3D printed Hexapod
Before I clicked through, I was thinking this was for building a Stewart platform. This is pretty cool, too.
billyjmc··on Cousins are disappearing. Is this reshaping the experience of childhood?
At minimum, children do come at an opportunity cost. Either you’re geographically constrained to be near family, one of the parents must not work, or you pay very real direct costs for child care.
billyjmc··on Polars
I just edited my comment above to add more info about common subexpression elimination. It’s magic that happens behind your back on lazy dataframes. Polars is great!
billyjmc··on Polars
Regarding your second point, you can use the walrus operator to retain the results of a computation within a single `.with_columns()` call. See https://stackoverflow.com/a/77609494

Edited to add: also, if you’re using a lazy dataframe, you can just naively do the same operation twice (once to store it in a named column and once again in the subsequent computation), and Polars will use common subexpression elimination (CSE) to prevent recomputing the result. You can verify this is true using the `.explain()` method of a lazy dataframe operation containing the `.with_columns()` call.

billyjmc··on Polars
Well, if you use structured arrays or record arrays, you can do this (more or less).

https://numpy.org/doc/stable/user/basics.rec.html

billyjmc··on Ask HN: What to do with text from old, unarchived, online forums?
Check your math – the King James Bible in uncompressed plain text UTF-8 is 4.4 MB. A floppy fits waaaay more than 20 printed pages of text.

https://www.gutenberg.org/ebooks/10

billyjmc··on Fastest autograd in the West
I recently had a similar need for my “real-time” Python program to do some autograd operations – but not on big tensors – and also ended up leveraging Rust as part of my solution. But I didn’t know about rustimport (or cppimport). That’s really slick, and I’m going to file that nugget away for later.
billyjmc··on Possible Meissner effect near room temperature: copper-substituted lead apatite
To be clear, you mean a freezer meant to contain food. Laboratory freezers can easily go lower without being remotely exotic (in design or construction).
billyjmc··on Website search hurts my feelings
Not quite the same, but iOS gives me trouble with its word suggestions. Usually, it’s contractions that make me curse.

‘It’ suggests It, It’s, and Its.

‘Its’ suggests Its and Itself.

Given that the apostrophe requires accessing a different keyboard overlay, and that only two suggestions are presented (leaving one suggestion slot empty), why not just include the contraction “It’s” in the suggestions?

billyjmc··on 3M knew its chemicals were harmful decades ago, but didn't tell the public
If killing criminals is more expensive than caging them, that’s an implementation detail. It’s not something to make long term planning decisions based on. If improving the economics of executions were a significant concern, it’s really straightforward to address.
billyjmc··on Sony debuts first PS5 controller for disabled gamers
You say that like there’s only one time Apple has flubbed hard with mice…
billyjmc··on Victor Mono Typeface
Julia has made symbol input manageable and lets you define infix operators for many of the Unicode symbols that make sense for that. [1] And JuliaMono was designed to support the symbols that Julia does. [2]

I generally do quite fine with my Compose Key configuration, though (even on Windows, where I use WinCompose). [3]

[1]: https://docs.julialang.org/en/v1/manual/unicode-input/

[2]: https://juliamono.netlify.app/

[3]: https://github.com/samhocevar/wincompose

billyjmc··on Most Americans are oblivious to 'forever chemicals' and risks, research finds
Chemically unreactive doesn’t mean biologically non-interacting.
billyjmc··on Most Americans are oblivious to 'forever chemicals' and risks, research finds
It’s not intended to be an exception disproving the rules. It’s a trigger to induce the rational reader to recognize the obviously fallacious hyperbole of accusing the US of having the worst consumer protection law.
billyjmc··on Study shows antibodies against PEG in 83% of the German population
Have you ever known anyone to say “I think I’m going to go buy (and eat) a delicious, cold stick of butter now.”? And even if you have, they’re clearly the outlier. The point everyone else is making that you are missing is that even if calorie-rich foods were widely available in the past, the presence of calories alone doesn’t drive appetite – the food also needs to be palatable. Modern processed food is both calorie-dense and engineered to be highly palatable. This is new, and unlike what historical humans generally experienced and evolved around.
billyjmc··on The slow death of authenticity in an attention economy
It’s going to have to be a non-industry move or a radically different model sustained by an interested minority. Federated systems are the other way this can work.
billyjmc··on RabbitOS
It’s an LLM. Just check their website from before the re-branding (os2.ai). I linked the wayback machine version elsewhere in the comments.
billyjmc··on RabbitOS
Their prior branding was even worse – its used to be OS2 before they went with rabbit. OS/2 is a thing, but they went with OS2… really? My guess is it’s a relatively young technical team.

https://web.archive.org/web/20230808234114/https://www.os2.a...

billyjmc··on No morphological differences between living and non-living systems are yet known
You’re getting really close to the ideas embodied by Assembly Theory, mostly developed by the Leroy Cronin and Sara Walker research groups.
billyjmc··on Security weaknesses of Copilot generated code in GitHub
From the main Wiki entry on IQ tests: “The raw score of the norming sample is usually (rank order) transformed to a normal distribution with mean 100 and standard deviation 15.”

So, you’re not too far off numerically. 80 IQ is only a -1.33 Z-score. So, 9th percentile. 91% of people score higher than 80 IQ.

billyjmc··on Fixing for loops in Go 1.22
Is that really python’s fault? It seems like it’s the distro making a design decision.
billyjmc··on Fixing for loops in Go 1.22
I’m not sure what they mean by list comprehensions, either, but for completeness’s sake, I must point out that this is solvable by adding `n` as a keyword argument defaulting to `n`:

    add_n = [lambda x, n=n: x + n for n in range(10)]
    add_n[9](10)  # 19
    add_n[0](10)  # 10
billyjmc··on What Is Dimensional Analysis?
I’ve absolutely seen it abbreviated. The wikipedia page even shows a photo of a “1000 kc” crystal resonator.

https://en.wikipedia.org/wiki/Cycle_per_second

billyjmc··on Doug Lenat has died
You didn’t ask something novel enough and/or the LLM got “lucky”. There’s plenty of occasions where they just get it flat wrong. It’s a very bimodal distribution of competence – sometimes almost scarily superhumanly capable, and sometimes the dumbest collection of words that still form a coherent sentence.

The mildly entertaining YouTube video below discusses this. https://youtu.be/QrSCwxrLrRc

billyjmc··on Scientists are working to bring the woolly mammoth back
Absolutely do not put SLAP through the Barrett. The sabots give the muzzle brake bad indigestion.
← PreviousPage 2 of 2