frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Apple winding down iPhone Upgrade Program: report

https://9to5mac.com/2026/07/21/apple-winding-down-iphone-upgrade-program-report/
1•cdrnsf•38s ago•0 comments

'Self-State Attacks' New Threat: AI Agents Poisoned via Their Memory

https://aiweekly.co/alerts/schmidhuber-et-al-formalize-self-state-attacks-on-ai-agents
1•adu_onemore•1m ago•0 comments

Bessent says U.S. could sanction China over AI model 'theft'

https://www.cnbc.com/2026/07/21/bessent-china-ai-sanctions.html
1•huragok•3m ago•0 comments

Zone of Ceremony (2019)

https://blog.ploeh.dk/2019/12/16/zone-of-ceremony/
2•mtdewcmu•3m ago•0 comments

Models are worse at reviewing their own code

https://www.greptile.com/blog/model-inversion
1•meetpateltech•4m ago•0 comments

Show HN: Freeze the Model, Train the Harness

https://github.com/workofart/harness-training
1•megadragon9•4m ago•0 comments

Takuslides: Yes its an AI app, but I worked hard on this

https://takuslides.com/
1•takuonline•5m ago•1 comments

Rwx: An interactive Unix file permissions and ownership TUI manager

https://github.com/vncsmnl/rwx
1•maxloh•5m ago•0 comments

Roblox Officially Supports GrapheneOS

https://en.help.roblox.com/hc/en-us/articles/49648939984916-Android-Remote-Attestation
2•Cider9986•7m ago•0 comments

Google has started Pre-Training Gemini 4

https://twitter.com/OfficialLoganK/status/2079594867161022817
1•EvanZhouDev•7m ago•1 comments

Trusty Boot Key, a Ventoy Alternative

https://codeberg.org/aol/trusty-boot-key
1•mixmastamyk•7m ago•0 comments

We Re-Benchmarked a Hetzner VM After a 228% Price Increase

https://webbynode.com/articles/we-rebenchmarked-a-hetzner-vm-after-a-228-percent-price-increase
1•gsgreen•8m ago•0 comments

We Need a Neural Network (2006)

https://thedailywtf.com/articles/No,_We_Need_a_Neural_Network
2•Apocryphon•10m ago•0 comments

The future of Digital-out-of-home (DooH) advertising

https://hawtads.com/ads-engine
1•hawtads•10m ago•0 comments

African nations eye nuclear for energy security

https://www.semafor.com/article/07/20/2026/african-nations-eye-nuclear-for-energy-security
1•mpweiher•13m ago•0 comments

Oh-my-pi: A coding agent with the IDE wired in

https://omp.sh/
2•lwhsiao•13m ago•0 comments

How An Old Shipping Law Raises Consumer Prices

https://www.theatlantic.com/ideas/2026/07/jones-act-domestic-commerce/688003/
2•Jtsummers•14m ago•1 comments

Gumroad Says That It's Now Spending as Much on Human Employees as AI Tokens

https://officechai.com/ai/gumroad-says-that-its-now-spending-as-much-on-human-employees-as-ai-tok...
2•nigelgutzmann•15m ago•1 comments

The US Escalates Its Assault on Brazil's Free-to-Use Digital Payments System

https://www.nakedcapitalism.com/2026/07/the-us-escalates-its-assault-on-brazils-publicly-controll...
3•iamnothere•15m ago•3 comments

What it means to be rich in this economy – from your 20s to your 80s

https://www.marketwatch.com/story/will-you-ever-feel-rich-this-chart-tells-you-whether-youre-on-t...
1•gmays•16m ago•0 comments

We scanned 1,868 AI-built apps for production readiness, and audited our scanner

https://pathtoship.com/blog/state-of-ai-built-code
1•nathanghart•17m ago•0 comments

Show HN: VoicePost – Grow an audience on X and Promote on Reddit without ban

https://voicepo.st
2•Tanishq0333•18m ago•0 comments

First Sharden Token Mined

https://etherscan.io/token/0xbE8C49840e12718d9fA3c740f32eAB808Edd8780#transactions
1•babakkarimib•19m ago•0 comments

Claude Fable 5 vs. Kimi K3: Same results, one-third the cost, 4x slower

https://thenewstack.io/kimi-k3-fable-coding-benchmark/
2•Brajeshwar•20m ago•0 comments

Build a Reasoning Model (From Scratch)

https://sebastianraschka.com/books/
2•handfuloflight•20m ago•0 comments

LLM-Based Hierarchical Topic Modeling Tool

https://github.com/Tryhard-cs/LLM-Hierarchical-Topic-Modeling
1•Tryhard3141•20m ago•0 comments

Show HN: GeoIcons – Country and region map icons as tree-shakable components

https://geoicons.io
1•takencoder•20m ago•0 comments

I added ActivityPub to this blog

https://writings.hongminhee.org/2026/07/fedified-blog/
1•dahlia•23m ago•0 comments

Moto – a new AI video editor with editable prompt-to-motion graphics

https://usemoto.app/
1•oldgradstudent•23m ago•0 comments

The Stochastic Parrot: A Physical AI Cohabitant

https://www.media.mit.edu/projects/the-stochastic-parrot/overview/
1•Anon84•23m 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 ...