News for hackers. Stuff that matters.

manx

Re:Show HN: Pi-Infinite-Context on Tuesday October 13, 2026 @11:55AM (#50073734)
Which evals would you be interested in specifically? And what are you missing in the readme?
Re:Show HN: Pi-Infinite-Context on Tuesday October 13, 2026 @11:15AM (#50073035)
valid question. I thought a lot about this. The prefix before every fold stays intact (cache hit). But for the messages after the fold there is always a cache miss. Folds don't happen too often, so in practice this turned out to be worth it, because the cache miss comes with a big token reduction in general. I don't have a solid cost analysis for this yet, though.

Show HN: Pi-Infinite-Context

https://github.com/fdietze/pi-infinite-context

Hi HN! Since I created this extension and heavily refined its core design, I'm not worrying about context size anymore. It just works so well. So I wanted to share. It is stress-tested with OpenAI and Anthropic models.Since HN is sensitive to good readmes, I wanted to do it well here. I started writing it by hand, but noticed that it was not great. then I decided to go back to LLM help, but...

( Read More... | 6 comments | on HN )
Re:GPT-6 Sol and Luna on Wednesday September 23, 2026 @08:20AM (#49815008)
Yes, you need an extension that uses the claude code credentials from the file system, like this: https://github.com/fdietze/pi-claude-auth

Works pretty well for me, even with latest opus-5-5

We probably want to compare the cartesian product of model+harness.
Re:Servo is now available on crates.io on Monday April 13, 2026 @11:32AM (#47753495)
Agreed. Which other software does society need badly?
Re:Floci – A free, open-source local AWS emulator on Saturday March 21, 2026 @09:33PM (#47473513)
What matters more is if there is good QA.
Also, you can have NixOS instead of debian: https://github.com/nix-community/nixos-avf
Re:Grokipedia and the Coup Against Reality Itself on Tuesday October 28, 2025 @03:58PM (#45738269)
Wouldn't it make sense to have these wikipedias created by different llms, and compare them to expose their biases?
Re:Testing a compiler-driven full-stack web framework on Wednesday October 08, 2025 @02:51PM (#45519342)
It's not only the amount of code but also the quality of the available code. If a language has a low barrier to entry (e.g. python, javascript), there will be a lot of beginner code. If a language has good static analysis and type checking, the available code is free of certain error classes (e.g. Rust, Scala, Haskell).

I see that difference in llm generated code when switching languages. Generated rust code has a much higher quality than python code for example.

Re:Learning Languages with the Help of Algorithms on Sunday September 21, 2025 @06:08AM (#45321437)
I fully agree with this approach! 5 years ago I built a prototype to execute that same concept of language covering. But instead of just using words, I used n-grams. It ii trained on subtitles to model spoken language. Combined with sqlite in the browser to get the next sentence with the most impact.

github here: https://github.com/fdietze/ravioli

prototype deployed here: https://raviolio.web.app/

Re:Learn Rust the Right Way on Monday September 15, 2025 @03:03AM (#45246912)
I think memory safety is a weak argument for rust and only works against C/C++, as you mention. For me, the strongest arguments against GCed languages are static analysis goodies that other languages don't have. Like checked immutably by the compiler, the borrow checker which forces you into a certain architecture, fearless concurrency etc. All those lead to fearless refactoring, which is a very strong point for me.
Re:AI Coding on Saturday September 13, 2025 @07:22AM (#45231200)
This pre-AI article makes a very similar argument: https://mortoray.com/programming-wont-be-automated-or-it-alr...

Once we realize that what we actually want is turning specifications into software, I think that English will become the base for a new, high level specification language.

Search for "bridging based ranking". The X community notes algorithm does that. I think it should be applied to all content.
Re:Clojure's Solutions to the Expression Problem on Thursday September 11, 2025 @04:10AM (#45209104)
Sounds like type-classes from haskell/scala? Or is that a different thing?
Re:Agent-C: a 4KB AI agent on Monday August 25, 2025 @11:39AM (#45015054)
Similar simplicity but in rust: https://github.com/fdietze/alors
Re:Deep Agents on Friday August 01, 2025 @05:54PM (#44762884)
I'm also in the process of creating a general purpose agent cli+library in rust: https://github.com/fdietze/alors

Still work in progress, but I'm already using it to code itself. Feedback welcome.

I also created my own. Frontend-only, no signup, based on openrouter, written in rust+leptos (wasm):

https://github.com/fdietze/tomatic

https://tomatic.app

Re:Ask HN: What Are You Working On? (June 2025) on Friday July 04, 2025 @05:06AM (#44462685)
Project Frottage: An automated constant stream of high quality AI wallpapers for mobile and desktop. We manually curate a list of ~150 prompts. Every 6h a random prompt is selected, a picture generated and uploaded to static hosting, free to use:

https://frottage.app/static/wallpaper-mobile-latest.jpg

https://frottage.app/static/wallpaper-desktop-latest.jpg

https://frottage.app/static/wallpaper-desktop-light-latest.j...

We just finished an android app, to set the wallpaper automatically on mobile: https://play.google.com/store/apps/details?id=com.frottage

Re:Run your GitHub Actions locally on Monday May 19, 2025 @06:26PM (#44035621)
I think we could build something on top of nix that is as easy to use and powerful as earthly, but gets all the nice stuff from nix: reproducibility, caching, just use any command from any nix package, etc

Older »