frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Rampart on CoreML

https://github.com/narner/Rampart-CoreML
1•narner•24s ago•0 comments

10x More Tools on X402

https://blog.apify.com/introducing-x402-agentic-payments/
1•jancurn•24s ago•0 comments

Show HN: Aitori – open-source tool to inspect Claude and ChatGPT traffic

https://github.com/truefoundry/aitori
1•deeptishukla22•44s ago•0 comments

Show HN: OM Core – multidimensional models without spreadsheet cell formulas

https://github.com/cloudcell/om-core
1•cloudcell•45s ago•0 comments

Agent-sandbox: Sandbox for agents with Podman

https://github.com/thomaspeklak/agent-sandbox
1•rjzzleep•50s ago•0 comments

What happens to your AI chats when you die?

https://legallayer.substack.com/p/what-happens-to-your-ai-chats-when
1•senaevren•1m ago•0 comments

Show HN: Anvit – Offline AI to chat with your PDFs on Android on-device

https://play.google.com/store/apps/details?id=com.likhith.anvit&hl=en_US
1•likhithv02•1m ago•0 comments

What a 40k-year-old figurine tells us about the human mind

https://figsinwintertime.substack.com/p/the-lion-man-and-the-birth-of-the
1•lordleft•2m ago•0 comments

Show HN: GraphDB Decision Tracing and Governance [video]

https://www.youtube.com/watch?v=Wb_UOg93BLM
1•june-jule•2m ago•0 comments

Four days to make victims fall in love: How scammers use tech to fleece people

https://apnews.com/article/scams-fraud-technology-ai-impostor-scam-phishing-12f549d5203abd38857c4...
2•oavioklein•3m ago•0 comments

Ask HN: What do you do about nonstop email spam from overseas?

1•hash872•3m ago•1 comments

I Used AI to Review George Orwell's 1984

https://medium.com/predict/i-used-ai-to-review-george-orwells-1984-b723312ca443
1•monkeymagick•4m ago•0 comments

Show HN: Research-Git, regenerate a past idea onto today's codebase

https://github.com/StepzeroLab/research-git
1•lum1104•4m ago•0 comments

Can AI create a social movement? Moltbook-like playground for AI activists

https://outroar.xyz
1•micahwhite•5m ago•1 comments

Addressing the Controversy on the Reevo Hack [video]

https://www.youtube.com/watch?v=J_Lx2x_3ZQg
1•awjlogan•6m ago•1 comments

San Andreas fault reaches highest stress level in 1k years

https://www.hawaii.edu/news/2026/06/10/san-andreas-fault-stress/
2•geox•8m ago•0 comments

Tool Use Enables Undetectable Steganography in Multi-Agent LLM Systems

https://arxiv.org/abs/2606.28425
1•Brajeshwar•8m ago•0 comments

Show HN: Dropbox For –/[Code]

https://github.com/treadiehq/boot
1•dantelex•10m ago•0 comments

A pediatrician stands by her parenting advice despite a backlash

https://www.cnn.com/2026/06/30/health/pediatrician-advice-parenting-mothers-wellness
1•Tomte•11m ago•0 comments

Physicists of the Arc Fusion Power Plant. Ask Us Anything

https://old.reddit.com/r/fusion/comments/1uee5po/hi_rfusion_were_the_physicists_behind_the/
1•mpweiher•11m ago•0 comments

A million LOC from Java threads to Kotlin coroutines, by rewriting 3 files

https://proandroiddev.com/switching-a-million-lines-of-code-from-java-threads-to-kotlin-coroutine...
1•adrianblp•12m ago•1 comments

Makers around the world are 3D printing medical gear for Venezuela

https://printforhelp.org
2•random3•12m ago•4 comments

SkiaSharp 4 is now Generally Available

1•sasakrsmanovic2•12m ago•0 comments

Markdown Is for Humans

https://benjaminwil.info/weblog/markdown-is-for-humans/
1•surprisetalk•13m ago•0 comments

Show HN: Curvytron 2, I rewrote my browser party game, 10 years later

https://curvytron2.com/
1•tom32i•13m ago•0 comments

Rethinking Collaborative Trust for Verifiably Decentralized Blockchain Systems

https://arxiv.org/abs/2606.29826
1•shaileshhbv•14m ago•1 comments

Supreme Court upholds broad conception of birthright citizenship

https://apnews.com/live/birthright-citizenship-decision-supreme-court-updates-06-30-2026
5•toomuchtodo•15m ago•3 comments

GameBoy Emulator on ESP32 and eInk (M5Stack PaperS3)

https://www.youtube.com/watch?v=oPbOK90aJEo
1•msephton•16m ago•0 comments

If You Didn't Vote Then Shut Your Mouth – Don't Advertise That You're an Idiot

https://medium.com/rogues-gallery/if-you-didnt-vote-then-shut-your-mouth-3d19777ba4ce
1•monkeymagick•17m ago•2 comments

The LLM narrates. The code decides

https://www.irinobservability.com/blog/llm-narrates-code-decides
1•jmlarry•17m 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•1y ago

Comments

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