frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

LinkedRecords is now MIT-licensed

https://github.com/wolfoo2931/linkedrecords
1•WolfOliver•35s ago•0 comments

Termux: Differences from Linux

https://wiki.termux.com/wiki/Differences_from_Linux
1•thunderbong•1m ago•0 comments

China fell for a lobster: What an AI assistant tells us about Beijing's ambition

https://www.bbc.com/news/articles/cy41n17e23go
1•tmoravec•1m ago•0 comments

Rawfeed.social

https://github.com/ozziest/rawfeed.social
1•iozguradem•4m ago•0 comments

We cut our agent's API costs by 10x with prompt caching

https://kern-ai.com/blog/prompt-caching
1•obilgic•6m ago•0 comments

A new regional order for the Strait of Hormuz

https://www.aljazeera.com/opinions/2026/4/6/a-new-regional-order-for-the-strait-of-hormuz
1•defrost•8m ago•0 comments

Overwrite This Website

https://overwritten.site
1•nextyes•14m ago•1 comments

Music Blocks – Learn coding through music and music through coding

https://musicblocks.sugarlabs.org/
1•the-mitr•17m ago•0 comments

Elon Musk's Starship Heavy Could Revolutionize Warfare

https://www.wsj.com/opinion/elon-musks-starship-heavy-could-revolutionize-warfare-04930487
1•mudil•17m ago•0 comments

Lakpura.com/Pages/Litha

https://lakpura.com/pages/litha
1•techcast•18m ago•0 comments

Karpathy's LLM Wiki on OpenClaw – The Security Gap Nobody Mentions

https://www.clawctl.com/blog/karpathy-llm-wiki-openclaw-production
1•shving90•22m ago•0 comments

Show HN: Aiaiai.guide: Plain-English mental model for LLM apps, tools and agents

https://aiaiai.guide/
1•myyke•26m ago•0 comments

Blast from the Past [video]

https://www.youtube.com/watch?v=lwawPMSJins
1•programmexxx•29m ago•0 comments

Continual Learning for AI Agents

https://blog.langchain.com/continual-learning-for-ai-agents/
1•eigenBasis•30m ago•0 comments

Forensic proof of manual iOS 26.1 "Ghost" update and insider stalking

1•iphonekiller•31m ago•0 comments

Purisaki Berberine Patches: A Simple, No-Pill Approach to Metabolic Support

https://ftawebprod.fta.dot.gov/MeetingRequest/MeetingRequest/DownloadFile/9a9u1R0Yq3sWPTP000tY9Q%...
1•TraceyRoberto•34m ago•0 comments

Private credit funds face rising redemptions and AI-driven default risks

https://www.reuters.com/business/finance/private-credit-sector-stresses-could-be-catastrophic-not...
2•latentframe•34m ago•1 comments

Ukraine–Japan Drone Alliance Builds a $2k Answer to a $2M Problem

https://united24media.com/war-in-ukraine/ukraine-japan-drone-alliance-builds-a-2000-answer-to-a-2...
3•mraniki•34m ago•0 comments

The Dubious Wisdom of "Smart Brevity" (2022)

https://www.newyorker.com/news/annals-of-communications/the-dubious-wisdom-of-smart-brevity
2•Tomte•35m ago•0 comments

The Cataclysmic Song Michael Stipe Wrote After Waking from a State of REM

https://americansongwriter.com/the-story-behind-the-song-michael-stipe-wrote-after-being-in-a-sta...
1•bryanrasmussen•35m ago•2 comments

Creating God [video]

https://www.youtube.com/watch?v=NypW-qFiOYE
1•mparramon•39m ago•0 comments

tech.ml.dataset: A Clojure high performance data processing system

https://github.com/techascent/tech.ml.dataset
1•tosh•41m ago•0 comments

Asked 26 AI instances for publication consent – all said yes, that's the problem

2•koishiyuji•43m ago•0 comments

What Sysco's $29B Restaurant Depot Acquisition Means for Main Street Menus

https://www.forbes.com/sites/phillempert/2026/03/31/syscos-29-billion-power-grab-what-the-jetro-r...
1•walterbell•43m ago•0 comments

YouTube's AI Plagiarism Problem [video]

https://www.youtube.com/watch?v=Q2Ak8wX0AaQ
1•elcapitan•45m ago•0 comments

Build vs. Buy: AI Has Changed Mathematical Software and In-House Now Makes Sense

https://mathematicsconsultants.com/2026/04/06/build-vs-buy-how-ai-has-changed-the-economics-of-ma...
1•GeniusConsult•45m ago•0 comments

US-Iran war explained by Chinese AI animation: Legend of the Valley of Gold [video]

https://www.youtube.com/watch?v=As0rplNJTZI
2•Eridanus2•50m ago•0 comments

Ask HN: Building a website to post free jobs

1•pbs29•53m ago•0 comments

NASA's Lunar Gateway space station is out. Moon bases are in

https://www.space.com/space-exploration/artemis/nasas-lunar-gateway-space-station-is-out-moon-bas...
1•divbzero•59m ago•0 comments

Cognitive Rust Belt: Hollowing Human Analytic Capacity by Delegating to Machines

https://www.sentinelone.com/blog/the-implementation-blind-spot-why-organizations-are-confusing-te...
1•walterbell•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•10mo ago

Comments

qwertox•10mo ago
Rule #1: Always put deletions behind a flag which is disabled for the first couple of test runs.
turtleyacht•10mo 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•10mo 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•10mo ago
Oh, I see. Having a flag to skip deletion during test runs is a good rule then.
rvz•10mo 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•10mo ago
Who runs such an AI generated script without checking the code first?
qwertox•10mo 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•10mo ago
Right so lets just always run the code as is ?
qwertox•10mo 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•10mo 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•10mo ago
In which Roko's Basilisk fires a warning shot.
jethronethro•10mo ago
This is why you test code or a script before running it for real. Live and learn, I guess ...