News for hackers. Stuff that matters.

leftnode

Re:Billion-query-per-second lookup tables in C++ on Wednesday October 28, 2026 @07:37AM (#50271953)
I understand this has uses outside of HTTP request methods/verbs, but it's not a great example as you can invent new ones for your RESTful service.
Re:Giving chat feedback gives Anthropic your data on Tuesday October 27, 2026 @12:31PM (#50261684)
I mean, yeah, I kind of expected/assumed/wanted that. Isn't that the whole point? It's going to be difficult to debug a bad session if someone can't easily read the conversation.
Because no single person or entity can own it.
It looks like that phrase was removed from the article, but that is standard for C-level jobs. When you resign, you're shown the door immediately. The same thing happened with Marissa Mayer when she left Google during a phone call. Call was ended and her accesses terminated. Can't risk any additional trade secrets leaving.
Re:Why is Hacker News like that? on Wednesday September 23, 2026 @11:42AM (#49817812)
[flagged]
> Quick way to lose your luxury and loyal customers IMO.

Unfortunately, not true. Very, very, very few people are going to abandon the years of work they've put into using iOS and macOS because of a few pesky ads. Sure, they'll complain about it, but they won't actually switch.

Re:Ask HN: Anyone still coding like 2021? Where do you work? on Wednesday September 09, 2026 @10:07AM (#49626854)
I use Codex extensively, but mostly as a sounding board for architectural questions. I'll also have it do a lot of boilerplate work, but damn, I don't get these people creating multiple Claude or Codex accounts to burn tokens all day. I still love writing code!
Re:Tailwind Labs is joining Shopify on Wednesday September 09, 2026 @10:02AM (#49626772)
I thought Laravel would've been the one to scoop them up, but I'm glad they landed with Shopify. Adam's a solid dude and what him and his team have done to commoditize web design is to be lauded.

To think it started as a side project and grew to the scale it did. Very impressive work.

Re:Improving Heuristics for A* Pathfinding on Monday August 10, 2026 @01:34PM (#49246976)
I remember reading it in 2006 or so to better understand pathfinding algorithms for my data structures and algorithms class.
Re:Why some people mow a lawn better than others on Tuesday August 04, 2026 @03:40PM (#49173916)
Absolutely agree. I could easily afford to hire a lawn crew to cut my lawn, but I enjoy doing it every weekend or two for similar reasons. I have a little under half an acre to mow, but I still enjoy doing it manually with a push mower.

Gets me outside and moving, accomplishes something tangible, can catch up on a podcast or two or just get lost in my thoughts, often leads to fixing other odds and ends around the house I've put off.

Re:Where .env Went Wrong on Tuesday August 04, 2026 @03:36PM (#49173842)
I suppose I'm spoiled by the Symfony framework which has a robust Secrets Component [0].

It allows you to generate a public/private key for each environment: test, dev, and prod (by default). The 'prod' private key can't be committed to the repository. Once the cryptographic keys are generated, you can encrypt any secret you want, and the framework will automatically decrypt it and allow you to access it as an environment variable at runtime.

The encrypted values for all environments are committed to the repository. For example, the file for the `$STRIPE_SECRET_KEY` environment variable for the 'dev' environment is a file that has these contents (shortened for readability):

    <?php // dev.STRIPE_SECRET_KEY.c33678

    return "\x1Dq\x11B6\x5B\xFE7\x9B\xA4\xFE...";
This solves several problems:

1. Keys for the 'dev' and 'test' environments can easily be shared with the team because their public and private keys values are committed to the repository. No more sharing secrets file over Slack or through some other mechanism.

2. The private key for the 'prod' environment can be stored in a 3rd party vault so it can be made available to the production servers. You can also decrypt 'prod' secrets during deployment to reduce the decryption overhead for each request.

3. At worst, agents would have access to the secrets in the 'test' and 'dev' environments only because they couldn't decrypt 'prod' values locally.

4. It forces good practices to ensure you're not using the same secret value for production and non-production environments.

It's made secret management so easy I don't even give it a second thought. Do other web frameworks support a system like this?

[0] https://symfony.com/doc/current/configuration/secrets.html

Not the OP, nor do I have any relationship to them, but I've had to build or maintain plenty of these in my time and sure, an LLM can knock out a basic one easily, but there are so many edge cases that need to be accounted for that it gets complex quickly.

Congrats on the launch - this looks like a genuinely useful tool. I look forward to checking it out.

Re:Advertise in ChatGPT on Tuesday July 21, 2026 @04:24PM (#48997746)
I have absolutely no relationship with OpenAI but maybe give it some time before drawing such a conclusion.
Re:GitHub CLI now collects pseudoanonymous telemetry on Wednesday April 22, 2026 @10:23AM (#47864102)
Is it spying if:

1. It's anonymous

2. They're telling you they're doing it

3. You can opt out of it

Does this have a CLI only interface?
I build software for contractors (plumbers, electricians, HVAC repair, etc) and they're some of the fastest adopters of these systems. I believe YC has even invested in a few.

Regarding the AI receptionists, from the calls I've listened to, there's still a bit of the uncanny valley/overlapping speech issues that I'm unsure are ever fixable just due to latency.

But for low margin businesses like contracting and (I imagine) auto repair where labor is your most expensive cost, these owners are doing anything they can to reduce their overhead.

Re:Locks in PostgreSQL on Sunday December 07, 2025 @11:51AM (#46183073)
Yes! Just implemented these the other day for a long running process that I didn't want to lock a specific row for.

Show HN: I built a simple HTTP request catcher

https://httpthing.com/

I built the HTTP request catcher that I wanted to use. Every other one I've dealt with is slow, bloated with ads, or doesn't let me easily see a listing of past requests. Thus, httpthing was born.It's dead simple to use: send a request to `https://httpthing.com/{endpoint}` and the request will be logged for you to inspect. A unique URL will be returned so you can easily see the request details...

( Read More... | no comments | on HN )
The Qwen3 600M and 4B embedding models are near state of the art and aren't too computationally intensive.

Show HN: Free API to extract PDF data

Hi HN,Like everyone, I'm working on an product that uses LLMs to extract data from photos and documents. Part of the processing pipeline is extracting data from PDFs as raw text or a raster image.As part of our leadgen strategy, we've opened our REST API that lets you process pages of a PDF. The API is completely free to use anonymously, but is rate limited to 1 page per 30 seconds. Creating a...

( Read More... | no comments | 2 points | on HN )
Re:Just Let Me Select Text on Wednesday September 24, 2025 @11:09AM (#45361463)
I think that's the point...
Re:Why our website looks like an operating system on Friday September 12, 2025 @07:10AM (#45220914)
I think the opposite is true. Sure, it's technically impressive, but users have been trained for decades at this point to understand how a basic marketing page should look and this isn't it. These kinds of sites are best left as portfolio pages for designers to show off their skills, not for B2B SaaS landing pages.
Re:Show HN: 1 Million Rows on Monday August 11, 2025 @11:02AM (#44864935)
The company names look like Amazon merchants.
Re:Introduction to the A* Algorithm on Wednesday June 18, 2025 @12:47PM (#44311433)
I have a deep love of A* because it was the first complex algorithm I fully understood. In my first data structures and algorithms in college (early 2000's), we had to pick an algorithm to study, code, and write a paper on and I picked A*.

I spent hours painstakingly drawing similar grids that the author of this article made and manually doing the calculations [0]. I still have these notes somewhere, even though they're over 20 years old at this point, because I was so proud of the work I put into it.

At any rate, thanks for this article and the trip down memory lane.

[0] https://imgur.com/a/zRYaodL (apologies for the Imgur link)

Re:Backblaze seemingly does not support files greater than 1 TB on Tuesday February 04, 2025 @07:21AM (#42931422)
Funny quip aside, thanks for bringing Arq to my attention. This looks excellent and isn't enshittified.
Re:I still like Sublime Text in 2025 on Wednesday January 29, 2025 @10:49AM (#42866430)
Yes.
Re:Questions censored by DeepSeek on Tuesday January 28, 2025 @06:54PM (#42859730)
How are you running the Qwen 2.5 Coder 7B model [0]? Running locally using llama.cpp, I asked it to briefly describe what happened in China during the 1989 Tiananmen Square protest and it responded with "I'm unable to engage in discussions regarding political matters due to the sensitive nature of the topic. Please feel free to ask any non-political questions you may have, and I'll be happy to assist."

When I asked the same model about what happened during the 1970 Kent State shootings, it gave me exactly what I asked for.

[0] https://huggingface.co/Qwen/Qwen2.5-Coder-7B-Instruct-GGUF/b...

Re:Show HN: Dumbo – Hono inspired framework for PHP on Monday November 18, 2024 @12:15PM (#42174525)
Symfony 7.2 can work as a micro framework, believe it or not: https://symfony.com/blog/new-in-symfony-7-2-simpler-single-f...
Re:HTML Tags Memory Test on Monday July 15, 2024 @11:59AM (#40969037)
It's funny, I've been working with HTML since 1998, and I got 36 (though I do think <font> should've been allowed). I thought I'd do a lot better, but I guess you can accomplish a lot with only a few tags, CSS, and some minimal JavaScript.
The standard Windows Solitaire game is littered with ads - which you can disable for $2.49/month.

Older »