News for hackers. Stuff that matters.

gandreani

Thanks for commenting anyways! It's helpful feedback for me
I was struggling with the audience I targeted.

I think I started writing with a hackernews and LinkedIn crowd in mind and then just finished writing it with hn types in mind.

No it's no inscrutable but for the average person it's just a spaghetti wall of text

Saying the GPU is doing thinking but the model is not is a WILD take.

What is your definition of thinking?

This is a very nice use of eBPF and probably close to the imagined scenario the kernel developers proposed for this.

eBPF has a terrible name but it's absolutely wonderful tech. If you're running a database SaaS you can implement eBPF filters to do the accounting for billing based usage, regardless of which database you use!

To me that's irrefutable evidence that it's really well designed

Re:Better HTTP/1 connection reuse in Go 1.27 on Wednesday October 14, 2026 @03:12PM (#50093313)
I find it kind of amusing to consider that the go team didn't commit to implement this automatic connection re-use until they probably encountered in the wild the horrible but correct third iteration of drainAndCloseBody.

1. Suggest drainAndCloseBody // Team: this is reasonable

2. Implement drainAndCloseBodyWithTimer // Team: no problems here

3. then drainAsyncAndCloseBodyWithTimer // Team: a bit wordy but no problem here

4. Someone at google uses 3. with an http/2 connection // Team: this is where we draw the line?

I sympathize with the struggle of following golang's mission to be simple when you consider this common but tricky edge case. Iteration 3 makes sense but by gosh is it ugly ha.

Re:Better HTTP/1 connection reuse in Go 1.27 on Wednesday October 14, 2026 @03:04PM (#50093193)
Oof, that is an edge case I wasn't aware of at all. Hard to know where it's documented since it's an integration of both those packages
Re:A Modern Web App in C on Wednesday October 14, 2026 @12:02PM (#50089799)
Thanks for writing this library! It's great. I've used it a couple of times and never had an issue
Re:Gemini 4 Argon on Tuesday October 13, 2026 @02:40PM (#50076550)
What do you mean 60k complexity?
Re:Local Indexing to reduce tool calling and token usage on Monday October 12, 2026 @12:22PM (#50058687)
Curious about this implementation. How does the vector search work with a versioned code base?

If I'm on commit A, then save the work and now I'm on commit B, how does cross-search ensure it doesn't return results for code JUST in commit A (i.e. code that is no longer in the codebase).

Re:My personal AI agent posted my bank details on company Slack on Saturday October 10, 2026 @11:33AM (#50033929)
It's easy to be dismissive of this guy's hubris. Already have a lot of comments in that regard!

I think it perfectly illustrates that even though an agent can give you the abilities, it's still up to the driver to make decisions.

In this case the CEO could have consulted someone with your expertise. Same ability, but vastly different experience.

Re:Docker Agent on Saturday October 10, 2026 @11:23AM (#50033852)
"Both the plugin and the main application must be compiled with the same Go toolchain version, build tags, relevant build flags, environment settings, and common dependency source on the same platform."

Yikes that's a hard set of requirements. Makes sense but I can already see a ton of headaches with that

Re:MXC - a sandboxed code execution system on Friday October 09, 2026 @08:32AM (#50019575)
I agree! I can't comment on the design of the SDKs but from the looks of it this is a great option to integrate into agent harnesses/pipelines.

The "audit" and "debug" mode are specially useful. I use bubblewrap and using a new harness with it is usually a couple of rounds of wack-a-mole with strace to figure out all the harnesses dependencies.

Ask HN: Could someone share a lobste.rs invite?

Hello! I've been lurking in the irc chat for lobsters for a week or two and haven't caught anyone to ask for an invite!Would a kind soul help me out! I lurk alot in lobste.rs and lately I've been wanting to comment.Any kindness would be appreciated.

( Read More... | 1 comment | on HN )
Re:Docker Agent on Wednesday October 07, 2026 @04:25PM (#49998329)
I agree! Comes with the territory of a compiled language I suppose?

I haven't given this much thought (I also just started with golang last year) but I'm assuming the only real path here is to provide extension SDKs in Lua or other languages whose interpreters have been implemented in go.

I think that's what grafana's k6 [1] does with a JS interpreter

[1] https://github.com/grafana/k6

Re:Friendship ended with Deno, now Node is my best friend on Tuesday October 06, 2026 @10:01AM (#49978654)
Or fnm! I use it and it's lives up to the name (it's much faster)
Re:Mistral Large 4 on Tuesday October 06, 2026 @09:55AM (#49978557)
It's competitive!

Good enough to show competence, and instill confidence in the team/company. Later releases can be more efficient.

I think it's a great release with that framing.

Why did you create it? What were you looking to solve address?
What limitations of shadown dom are you referring to? I use Lit (just a bit) and I'm not familiar with any limitations
Oops! I admit I don't have much knowledge on hashing algos. I thought it was a shorthand
I personally have been using `go-libfossil` in a project! It's got some sharp edges but insanely useful in avoiding CGO and using fossil at the same time
Re:Git 3.0's upcoming SHA-256 default will be a costly mistake on Thursday October 01, 2026 @02:23PM (#49925230)
Agreed! This isn't a tech dig at all.

To me it's more of a reality of creating a tool with a huge active community and a community of contributors and creating a tool with a small team and small community.

Re:Git 3.0's upcoming SHA-256 default will be a costly mistake on Thursday October 01, 2026 @02:21PM (#49925206)
Hmm probably nothing architecture wise. It's probably just the fact that fossil is developed by way fewer devs.

From the skim I read of this article it seems both projects arrived at the same solution: support both but make SHA-256 the default.

Re:Git 3.0's upcoming SHA-256 default will be a costly mistake on Thursday October 01, 2026 @02:05PM (#49925011)
One of my favorite fun facts about Fossil SCM (another source control by the devs of sqlite) is that they patched their use of SHA1 6 days after the shattered attack was published:

"Both Fossil and Git started out using only SHA1 hashes. But when the SHAttered attack against SHA1 was published on 2017-02-23, the need to migrate to a stronger hash algorithm was recognized. Fossil added the ability to use SHA3-256 as an alternative on 2017-03-01 (six days after the SHAttered attack was first published). SHA3-256 is now the default for all new repositories and check-ins in Fossil, though older check-ins that occurred prior to SHAttered can still use their original SHA1 hash. Hence, no repositories had to be rebuilt and no hyperlinks were broken."

https://fossil-scm.org/home/doc/trunk/www/hundredandone.md

To me it's so interesting watching in realtime Git is still battling with this decision and for Fossil it was just another week of development.

That whole page is fun to read. Another fun fact somewhere else in the docs is that Fossil uses a grow-only set to store commits. They came up with this scheme some years before it was formalized by CRDTs!

Re:Gemini 4 Argon on Wednesday September 30, 2026 @06:33PM (#49915332)
Are you ready to call this race 5 years in? I'm waiting another 15 years and at least one or two new LLM architectures.
Re:Backblaze Drive Stats for Q2 2026 on Wednesday September 30, 2026 @11:34AM (#49910345)
Wow I didn't realize it was Brendan Gregg doing the screaming. What a legend!
This is a great example! Thank you

I think you're right that it's a matter of taste and that the intent is better represented by reladraw.

If I can point some personal downsides of pikchr is that there's no loops and when using macros you can't use parameters to create object labels.

For example, Triangle$1: line...

Just some thoughts in case you're looking for future inspiration for the language

Can you share an example?

I've been playing with pikchr quite a bit and it has containers and you can specify links relative to the container. I can picture (pun not intended) your counter-example

Re:Go Concurrency Distilled on Sunday September 27, 2026 @05:48AM (#49865091)
Have you tried goyek? It's built exactly for this kind of use case. I find the API great but I'm also a newbie

https://github.com/goyek/goyek

Older »