frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

AI cracks 80-year-old mathematics challenge (Nature)

https://www.nature.com/articles/d41586-026-01651-0
1•indynz•23s ago•0 comments

I don't want apps, I want APIs (mostly)

https://wirres.net/articles/ich-will-keine-apps-ich-will-apis
1•doener•1m ago•0 comments

Lumen – A Binary Alternative to JSON-RPC for Model Context Protocol (MCP)

https://github.com/GonzaloMonzonC/lumen-protocol/
1•GonzaloMonzonC•2m ago•0 comments

I built a community Cybercab sighting tracker here's what 100 sightings tells us

https://mycybercab.com
1•Mrjavierjose•4m ago•0 comments

Show HN: I built a free timestables game for kids

https://timestablesfah.web.app
1•matthewhartmans•5m ago•0 comments

What Is "Electricity"? (1996)

http://amasci.com/miscon/whatis.html
1•downbad_•6m ago•0 comments

California bans private prisons and immigration detention centers (2019)

https://www.reuters.com/article/us-california-prisons-idUSKBN1WQ2Q9/
1•downbad_•7m ago•0 comments

Ask HN: Do you remember when you gained consciousness? What was it like?

1•kelseyfrog•7m ago•0 comments

How Long Until AI Doesn't Need Humans?

https://asteriskmag.com/issues/14/how-long-until-ai-doesn-t-need-humans
2•littlexsparkee•8m ago•0 comments

Verification Theater in AI Agent Work

https://www.agentverificationtheater.com
2•SAMI_SERRAG•11m ago•0 comments

Show HN: Tamper-evident audit trail for AI coding agent activity

https://github.com/Constellation-Labs/gate-oc-audit
1•gclaramunt•13m ago•0 comments

Feds freaked over Fable 5 after simple 'fix this code' prompt, not jailbreak

https://www.theregister.com/security/2026/06/15/feds-freaked-over-fable-5-after-simple-fix-this-c...
2•Filligree•14m ago•0 comments

Ask HN: How much better has Fable been at design, really?

1•thatxliner•19m ago•0 comments

Open Sourcing Python Examples for an MCP Messaging Interface

https://blog.bridgexapi.io/open-sourcing-ai-native-messaging-execution
2•Bridgexapi•20m ago•0 comments

QUBE 340/ Q300L

https://www.coolermaster.com/en-global/products/qube-430%2Fq300l.html
1•ilreb•23m ago•0 comments

Ben Forta - The UK's Social Media Ban: Necessary, and Bound to Fail

https://forta.com/blog/the-uks-social-media-ban-necessary-and-bound-to-fail
1•rmason•25m ago•0 comments

A new frontier in generative genomics with Omnii

https://www.radicalnumerics.ai/blog/omnii-health-preview
2•lebovic•28m ago•0 comments

Looking for a front end dev to help me build a math website

2•marysminefnuf•29m ago•0 comments

Banned Book Library in a Wi-Fi Smart Light Bulb

https://www.richardosgood.com/posts/banned-book-library/
17•sohkamyung•36m ago•3 comments

Show HN: Subagent-fleet – AI coding subagents across local Ollama machines

https://pypi.org/project/subagent-fleet/
1•akarnam37•37m ago•0 comments

67% of AI-generated commands are unsafe. We tested it

https://www.golproductions.com/blog/we-tested-gemini-ai-agent-67-percent-commands-were-unsafe
1•golproductions•38m ago•0 comments

American Express: Cell-Based Architecture for Resilient Payment Systems

https://americanexpress.io/cell-based-architecture-for-resilient-payment-systems/
5•birdculture•38m ago•0 comments

The efficiency-gain illusion: People underestimate the rate of AI use

https://arxiv.org/abs/2605.22687
3•Anon84•39m ago•0 comments

Build Compliant AI Agents with Stateful Stream Processing

https://www.confluent.io/blog/compliant-ai-agents-stateful-stream-processing/
1•manveerc•41m ago•0 comments

Show HN: Fish anything – a chill game using small models

https://build-small-hackathon-llm-fishing.hf.space
1•reuzed•41m ago•0 comments

Prediction and Entropy of Printed English - Claude Shannon (1950) [pdf]

https://www.princeton.edu/~wbialek/rome/refs/shannon_51.pdf
3•consumer451•42m ago•0 comments

The Official Akismet PHP SDK

https://akismet.com/blog/introducing-the-official-akismet-php-sdk/
3•gslin•49m ago•0 comments

Swedish parliament abolishes permanent residence visas for migrants

https://www.riksdagen.se/en/news/articles/2026/jun/9/permanent-residence-permits-to-be-abolished_...
34•CGMthrowaway•51m ago•44 comments

When Did White-Collar Work Start to Look So Bleak?

https://www.newyorker.com/magazine/2026/06/22/mutiny-noam-scheiber-book-review-yuppies-dylan-gott...
4•littlexsparkee•51m ago•3 comments

Andy McLean: Rapidus MoU Boosts U.K. Access to 2-Nm Tech- EE Times

https://www.eetimes.com/andy-mclean-rapidus-mou-will-help-british-innovators-access-2-nm-technology/
2•rbanffy•55m 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 ...