frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Trust Me, I'm a Shortcut

https://www.wietzebeukema.nl/blog/trust-me-im-a-shortcut
3•wietze•6m ago•0 comments

Bitwuzla: Satisfiability Modulo Theories (SMT) Solver

https://github.com/bitwuzla/bitwuzla
1•tosh•8m ago•0 comments

"Bot or Human?" Is the Wrong Question for the Modern Web

https://blog.cloudflare.com/past-bots-and-humans/
1•emot•9m ago•0 comments

Image Generators Are Generalist Vision Learners

https://arxiv.org/abs/2604.20329
1•mohsen1•11m ago•0 comments

What you can do in a decade

https://twitter.com/swyx/status/2047217611880984935
1•tosh•12m ago•0 comments

AI and Teaching

https://eiexchange.com/content/ai-and-teaching-the-brave-new-world
1•walterbell•13m ago•0 comments

Show HN: We built an OCR server that can process 270 dense images/s on a 5090

https://github.com/aiptimizer/TurboOCR
2•pfdomizer•13m ago•0 comments

Writing a C Compiler, in Zig

https://ar-ms.me/thoughts/c-compiler-1-zig/
1•tosh•14m ago•0 comments

Subscription bombing attacks: patterns, dark web services, and mitigations

https://cacm.acm.org/practice/subscription-bombing-email-under-attack/
1•gannimo•15m ago•0 comments

Show HN: AI Applyd – score, rewrite, auto-apply via cloud browser

https://aiapplyd.com/
1•sneefle•15m ago•0 comments

A new logical model for artificial gravity cores: from pest control to railguns

https://gist.github.com/ryouta19931007
1•hamutarou•19m ago•0 comments

Programming as Theory Building – Peter Naur

https://gist.github.com/onlurking/fc5c81d18cfce9ff81bc968a7f342fb1
1•jonnonz•19m ago•0 comments

FIU Student Arrested After Joking About Netanyahu on WhatsApp

https://www.youtube.com/watch?v=o1Zsb1IijYY
5•enaaem•23m ago•0 comments

Meta layoff wave impacting 8000 jobs

https://www.usatoday.com/videos/news/2026/04/20/meta-layoffs-impacting-8000-employees/89697461007/
2•tcp_handshaker•25m ago•0 comments

Is Starlink a Secret Radar Constellation? [video]

https://www.youtube.com/watch?v=jbp3kdJZ1_A
3•msuniverse2026•32m ago•0 comments

Show HN: Nova by civai, a platform for managed AI agents

https://nova.civai.co/
1•usecodenaija•34m ago•0 comments

RFK Jr. Defends Trump's Mathematically Impossible Drug Discount Claims

https://www.nytimes.com/2026/04/22/us/politics/rfk-jr-trump-impossible-drug-discounts.html
3•tcp_handshaker•34m ago•1 comments

Vision Banana: Image Generators Are Generalist Vision Learners

https://vision-banana.github.io
2•M4v3R•35m ago•1 comments

Show HN: We built a way for Claude Code to join meetings like a real teammate

7•pattern-ai•35m ago•2 comments

Debugging WASM in Chrome DevTools

https://eli.thegreenplace.net/2026/debugging-wasm-in-chrome-devtools/
2•mfrw•39m ago•0 comments

Hackers breach Anthropic's 'too dangerous to release' Mythos AI model

https://www.euronews.com/next/2026/04/22/hackers-breach-anthropics-too-dangerous-to-release-mytho...
2•latexr•40m ago•0 comments

Show HN: Razorpay-universal – A framework-agnostic Razorpay SDK

https://www.npmjs.com/package/razorpay-universal
1•rupamshil111•41m ago•0 comments

SpaceX and Cursor have explored a team-up with Mistral to take on AI rivals

https://www.businessinsider.com/elon-musk-xai-explored-collaborating-with-mistral-cursor-2026-4
2•consumer451•43m ago•1 comments

Former Israeli intelligence agents from Unit 8200 hired by Apple

https://vuseum.wordpress.com/2025/07/22/ex-spie-israeliane-dellunita-8200-assunte-da-apple/
4•kome•49m ago•1 comments

Google announced that Chrome is becoming an agentic workplace platform

https://thenextweb.com/news/google-chrome-enterprise-ai-coworker-agentic-browser
2•onchainintel•53m ago•2 comments

The new hosted agents in Foundry Agent Service

https://devblogs.microsoft.com/foundry/introducing-the-new-hosted-agents-in-foundry-agent-service...
1•nonfamous•56m ago•0 comments

Show HN: Autonomous coin-flipping machine with on-device CV

https://www.terencegrover.com/section/physicalart/4
2•tgrover•56m ago•0 comments

Supplies Probably Won't Be Stolen in a Disaster

https://www.jefftk.com/p/your-supplies-probably-wont-be-stolen-in-a-disaster
1•luu•59m ago•0 comments

Google Search Is Broken

https://www.vincentschmalbach.com/google-search-is-broken/
1•vincent_s•59m ago•0 comments

Agents-CLI CLI and skills for building agents on Google Cloud

https://google.github.io/agents-cli/
1•piqufoh•59m ago•0 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•11mo ago

Comments

qwertox•11mo ago
Rule #1: Always put deletions behind a flag which is disabled for the first couple of test runs.
turtleyacht•11mo 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•11mo 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•11mo ago
Oh, I see. Having a flag to skip deletion during test runs is a good rule then.
rvz•11mo 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•11mo ago
Who runs such an AI generated script without checking the code first?
qwertox•11mo 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•11mo ago
Right so lets just always run the code as is ?
qwertox•11mo 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•11mo 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•11mo ago
In which Roko's Basilisk fires a warning shot.
jethronethro•11mo ago
This is why you test code or a script before running it for real. Live and learn, I guess ...