frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

European researchers want to study social media's harms but can't get the data

https://www.wired.com/story/european-researchers-want-to-study-social-medias-harms-but-cant-get-t...
1•joozio•23s ago•0 comments

Reality Bites Elon Musk and His Tesla, SpaceX Believers

https://www.wsj.com/finance/stocks/reality-bites-elon-musk-and-his-tesla-spacex-believers-1b639591
1•doener•2m ago•0 comments

Ask HN: Any Good Pi.dev Setups?

1•galsapir•3m ago•0 comments

OSS ChatGPT WebUI – Projects, Profiles, Server Tools, 8x Themes, 1-Click Sharing

https://llmspy.org
1•mythz•3m ago•0 comments

Earth and Sun – Bartosz Ciechanowski

https://ciechanow.ski/earth-and-sun/
1•lifeisstillgood•8m ago•0 comments

The Custody Trilemma

https://blog.mozaik.money/the-custody-trilemma/
1•zmilos•8m ago•1 comments

Google reports first quarter of negative cash flow

https://www.bloomberg.com/news/articles/2026-07-22/alphabet-posts-cloud-sales-beat-slight-miss-on...
1•holistio•10m ago•0 comments

Flock cameras keep getting smashed, so now they're hiding inside speed signs

https://www.msn.com/en-us/news/other/flock-cameras-keep-getting-smashed-so-now-they-re-hiding-ins...
2•allgirl•15m ago•0 comments

Show HN: Vinv-Ties every runtime trace to code segment, prevents reward hacking

https://github.com/VinvAI/VinvAI
2•sohamac•17m ago•0 comments

Show HN: SaveAnswer – a local Chrome extension for keeping AI answers searchable

https://chromewebstore.google.com/detail/saveanswer-save-ai-answer/iminapemlncanmmaadedieifgkaeoljm
1•lynnFu•18m ago•0 comments

Fil-C: Garbage In, Memory Safety Out – Filip Pizlo – SSW 2026 [video]

https://www.youtube.com/watch?v=5F-2Y1LPRek
2•ndr•19m ago•0 comments

Show HN: Build native iOS widgets from any HTTPS endpoint

1•elkabong•20m ago•0 comments

Ask HN: How to get in touch with Paddle (MoR)

1•probst•22m ago•0 comments

Show HN: Statistical Football Predictions for Brazil's Loteca Lottery

https://alfavpalpites.com.br
1•fabioricardo7•23m ago•0 comments

Show HN: LLM Proxy - Python with SSE stream aggregation and timeout prevention

https://github.com/lordraw77/llmproxy
1•lordraw•23m ago•0 comments

Show HN: Frontier model pricing became a rip-off, so I built an open-source CLI

https://github.com/kolega-ai/kolega-code
1•fabioricardo7•28m ago•0 comments

New EU Notes Survey

https://surveys.ecb.europa.eu/10b/banknotes/share/
1•steveskids•31m ago•0 comments

My Agent Isn't Autonomous. That's the Point

https://wp.awrshift.com/my-agent-isnt-autonomous/
1•pmserhii•31m ago•1 comments

Measuring developer productivity with the DX Core 4

https://getdx.com/research/measuring-developer-productivity-with-the-dx-core-4/
2•saikatsg•33m ago•0 comments

Show HN: Bagel (Bag ExpLoration) for ROSBAGs

https://bagel-ros2.vercel.app
2•Hussain04•34m ago•0 comments

2026 Fields Medals Awarded to Four of Top Mathematicians

https://www.simonsfoundation.org/2026/07/23/2026-fields-medals-awarded-to-four-of-worlds-top-math...
2•atmosx•34m ago•0 comments

OpenTelemetry Collector: A Production-Ready Guide

https://signoz.io/blog/opentelemetry-collector-complete-guide/
2•dhruv_ahuja•37m ago•0 comments

AI Kill Switch Act would let Trump admin order shutdown of rogue AI systems

https://arstechnica.com/tech-policy/2026/07/ai-kill-switch-act-would-let-trump-admin-order-shutdo...
3•ndsipa_pomu•40m ago•1 comments

An institutional-grade market terminal for retail investors

https://kresmion.com
2•sol9•42m ago•0 comments

End-to-End Encryption and "Going Dark"

https://www.schneier.com/blog/archives/2026/07/end-to-end-encryption-and-going-dark.html
3•mdp2021•42m ago•0 comments

Show HN: Amdb – Local code context MCP server, single Rust binary

https://github.com/BETAER-08/amdb
2•try_betaer•45m ago•0 comments

Game of Trees – Git-based version control from OpenBSD folks

https://www.gameoftrees.org/
3•gregnavis•46m ago•0 comments

Mirror Mirror: Mirror your PC screen to your phone over your local network

https://github.com/maco30001/Mirror-Mirror
2•maco3000•47m ago•0 comments

Use This Instead of OpenCode

https://www.truss-agent.com/
1•jrh89•47m ago•0 comments

The Hugging Face Incident – By Scott Alexander

https://www.astralcodexten.com/p/the-hugging-face-incident
2•mellosouls•48m 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 ...