HNHacker News
TopNewBestAskShowJobs

faitswulff

9,101 karma · joined July 1, 2010

submissionscomments
faitswulff··on Enhancing Your Elixir Codebase with Gleam
You can put the use statement inside brackets (i.e. `{ use xyz ... }`) to limit the scope of the use statement.

I fully agree it's unexpected that everything after the use statement becomes part of the body of the use statement.

faitswulff··on Jiff: Datetime library for Rust
Well, it had a good run at the top of hackernews for a minute, but I think we can all see its glaring flaws now. I'll stick with chrono †

† pronounced "ch" as in "chase" of course, i.e. "trono"

faitswulff··on Kids Who Get Smartphones Earlier Become Adults with Worse Mental Health (2023)
The causation is almost certainly reversed: https://www.brookings.edu/articles/the-growing-life-expectan...
faitswulff··on Kids Who Get Smartphones Earlier Become Adults with Worse Mental Health (2023)
Probably just correlated with poverty, as with almost everything else. Only wealthy parents can afford to send their kids to summer camp.
faitswulff··on The Overengineered Resume with Zola, JSON Resume, Weasyprint, and Nix (2023)
On the other hand, they just managed to get their resume in front of thousands of people.
faitswulff··on Synchronization Is Bad for Scale
I suspect that when it was chosen at Mailgun, Golang was still being billed as a systems programming language.
faitswulff··on Wired: Why are so many young people addicted to video games?
> Jake particularly liked the Final Fantasy and Soulcalibur series: “Anything with killing,” says Dee, wincing.

This line lost the author a bit of benefit of my doubt. Certainly there is violence in those games, but they’re not particularly gory or murder-oriented. Seems like this article was written by and for people who have never played any video games.

faitswulff··on Linux China, which supported the Chinese open source community, has ended
I suspect it depends on what generation is retiring, because my older white collar relatives are retiring upon hitting 50. I don’t know if that holds true for younger generations.
faitswulff··on Linux China, which supported the Chinese open source community, has ended
Another detail is that Chinese people generally retire at 50, and turning 50 prompted the author to reevaluate what they were doing and write this post.
faitswulff··on Ask HN: Best way to remove CO2 in a bedroom?
If you have an airtight home, you need a separate ventilator for the reasons you state. New construction building code often requires these.
faitswulff··on Turning the Tables on AI
I was hoping this was about how LLMs can’t read tables accurately, but alas
faitswulff··on Show HN: I made a web game that makes practicing basic arithmetic fun
I can’t think of any use case for statistics, personally or for my kids.
faitswulff··on Show HN: I made a web game that makes practicing basic arithmetic fun
Exactly what I came to the comments to request.
faitswulff··on Teams of LLM Agents Can Exploit Zero-Day Vulnerabilities
If it’s in the past on a public repo there’s a good chance it’s in the training data.
faitswulff··on If English was written like Chinese (1999)
I’m not 100% bilingual, but my take is that there’s a lot more to be gained from the subtitles due to homophones, wordplay, and literary allusions. It’s like getting genius.com rap annotations in real time for any metaphors or references.
faitswulff··on If English was written like Chinese (1999)
I don't see how your explanation and GP's explanations are mutually exclusive.

To add some detail to this point:

> my understanding is that words in Chinese are largely monosyllabic and involve a decently high degree of homophones.

A syllabary would have had to represent phonetics as well as tones, which would have multiplied the required syllabary by n number of tones. For instance, Mandarin has 4 (or arguably 5) tones. The "ah" sound has four pronunciations: ā, á, ǎ, and à. Hong Kong Cantonese has at least 6 tones, having purportedly lost a few. Different dialects of Chinese have different numbers of tones, and some have been lost or gained within the same dialect throughout history.

faitswulff··on The Forgotten History of Chinese Keyboards
There are a lot of underlying assumptions here:

1. That Chinese writing is inherently inefficient. It's actually very efficient...to read. And nothing beats the efficiency of having a script that maps perfectly to the language. Also as sibling comment notes, UTF-8 is a thing.

2. That there is no relation between written characters and phonetics. Incorrect, as several sibling comments point out.

3. That Japanese kana represents a successful "modernization" of kanji that Chinese should emulate.

