frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Reversing Factorio's RNG

https://gegell.github.io/posts/factorio-rng/
1•jheitmann•35s ago•0 comments

ClickFix attacks infecting PCs and Macs are going viral

https://arstechnica.com/security/2026/09/clickfix-attacks-infecting-pcs-and-macs-are-going-viral/
1•joozio•1m ago•0 comments

How SaaS startup guys get first 100 customers first, make fkn $500k ARR fast?

2•nandakishor_ml•6m ago•3 comments

Anthropic boss Dario Amodei calls for AI development to slow down

https://www.bbc.com/news/articles/c14dpgm0rg4o
2•champagnepapi•6m ago•0 comments

MousePDF – Edit, Merge and Convert PDFs

https://www.mousepdf.com/
2•eustoria•7m ago•0 comments

Torph – Dependency-Free Text Morphing

https://torph.lochie.me/
2•eustoria•7m ago•0 comments

The Real Utopias Project

http://realutopias.org/the-real-utopias-project/
2•jruohonen•9m ago•1 comments

Show HN: Chess960v2.com – 960×960 asymmetric chess, 600/960 rounds done

https://chess960v2.com/en
2•lavren1974•10m ago•0 comments

The big and growing business of ICE ankle monitors

https://www.scrippsnews.com/investigations/ice-inc/the-big-and-growing-business-of-ice-ankle-moni...
2•eustoria•11m ago•0 comments

Bird Haiku Poems Inspired by Nature 5 7 5

https://alongthebarrenroad.com/2025/04/08/bird-haiku-poems-inspired-by-nature/
2•srean•12m ago•0 comments

Ask HN: Why does account age matter?

2•lemmeasku•13m ago•0 comments

The AI bringing Zen to First Horizon's call centers

https://www.americanbanker.com/news/the-ai-bringing-zen-to-first-horizons-call-centers
2•croes•13m ago•0 comments

On Not Being a Homeowner

https://www.newyorker.com/news/the-weekend-essay/on-not-being-a-homeowner
3•Brajeshwar•15m ago•0 comments

Soft-Deprecating Re.match()

https://hugovk.dev/blog/2026/soft-deprecating-re.match/
2•birdculture•17m ago•0 comments

Show HN: Determinstic LLM inference for lowest price Gemma 4, with Windows XP

https://www.tokendelivery.ai/
2•carsonpoole•17m ago•0 comments

We made Canonry open source

https://canonry.ai/blog/canonry-5-mit-open-source-aeo-geo
3•arberx•18m ago•1 comments

You Didn't Deploy the AI Agent You Evaluated

https://www.anuclei.com/blog/you-didnt-deploy-the-agent-you-evaluated
2•jequals5•23m ago•0 comments

I built Coach Roger, an AI wellness for days when staying consistent is hard

https://coachroger.app/
1•InsanelyWicked•24m ago•0 comments

Sam Altman and Elon Musk Support Dario Amodei's Proposal to Pace AI Development

https://twitter.com/kuberwastaken/status/2098812781223174325
5•kuberwastaken•25m ago•3 comments

Show HN: Gedcom Tools – Check and repair family-tree files in the browser

https://gedcom.tools/
1•kulesh•28m ago•0 comments

The Hex Kit and I

https://gnomestones.substack.com/p/the-hex-kit-and-i
2•jruohonen•29m ago•0 comments

Up: After six decades, the seminal series bows out with 70 Up

https://www.theguardian.com/tv-and-radio/2026/sep/07/seminal-series-ends-six-decades-70-up
1•julianpye•32m ago•0 comments

Ed Zitron is accusing Jacob Coxon of "grift"

https://xcancel.com/antibot/captcha
2•yurivish•33m ago•0 comments

In Conversation: Nvidia

https://read.aurelionresearch.com/p/in-conversation-nvidia
1•gmays•33m ago•0 comments

Meta is asking some of its employees to become managers again in a new reorg

https://www.businessinsider.com/meta-asks-some-ai-employees-to-become-managers-again-2026-9
3•toomanyrichies•35m ago•0 comments

Show HN: Peko – checks iOS and Android apps against store policy

https://peko.so/
1•IAmPrestonBrown•36m ago•0 comments

Make Your First Edit to OpenStreetMap in the Next 15 Minutes

https://high5apps.github.io/josm-plugin-website-wizard/
18•juliantigler•37m ago•3 comments

A Shipyard? A Bunch of New Houses? In California, Not This Year

https://www.nytimes.com/2026/09/05/business/economy/california-forever-shipyard-newsom.html
1•JumpCrisscross•38m ago•0 comments

Swiftfin Fork with Tailscale Support

https://github.com/apenwarr/swiftfin
2•tosh•39m ago•0 comments

100 years after John Coltrane's birth, secret tapes are emerging

https://www.theguardian.com/music/2026/sep/11/100-years-after-john-coltranes-birth-secret-tapes-a...
1•cdrnsf•39m 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 ...