GPT Classifies HN Titles
With all the "what can GPT do", I went to dabble with it to see if I could do something that plays to its strengths rather than just speculating about "would it be good at that?" https://gist.github.com/shagie/ff2f67b33bb517f6a297e2da66530cf4 The basis for the prompt is: Classify following titles into one or more of {US Politics}, {World Politics}, {Technology}, {Security}, {Current Events}, {Boasting}, {Curiosity}, {Unknown} The results from the front page as I type this: 34152137 Technology: Lite XL: A lightweight text editor written in C and Lua 34151880 Curiosity:…
What it does
In the maker’s words, at launch
With all the "what can GPT do", I went to dabble with it to see if I could do something that plays to its strengths rather than just speculating about "would it be good at that?" https://gist.github.com/shagie/ff2f67b33bb517f6a297e2da66530cf4 The basis for the prompt is: Classify following titles into one or more of {US Politics}, {World Politics}, {Technology}, {Security}, {Current Events}, {Boasting}, {Curiosity}, {Unknown} The results from the front page as I type this: 34152137 Technology: Lite XL: A lightweight text editor written in C and Lua 34151880 Curiosity: Hydrochloric acid is more complicated than you think 34156235 World Politics, Current Events: Apple Japan hit with $98M in back taxes for missing duty-free abuses 34152333 Technology: The Architecture of the Lisa Personal Computer (1984) [pdf] 34151951 Curiosity: The Zen anti-interpretation of quantum mechanics (2021) 34155009 Unknown: Added 49 volumes of Arkansas, Mississippi, and Tennessee law 34145665 Technology: FEA Solver that doesn't need defeaturing 34151107 World Politics, Current Events: Amazon packages burn in India, final stop in broken recycling system 34155783 Technology: Your Cellphone Will Be a Satphone 34154778 World Politics, Current Events: Vandals destroy 30k-year-old indigenous cave drawings in Australia 34146397 Boasting: Ask HN: Elevator Pitch for a Polymath? 34151708 Technology: All About USB-C: Illegal Adapters 34149340 World Politics, Current Events: Southwest cancels 5,400 flights in less than 48 hours 34154896 Technology: Beaker Browser is now archived 34145811 Technology: Run Third-Party Scripts from a Web Worker 34152978 World Politics, Current Events: When Algorithms Rule, Values Can Wither 34152981 Security: Experian Vulnerability Shows Any Report with just SSN, DOB, ADR 34151382 World Politics, Security, Current Events: US Government demands direct police access to European biometric data [pdf] 34143272 Curiosity: Archaeologists devise a better clock for Biblical times 34149804 Technology: Using eBPF and predefined inspections to minimize “observability tax” 34155875 US Politics: Ventura Issues 34152100 Technology: Anki SRS Algorithm : Spaced repetition explained with code 34154406 Technology: How RISC-V Timer Interrupts Work 34146493 Curiosity: Old-school computing: when your lab PC is ancient (2021) 34152369 Technology: BorgBackup: Deduplicating archiver with compression and encryption 34147825 Technology: Show HN: Self-hosted CMS on serverless Cloudflare 34153648 Boasting: Brooklyn Bar Menu Generator (2015) 34117429 Unknown: “Blue Light” creating capacity for nothing (2007) 34149239 Curiosity: Visually symmetric words There are certainly some that one could argue would be different though I think its fairly correct based on titles alone. I'll also note that there are some different results when I was working in a smaller sample size - the entry "Added 49 volumes of Arkansas, Mississippi, and Tennessee law" was classified as "US politics, Current Events" rather than "Unknown". I do want to note that isn't that bad. Running this: "prompt_tokens":560,"completion_tokens":222,"total_tokens":782 So, this is just a hair under $0.02 to do. Thinking about it, some cleanup can be done by removing the year and media type which could trim a few tokens off the request.
Does the same job
all alternatives →- THTesting HN titles against a neural network2019 · github.com · ▲285




- TNTurn Newsletters into Interactive GPTs2025 · bookshelf.diy · ▲7
I’ve been hacking on a project called Bookshelf (https://www.bookshelf.diy/). It lets you take an archive — say, your Substack export, a bunch of PDFs, or even saved HTML files — and turn that into a retrieval-backed GPT that your readers can query. The idea is: instead of scrolling archives, they just ask questions. Answers are pulled only from your original content, with citations. It’s aimed at writers and researchers who want their work to be more discoverable — but without spinning up vector infra or fiddling with RAG pipelines. For context: I’ve always gone back to Paul…
More ai this month
the category →
I trained a 125M-parameter transformer to autocomplete piano performances in real time (~108 notes/sec on an iPhone 15). The idea is basically GitHub Copilot or Tabnine, except instead of prompting it with code, you prompt it by playing a few notes on a MIDI piano. The model then continues what you played, entirely on-device. The app is free if anyone wants to try it. Happy to answer questions about the model, training, Core ML, or the many things that didn't work.
AI · 17d ago · simedw.com
Astute▲585Automate your B2B brand going viral, with new media creators
AI · 18d ago · company-app.joinastute.com


Hey HN, Henry from Cactus here! We previously released Cactus Needle, a 14MB agentic LLM for tool call, device use, and structured extraction for phones, wearables, smart homes, small robots and microcontrollers. We got really great feedback here, and have now incorporated the suggestions to release Needle 2. The whole model is a single 14MB binary that runs a full session in 28MB of RAM; 45m parameters at 2bit compression. Needle hits 500 tokens/sec decode speed on a Raspberry Pi 5, sits between 400-1,500 tokens/sec on VR devices like Meta Quest 3S and Apple Vision Pro, and ranges…
AI · 27d ago · cactuscompute.com


Launched alongside, December 2022
the whole month →
- OC
Life & fun · 2022 · obsidian.md
- PS
Commerce · 2022 · mprimi.github.io

Use generative AI to create future-facing videos
AI · 2022 · studio.d-id.com

- IW
Dev tools · 2022 · sqlfordevs.com