frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ask HN: Which book taught you the most about software architecture?

2•akashwadhwani35•4m ago•0 comments

Amazon Seller Reveals Rare Glimpse of Shadow Bribery Market

https://www.bloomberg.com/news/articles/2026-06-24/inside-the-shadow-market-selling-access-to-ama...
1•thm•7m ago•0 comments

How can you not be romantic about programming? (2020)

https://thorstenball.com/blog/2020/09/08/how-can-you-not-be-romantic-about-programming/
1•downbad_•8m ago•0 comments

What happens when Bitcoin miners take over your town (2018)

https://www.politico.eu/article/this-is-what-happens-when-bitcoin-miners-take-over-your-town/
1•downbad_•9m ago•0 comments

Stop editing videos manually.This AI does it in seconds

https://www.autoeditor.app/
1•Quise2003•10m ago•0 comments

Scrap – one static binary that's a download manager and web crawler and filters

https://github.com/nicfio/Scraper
3•nicfio•14m ago•0 comments

Show HN: Turn any Next.js app AI native in 5 minutes

https://www.betteragent.dev/
1•incogiscool•15m ago•0 comments

The Other Side of Android: My Favorite F-Droid Apps

https://gardinerbryant.com/the-other-side-of-android-my-favorite-f-droid-apps/
2•thunderbong•16m ago•0 comments

Show HN: Built AI-Gateway reverse proxy to reduce LLM API costs and token burn

https://github.com/Arnab758/ai-gateway
1•arnab777•26m ago•0 comments

How not to forget what matters

https://www.henrikkarlsson.xyz/p/hypomnemata
2•Curiositry•26m ago•2 comments

Show HN: Zedra – Remote control for AI coding agents

https://zedra.dev/
2•tanlethanh•28m ago•0 comments

A 30 Year OG Application Developer Available

1•MichaelHonohan•31m ago•0 comments

Math of Egyptian fractions (old web pre-AI)

https://www.math.buffalo.edu/mad/Ancient-Africa/mad_egyptian-fractions.html
1•marysminefnuf•31m ago•0 comments

Show HN: Git-temp (local scratchpad for AI agents that won't clutter Git status)

https://github.com/sebmellen/git-temp
1•sebmellen•33m ago•0 comments

Linux on Older Hardware: The Complete Revival Guide

https://www.fosslinux.com/158206/linux-on-older-hardware-revival-guide.htm
1•tapanjk•34m ago•0 comments

Noubin – Local-First Physical Media Hyperlink Standard

https://github.com/TobyKLight/Noubin
1•bj-rn•36m ago•0 comments

Meta Pauses Employee Spyware After Exposing Workers' Private Data

https://dissenter.com/tech/meta-pauses-employee-spyware-after-leaking-workers-private-data-to-ent
3•NewCzech•38m ago•0 comments

Chinese models are sometimes better, even if they're distilled

https://dualuse.dev/posts/chinese-models-are-sometimes-better-even-if-distilled
2•handfuloflight•41m ago•2 comments

Show HN: Find where multi-agent AI systems break before production

https://github.com/surajkumar811/swarm-test
1•surajkumar001•43m ago•0 comments

The False Promise of Imitating Proprietary LLMs

https://arxiv.org/abs/2305.15717
1•handfuloflight•44m ago•0 comments

GTA 6 Physical Copies Won't Include a Disc, Will Just Be a Code in a Box

https://www.ign.com/articles/grand-theft-auto-6-physical-copies-wont-include-a-disc-will-just-be-...
18•jmsflknr•46m ago•6 comments

Americans Got Tricked into Using a Bank That Isn't a Bank [video]

https://www.youtube.com/watch?v=hiE7NvONU5U
3•onemoresoop•53m ago•0 comments

How to Write an Effective Software Design Document

https://refactoringenglish.com/excerpts/write-an-effective-design-doc/
1•theanonymousone•54m ago•0 comments

SoftBank Shareholders Update [pdf]

https://group.softbank/media/Project/sbg/sbg/pdf/ir/investors/shareholders/2026/shareholders-meet...
1•gregsadetsky•54m ago•1 comments

Bill Gates names women he had affairs with in Epstein testimony about blackmail

https://www.independent.co.uk/news/world/americas/bill-gates-jeffrey-epstein-house-oversight-comm...
4•handfuloflight•57m ago•0 comments

Connect Dropbox to Claude

https://help.dropbox.com/integrations/connect-dropbox-to-claude
2•dr_pardee•59m ago•0 comments

Bernie Sanders Wants a U.S. Sovereign Wealth Fund for AI

https://www.forbes.com/sites/jamesbroughel/2026/06/22/bernie-sanders-wants-a-us-sovereign-wealth-...
3•hentrep•59m ago•2 comments

The Artificial Analysis Speech to Speech Index

https://artificialanalysis.ai/articles/announcing-the-artificial-analysis-speech-to-speech-index
1•theanonymousone•1h ago•0 comments

The Secret Truth Behind the Abundance Movement – Dylan Gyauch-Lewis – TMR [video]

https://www.youtube.com/watch?v=jNOMjH-3gfU
1•xbmcuser•1h ago•0 comments

Rust for Malware Development

https://git.smukx.site/smukx/Rust-for-Malware-Development
2•rzk•1h 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 ...