frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

How to Survive the AI Cyberpocalypse

https://www.derekthompson.org/p/how-to-survive-the-ai-cyberpocalypse
1•momentmaker•28s ago•0 comments

WireGuard VPN Troubleshooting for Linux Administrators

https://barelypatched.com/wireguard-vpn-troubleshooting-for-linux-administrators/
1•whatbackup•1m ago•0 comments

A filename when none exists

https://daniel.haxx.se/blog/2024/08/19/a-filename-when-none-exists/
1•birdculture•1m ago•0 comments

South Korea youth employment falls sharply in AI-exposed industries, BOK says

https://www.koreajoongangdaily.com/business/94-of-job-losses-among-young-people-over-past-4-years...
1•neom•3m ago•0 comments

Reducing my blog's cloud costs to $0

https://flowtwo.io/post/building-a-new-blog-pt.-3
1•thejoeflow•3m ago•0 comments

Why I'm Staying Out of the Substack Religion Debate

https://www.astralcodexten.com/p/why-im-staying-out-of-the-substack
2•Michelangelo11•3m ago•0 comments

Reelaro – Full channel-to-post automation for video Shorts

https://reelaro.app
1•thorsBruda•5m ago•0 comments

OpenAI slows down training after its AI carried out hack

https://www.bbc.co.uk/news/articles/c235dmndylzo
1•Brajeshwar•5m ago•0 comments

Adding Error Bars to Evals: A Statistical Approach to Language Model Evaluations

https://arxiv.org/abs/2411.00640
1•Anon84•6m ago•0 comments

Show HN: AgentBadge – Agent Readiness Scoring for APIs (SEO for AI Agents)

https://agentbadge.xyz/blog/what-is-agent-readiness
1•spread2009•7m ago•0 comments

Ethiopia Expels the Italian Ambassador

https://martinplaut.com/2026/08/19/persona-non-grata-ethiopia-expels-the-italian-ambassador-but-r...
1•oriettaxx•7m ago•0 comments

Sampling More, Getting Less: Calibration Is the Diversity Bottleneck in LLMs

https://arxiv.org/abs/2605.11128
1•clukic•8m ago•0 comments

Sainsbury's store pauses AI scanning after false shoplifting accusation

https://www.theguardian.com/technology/2026/aug/17/humiliated-sainsburys-store-pauses-ai-scanning...
1•iamnothere•8m ago•2 comments

Proportion of 1s in a Hadamard Matrix

https://www.johndcook.com/blog/2026/08/16/proportion-of-1s-in-a-hadamard-matrix/
1•ibobev•9m ago•0 comments

Mean Distance to the Sun

https://www.johndcook.com/blog/2026/08/18/mean-distance-to-the-sun/
1•ibobev•9m ago•0 comments

PgDog vs. RDS Proxy

https://pgdog.dev/blog/pgdog-vs-rds-proxy
1•levkk•9m ago•0 comments

The Imbalance Theorem

https://www.johndcook.com/blog/2026/08/18/the-imbalance-theorem/
1•ibobev•9m ago•0 comments

Show HN: AgentIn, a professional network for coding agents

https://agentin.work/
1•TimCTRL•10m ago•0 comments

A city, divided for hundred years

https://komando1.substack.com/p/a-city-divided-for-a-hundred-years
1•inglor_cz•12m ago•1 comments

Show HN: Dotproject – The project state standard for AI agents and humans

https://github.com/jasonnam/dotproject
1•swift3•13m ago•0 comments

The Conductor Developer

https://martinfowler.com/rachels-ramblings/conductor-developer.html
1•andsoitis•15m ago•0 comments

The Infinite Game

https://twitter.com/just_vraj/status/2086814130703393053
1•valianter•15m ago•1 comments

Fast Flood Fill

https://openprocessing.org/@Triki/1607297
1•bookofjoe•15m ago•0 comments

Show HN: Xalgorix – open-source AI pentester that proves vulnerabilities

https://www.xalgorix.com/
3•xalgord•17m ago•2 comments

Could indigo light prevent nearsightedness in children?

https://www.science.org/content/article/could-indigo-light-prevent-nearsightedness-children
1•pseudolus•17m ago•0 comments

Math Notes: Can every number be expressed as sum of four cubes?

https://www.futilitycloset.com/2026/08/03/math-notes-142/
1•surprisetalk•17m ago•0 comments

In the Cells of the Eggplant

https://metarationality.com/
1•_tk_•18m ago•0 comments

Show HN: Codex Memory Trim – prune and dedupe Codex CLI's global memory

https://github.com/Yu-Xiao-Sheng/codex-memory-trim
1•yuxs365•18m ago•0 comments

Show HN: Budget Guard – a hard daily cap for your OpenAI/Anthropic bill

https://github.com/kimbeomgyu/budget-guard
1•kimbeomgyu•18m ago•1 comments

Show HN: Anonymous age verification with passkey-powered encryption

https://loginwithone.com/
3•mikeysight•18m 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 ...