frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Immich v3.0.0 Released

https://immich.app/blog/v3.0.0-release
2•birdculture•1m ago•0 comments

Show HN: Social and context-aware AI platform to do math

https://www.prooftree.ai
1•lemma1729•2m ago•0 comments

Trouble Transitioning (2025)

https://www.lrb.co.uk/the-paper/v47/n01/adam-tooze/trouble-transitioning
1•measurablefunc•2m ago•0 comments

Speech and Noise Corpora for Pitch Estimation of Human Speech

https://zenodo.org/records/3920591
2•q7m•7m ago•0 comments

Cursed circuits #5: capacitance multiplier

https://lcamtuf.substack.com/p/cursed-circuits-capacitance-multiplier
2•surprisetalk•7m ago•0 comments

Understanding B-Tree Indexes in PostgreSQL: A Comprehensive Guide– Part 1

https://medium.com/@devli0/b-tree-indexes-in-postgresql-part-1-theory-eb2668c52520
1•corvus-cornix•12m ago•0 comments

How to Get a Healthy, Shiny Coat on Your Dog: The Ultimate Guide

https://pawcaremedia.com/how-to-get-a-healthy-shiny-coat-on-your-dog-the-ultimate-guide/
1•Han25•14m ago•0 comments

New contributors to GNU Emacs over time

https://old.reddit.com/r/emacs/comments/1uo4t5e/new_contributors_to_gnu_emacs_over_time/
2•srijan4•14m ago•0 comments

WebGlean – API that turns any site into clean Markdown for LLMs

https://www.webglean.com
1•qubomax•14m ago•0 comments

"12-year-old girl had been shot in the chest with a crane-mounted gun"

https://www.unicef.org/press-releases/geneva-palais-briefing-child-day-deadly-illusion-gazas-ceas...
1•embedding-shape•17m ago•0 comments

Slow Tuesday Night (1965)

https://www.baen.com/Chapters/9781618249203/9781618249203___2.htm
1•et1337•18m ago•0 comments

The Strange Locomotion of Spirocuta

https://chriskiehl.com/article/euglenid-motion-in-flagellates
1•goostavos•20m ago•0 comments

Show HN: 3·6·9 COMMANDER, a turn-based strategy card game

https://forgottenmachine.itch.io/369-commander
1•forgatmachine•21m ago•0 comments

The Mental Models I Use to Work with AI

https://metedata.substack.com/p/015-the-mental-models-i-use-to-work
3•young_mete•22m ago•0 comments

State Sponsored Media? No Thanks [video]

https://www.youtube.com/watch?v=sFgSzsusIwQ
2•dp-hackernews•24m ago•0 comments

View from the Shifting Mound

https://thesolarprincess.github.io/blog/en/shiftingmound.html
1•paulpauper•25m ago•0 comments

Contributor Visualization for Superset: top contributors own 90% of lines

https://twitter.com/Principal_ADE/status/2073853855545143427
4•fernando-ram•26m ago•0 comments

Social media management for AI Agents

https://schedpilot.com/
1•schedpilot•27m ago•0 comments

Eclipse Enclave

https://projects.eclipse.org/projects/ecd.enclave
2•Tomte•28m ago•0 comments

A 3D-printed Raman spectrometer

https://hackaday.com/2026/07/05/2026-frikkin-lasers-challenge-a-3d-printed-raman-spectrometer/
2•ikbdsk•29m ago•0 comments

CommaAgents V2 Sharable Agent Orchestrator Release Candidate

https://github.com/CloAI/CommaAgents
1•NateAGeek•33m ago•1 comments

Turn Your AI Agent into an MCP Server for ChatGPT, Claude and Cursor

https://quickchat.ai/post/expose-ai-agent-as-mcp-server
1•piotrgrudzien•36m ago•0 comments

The full stack of terminals explained

https://ahmadawais.com/the-full-stack-of-terminals-explained-terminal-shell-tty-console-posix-ans...
2•ludicrousdispla•36m ago•0 comments

Large planets lighter than cotton candy

https://www.cbsnews.com/news/super-puff-planets-lighter-than-cotton-candy-found/
2•gmays•37m ago•0 comments

We'll fight the platform war against big AI

https://www.anildash.com/2026/06/23/fight-ai-platform-war/
1•bnj•38m ago•0 comments

Raylib 6.x gamejam – Make a 720x720 wasm game with raylib in 6 days

https://itch.io/jam/raylib-6x-gamejam
2•vyrotek•42m ago•0 comments

Group project, but make it 1776 – Google Workspace ad [video]

https://www.youtube.com/watch?v=Q3RjZY-rSsc
1•ChrisArchitect•44m ago•0 comments

Delta flight hit by firework while landing at Midway Airport on Fourth of July

https://www.nbcchicago.com/news/local/delta-flight-hit-by-firework-while-landing-at-midway-airpor...
2•randycupertino•45m ago•0 comments

Show HN: TrainSim – a browser train tycoon

https://aashishh15.github.io/3DTrainSim/
1•aashishharishch•46m ago•1 comments

Can AI do fact-checking?

https://www.wired.com/story/fact-checking-ai/
1•simianwords•46m 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 ...