frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

About the OpenSubsonic API

https://opensubsonic.netlify.app/
1•toomuchtodo•1m ago•1 comments

Tinfoil.com

https://www.tinfoil.com/default.htm
1•willmeyers•1m ago•0 comments

Flock CEO Apologizes for Calling Activists 'Terrorists'

https://www.forbes.com/sites/thomasbrewster/2026/07/17/flock-ceo-sorry-for-labelling-activists-te...
2•chaps•4m ago•0 comments

What I learned inside escape room with one of the most brilliant mathematicians

https://www.begiant.ca/stories/people/jacob-tsimerman-math
1•amichail•5m ago•0 comments

Show HN: Fluent, tiny lang for reactivity and autograd

https://mlajtos.github.io/fluent/?code=VG91cg
1•mlajtos•7m ago•0 comments

Astronomers spot first atmosphere around a potentially habitable alien world

https://www.science.org/content/article/astronomers-spot-first-atmosphere-around-potentially-habi...
1•gmays•8m ago•0 comments

Stripe and Advent make $53B bid for PayPal

https://www.ft.com/content/3738e814-9470-4d7d-94a6-ac5e001a968e
1•PhilipA•10m ago•0 comments

Flock Safety had a car journalist stalked, wrongly accused, and detained

https://www.thedrive.com/news/inside-the-flock-dragnet-how-systemic-errors-led-to-police-ambushin...
7•monksy•10m ago•0 comments

Smoke, fire, floods: US faces triple extreme summer weather threats

https://www.reuters.com/business/environment/smoke-fire-floods-us-faces-triple-extreme-summer-wea...
1•montalbano•11m ago•0 comments

Agent Security Is a Systems Problem

https://arxiv.org/abs/2605.18991
2•bradreaves2•13m ago•1 comments

A24 Is Copyright Striking Backrooms Artwork Older Than the Movie

https://www.thegamer.com/the-backrooms-a24-copyright-strike-artwork/
1•josephcsible•13m ago•0 comments

Show HN: I ported Fallout 1 to the PSP

https://github.com/abduznik/fallout1-ce-psp
2•abduznik•14m ago•2 comments

Making TLA+ and x86 Kiss via Z3Py

https://www.philipzucker.com/kissin_tla/
2•matt_d•14m ago•0 comments

It Is Not the Critic Who Counts (1910)

https://www.trcp.org/2011/01/18/it-is-not-the-critic-who-counts/
2•Eridanus2•14m ago•0 comments

Mullin Threatens 'Prison Time' for State Officials Not Cooperating on Elections

https://www.mediaite.com/media/news/just-in-mullin-threatens-prison-time-for-state-officials-not-...
2•rawgabbit•15m ago•0 comments

How to Write Unmaintainable Code (2015)

https://github.com/droogans/unmaintainable-code
2•theanonymousone•15m ago•0 comments

Bridgetown: Next-Generation Progressive Site Generator

https://www.bridgetownrb.com/
2•thunderbong•15m ago•0 comments

Ask HN: Is AI sycophancy a way to reduce compute rather than make users happier?

1•amichail•16m ago•0 comments

The Zilog Z80 has turned 50

https://goliath32.com/blog/z80.html
8•st_goliath•16m ago•0 comments

Perldelta – what is new for Perl v5.44.0

https://metacpan.org/dist/perl/view/pod/perldelta.pod
2•birdculture•17m ago•0 comments

Show HN: Tools Berry – client-side calculators with open-source tax engines

https://tools-berry.com/
1•edmonddaher•19m ago•1 comments

The Java Story – The Official Documentary [video]

https://www.youtube.com/watch?v=ZqGSg4b_cZA
2•mashally•21m ago•0 comments

Ann Droid

https://en.wikipedia.org/wiki/Ann_Droid
1•Fizzadar•21m ago•1 comments

GNUnet 0.28.0 Released

https://www.gnunet.org/en/news/2026-07-0.28.0.html
1•summm•22m ago•0 comments

Wearable foundation models: a brief history

https://www.empirical.health/blog/wearable-foundation-models/
1•brandonb•23m ago•0 comments

EU set to axe 2039 net-zero industry target

https://www.euractiv.com/news/brussels-set-to-axe-2039-net-zero-industry-target/
1•alephnerd•23m ago•0 comments

Brown Professor Suspects Majority of His Class Used AI to Cheat

https://www.insidehighered.com/news/faculty/learning-assessment/2026/07/08/brown-professor-suspec...
1•bushwart•24m ago•0 comments

Meta trying to destroy whistleblower Sarah Wynn-Williams, US senator says

https://www.theguardian.com/technology/2026/jul/17/meta-whistleblower-sarah-wynn-williams-us-sena...
7•barbazoo•26m ago•0 comments

New spinning drone hides in plain sight

https://news.northwestern.edu/stories/2026/07/new-spinning-drone-hides-in-plain-sight
1•gmays•26m ago•1 comments

Dustin Mierau's Desktop Homepage

https://dustin.works/
2•colinprince•27m 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 ...