HNHacker News
TopNewBestAskShowJobs

shawnz

7,137 karma · joined September 26, 2010

your favourite developer's favourite developer
submissionscomments
shawnz··on MicroPythonOS graphical operating system delivers Android-like user experience
AFAIK my humidifier uses an ESP32 chip.
shawnz··on MicroPythonOS graphical operating system delivers Android-like user experience
Wow, these preassembled ESP32 plus touchscreen boards are extremely cheap, and there are tons of them in all kinds of different form factors on Amazon. I didn't realize this kind of thing was so plentiful, this seems like a great way to bootstrap many kinds of electronics/IoT projects
shawnz··on Apple Platform Security (Jan 2026) [pdf]
IIRC Apple has attempted to implement some defences against this, for example by requiring the passcode to be inputted before an update can be installed to prevent another San Bernardino scenario. A cursory search indicates that they also have some kind of transparency log system for updates, but it seems to only apply to their cloud systems and not iOS updates.
shawnz··on Apple Platform Security (Jan 2026) [pdf]
The table has two categorizations: "In transit & on server" and "End-to-end". The former, which covers iCloud backups in the default configuration, is explicitly NOT end-to-end, meaning there are moments in time during processing where the data is not encrypted.

However, iCloud backups actually are listed as "End-to-end" if you turn on the new Advanced Data Protection feature.

shawnz··on Waymo robotaxi hits a child near an elementary school in Santa Monica
What's the joke here? If they are better than average drivers, that's a huge win which improves road safety for everyone
shawnz··on Microsoft gave FBI set of BitLocker encryption keys to unlock suspects' laptops
Furthermore it seems like it's specific to Azure AD, and I'm guessing it probably only has effect if you enable to option to back up the keys to AD in the first place, which is not mandatory

I'd be curious to see a conclusive piece of documentation about this, though

shawnz··on Microsoft gave FBI set of BitLocker encryption keys to unlock suspects' laptops
Why would you need to create a local account? You can just not choose to store the keys in your Microsoft account during BitLocker setup: https://www.diskpart.com/screenshot/en/others/windows-11/win...

Admittedly, the risks of choosing this option are not clearly laid out, but the way you are framing it also isn't accurate

shawnz··on Confer – End to end encrypted AI chat
This interpretation basically waters down the meaning of end-to-end encryption to the point of uselessness. You may as well just say "encryption".
shawnz··on Confer – End to end encrypted AI chat
There's FHE, but that's probably an even more difficult technical challenge than doing everything locally
shawnz··on Confer – End to end encrypted AI chat
I don't agree that this is end to end encrypted. For example, a compromise of the TEE would mean your data is exposed. In a truly end to end encrypted system, I wouldn't expect a server side compromise to be able to expose my data.

This is similar to the weasely language Google is now using with the Magic Cue feature ever since Android 16 QPR 1. When it launched, it was local only -- now it's local and in the cloud "with attestation". I don't like this trend and I don't think I'll be using such products

shawnz··on Fabrice Bellard's TS Zip (2024)
Ah yeah, factoring in the whitespace might make this a bit more practical
shawnz··on Fabrice Bellard's TS Zip (2024)
I don't think I see the vision here. If you want to maximize the number of tokens representable as a prefix code while still being able to output any sequence of characters, how could you possibly pick anything other than the one-character-long tokens?

Are you saying you'd intentionally make some output sequences impossible on the basis they're not likely enough to be worth violating the prefix code for? Surely there's enough common short words like "a", "the", etc that that would be impractical?

And even excluding the cases that are trivially impossible due to having short words as a prefix, surely even the longer words share prefixes commonly enough that you'd never get tokens longer than, say, two characters in the best case? Like, so many words start with "st" or "wh" or "re" or whatever, how could you possibly have a prefix code that captures all of them, or even the most common ones, without it being uselessly short?

shawnz··on Fabrice Bellard's TS Zip (2024)
Regarding the first part: that's an interesting idea, although I worry it would bias the outputs in an unrealistic way. Then again, maybe it would only impact scenarios that would have otherwise been unparsable anyway?

Regarding the second part: you'd effectively just be limiting yourself to single character tokens in that case which would drastically impact the LLM's output quality

shawnz··on Fabrice Bellard's TS Zip (2024)
I can't imagine they consider it a bug, it is a common and beneficial property of essentially every LLM today. You want to be able to represent common words with single tokens for efficiency, but at the same time you still need to be able to represent prefixes of those words in the cases where they occur separately
shawnz··on Fabrice Bellard's TS Zip (2024)
Another fun application of combining LLMs with arithmetic coding is steganography. Here's a project I worked on a while back which effectively uses the opposite technique of what's being done here, to construct a steganographic transformation: https://github.com/shawnz/textcoder
shawnz··on Anthropic made a mistake in cutting off third-party clients
I don't think it is intending to frame the move as clueless, but rather short-sighted. It could very well be a good move for them in the short term.
shawnz··on The struggle of resizing windows on macOS Tahoe
One huge benefit of Tahoe for me is that you can now hide any menubar icon, even if they don't explicitly support hiding. It's a small thing but that alone makes the upgrade worth it for me
shawnz··on What *is* code? (2015)
Sure, and that goes even for myself. Like for example, on some projects maybe I'll be more interested in exploring a particular architectural choice than actually focusing on the details of the feature. It ultimately doesn't matter, the point is that you can choose where to spend your attention, instead of being forced to always go through all the motions even for things that are just irrelevant boilerplate
shawnz··on What *is* code? (2015)
I used to think this, until I tried it. Now I see that it effectively removes all the tedium while still letting you have whatever level of creative control you want over the output.

