frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Do you write with AI? Do you think people notice?

1•Gravityloss•55s ago•0 comments

Rewrite

https://gist.github.com/rtfeldman/77fb430ee57b42f5f2ca973a3992532f
1•tosh•1m ago•0 comments

Claude.md is RAM, not disk

https://albertoarena.it/posts/claude-md-is-ram-not-disk/
3•moebrowne•11m ago•0 comments

Open Book Touch: A pocketable, front-lit, open source e-reader

https://www.crowdsupply.com/oddly-specific-objects/open-book-touch
2•tapanjk•14m ago•0 comments

AI Connector by Plumrocket

https://commercemarketplace.adobe.com/plumrocket-ai-connector.html
2•pearsonand•19m ago•0 comments

Xbox CEO Asha Sharma, who laid off 3,200 employees, to lead task force on jobs

https://www.pcgamer.com/gaming-industry/us-federal-reserve-taps-xbox-ceo-asha-sharma-who-just-lai...
3•robtherobber•20m ago•0 comments

Immutable Versions on Packagist

https://blog.packagist.com/immutable-versions-on-packagist/
2•moebrowne•21m ago•0 comments

Smart Cellular Bricks: Towards Collective Intelligence for the Physical World

https://sakana.ai/smart-cellular-bricks/
2•hardmaru•22m ago•0 comments

Fuck.com (1997)

https://www.links.net/webpub/fuck.com.html
2•downbad_•24m ago•1 comments

Imprisoned in My Own Mind

https://ahmedhossvm.dev/posts/imprisoned_in_my_own_mind/
1•ahmedhosssam•25m ago•0 comments

Show HN: Mock Chats – Make viral chat-story videos

https://www.mockchats.com/
2•oliverbenns•27m ago•0 comments

Commodore Amiga 500 Artwork

https://gibbok.github.io/amiga-500-art/index.html
3•doener•29m ago•0 comments

AI creating a Jevon's Paradox for lawsuits, deals and litigation [video]

https://www.youtube.com/watch?v=_uWnr42zGnE
2•OgsyedIE•29m ago•0 comments

ClipBridge – self-hosted clipboard sync for iPhone, Windows, and Mac

https://github.com/andreasserfilippi/clipbridge
2•Andreas4252222•30m ago•0 comments

Show HN: Vakh, a social platform for all things

https://vakh.com/
1•ajaychl•31m ago•0 comments

Show HN: Turn meeting recordings into searchable transcripts. All local

https://motionobj.com/minutefile/
2•hboon•31m ago•0 comments

Domain Expired – You Have 30 Days Before It's Gone Forever

https://urlwatch.io/blog/domain-grace-period-recovery.php
2•urlwatch•36m ago•0 comments

DolphinDB v3.00.6 and v2.00.19: Introducing DolphinX for Enterprise AI Agents

https://medium.com/@DolphinDB_Inc/dolphindb-v3-00-6-ecde33229456
2•yiweileng•38m ago•0 comments

Dancing with the Gods (1995)

http://www.catb.org/esr/writings/dancing.html
2•fbrusch•38m ago•0 comments

Nokia DCT3 Emulator

https://github.com/djr-747/nokia-dct3-emulator
2•71bw•42m ago•0 comments

Show HN: Narada – a browser built for agents, under your control

https://narada.koley.in/
1•arkokoley•43m ago•0 comments

Show HN: GGUFun, play snake and a simple maze on Ollama using hand crafted GGUFs

https://ggufun.grokked.it
1•grokkedit•44m ago•0 comments

The Human Cost of DOGE's War on USA.I.D.

https://www.newyorker.com/news/the-new-yorker-interview/the-human-cost-of-doges-war-on-usaid
3•doener•45m ago•0 comments

SticiGui – Statistics Tools for Internet and Classroom Instruction with a GUI

https://www.stat.berkeley.edu/~stark/SticiGui/index.htm
1•the-mitr•45m ago•0 comments

Ask HN: Which Chinese open source projects are you using?

2•khurs•57m ago•1 comments

Race into Space Is the Free Version of Interplay's Buzz Aldrin's Race into Space

https://github.com/raceintospace/raceintospace
2•_____k•1h ago•0 comments

How to Automate API Testing

https://keploy.io/blog/community/api-automation-testing
1•alokky•1h ago•0 comments

A local HTTP-to-SOCKS5 proxy bridge for Chrome

https://github.com/proxybasehq/socks5-bridge
2•m00dy•1h ago•0 comments

Zig Creator Calls Spade a Spade, Anthropic Blows Smoke

https://raymyers.org/post/zed-creator-calls-spade-a-spade/
115•crowdhailer•1h ago•66 comments

Muse Spark 1.1: Meta gains 8 Intelligence Index points in three months

https://artificialanalysis.ai/articles/muse-spark-1-1-everything-you-need-to-know
2•himata4113•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 ...