News for hackers. Stuff that matters.

rcfox

Re:Claude, change the "Add to Cart" button to blue on Wednesday September 09, 2026 @11:36AM (#49628317)
A Bot & Costello
Re:.gitignore Everything by Default on Saturday September 05, 2026 @10:54AM (#49577123)
I'm not convinced people acting on muscle memory would remember to unignore the files either. They're going to lose work or have giant "oops, I forgot to commit these files" commits.
Re:.gitignore Everything by Default on Saturday September 05, 2026 @10:46AM (#49577046)
This seems like bad advice. I've very rarely committed extra files by accident, but I would 100% forget to unignore files I meant to commit.

If you're doing an initial setup step to gitignore everything, why not just do an initial setup step to gitignore the usual files? Make a template that you copy into all of your repos.

I've noticed that too. Maybe the normal Write tool has to output the entire file and this is an attempt to reduce token usage?
Re:Auto mode is now the default in Claude Code on Monday August 10, 2026 @03:17AM (#49240373)
Auto mode feels like a solution to a problem they created. Whitelisting commands used to work fairly well until the agents started generating complex bash commands that it gave up trying to classify.

"Oh you're piping grep into sed, I have no idea what the implications of that are!"

The more complex bash scripts are perhaps better or more efficient, but it feels like it's training us to give up more control to the agent.

I'd prefer to have an auto mode for read-only operations and go back to simpler commands for write operations that I can personally whitelist or manually accept.

Huh, it's wild that they didn't send an email about this. I can't imagine people taking this well, especially as they don't seem to be giving notice about the end of it either.
This is the first I'm hearing about a usage cut. Do you have a link to an announcement for this? Search hasn't shown anything.
Re:How many of the 170k English words do you know? on Friday June 19, 2026 @09:31PM (#48605382)
Interesting that this showed up here now. I did it a week ago after hearing about it on The Rest Is Science. https://www.youtube.com/watch?v=9t-5lQ2mzuw
Re:Macaroni – a single HTML file messenger on Thursday June 11, 2026 @05:44AM (#48488235)
Seems kind of similar (at least in purpose) to giscus, a commenting system powered by GitHub Discussions.

https://github.com/giscus/giscus

Re:My domain got abused on GitHub Pages on Tuesday May 19, 2026 @04:33AM (#48190743)
You actually can do that. https://github.com/settings/pages
Re:GCC 16 has been released on Thursday April 30, 2026 @03:00PM (#47966792)
It looks like SARIF is JSON, with a formal schema. I'm guessing the JSON they used to output used their own, non-standard schema.
Re:The Super Nintendo Cartridges on Sunday April 26, 2026 @11:10AM (#47910955)
Could be to highlight their incompatibility?
There are communities of people who publicly blog about their eating disorders. I wouldn't be surprised if the laymen's discourse is over-represented in the LLM's training data compared to the scientific papers.
Re:The Git Commands I Run Before Reading Any Code on Thursday April 09, 2026 @12:09AM (#47699168)
Maybe you need to make shorter PRs?
Yeah, my first thought (admittedly an absurd one) went to something along the lines of:

"I flipped a coin and the LLM called heads. I should have gone with tails..."

The title is misleading. Productivity isn't at 10%, it's at 110%.
Re:Ask HN: Where to Begin with "Modern" Emacs? on Saturday November 01, 2025 @01:54PM (#45783741)
> For Linux, just use the emacs that comes with the distro.

Are the major distros shipping packages with tree-sitter support yet?

Re:Exploring PostgreSQL 18's new UUIDv7 support on Friday October 17, 2025 @05:15PM (#45622180)
Your comment heavily implied (to me) scaling databases horizontally. Yes, it's not necessarily "Google scale" either, but it's a ton of extra complexity that I'm happy to avoid. But a Google employee is probably going to approach every public-facing project with the assumption of scaling everything horizontally.

With multiple servers talking to a single database, I'd still prefer to let the database handle generating IDs.

Re:Exploring PostgreSQL 18's new UUIDv7 support on Friday October 17, 2025 @05:08PM (#45622101)
"Distributed systems" doesn't have to mean some fancy, purpose-built thing. Just correlating between two Postgres databases might be a thing you need to do. Or a database and a flat text file.
Re:Exploring PostgreSQL 18's new UUIDv7 support on Friday October 17, 2025 @05:03PM (#45622040)
Do most people? Not everyone is Google.
Re:Live Stream from the Namib Desert on Friday October 17, 2025 @11:55AM (#45618190)
Just following the chat for a few minutes, people posted links to a couple of other locations:

Okaukuejo waterhole in Etosha National Park: https://www.youtube.com/watch?v=AeMUdOPFcXI (at the time of posting, a herd of elephants are enjoying the water)

Kalahari Desert: https://www.youtube.com/watch?v=ME0dPuBtzug

Re:I only use Google Sheets on Wednesday October 01, 2025 @02:21PM (#45441230)
I worked on creating a card game with a couple of my friends. We kept all of the cards in a Google Sheet, allowing everyone to easily edit or create new cards. Then, I wrote a script to compile the sheet into a card atlas so that it could be consumed by Tabletop Simulator. It worked amazingly well.

The only issue was that I had to run the script myself, since my friends were less technical. I'd probably see if I could setup a workflow in Github Actions to do it for me if I were to do this again.

Re:Why Today's Python Developers Are Embracing Type Hints on Saturday September 27, 2025 @07:28PM (#45400235)
In Python, every variable is either defined or imported in the file in which it's used, so you always know where to find it. (Assuming you don't do `from foo import *`, which is frowned upon.)

In C++, a variable might be defined in a header or in a parent class somewhere else, and there's no indication of where it came from.

Re:Markov Chains Are the Original Language Models on Tuesday September 23, 2025 @04:22PM (#45352281)
Is this just because LLMs don't have state?

As far as I understand it, as you have a back-and-forth conversation with an LLM, you have to provide the entire history of the conversation plus your new response each time.

Re:First attempt will be 95% garbage: 6 weeks with Claude Code on Tuesday September 02, 2025 @10:49PM (#45111792)
With Typescript, I find it pretty eager to just try `(foo as any).bar` when it gets the initial typing wrong. It also likes to redefine types in every file they're used instead of importing.

It will fix those if you catch them, but I haven't been able to figure out a prompt that prevents this in the first place.

Re:What's New with Firefox 142 on Tuesday September 02, 2025 @10:44AM (#45103788)
These days, I'd say always start with the YouTube tabs.
I also went into that book blind. I was in grade 12 and some organization was offering scholarships to people who wrote an essay about the book. I had a twice-daily 45-minute bus ride to fill, so it seemed like an easy win.

I didn't end up finishing the book.

Ultimately, you need to decide who your target user is. Do you want to cater to the lowest common denominator, or do you want to want to make something power users can customize to fit their workflow?

Neither answer is necessarily wrong, you just need to make a choice.

Re:Show HN: I built an app to block Shorts and Reels on Wednesday August 20, 2025 @11:29AM (#44962841)
I welcome being out of touch. The current trends seem ridiculous to me.

There's no practical difference between sending a message via Instagram vs via email. It's all just marketing. You probably can't even get an Instagram account without first getting an email account.

Older »