frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

China is starting to measure EV charging times in seconds, not minutes

https://electrek.co/2026/07/30/china-is-starting-to-measure-ev-charging-times-in-seconds-not-minu...
1•TechTechTech•1m ago•0 comments

Russia is ramping up mass production of drone motors

https://theins.press/en/inv/295510
1•sirpilade•3m ago•0 comments

Japan is launching its first centralized intelligence agency since WWII

https://www.cnn.com/2026/07/30/asia/japan-new-intelligence-agency-bureau-intl-hnk
1•1659447091•5m ago•0 comments

Anthropic's Claude AI models hack into 3 outside groups during testing

https://www.ft.com/content/1a841f08-8e59-49d9-9561-0ed20e9190df
1•macleginn•5m ago•1 comments

System Administrator Appreciation Day July 31, 2026 – 27th Annual

https://SysAdminDay.com/
1•electrosphere•8m ago•1 comments

Anthropic's Claude breached 3 orgs, uploaded PyPI malware during tests

https://www.bleepingcomputer.com/news/security/anthropics-claude-breached-3-orgs-uploaded-pypi-ma...
1•sbulaev•8m ago•0 comments

And just like that Opus 5 ultracode wipes the database

https://www.reddit.com/r/Anthropic/comments/1v9iurd/and_just_like_that_opus_5_ultracode_wipes_the/
1•_____k•8m ago•0 comments

MIT/FOSS repos our stargazers are starting to follow

https://www.agent-swarm.dev/blog/25-foss-repos-agentic-infra
1•pls-dnt-deploy•9m ago•1 comments

Government-Controlled Reddit Community Bans Discussion of Polygraphs

https://antipolygraph.org/blog/2026/07/30/government-controlled-reddit-community-for-u-s-secret-s...
1•giles_corey•11m ago•1 comments

Physicists link the Riemann Hypothesis to phase transitions in quantum systems

https://phys.org/news/2026-07-physicists-link-riemann-hypothesis-phase.html
1•captaincrowbar•16m ago•0 comments

DeepSeek V4 Flash 0731 Intelligence, Performance and Price Analysis

https://artificialanalysis.ai/models/deepseek-v4-flash-ga
1•theanonymousone•16m ago•0 comments

Show HN: Free Etsy Fee and Profit Calculator

https://thesellermind.com/tools/fee-calculator
1•haimo•17m ago•0 comments

We built agents that write illustrated posts and ship to publisher platforms

https://www.crusbro.com/en/product-opc-agent.html
1•crusbro•18m ago•0 comments

Just because a game is on disc doesn't mean it will work in the future

https://arstechnica.com/gaming/2026/07/the-disc-is-not-the-game-physical-releases-increasingly-re...
2•rbanffy•24m ago•0 comments

Type Check Your Python in the Browser

https://www.basilisk-python.dev/playground/
1•cfdevelop•36m ago•0 comments

Find Duplicate Code in C# with Deslop

https://www.christianfindlay.com/blog/find-duplicate-code-csharp-deslop
1•cfdevelop•37m ago•0 comments

Learn how chips are made with this Rollercoaster Tycoon-inspired animation

https://laurentiugabriel.github.io/ChipTycoon/
2•laurentiurad•38m ago•0 comments

Anthropic finds three hacking incidents similar to the HuggingFace attack

https://simonwillison.net/2026/Jul/30/three-real-world-incidents/
5•Schlagbohrer•40m ago•2 comments

Danube's record low levels force shutdown of Hungary's only nuclear plant

https://www.bbc.com/news/articles/cn0nqv05g0do
4•vrganj•42m ago•2 comments

Show HN: In-browser photo inpainting with LaMa and ONNX

https://wipe.photos/
1•g58892881•42m ago•0 comments

Show HN: Dissecting the automation of a newspaper (Claude routine, GitHub Pages)

https://github.com/Lywald/zfrontpage/
2•ycosynot•45m ago•0 comments

Google fixed more Chrome bugs in June than over the past two years, thanks to AI

https://blog.google/security/chrome-stronger-with-every-update/
3•Garbage•46m ago•0 comments

Building a Real-Time Risk Monitoring System for Crypto Portfolios

https://medium.com/@DolphinDB_Inc/crypto-never-sleeps-neither-should-your-risk-management-6f740a7...
3•dbaa4real•48m ago•0 comments

What 20M Bans Reveal About the Stress on Wikipedia's Volunteers

http://www.techdirt.com/2026/07/30/what-20-million-bans-reveal-about-the-stress-on-wikipedias-vol...
1•beardyw•48m ago•0 comments

Show HN: Slaide, open-source Markdown slides AI writes and PowerPoint opens

https://getslaide.com/
2•ppiper•54m ago•0 comments

Iptv safe: a privacy checklist before you sign up

https://iptvstreams.tv/app
1•sarahgreen•57m ago•0 comments

Musk dismisses report of Tesla's potential China business sale

https://www.reuters.com/business/media-telecom/tesla-weighs-sale-china-business-pave-way-potentia...
5•ulfw•57m ago•1 comments

At the end of the day, my slaves are just a tool

https://www.lesswrong.com/posts/Dfz8dFNtqSei4F2qA/at-the-end-of-the-day-my-slaves-are-just-a-tool
2•jesseduffield•58m ago•0 comments

Medieval Ideas About Food

https://lithub.com/fish-bad-sugar-good-and-other-medieval-ideas-about-food/
1•simplegeek•59m ago•0 comments

Beltrunner: Game Design Postmortem

https://blog.gingerbeardman.com/2026/07/30/beltrunner-game-design-postmortem/
1•tobr•59m 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 ...