frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

I built a Slack client because:wave: was lagging

https://grant.dev/posts/built-a-slack-client
1•figmert•54s ago•0 comments

AI-driven development – It's a spectrum

https://avohq.io/blog/ai-driven-development-it-s-a-spectrum
1•adrianthedev•1m ago•0 comments

List of price of medieval items (2006)

https://medieval.ucdavis.edu/120D/Money.html
1•downbad_•4m ago•0 comments

Ask HN: How to enforce engineers to understand the code they are shipping

1•hchua•4m ago•0 comments

Why Education Startups Do Not Succeed (2011)

https://avichal.com/2011/10/07/why-education-startups-do-not-succeed/
1•downbad_•5m ago•0 comments

Show HN: Cervantes yet Another HN Reader

https://github.com/nhdez/cervantes
2•pelagicAustral•6m ago•0 comments

The highest ROI activity in AI isn't on your screen

https://layerx.xyz/blog/sim-recap
1•supermalvo•12m ago•0 comments

Hold-to-talk voice input for Pi Coding Agent

https://github.com/codexstar69/pi-listen
1•ankitg12•12m ago•0 comments

Department of Energy ends ALARA

https://nationalinterest.org/blog/energy-world/the-department-of-energy-ends-alara
1•leonidasrup•13m ago•0 comments

The Economist prepares for a two‑track Web: one for humans one for AI agents

https://digiday.com/media/the-economist-prepares-for-a-two-track-internet-one-for-humans-and-one-...
2•thm•19m ago•1 comments

Misconceptions about the Unix Philosophy

https://posixcafe.org/blogs/2024/01/05/0/
1•signa11•20m ago•0 comments

Badger Badger Badger Video Officially Preserved by British Film Institute

https://petapixel.com/2026/05/18/badger-badger-badger-video-officially-preserved-by-british-film-...
2•petecooper•21m ago•0 comments

How Remote Work Has Grown – and Shrunk – Since Covid

https://arilamstein.com/blog/2026/05/18/how-remote-work-has-grown-and-shrunk-since-covid/
2•lumpa•21m ago•0 comments

How to Build Multi-Asset Backtests for Real Trading Strategies

https://medium.com/@DolphinDB_Inc/how-to-build-multi-asset-backtests-for-real-trading-strategies-...
2•CrazyTomato•24m ago•1 comments

Access the properties within Markdown files

https://github.com/thiswillbeyourgithub/LogseqMarkdownParser
1•ankitg12•24m ago•0 comments

Solal

https://news.ycombinator.com/submit
1•speedcleme•25m ago•1 comments

Crypto Jesus tried to sell me an AI religion

https://oneonlyvan.substack.com/p/that-time-crypto-jesus-tried-to-sell
1•5tnvan•26m ago•1 comments

America's Data Center Count Is About to Nearly Double

https://www.apollo.com/wealth/the-daily-spark/americas-data-center-count-is-already-near-double
1•akyuu•26m ago•0 comments

US Government Finances Are Not Ready for a Recession

https://www.apollo.com/wealth/the-daily-spark/us-government-finances-are-not-ready-for-a-recession
1•akyuu•26m ago•0 comments

Stop paying $360/year to access your own email history

https://mailvaulty.com
1•khaledsabae•27m ago•0 comments

Amazon's Singapore retreat: Why its US playbook failed in Southeast Asia

https://www.channelnewsasia.com/business/amazon-singapore-end-local-fulfilment-ecommerce-6121221
2•xbmcuser•28m ago•1 comments

eXo MCP server: expose workplace tools to AI agents with OAuth

https://www.exoplatform.com/blog/introducing-exo-mcp-server-secure-ai-integrations-digital-workpl...
2•jaouanebrahim•32m ago•0 comments

Show HN: AI Coding Engineers that evolve with you

https://hatchery.shelter41.com/
1•DSpider•34m ago•0 comments

Text for proofing fonts: a farewell to the quick brown fox

https://www.typography.com/blog/text-for-proofing-fonts
1•fanf2•34m ago•0 comments

Show HN: macOS system 7 web desktop

https://win9-5.com/macos/
1•keepamovin•34m ago•0 comments

Thinking of harness on mobile? I ported OpenAI Agents SDK to React Native

https://github.com/react-native-info/react-native-agent
2•netspdr•38m ago•1 comments

Anthropic shuts the EU out of its most advanced cyber AI model

https://www.theparliamentmagazine.eu/news/article/anthropic-shuts-the-eu-out-of-its-most-advanced...
2•mellosouls•38m ago•0 comments

The True Cost of Influencing

https://www.thebristolsauce.com/p/the-true-cost-of-influencing-one
1•edent•39m ago•0 comments

Minimum Viable Product Marketing

https://posthog.com/blog/minimum-viable-product-marketing
1•radnessforhire•44m ago•0 comments

Chrome Web Store Rankings – Patterns Across 120K Data Points

https://extensionranker.com/blog/chrome-web-store-ranking-patterns
1•Joseph_Hu•47m 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 ...