4. That Chinese is "basically kanji" - assuming the Chinese and Japanese languages are essentially interchangeable. They...are not. I can't even begin to emphasize how much they are not. Chinese is subject-verb-object while Japanese is subject-object-verb, for instance. Chinese also has many phonemes that are incompatible with Japanese, which would not be covered in hiragana. Finally, kanji came from Chinese and has subtle differences and while it is mostly a subset of Chinese hanz, it has its own slightly different character set

faitswulff··on Apple apologizes for iPad 'Crush' ad that 'missed the mark'
Even if you disagree, I would think that the volume or strength of the comments would teach you something about the situation. Instead, it’s the children who are wrong.
faitswulff··on U-M finds students with alphabetically lower-ranked names receive lower grades
I wonder if these biases are replicable in LLMs.
faitswulff··on A quick post on Chen's algorithm
It seems like the post-quantum algorithm that Signal selected [0] involves lattices [1] somehow:

> Kyber is an IND-CCA2-secure key encapsulation mechanism (KEM), whose security is based on the hardness of solving the learning-with-errors (LWE) problem over module lattices.

Curious to see if Chen's work will eventually lead to Signal selecting a different algorithm.

[0]: https://signal.org/blog/pqxdh/

[1]: https://pq-crystals.org/kyber/

faitswulff··on White House wants Moon to have its own time zone, Coordinated Lunar Time (CLT)
> But Nasa is not the only one trying to make lunar time a reality. The European Space Agency has also been developing a new time system for a while.

Great, lunar time hasn’t even been established and we already have two time zones.

faitswulff··on Launch HN: DryMerge (YC W24) – Automate Workflows with Plain English
Speaking of which, scrolling on the home landing page (https://drymerge.com/) is a bit broken on mobile Safari.
faitswulff··on The Bulma CSS framework reaches 1.0
RIP Akira Toriyama. I wonder if the 1.0 announcement was related to his passing.
faitswulff··on Farmed salmon leads to loss of nutrients, instead eat 'feed fishes' directly
It's been a while since I read "The Perfect Protein" by Andy Sharpless, but IIRC their argument is that it's not just fish, but particular populations of fish. Some wild fish are fine to eat - others are either at risk or are keystone species that shouldn't be wiped out. Also the method of fishing makes a difference as well. Hence the contrasting advice.
faitswulff··on Take Ownership of Your Future Self (2020)
What, this isn’t about async &mut self?
faitswulff··on Tick-killing pill shows promising results in human trial
> Thanks to climate change and exploding deer populations, ticks are expanding their ranges—and carrying diseases with them.

We’ve had our first run ins with ticks in our suburban Chicago backyard recently. They were never an issue before, and never literally just outside the door. I’m sure the unseasonably warm start to the year is to blame.

faitswulff··on Claude 3 Opus reinvented this quantum algorithm from scratch in just 2 prompts
The link says:

> The paper is not on the internet yet.

And a followup tweet says:

> Yes repos were not public, paper was on Overleaf not the open Internet

faitswulff··on The Fundamentals of C/C++ Game Programming (2017)
Only the abstractions are zero cost
faitswulff··on Rewrite the VP9 codec library in Rust
shnatsel wrote a post on bounds checking performance implications in Rust. Money quote:

> The real-world performance impact of bounds checks is surprisingly low.

> The greatest impact I’ve ever seen on real-world code from removing bounds checks alone was *15%,* but the typical gains are in *1% to 3% range,* and even that only happens in code that does a lot of number crunching.

> You can occasionally see greater impact (as we’ll see soon!) if removing bounds checks allows the compiler to perform other optimizations.

> Still, performance of code that’s not doing large amounts of number crunching will probably [not be impacted by bounds checks](https://blog.readyset.io/bounds-checks/) at all.

It is, of course, not universally applicable, so read the post for full details: https://shnatsel.medium.com/how-to-avoid-bounds-checks-in-ru...

faitswulff··on Cve-rs: Fast memory vulnerabilities, written in safe Rust
You could also think of it as "look at all the weird syntax olympics you need to do in order to trigger a compiler edge case!"
← PreviousPage 4 of 34Next →