frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The little-told story of the WWII pet cull

https://www.bbc.com/news/magazine-24478532
1•madihaa•3m ago•0 comments

Measuring Strait of Hormuz ship traffic and how Big Oil profits from it

https://wherobots.com/blog/hormuz-vessel-detection/
1•dr-jia-yu•9m ago•0 comments

Polygon Discovers Fire Emblem: Fortune's Weave Requires the Console It Was Made

https://noisypixel.net/fire-emblem-fortunes-weave-switch-2-exclusive/
2•jamarna•11m ago•0 comments

Packing Malware in Rosetta 2

https://kernelkennel.com/blog/summercon2026-rosetta/
1•n0blenote•12m ago•0 comments

American killed by lightning while climbing Italian volcano

https://www.newsweek.com/american-killed-by-lightning-while-climbing-italian-volcano-12330506
1•jamarna•12m ago•0 comments

Slack Code Is Live

https://twitter.com/Benioff/status/2090240159115853956
1•ramoz•14m ago•1 comments

Armwood High graduate uses 40 scholarships to attend Princeton

https://baynews9.com/fl/tampa/news/2026/08/14/armwood-high-graduate-uses-scholarships-to-make-pri...
2•banimak•15m ago•0 comments

SeedSQL – Generate realistic SQL mock data with foreign key integrity

https://seed-sql.ai.studio
2•hrdhanush•16m ago•0 comments

Cloudflare Workers Spectre Attack Leaks JWT at 12 Bits/S

https://cyberupdates365.com/cloudflare-workers-spectre-attack/
2•sysadmin_diarie•17m ago•0 comments

MiniageOS: "Dumbphone" Version of LineageOS

https://github.com/ofdryads/miniageOS
2•ashenke•17m ago•0 comments

Fool's Gold: Defensive Deception Against Safety-Removal Attacks on Open-Weight

https://arxiv.org/abs/2608.17202
2•sbulaev•18m ago•0 comments

Scenic spot in Italian mountains overrun by tourists seeking the perfect pastry

https://www.ctvnews.ca/lifestyle/article/scenic-spot-in-italian-mountains-overrun-by-tourists-see...
2•mafidia•18m ago•0 comments

GEN-1.5, a one-shot learner robotics foundational model [video]

https://www.youtube.com/watch?v=1cllCVK-9lo
2•AareyBaba•19m ago•0 comments

Imging – Local Image Tools

https://imging.cn/en/
1•fgghyyfk•21m ago•0 comments

'It wasn't me': Weed use in Allegheny County jury room forces homicide mistrial

https://triblive.com/privacy/
1•hussnymoba•21m ago•0 comments

Cost-Aware Optimization for Agentic Query Execution

https://arxiv.org/abs/2606.03152
1•matt_d•21m ago•0 comments

Invited media and military members held at gunpoint at Space Force base in Calif

https://apnews.com/article/vandenberg-space-force-base-california-journalists-detained-4815c999cb...
3•barnoka•24m ago•0 comments

Hamilton's Theory of Turns Revisited

https://arxiv.org/abs/0904.4787
1•oliculipolicula•25m ago•0 comments

Forty First Dates and Still Searching

https://www.nytimes.com/2026/08/18/well/family/forty-first-dates-and-still-searching.html
1•gmays•25m ago•0 comments

Crypto's (and AI's) midterm PAC machine

https://www.politico.com/newsletters/politico-influence/2026/08/19/a-rare-setback-for-cryptos-mid...
1•mmooss•26m ago•0 comments

Scaling RAG building an efficient pipeline for 500k chunks with Gemini

https://www.rsolitario.com/scaling-rag-building-an-efficient-pipeline-for-500k-chunks-with-gemini...
1•caruasdo•27m ago•0 comments

Cannabis facility goes up in smoke near High River

https://www.ctvnews.ca/calgary/article/cannabis-facility-goes-up-in-smoke-near-high-river/
1•madkoor•28m ago•0 comments

The Shadow Work Journal: A Guided Journey to Self-Discovery and Healing

https://pdfsellernew.netlify.app/
1•athrayasaas•29m ago•0 comments

The VC Days: So many miracles

https://ricomariani.medium.com/the-vc-days-so-many-miracles-21a12e5ecdb8
1•bananaboy•29m ago•0 comments

Blackadder II the Historic Second Series (1995 UK VHS)

https://archive.org/details/blackadder-the-entire-historic-second-series-1995-uk-vhs
2•petethomas•31m ago•0 comments

Where Does Computation End?

https://sslog.dpdns.org/where-does-computation-end.html
2•Shaurya_Sharma•36m ago•0 comments

Natural Independence Incentives

https://www.jefftk.com/p/natural-independence-incentives
1•luu•40m ago•0 comments

Successful first‑stage recovery of the Zhuque‑3 rocket

https://www.reddit.com/r/SpaceXLounge/comments/1vs6mqr/successful_firststage_recovery_of_the_zhuq...
2•pinewurst•45m ago•0 comments

Building high-performance flat 2D arrays in Rust (SIMD, L1 Cache)

https://developerlife.com/2026/07/14/build-high-performance-flat-2d-arrays-in-rust/
2•nazmulidris•46m ago•0 comments

Market Close data in an easy to read email

https://www.theclose.email/
2•mattmerrick•49m ago•1 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 ...