frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Fox News Apologizes for Kevin O'Leary's 'Chinese Communist' Comments

https://www.sltrib.com/news/2026/06/25/kevin-oleary-retracts-chinese/
1•gnabgib•2m ago•0 comments

Claude Code uses prompt caching

https://code.claude.com/docs/en/prompt-caching
1•ankitg12•6m ago•0 comments

Show HN: ParaMetal: 3D Realtime Thermal Analysis SIM

https://parametal.com/
1•tsun_doku•6m ago•0 comments

Many Australians can get three free hours of power from today

https://www.theguardian.com/environment/2026/jun/30/solar-sharer-offer-sso-three-free-hours-elect...
2•thunderbong•6m ago•0 comments

Prompt Caching – Claude Platform Docs

https://platform.claude.com/docs/en/build-with-claude/prompt-caching
1•ankitg12•7m ago•0 comments

What is the current data language?

1•caoxhua•13m ago•1 comments

Know your work personality (test)

https://www.didon.app/work-personality-types
1•babakzy•14m ago•0 comments

GitHub: The uphill climb of making diff lines performant

https://github.blog/engineering/architecture-optimization/the-uphill-climb-of-making-diff-lines-p...
1•theanonymousone•15m ago•0 comments

I've been running a local business company for 5 yers, looking for a cofounder

1•ClaudioCronin•16m ago•0 comments

The Expensive Fictions of Low-Level Programming Languages

https://stng.substack.com/p/the-expensive-fictions-of-low-level
1•matt_d•16m ago•0 comments

Show HN: Aegize (trying to mitigate the risk of AI)

https://www.aegize.com/playground/
1•ggaswint•16m ago•0 comments

SF licenses more new dogs than babies

https://thedogsofsf.com/dogs-vs-babies
2•sanketsaurav•18m ago•0 comments

Microsoft to cut under 2.5% of workforce in latest layoffs

https://www.reuters.com/business/microsoft-cut-under-25-workforce-latest-layoffs-business-insider...
2•72f988bf•20m ago•0 comments

Cona

https://cona.design
1•Losenok•21m ago•0 comments

Microsoft plans job cuts, impacting less than 2.5% of workforce

https://www.businessinsider.com/microsoft-job-cuts-layoffs-sales-consulting-2026-6
2•phantomathkg•21m ago•0 comments

Meta is adding rate limits and soft paywall to smart glasses

https://www.theverge.com/gadgets/959899/meta-ai-glasses-paywall-rate-limit
6•Exoristos•25m ago•0 comments

IEEE Rolls Out Large Language Models Training Course

https://spectrum.ieee.org/large-language-models-ieee-course
1•JeanKage•27m ago•0 comments

China unveils software platform to boost use of homegrown supercomputing chips

https://www.chinadaily.com.cn/a/202606/30/WS6a436d54a310986e2b462b3a.html
3•TechTechTech•29m ago•0 comments

Reinforcement Learning with Metacognitive Feedback

https://arxiv.org/abs/2606.32032
1•guard0g•34m ago•1 comments

The lawyer who beat Elon Musk, twice

https://www.theverge.com/column/959270/elon-musk-open-ai-bill-savitt-twitter
3•1vuio0pswjnm7•36m ago•0 comments

Looking into the Past with Nano Banana Pro

https://jacob.gold/posts/looking-into-the-past-with-nano-banana-pro/
1•oweiler•36m ago•0 comments

Mag 7 value shrinks by $2.3T amid AI spending jitters

https://www.cnbc.com/2026/06/30/magnificent-7-stocks-sell-off-investors-grow-jittery-on-ai-spendi...
3•1vuio0pswjnm7•38m ago•0 comments

Reply to: On the robustness of topological gap detection via transport

https://www.nature.com/articles/s41586-026-10568-7
1•doener•41m ago•0 comments

Amazon EC2 C9g and C9gd instances powered by AWS Graviton5 now available

https://aws.amazon.com/blogs/aws/amazon-ec2-c9g-and-c9gd-instances-powered-by-aws-graviton5-proce...
1•synack•42m ago•0 comments

Hyperbola declines FSF stance regarding machine learning (2024)

https://www.hyperbola.info/news/hyperbola-declines-fsf-stance-regarding-machine-learning/
1•keyle•42m ago•0 comments

Meta loses bid to dismiss states' claims Facebook, Instagram addict children

https://www.reuters.com/legal/government/meta-loses-bid-dismiss-us-states-claims-that-facebook-in...
2•1vuio0pswjnm7•45m ago•0 comments

Persona Fails on Vertical IDs

https://mketab.org/blog/broken_persona/
2•wps•46m ago•0 comments

Study reveals what people see when they read lips

https://news.ku.edu/news/article/study-reveals-what-people-really-see-when-they-read-lips
1•giuliomagnifico•47m ago•0 comments

Matrix Orthogonalization Improves Memory in Recurrent Models

https://ayushtambde.com/blog/matrix-orthogonalization-improves-memory-in-recurrent-models/
13•at2005•55m ago•0 comments

AI systems out-persuade expert humans

https://arxiv.org/abs/2606.16475
3•heyimada•57m 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 ...