frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Gizmodo breached, hosting malware and no action taken for hours

https://old.reddit.com/r/cybersecurity_help/comments/1uajrup/beware_gizmodo_captcha_malware_attempt/
1•mullingitover•1m ago•1 comments

Virtual whiteboard for sketching hand-drawn like diagrams

https://github.com/excalidraw/excalidraw
1•modinfo•7m ago•0 comments

Bun 1.4 coming July 7th

https://twitter.com/jarredsumner/status/2068059134952677887
1•sorenbs•10m ago•0 comments

Show HN: I wrote a Rust book ending with a Redis clone

https://shankhan3.gumroad.com/l/dnwmtp
1•zeeshanali0094•11m ago•0 comments

Ask HN: What's a simple app you'd build if you had a weekend?

1•akashwadhwani35•13m ago•0 comments

GenAIDojo

https://www.genaidojo.io/
1•aniketwattawmar•26m ago•0 comments

EAS Alarm at midnight caused by a hacker in Brazil

https://www.reddit.com/r/mildlyinfuriating/s/wLRv2s1u5k
2•davidkwast•27m ago•2 comments

Study: Conservatives are dying at higher rates than liberals

https://www.fastcompany.com/91561329/widening-health-gap-between-liberals-and-conservatives
1•MilnerRoute•31m ago•0 comments

The New Calculus of AI-Based Coding

https://blog.joemag.dev/2025/10/the-new-calculus-of-ai-based...
2•aabdi•35m ago•1 comments

Designing a backyard deck for my house

https://blog.cosmin.cloud/posts/diy-deck.html
1•spycraft•40m ago•0 comments

Compress tool outputs, logs, files, RAG chunks before LLM for 60-95% less tokens

https://github.com/chopratejas/headroom
1•gmays•41m ago•0 comments

Trapped in a Waymo: SF passenger recounts terrifying construction zone ordeal

https://abc7news.com/post/waymo-recall-san-francisco-man-recounts-terrifying-moment-when-robotaxi...
1•mikhael•43m ago•0 comments

Show HN: Stocks Porfolio in a URL and Favicon

https://stocksreader.com/
2•franciscop•43m ago•1 comments

Bureaulogy – formation, evolution, and perpetuation of bureaucracies

https://grantslatton.com/bureaulogy
1•thelastgallon•44m ago•1 comments

Chromium Embedded Framework (CEF)

https://github.com/chromiumembedded/cef
1•auraham•46m ago•0 comments

The Punctum and the Blind Field

https://theholbrookreport.com/reports/punctum-and-the-blind-field/
1•TyrunDemeg101•50m ago•0 comments

China will have a Fable 5-class AI model before next year

https://www.tomshardware.com/tech-industry/artificial-intelligence/elon-musk-says-that-china-will...
4•achow•53m ago•0 comments

TV Player for Rocket Launches

https://github.com/sighmon/SpaceX-TV
1•sighmon•1h ago•0 comments

We record because we have forgotten how to remember

https://pilgrimsage.substack.com/p/the-lowest-frequency
1•momentmaker•1h ago•0 comments

AI and the Great CMS Unbundling

https://dri.es/ai-and-the-great-cms-unbundling
2•christefano•1h ago•0 comments

This pole is worse than any Flock Camera [video][38 mins]

https://www.youtube.com/watch?v=wEfbhEVuvMM
1•Bender•1h ago•0 comments

Lawsuit against Amazon over suicides linked to chemical can go to trial

https://www.cbsnews.com/news/amazon-suicide-case-sodium-nitrite-washington-supreme-court/
2•hentrep•1h ago•0 comments

Satellite reveals immense scale of GPS signal tampering

https://www.space.com/space-exploration/satellites/its-quite-a-bit-more-than-we-expected-satellit...
7•y1n0•1h ago•0 comments

Moebius: 0.2B Lightweight Image Inpainting Framework with 10B-Level Performance

https://hustvl.github.io/Moebius/
2•ilreb•1h ago•0 comments

Spirit Crossing's AI Problem

https://blog.curiousquail.com/spirit-crossings-ai-problem/
1•zokiboy•1h ago•0 comments

A Practical Guide to SSH Tunnels: Local and Remote Port Forwarding

https://labs.iximiuz.com/tutorials/ssh-tunnels
1•signa11•1h ago•0 comments

How to lose a war in three easy steps

https://www.ft.com/content/0ba6b511-649e-4a29-bb99-f824584ec93d
9•Alien1Being•1h ago•1 comments

Show HN: Rundown - Niche Intelligence for YouTube Creators

https://getrundown.xyz
2•razasaad92•1h ago•0 comments

Show HN: AgentArk – open-source self-hosted AI agent OS

https://github.com/agentark-ai/AgentArk
2•debankad•1h ago•0 comments

Show HN: Western Highway Alerts

https://westernhighwayalerts.com/
1•BetaDeltaAlpha•1h 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 ...