News for hackers. Stuff that matters.

yanosh_kunsh

I'm not sure why they even call them tents. Those are called fabric buildings. Fabric buildings have a lifespan of over 20 years[1] and this is limited by the PVC membranes, the actual steel structure can last a lot longer.

[1] https://www.rubbusa.com/approach/quality/

Re:Show HN: enveil – hide your .env secrets from prAIng eyes on Tuesday February 24, 2026 @04:57AM (#47135088)
You are absolutely correct, but I don't need it to be 100% bulletproof.

I'm using opencode as a coding agent and I've added a custom plugin that implements an .aiexclude check (gist (https://gist.github.com/yanosh-k/09965770f37b3102c22bdf5c59a...)) before tool calls. No matter how good the checks are, on the 5th or 6th attempt a determined prompt can make the agent read a secret — but that only happens if reading secrets is the explicit goal. When I'm not specifically prompting it to extract secrets, the plugin reliably prevents the agent from reading them during normal coding work.

My threat model isn't a motivated attacker — it's accidental ingestion.

That's also why I think this should be a built-in feature of coding agents — though I understand the hesitation: if it can't guarantee 100% coverage, shipping it as a native safeguard risks giving users a false sense of security, which may be harder to manage than not having it at all.

Re:Show HN: enveil – hide your .env secrets from prAIng eyes on Tuesday February 24, 2026 @02:31AM (#47133997)
I think it would be best if AI agents would honor either .gitignore or .aiexclude (https://developers.google.com/gemini-code-assist/docs/create...).
So does that mean that LLM inference could go down significantly in price and/or context length would dramatically increase?
Re:Is my essay making a clear argument? [video] on Wednesday February 04, 2026 @08:32AM (#46885618)
Hilarious campaign against ads in AI chats
This is really cool. I've gone down the rabbit hole of Certificate Transparency to find out how crt.sh gets its information - first time I've even heard that it exists. Also, much better UI than crt.sh. I've tried to go over the information there, but it looks really cumbersome.
Re:React2Shell (CVE-2025-55182/CVE-2025-66478) on Friday December 05, 2025 @04:10PM (#46167368)
It is very strange that this didn't make it to the front page of HN. I've just received an email from DigitalOcean that my VPS/droplet had been used in a DDoS attack, and a few hours latter another email, again from DigitalOcean, saying that I'm running software that has a vulnerability with CVE score of 10. I guess not a lot of CVEs get a score of 10, and not for a framework as widespread as React and Next.
Re:GNU Units on Saturday August 05, 2023 @06:15AM (#37010623)
I actually did a WebAssembly port of the GNU Units library and you can now use it in your browser.

Demo: https://yanosh.net/units-wasm/ GitHub Repo for the demo: https://github.com/yanosh-k/units-wasm GitHub Repo for the WASM project: https://github.com/yanosh-k/gnu-wasmunits

Show HN: UnitsWASM – A WASM port of the popular GNU Units command line tool

https://yanosh.net/units-wasm/

This is a personal project born from the need to have a good (free and open-source) units convertor on my phone (hence the UI; I now use it as a Cordova app). The short story is that there was a time when I was converting from inches to centimeters very often, and the tool that I used for doing so was a simple DuckDuckGo search like this: "5 inch to cm". I got tiered of that and thought "It...

( Read More... | no comments | 3 points | on HN )