frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

An Actual Alternative to Originalism

https://www.scotusblog.com/2026/04/an-actual-alternative-to-originalism/
1•Tomte•12s ago•0 comments

Anthropic in chips deals with Google and Broadcom worth billions

https://www.ft.com/content/28757ce7-0d9f-4ffb-bb91-16dc83f2cf6a
1•giuliomagnifico•32s ago•0 comments

Show HN: Stop paying for Dropbox/Google Drive, use your own S3 bucket instead

https://locker.dev
1•Zm44•51s ago•0 comments

Built $5M. Got 1%. Got let go

1•mhrnik•1m ago•0 comments

Show HN: Procurement.txt – a robots.txt for AI purchasing agents

https://www.procurementtxt.org/
1•imcqueen•2m ago•1 comments

DeiMOS – A Superoptimizer for the MOS 6502

https://aransentin.github.io/deimos/
1•Aransentin•2m ago•0 comments

Server-Side MCP vs. CLIs vs. REST APIs: When Each Wins

https://kaxil.substack.com/p/mcp-vs-cli-vs-rest
1•kaxilnaik•3m ago•0 comments

Show HN: Brutalist Concrete Laptop Stand

https://sam-burns.com/posts/concrete-laptop-stand/
2•sam-bee•5m ago•0 comments

Prepping for the Endgame of the Open Web

https://thehistoryoftheweb.com/prepping-for-the-endgame/
1•speckx•5m ago•0 comments

Machine Learning Library from the 2000s

http://torch.ch/torch3/
1•shrikaranhanda•7m ago•0 comments

Show HN: TexoCAD – Lovable for Hardware

https://www.texocad.ai/
1•torayeff•8m ago•0 comments

FREDCode – Claude-Native Macro Fred Research

https://modolap.com/publication/fred-1
1•ronfriedhaber•8m ago•0 comments

Charcuterie: A Visual Explorer for Unicode

https://charcuterie.elastiq.ch/
1•coinfused•10m ago•0 comments

"Alignment" and "Safety", Part One: What Is "AI Safety"?

https://www.lesswrong.com/posts/siJEByu67fLsgKsQt/alignment-and-safety-part-one-what-is-ai-safety
1•joozio•10m ago•0 comments

Watch this video of how a job interviewer exposes a North Korean fake IT worker

https://techcrunch.com/2026/04/06/watch-this-video-of-how-a-job-interviewer-exposes-a-north-korea...
1•byschii•12m ago•0 comments

Build Native iOS Apps Without a Mac or Code

https://www.scaleify.dev
1•bajero•14m ago•1 comments

‎PocketPal AI App. Run Gemma 4 and other hugging faces models on device

https://apps.apple.com/us/app/pocketpal-ai/id6502579498
1•janandonly•14m ago•0 comments

Show HN: Onboardly – Ask questions about any GitHub codebase in plain English

https://onboardly-ruddy.vercel.app
1•KevStatic•15m ago•0 comments

China to help Cuba with solar energy amid US oil blockade

https://www.scmp.com/economy/china-economy/article/3346978/china-help-cuba-solar-energy-amid-us-o...
2•KnuthIsGod•15m ago•0 comments

Carroll (Crater)

https://en.wikipedia.org/wiki/Carroll_(crater)
1•incognito124•20m ago•0 comments

Emojigo JavaScript

https://github.com/EmojiGO/emojigo-js
2•spotlayn•21m ago•0 comments

The Hacker News Tarpit

https://www.joanwestenberg.com/the-hacker-news-tarpit/
1•latexr•23m ago•0 comments

TinyProgrammer: Self-contained device that writes and runs small Python programs

https://github.com/cuneytozseker/TinyProgrammer
1•thunderbong•24m ago•0 comments

Google's Gemini wrote a 5k-word paper about my empty website

https://phantomauthority.ai
2•Deforth•25m ago•0 comments

Speed Run to Legacy: How Cheap AI Tokens Hide Expensive Mistakes

https://bitbrawn.com/posts/ai-speed-run-to-legacy
1•retrac98•25m ago•0 comments

