frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Why is music so much easier for AI than code?

1•htlemur_bobby•29s ago•0 comments

Florida's OpenAI lawsuit moves to federal court, gets assigned to Aileen Cannon

https://www.politico.com/news/2026/07/08/floridas-openai-lawsuit-federal-court-aileen-cannon-0099...
1•1vuio0pswjnm7•9m ago•0 comments

Controlling the Human Body via EMS

https://github.com/danielkaijzer/Human-Operator
1•kaonwarb•10m ago•0 comments

Ask HN: Multiple MCP Native Tools?

1•edifil•11m ago•0 comments

NEO's Hands – An API to the Physical World

https://www.1x.tech/discover/neos-hands
1•dsr12•12m ago•0 comments

Sheaf theory: from deep geometry to deep learning (2025)

https://arxiv.org/abs/2502.15476
1•measurablefunc•14m ago•0 comments

Clamshell style cyberdeck built around the Raspberry Pi Compute Module 5

https://github.com/sb-ocr/cmdeck
1•tortilla•17m ago•0 comments

OpenAI unveils long-awaited "super app" as rivalry with Anthropic intensifies

https://www.reuters.com/business/openai-launches-chatgpt-work-2026-07-09/
1•adithyaharish•21m ago•0 comments

Migrating Code by Proof: From F# to Python

https://www.logosresearch.ai/news/migrating-code-by-proof/
1•peterkelly•21m ago•0 comments

Paranoid LLMs

https://whyjay.vercel.app/thoughts/paranoid-llms/
1•juggy69•21m ago•0 comments

Show HN: R3 – A Local Code Review Tool for You and Your AI Agent

https://github.com/hyperlogue/r3
1•rickye26•24m ago•0 comments

What Happened to Commodore? Why the Amiga Disappeared

https://www.youtube.com/watch?v=IXitMm7aeV8
2•cable2600•26m ago•0 comments

Earliest example of right-handedness found in Australian fossils

https://www.cnn.com/2026/07/09/science/earliest-animal-right-handedness-spriggina-floundersi
1•Tomte•26m ago•0 comments

Data Science Weekly – Issue 659

https://datascienceweekly.substack.com/p/data-science-weekly-issue-659
1•sebg•31m ago•0 comments

Brave Bat Roadmap 4.0

https://brave.com/blog/bat-roadmap-4-0/
1•twapi•36m ago•0 comments

The most, and least, liveable cities in 2026

https://www.economist.com/graphic-detail/2026/07/06/the-worlds-most-and-least-liveable-cities-in-...
2•andsoitis•38m ago•1 comments

Can you run every line of code in Super Mario Bros.?

https://www.youtube.com/watch?v=o0gOALTvkcc
1•badc0ffee•40m ago•0 comments

Show HN: AppleWalls – free 4K wallpapers for Apple devices

https://www.applewalls.com/en
1•fenggit•43m ago•0 comments

InternNav – Navigation Toolbox

https://github.com/InternRobotics/InternNav
1•rickcarlino•44m ago•0 comments

Audar-ASR-V1:Arabic-first speech recognition foundation models with open weights

1•AudarAI•47m ago•1 comments

LKML-reader: a Rust-based interactive reader for Linux Kernel Mailing Lists

https://github.com/RinHizakura/lkml-reader
1•RinHizakura•48m ago•0 comments

Class action suit over deepfake child sexual abuse material expands

https://text.npr.org/nx-s1-5885052
2•1659447091•51m ago•0 comments

Show HN: I made the Chrome Dino Game editable by your AI prompts

https://vibedino.com
1•johnnyapple•52m ago•0 comments

The Oral History of the Dinosaur Input Device (DID)

https://vfxblog.com/dinosaurinputdevice/
1•fabiensanglard•59m ago•0 comments

Graphic Data Processing – 1965 IBM System/360 Computer Lecture and Demonstration [video]

https://www.youtube.com/watch?v=Y0FY3CDCw1o
1•besserwisser•1h ago•0 comments

Pressurizing a Chicken Coop to Clean it [video]

https://www.youtube.com/watch?v=jYspl74j5eM
1•oftenwrong•1h ago•0 comments

Verla: Free AI Humanizer&assignment helper

https://verla.io
1•kaitsai•1h ago•0 comments

How a Transformer Plays Tic-Tac-Toe

https://sbondaryev.dev/articles/transformer
1•thunderbong•1h ago•0 comments

Netflix Is Exploring Live TV and Bundles as It Struggles to Keep Viewers Hooked

https://www.wsj.com/business/media/netflix-is-exploring-live-tv-and-bundles-as-it-struggles-to-ke...
2•mikhael•1h ago•0 comments

Sony disc-free PS5 plan triggered $457M lawsuit, undercutting antitrust defense

https://fortune.com/2026/07/09/sony-playstation-discs-lawsuit-xbox-antitrust/
3•1vuio0pswjnm7•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 ...