frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Problem with Political Pearl-Clutching

https://www.playboy.com/read/sex/the-problem-with-political-pearl-clutching
1•bushwart•37s ago•0 comments

Show HN: AI Pair Programmer for Emacs

https://github.com/jaketothepast/codetutor
1•jakewindle47•39s ago•0 comments

Microsoft Hacked to Deliver Malware to Claude and Gemini Users

https://www.404media.co/microsoft-hacked-to-deliver-malware-to-claude-and-gemini-users/
1•guessmyname•56s ago•0 comments

Client-side PDF audiobook reader with AI voice

https://audiobook.vedgupta.in/
1•innovatorved•57s ago•0 comments

LLM Are Universal Simulators

https://invertedpassion.com/llm-are-universal-simulators/
1•speckx•1m ago•0 comments

Show HN: Wallie – Open-source AI streamer that watches and hears your screen

https://github.com/Alradyin/wallie-V2
1•Alrady•1m ago•0 comments

A Dumb Harness: Fundamentals of running coding agents on a loop

https://www.beontheloop.com/deck
1•shekharupadhaya•2m ago•0 comments

Could Switzerland Become the First Country to Cap Its Population?

https://www.newyorker.com/magazine/2026/06/15/could-switzerland-become-the-first-country-to-limit...
1•xnx•3m ago•0 comments

8 years in crypto: Etherean to Crypto Moderate

https://cstein.xyz/posts/2026/4/28/crypto_evolution_part1
1•cstein2•5m ago•0 comments

The Seven Habits That Lead to Happiness in Old Age (2022)

https://www.theatlantic.com/family/archive/2022/02/happiness-age-investment/622818/
1•zdw•5m ago•0 comments

Building Stuff I don't Want to

https://amxmln.com/blog/2026/building-stuff-i-don-t-want-to/
1•speckx•7m ago•0 comments

Ask HN: How do you handle "what did user X do yesterday" from customer support?

1•dezsirazvan•7m ago•0 comments

The Cattle Empire That Turned Out to Be a Giant Ponzi Scheme

https://www.wsj.com/finance/cattle-empire-ponzi-scheme-3d245791
1•bequanna•7m ago•0 comments

Sam Bankman-Fried applies for a pardon from Trump

https://techcrunch.com/2026/06/08/sam-bankman-fried-applies-for-a-pardon-from-trump/
3•pseudolus•8m ago•0 comments

Taleb's Turkey

https://peteweishaupt.medium.com/talebs-tu-e406eb8859a8
1•thunderbong•8m ago•0 comments

Fisker Owners Association

https://fiskeroa.com/
1•fosco•9m ago•0 comments

Trump's $100k H-1B visa fee is unlawful, US judge rules

https://www.reuters.com/world/trumps-100000-h-1b-visa-fee-is-unlawful-us-judge-rules-2026-06-08/
6•pseudolus•11m ago•1 comments

GR IV Monochrome Image Sensor

https://www.ricoh-imaging.co.jp/english/products/gr-4-mono/feature/
1•reconnecting•11m ago•1 comments

Ask HN: What are tools you have made for yourself since the advent of AI

3•aryamaan•12m ago•2 comments

CentOS History: How a Linux hobby project became the enterprise operating system

https://www.theregister.com/os-platforms/2026/06/08/history-of-centos-how-a-biochemists-linux-hob...
2•CrankyBear•13m ago•0 comments

One paywall change beat six months of revenue

https://www.indiehackers.com/post/i-redesigned-the-onboarding-and-paywall-in-my-app-and-in-a-sing...
1•vital_pavlenko•14m ago•0 comments

Mine YouTube for Audio/MIDI and Transmute with Magenta RealTime 2 [video]

https://www.youtube.com/watch?v=l2dSGCldH00
1•processing•14m ago•1 comments

Loop Engineering

https://addyosmani.com/blog/loop-engineering/
1•ulrischa•16m ago•0 comments

Due to DMA, Siri AI delayed in EU for iOS 27 and iPadOS 27

https://www.apple.com/newsroom/2026/06/due-to-dma-siri-ai-delayed-in-eu-for-ios-27-and-ipados-27/
5•surprisetalk•17m ago•2 comments

Siri AI

https://www.apple.com/apple-intelligence/
13•0xedb•17m ago•3 comments

Apple previews new child safety features

https://www.apple.com/newsroom/2026/06/apple-previews-new-child-safety-features/
2•surprisetalk•17m ago•0 comments

Apple introduces Siri AI, a profoundly more capable and personal assistant

https://www.apple.com/newsroom/2026/06/apple-introduces-siri-ai-a-profoundly-more-capable-and-per...
2•surprisetalk•17m ago•0 comments

Learn X in Y Minutes

https://learnxinyminutes.com/
2•sanbor•18m ago•0 comments

Trying Out Vivaldi on Linux

https://taonaw.com/2026/06/07/trying-out-vivaldi-on-linux.html
2•speckx•18m ago•0 comments

Apple OS 27

https://www.apple.com/os/
5•surprisetalk•19m 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 ...