Health benefits of Paris climate goals could save lives by 2040

https://www.carbonbrief.org/guest-post-health-benefits-of-paris-climate-goals-could-save-millions...
4•lentoutcry•26m ago•0 comments

How Complex is my Code?

https://philodev.one/posts/2026-04-code-complexity/
2•speckx•28m ago•0 comments

Running AI agents safely in a microVM using Docker sandbox

https://andrewlock.net/running-ai-agents-safely-in-a-microvm-using-docker-sandbox/
1•ingve•30m ago•0 comments

Plane trees getting on your nose? The truth about hay fever (2012)

https://theconversation.com/plane-trees-getting-on-your-nose-the-truth-about-hay-fever-9223
2•zeristor•32m ago•0 comments

AI Won't Replace You, but a Manager Using AI Will

https://yanivpreiss.com/2026/04/06/ai-wont-replace-you-but-a-manager-using-ai-will/
9•PretzelFisch•35m ago•2 comments
Open in hackernews

I asked Gemini for a script to move files to Cloudflare R2. It deleted them

https://twitter.com/levelsio/status/1921974501257912563
6•bundie•10mo ago

Comments

qwertox•10mo ago
Rule #1: Always put deletions behind a flag which is disabled for the first couple of test runs.
turtleyacht•10mo ago
It was truncating filenames, so /pics/1003-46.png overwrote /pics/1003-45.png because both were renamed /pics/1003-.png, or something like that.
qwertox•10mo ago
Truncating file names for the target. Then it proceeded to delete the source file. "Successfully deleted local file: ..."

I mean, look at the printout. It shows that it created the remote file with the truncated filename, then deletes the local file with the correct filename.

turtleyacht•10mo ago
Oh, I see. Having a flag to skip deletion during test runs is a good rule then.
rvz•10mo ago
Recently there was a story about an updater causing a $8,000 bill because there was a lack of basic automated tests to catch the issue. [0]

The big lesson here is that you should actually test the code you write and also write automated tests to check any code generated by an LLM that the code is correct in what it does.

It is also useless to ask another AI to check for mistakes created by another LLM. As you can see in the post, both of them failed to catch the issue.

This why I don't take this hype around 'vibe-coding' seriously since not only it isn't software engineering, it promotes low quality and carelessness over basic testing and dismisses in checking that the software / script works as expected.

Turning $70 problems found in development into $700,000+ costs in production.

There are no more excuses in not adding tests.

[0] https://news.ycombinator.com/item?id=43829006

victorbjorklund•10mo ago
Who runs such an AI generated script without checking the code first?
qwertox•10mo ago
To be fair, the code Gemini outputs in AI Studio is so extremely verbose that it is almost impossible to read through it.

It turns 10 lines of code which is perfectly fine to reason about into 100 lines of unreadable code full of comments and exception handling.

weatherlite•10mo ago
Right so lets just always run the code as is ?
qwertox•10mo ago
No. Not at all. I've settled to discussing my code with Gemini. That way it works very well. I explicitly say "Comment on my code and discuss it" or "Let's discuss code for a script doing this and that. Generate me an outline and let's see where this leads. Don't put comments in the code, nor exception handling, we're just discussing it".

Or you create elaborate System Instructions, since it adheres to them pretty well.

But out-of-the-box, Gemini's coding abilities are unusable due to the verbosity.

I've even gone so far to tell it that it must understand that I am just a human and have limited bandwidth in my brain, so it should write code which is easy to reason about, that this is more important than having it handle every possible exception or adding multiline comments.

rsynnott•10mo ago
> To be fair, the code Gemini outputs in AI Studio is so extremely verbose that it is almost impossible to read through it.

In which case, it should simply be considered unusable. Like, the sensible response to "tool is so inadequate that there is no reasonable way to make sure its output is safe" is to _not use that tool_.

rsynnott•10mo ago
In which Roko's Basilisk fires a warning shot.
jethronethro•10mo ago
This is why you test code or a script before running it for real. Live and learn, I guess ...