Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
cpeterso
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
by
cpeterso
4d ago
You’re right. I looked it up: getting the number of files in a directory in FAT and FAT32 file systems is O(n). I had assumed the count would be recorded in an inode-like structure but instead the file system must scan a directory table to
2.
▲
by
cpeterso
4d ago
> Iran and Houthi rebels used Anthropic's Claude AI to target US warships and build hypersonic missiles — Houthi rebels also used the bot to code ballistic missile guidance systems https://www.tomshardware.com/tech-i
3.
▲
by
cpeterso
6d ago
Raymond’s selectRandomFromIterator algorithm requires iterating over all the files. It seems like querying the file system for the number of files in a directory should be an O(1) operation. Then you just select random number N between [1,
4.
▲
by
cpeterso
6d ago
Joel Spolsky's "Fire And Motion" blog post (2002) describes the challenge of tech churn well: https://www.joelonsoftware.com/2002/01/06/fire-and-motion/ > Think of the history of data a
5.
▲
A Stupid Idea for AI Alignment We Came with by Looking at Specification Gaming
(slimemoldtimemold.com)
94 points
by
cpeterso
7d ago
|
64 comments
6.
▲
by
cpeterso
11d ago
Modularity abstraction = drawing boxes around the messy parts Modeling abstraction = drawing lines between the boxes
7.
▲
by
cpeterso
11d ago
Mozilla's Firefox AGENTS.md begins with: Limit the amount of comments you put in the code to a strict minimum. You should almost never add comments, except sometimes on non-trivial code, function definitions if the arguments aren&#
8.
▲
by
cpeterso
15d ago
Firefox on iOS is blocking third-party ads, not first-party ads.
9.
▲
by
cpeterso
17d ago
“Chris told me I mean that there was a particular way that we used to speak in the show that it that wasn't a normal rhythm and syntax. It was slightly backwards. which felt like it was almost part of the cryptic aspect of the series.
10.
▲
by
cpeterso
17d ago
In a recent interview on Conan O'Brien's podcast, Gillian Anderson said X-Files creator Chris Carter wrote his scripts visually so they didn't have any widows (the last line of a paragraph carried over to the top of the next
11.
▲
by
cpeterso
19d ago
Send fair to me: someone’s got to test Mouse Keys! :)
12.
▲
by
cpeterso
19d ago
I worked on Microsoft’s Windows QA team long ago. My team used to have “No-mouse Tuesdays”: you were supposed to do all your normal work but only using the keyboard.
13.
▲
by
cpeterso
20d ago
I've found myself rewriting my own words to avoid Claudisms (because they can be cringe and I don't want people to think I'm copy/pasting Claude output at them).
14.
▲
by
cpeterso
21d ago
> if AI were to rent a server and copy its own weights, nothing would stop it from doing so again and again. That's a scary possibility. Anyone could create an AI worm today with open weight models. Rent a VM. Give it some Bitcoins
15.
▲
Securing the agentic era: formal verification for CEL Common Expression Language
(opensource.googleblog.com)
2 points
by
cpeterso
22d ago
|
0 comments
16.
▲
by
cpeterso
23d ago
And Mozilla's blog post about shipping JPEG XL: https://hacks.mozilla.org/2026/08/intent-to-ship-jpeg-xl/
17.
▲
by
cpeterso
23d ago
See also https://news.ycombinator.com/item?id=49421758
18.
▲
Firefox intent to ship: JPEG XL
(groups.google.com)
70 points
by
cpeterso
23d ago
|
32 comments
19.
▲
by
cpeterso
23d ago
And Chromium intent to Ship: JPEG XL decoding support (image/jxl) in blink https://groups.google.com/a/chromium.org/g/blink-dev/c/-gDoj...
20.
▲
by
cpeterso
26d ago
Yes, I've had both ChatGPT and Perplexity return English answers with Hindi words sprinkled in (for totally unrelated queries). For example, I asked ChatGPT to summarize a long news story and it substituted the Hindi equivalent हत्या f
21.
▲
by
cpeterso
27d ago
Are you using Huzzah to development Huzzah? :)
22.
▲
by
cpeterso
27d ago
Another LLM could use the pseudocode to generate black box test cases without access to the generated code. How to define the API between tests and the implementation would require some more work.
23.
▲
by
cpeterso
27d ago
This approach reminds me of PDL (Program Design Language), described in Steve McConnell's excellent book Code Complete (1993). He recommended writing code using PDL pseudocode first. People can review your PDL before you write the co
24.
▲
by
cpeterso
1mo ago
Firefox Focus is called Klar (“clear” in German) in Germany because the Focus trademark is owned by a German news magazine.
25.
▲
by
cpeterso
1mo ago
Open your browser’s dev tools while loading a website and there’s usually a continuous stream of HTTP and JS errors and warnings. That websites actually work surprises me sometimes, but that’s the pragmatic beauty of the web.
26.
▲
by
cpeterso
1mo ago
> LLVM is still involved, but they are using it differently than say, Rust or Zig. Chris Lattner said in a Developer Voices podcast interview: "Swift in a way was syntactic sugar for LLVM, at the very bottom of the stack it could ta
27.
▲
by
cpeterso
1mo ago
I wish I could see Google Maps labels like this during a real flight!
28.
▲
Moving the Microsoft Edge extensions ecosystem forward with Manifest Version 3
(blogs.windows.com)
2 points
by
cpeterso
1mo ago
|
1 comments
29.
▲
by
cpeterso
2mo ago
Here is a Firefox bug report about the issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1944219 . Mozilla has a User-Agent override intervention for Zoom on Android, but it's currently only in the Firefox Nightly bui
30.
▲
by
cpeterso
2mo ago
Here is a Firefox bug report about the issue: https://bugzilla.mozilla.org/show_bug.cgi?id=1944219 . Mozilla has a User-Agent override intervention for Zoom on Android, but it's currently only in the Firefox Nightly bui
More ›