Just imagine that instead of having to work off of an amorphous draft in your head, it really creates the draft right in front of you in actual code. You can still shape and craft and refine it just the same, but now you have tons more working memory free to use for the actually meaningful parts of the problem.

And, you're way less burdened by analysis paralysis. Instead of running in circles thinking about how you want to implement something, you can just try it both ways. There's no sunk cost of picking the wrong approach because it's practically instantaneous.

shawnz··on Alzheimer’s disease can be reversed in animal models? Study
Keep reading:

> Pieper emphasized that current over-the-counter NAD+-precursors have been shown in animal models to raise cellular NAD+ to dangerously high levels that promote cancer. The pharmacological approach in this study, however, uses a pharmacologic agent (P7C3-A20) that enables cells to maintain their proper balance of NAD+ under conditions of otherwise overwhelming stress, without elevating NAD+ to supraphysiologic levels.

shawnz··on NIST was 5 μs off UTC after last week's power cut
Follow the citation: https://www.nist.gov/pml/time-and-frequency-division/how-utc...

> ... in English the abbreviation for coordinated universal time would be CUT, while in French the abbreviation for "temps universel coordonné" would be TUC. To avoid appearing to favor any particular language, the abbreviation UTC was selected.

shawnz··on I think nobody wants AI in Firefox, Mozilla
They're calling it taskbar tabs and it's behind a feature flag in nightly currently: https://windowsreport.com/firefox-is-bringing-web-apps-to-wi...
shawnz··on I think nobody wants AI in Firefox, Mozilla
Here are some of the things that make Firefox the best browser for me:

- An extension system more powerful than Chrome's, which supports for example rich adblockers that can block ads on Youtube. Also, it works on mobile, too

- Many sophisticated productivity, privacy, and tab management features such as vertical tabs, tab groups, container tabs, split tabs, etc. And now it also has easy-to-use profiles and PWA support just like Chrome

- A sync system which is ALWAYS end-to-end encrypted, and doesn't leak your browsing data or saved credentials if you configure it wrong, like Google's does, and it of course works on mobile too

- And yes, LLM-assisted summarization, translation, tab grouping, etc, most of which works entirely offline with local LLMs and no cloud interation, although there are some cloud enabled features as well

shawnz··on New gel restores dental enamel and could revolutionise tooth repair
It's not necessarily performative research just because a pop science author wrote a catchy, exaggerated headline about it
shawnz··on Why Busy Beaver hunters fear the Antihydra
The point stands: the hard part is proving that all the programs with longer runtime than your upper bound will never terminate, and once you've solved that, getting the exact value is just a little extra work
shawnz··on Why Busy Beaver hunters fear the Antihydra
I think finding an upper bound is basically just as difficult as finding the actual value itself, since both would require proving that all of the programs which run longer than that will run forever. That's why we can say BB(x) grows faster than any computable function. Being able to compute BB(x) algorithmically or any faster growing function would let you solve the halting problem
shawnz··on Tor browser removing various Firefox AI features
Would the split tabs feature that they are currently rolling out work for your use case?

https://windowsreport.com/hands-on-firefoxs-new-split-view-l...

shawnz··on New nanotherapy clears amyloid-β, reversing symptoms of Alzheimer's in mice
Here's a good article which explains the remaining arguments in favour of the amyloid hypothesis: https://www.astralcodexten.com/p/in-defense-of-the-amyloid-h...
shawnz··on When I say “alphabetical order”, I mean “alphabetical order”
> Of course, the user who named those files probably wants file-9.txt to come before file-10.txt. But 1 is smaller than 9, so file-10.txt should be first in alphabetical order. Everyone understands that, and soon people learn to put enough leading zeros if they want their files to stay sorted the way they like. Well, apparently all these operating systems have decided that no, users are too dumb and they cannot possibly understand what alphabetical order means. So when you ask them to sort your files alphabetically, they don’t. Instead, they decide that if some piece of the file name is a number, the real numerical value must be used.

I think there are many things wrong with your assessment of the situation.

First, where does it say in these file managers that they're sorting by alphabetical order? I see that you've specified that you want the files sorted by name, but I don't see that you've specified you want them sorted by name alphabetically. And what does "alphabetical sort" even mean when you're sorting characters which are not letters? What you mean is probably "lexicographical sort".

Second, you admit yourself that users probably want natural sort. Why would you expect these products to do the thing which they know users usually don't want by default? That just seems like bad design to me. They know users usually want natural sort, and you know users usually want natural sort, so why would you expect the default behaviour to be a lexicographical sort?

Third, just like how you've learned to work around the lack of natural sort in poorly designed products of years past by adding leading zeroes, you can just add trailing zeroes to get the lexicographical ordering that you want. Why do you seem to be implying that the latter is more user-hostile than the former? It doesn't make sense to me. A decision had to be made about what sort to use and they picked the one that most people want. Isn't that what we should be expecting in a product that caters to its users?

I see in other comments you've suggested that there should be a separate option for choosing between lexicographical sort and natural sort. But in the past, when lexicographical sort was the only option, why weren't you complaining about it being user-hostile to only have one option then? Why is it only when the default is something you're personally not used to that it warrants complaint? And where do we stop, do we have separate controls for every single sortable string field to determine whether it should be sorted lexicographically or naturally? Or just the name field? Don't you think that is going to lead to interface bloat?

shawnz··on Baldur's Gate 3 Steam Deck – Native Version
To be clear, did you test the game in Act 3? Because Act 3 generally has significantly worse performance than other parts of the game
← PreviousPage 2 of 34Next →