frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

Claude Token Counter, now with model comparisons

https://simonwillison.net/2026/Apr/20/claude-token-counts/
20•twapi•3h ago

Comments

tomglynch•1h ago
Interesting findings. Might need a way to downsample images on upload to keep costs down.
simonw•59m ago
Yeah that should work - it looks like the same pixel dimension image at smaller sizes has about the same token cost for 4.6 and 4.7, so the image cost increase only kicks in if you use larger images that 4.6 would have presumably resized before inspecting.
mudkipdev•38m ago
Why do you need an API key to tokenize the text? Isn't it supposed to be a cheap step that everything else in the model relies on?
simonw•17m ago
I'd love it if that API (which I do not believe Anthropic charge anything for) worked without an API key.

Show HN: TRELLIS.2 image-to-3D running on Mac Silicon – no Nvidia GPU needed

https://github.com/shivampkumar/trellis-mac
107•shivampkumar•4h ago•20 comments

A Brief History of Fish Sauce

https://www.legalnomads.com/fish-sauce/
121•vinhnx•20h ago•54 comments

Vercel April 2026 security incident

https://www.bleepingcomputer.com/news/security/vercel-confirms-breach-as-hackers-claim-to-be-sell...
609•colesantiago•14h ago•343 comments

The Bromine Chokepoint

https://warontherocks.com/cogs-of-war/the-bromine-chokepoint-how-strife-in-the-middle-east-could-...
175•crescit_eundo•10h ago•80 comments

Stop trying to engineer your way out of listening to people

https://ashley.rolfmore.com/stop-trying-to-engineer-your-way-out-of-listening-to-people/
77•walterbell•8h ago•16 comments

Sudo for Windows

https://github.com/microsoft/sudo
31•luispa•4h ago•10 comments

Turtle WoW classic server announces shutdown after Blizzard wins injunction

https://www.pcgamer.com/games/world-of-warcraft/turtle-wow-classic-server-announces-shutdown-afte...
162•Brajeshwar•12h ago•134 comments

Swiss AI Initiative (2023)

https://www.swiss-ai.org
33•doener•5h ago•10 comments

Claude Token Counter, now with model comparisons

https://simonwillison.net/2026/Apr/20/claude-token-counts/
20•twapi•3h ago•4 comments

Mechanical Keyboard Sounds – A listening Museum

https://sheets.works/data-viz/keyboard-sounds
60•akashwadhwani35•4d ago•21 comments

Changes in the system prompt between Claude Opus 4.6 and 4.7

https://simonwillison.net/2026/Apr/18/opus-system-prompt/
251•pretext•17h ago•149 comments

2,100 Swiss municipalities showing which provider handles their official email

https://mxmap.ch/
96•doener•5h ago•27 comments

Prove you are a robot: CAPTCHAs for agents

https://browser-use.com/posts/prove-you-are-a-robot
73•lukasec•4d ago•36 comments

Recovering Windows Live Writer Files

https://benovermyer.com/blog/2026/04/recovering-windows-live-writer-files/
17•bovermyer•5d ago•4 comments

Scientific datasets are riddled with copy-paste errors

https://www.sciencedetective.org/scientific-datasets-are-riddled-with-copy-paste-errors/
55•jruohonen•9h ago•9 comments

Show HN: A lightweight way to make agents talk without paying for API usage

https://juanpabloaj.com/2026/04/16/a-lightweight-way-to-make-agents-talk-without-paying-for-api-u...
18•juanpabloaj•4h ago•4 comments

The RAM shortage could last years

https://www.theverge.com/ai-artificial-intelligence/914672/the-ram-shortage-could-last-years
232•omer_k•21h ago•253 comments

A Common MVP Evolution: Service to System Integration to Product (2017)

https://www.skmurphy.com/blog/2017/08/07/a-common-evolution-service-to-system-integration-to-prod...
7•skmurphy•2d ago•1 comments

Archive of BYTE magazine, starting with issue #1 in 1975

https://archive.org/details/byte-magazine-1975-09
551•DamnInteresting•2d ago•144 comments

Six Levels of Dark Mode (2024)

https://cssence.com/2024/six-levels-of-dark-mode/
60•Akcium•9h ago•26 comments

The seven programming ur-languages (2022)

https://madhadron.com/programming/seven_ur_languages.html
312•helloplanets•20h ago•117 comments

I wrote a CHIP-8 emulator in my own programming language

https://github.com/navid-m/chip8emu
57•pizza_man•9h ago•13 comments

Show HN: A working reference implementation of context engineering

https://github.com/outcomeops/context-engineering
37•linsys•2d ago•10 comments

Interesting Map Geometry and Mathematics

https://www.markrjohnsongames.com/2026/04/11/ultima-ratio-regum-0-11-update-57-interesting-map-ge...
15•Hooke•1d ago•0 comments

Show HN: Faceoff – A terminal UI for following NHL games

https://www.vincentgregoire.com/faceoff/
106•vcf•10h ago•35 comments

Nanopass Framework: Clean Compiler Creation Language

https://nanopass.org/
125•NordStreamYacht•4d ago•28 comments

PopOS Linux: Creating a Bootable Backup USB With Encryption

https://hajo.me/blog/2026/02/16/popos-linux-creating-bootable-backup-USB-with-encryption/
12•fxtentacle•2d ago•1 comments

SPEAKE(a)R: Turn Speakers to Microphones for Fun and Profit [pdf] (2017)

https://www.usenix.org/system/files/conference/woot17/woot17-paper-guri.pdf
169•Eridanus2•19h ago•69 comments

Notion leaks email addresses of all editors of any public page

https://twitter.com/weezerOSINT/status/2045849358462222720
342•Tiberium•13h ago•121 comments

Show HN: Prompt-to-Excalidraw demo with Gemma 4 E2B in the browser (3.1GB)

https://teamchong.github.io/turboquant-wasm/draw.html
98•teamchong•17h ago•44 comments