frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: Will your company be doing "LeetCode" interviews a year from now?

1•locusofself•44s ago•0 comments

Show HN: Incremental SfM pipeline that reconstructs 3D point clouds from images

https://github.com/egeozgul/Incremental-3D-Reconstruction-SfM/tree/main
1•egeozgul•5m ago•0 comments

Show HN: ABC Classic 100 Rankings visualised

https://classic100.gotski.workers.dev/
4•gotski•7m ago•0 comments

Some concerns about Ladybird's bylaws

https://tuananh.net/2026/06/06/ladybird-bylaws/
1•tuananh•8m ago•0 comments

Alzheimer's patient gets back speech, bladder control and memory in drug trial

https://nypost.com/2026/06/04/health/alzheimers-patient-recovers-speech-continence-and-memory-wit...
1•virgildotcodes•9m ago•0 comments

Google will pay SpaceX $920M per month for compute capacity

https://twitter.com/JackKuhr/status/2062975800488394777
2•bear_with_me•10m ago•0 comments

Protein overabundance is driven by growth robustness

https://www.science.org/doi/10.1126/sciadv.adz9623
1•PaulHoule•13m ago•0 comments

Ask HN: Questions about HN and life questions

2•mwhite•17m ago•0 comments

Unlocking Non-Uniform KV Cache for Efficient Multi-Turn LLM Serving

https://arxiv.org/abs/2606.06302
1•johnbarron•18m ago•0 comments

Astrocytic Contributions to Cognition Across Rodent Models of Brain Dysfunction

https://www.mdpi.com/2218-273X/16/5/662
1•PaulHoule•19m ago•0 comments

Data Centers and Local Job Creation

https://michaeljhicks.substack.com/p/data-centers-and-local-job-creation
1•toomuchtodo•28m ago•1 comments

Fusion Power's Newest Problem Is People Making Nukes

https://gizmodo.com/fusion-powers-newest-problem-is-people-secretly-making-nukes-2000767859
1•johnbarron•29m ago•0 comments

Show HN: Turn your landing page into print-ready business cards

https://www.kleidoprint.com
1•13001r•29m ago•0 comments

Show HN: Local MCP – give Claude, Cursor and ChatGPT access to your whole Mac

https://www.local-mcp.com/en
1•lanchuske•30m ago•0 comments

African Burial Ground National Monument, New York

https://www.nps.gov/afbg/learn/historyculture/index.htm
1•thunderbong•36m ago•0 comments

US attorney opens investigation into California elections-sends prosecutor to LA

https://apnews.com/article/california-primary-ballot-counting-trump-investigation-22b06b32abdca1e...
4•petethomas•48m ago•0 comments

The smart TV in your living room is a node in the AI scraping economy

https://blog.includesecurity.com/2026/06/the-smart-tv-in-your-livingroom-is-a-node-in-the-aiscrap...
1•themaxdavitt•48m ago•0 comments

Exploiting ML-DSA bugs [pdf]

https://cr.yp.to/papers/mldsa-20260601.pdf
1•libroot•49m ago•1 comments

Show HN: Documenting an Obscure Japanese Wii Game – and-Kensaku

https://github.com/TylerJaacks/AndKensakuResearch
2•TylerJaacks•50m ago•0 comments

New Treatment for Alzheimer's and Parkinson's Discovered in Japan

https://www.inc.com/lucia-auerbach/future-of-brain-health-how-a-new-scientific-discovery-could-re...
3•nikolay•57m ago•0 comments

Misu

https://en.wikipedia.org/wiki/Misu
3•carabiner•1h ago•0 comments

eLoran

https://en.wikipedia.org/wiki/ELoran
2•jonbaer•1h ago•0 comments

Ultra-fast CSV parsing and encoding for Elixir

https://github.com/jeffhuen/RustyCSV
2•sntran•1h ago•1 comments

The intracies of modern camera lens repair (2024)

https://salvagedcircuitry.com/sigma-45mm.html
31•transistor-man•1h ago•0 comments

Re: Cache: 0-click SXSS on Next.js via reflected headers

https://zhero-web-sec.github.io/research-and-things/re-cache-excessive-reflection-type-confusion-...
1•logickkk1•1h ago•0 comments

Cumulative average BMI and cognitive decline: a 24-year cohort study

https://link.springer.com/article/10.1007/s00415-026-13696-2
3•PaulHoule•1h ago•0 comments

I built an email agent to triage bogus security reports

https://opencomputer.dev/blog/email-security-triage-agent/
1•iacguy•1h ago•0 comments

Why Do Asian Brands Pretend to Be Japanese?

https://www.thechow.net/p/asian-brands-pretending-japanese-miniso
2•herbertl•1h ago•1 comments

Game Theory Text - Thomas Ferguson

https://web.archive.org/web/20050301121109/http://www.math.ucla.edu/~tom/Game_Theory/Contents.html
2•soupspaces•1h ago•0 comments

The Sandbaggers (1978 – 80) Complete Series

https://archive.org/details/the-sandbaggers-1978-80
3•petethomas•1h 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 ...