News for hackers. Stuff that matters.

sa46

Re:Postgres 19 is late, and it's AI's fault on Sunday November 01, 2026 @08:14PM (#50331832)
Many recent relational databases speak the Postgres wire protocol. For wholesale replacement, pgrust is a recent, contentious contender.
Re:JetBrains Thinkrail on Sunday October 25, 2026 @06:05PM (#50236473)
IntelliJ supports pretty decent GitHub code review in the editor. It shows the modified code in the gutter and review comments.

I use it when I need to deeply understand a PR.

Has anyone done this on the cheap? I've gotten a few quotes with a payback period of 8-12 years, which isn't great.
Re:Our AI Midwife on Saturday October 03, 2026 @05:16PM (#49947861)
> but this time the author and his wife pushed harder for it to happen

This is the essence of how to make the medical system work for you. Advocate for yourself. AI helps know what to ask, why you should ask, and how to get past the first few layers of dismissals.

I understood the OP's point as follows:

The fee agreement was an hourly rate for producing a legal document. The resulting document looks like it took 10 seconds to produce. The lawyer billed $1000 worth of hours.

So, either the document was much more complex than anticipated (in which case the lawyer should have said so), or the lawyer inflated the hours.

The difference is that lawyers typically charge by the hour. Software is not sold based on how long it took to create.

So, if a lawyer bills $1000 for "10 seconds of work", it smells fraudulent.

If $1000 was a flat rate, then it's similar to software: you're purchasing some IP and passing off legal liability to the lawyer. How long the lawyer spent on it doesn't matter.

Re:Platform-Independent SIMD in Go on Friday September 25, 2026 @03:52PM (#49849091)
> But you also went 13 years without generics

Go shipped with generics (aka bounded parametric polymorphism), but only for built-in types: slices, arrays, and maps. That, with subtyping via interfaces, handled most demand for generics. The most common pain point was custom containers.

Go was first released in November 2009. Russ Cox posted "The Generic Dilemma" [1] in December 2009. The comments show the generics debate raging from the earliest days.

As a fun side note, I forgot I posted a comment on that post pointing to Ada's generics. I was in college, and Ada was our intro language.

[1]: https://research.swtch.com/generic

> the designers didn't want that complexity inside Go.

Yes, with some nuance. Go's goal of writing server programs didn't require the type-system complexity and run-time hit of user-defined generics. [2]

> Go was intended as a language for writing server programs [...] Polymorphic programming did not seem essential [...] so was initially left out for simplicity. > > Generics are convenient but they come at a cost in complexity in the type system and run-time. It took a while to develop a design that we believe gives value proportionate to the complexity.

[2]: https://go.dev/doc/faq#beginning_generics

Out of curiosity, I collected all proposals for Go's journey to generics. https://gist.github.com/jschaf/eaa7aff1af14ea7276a18a1b7370d...

Re:We made Playwright 2x faster and 80% more token efficient on Saturday September 19, 2026 @10:53PM (#49772141)
Tests typically drive the browser on the same machine. What round trip are we talking about here? Process-to-process over CDP?
Re:I accidentally turned LLM memory into program analysis on Sunday August 30, 2026 @01:36PM (#49500865)
Weather is fun choice since it’s a contronym. It has opposing definitions: to endure and to erode.

“He weathered the storm” vs “the stone weathered into an arch”.

Re:Codefloe Is a Professionally Hosted Public Git Forge on Monday August 24, 2026 @11:36PM (#49428800)
That’s a great blog post, lots of details, helpful animations, historical context, and an interspersing of war stories.

https://cursor.com/blog/git-at-any-scale

IntelliJ added worktree “support” but it’s really just a way to create a new project.

I suspect it’ll take a while before we see a shared configuration across worktrees because the .idea folder contains mutable state.

https://www.jetbrains.com/help/idea/use-git-worktrees.html

I was confused. The title is bad. “its” is ambiguous and usually refers to the first subject in this sentence structure.
Re:The Dunning-Kruger Effect Is Probably Not Real on Tuesday August 04, 2026 @01:44AM (#49164699)
Weird take. The author corresponded with Dunning and reproduced the classic graph using random data.
Re:Railway GCP Account Suspension Incident Report on Wednesday May 20, 2026 @02:25PM (#48211911)
Railway has an overwhelming incentive to pin the blame on Google. This report doesn't answer why Google suspended Railway's account.

I'd wait for more details before adjudicating.

Re:Zero-copy protobuf and ConnectRPC for Rust on Tuesday April 21, 2026 @01:15AM (#47844800)
Presumably, OP refers to the generated rust types which depend on the specific protobuf framework.

I had the same issue when looking to adopt ConnectRPC for Go, which uses a custom wrapper type to model requests.

It might interest you to know JS has real private fields, formally introduced in ES2022. [1]

[1]: https://developer.mozilla.org/en-US/docs/Web/JavaScript/Refe...

Re:A tail-call interpreter in (nightly) Rust on Sunday April 05, 2026 @06:01PM (#47654356)
A new Go protobuf parser [1] made the rounds here eight months ago [2] with a specialized VM that outperforms the default generated protobuf code by 3x.

[1]: https://mcyoung.xyz/2025/07/16/hyperpb/

[2]: https://news.ycombinator.com/item?id=44591605

About 15 years ago, our brigade conducted a training exercise to test overall readiness. The opposing force (OPFOR) figured out how to triangulate the brigade headquarters' position using Tinder.

Tinder provided 1-mile granularity, so OPFOR would roam around until they had enough points to locate the headquarters. Then, they'd artillery it out of existence. The brigade commander was most displeased—moving a brigade headquarters is not for the weak or fainthearted.

Re:A case for Go as the best language for AI agents on Monday March 02, 2026 @02:10PM (#47222593)
govulncheck analyzes symbol usage and only warns if your code reaches the affected symbol(s).

I’m not sure about cargo audit specifically, but most other security advisories are package scoped and will warn if your code transitively references the package, regardless of which symbols your code uses.

The problem is that pre-commit hooks are much slower with a much higher false-positive rate than type checking.

Pre-commit checks should be opt-in with CI as the gate. It's useful to be able to commit code in a failing state.

Re:Un-Redactor on Tuesday December 23, 2025 @04:28PM (#46369671)
Wouldn’t a mono space font provide more information since you can extrapolate the exact number of characters?
Re:Go ahead, self-host Postgres on Saturday December 20, 2025 @02:00PM (#46338578)
I’ve been very happy with Pganalyze.
Re:Locks in PostgreSQL on Sunday December 07, 2025 @01:45PM (#46183971)
Advisory locks aren’t all sunshine and rainbows. They can only be unlocked by the Postgres connection that acquired the lock. That means you need to track the connection, typically by dedicating a connection to the job that needs locking.

Here’s a good issue describing the tradeoffs between a lock table and advisory locks.

https://github.com/bensheldon/good_job/discussions/831

Re:Transparent Leadership Beats Servant Leadership on Thursday December 04, 2025 @02:09PM (#46151497)
That's quite a strong claim. I disagree. Military leadership, like business leadership, is imperfect. Both vary based on individuals, the operating environment, and culture.
Depends on the state and child age. California is on the stricter end of legally mandated ratios:

0-18 months: 1:3

18 months to 3 years: 1:4

3-5 years: 1:5

Re:Cursor: Past, Present, and Future on Thursday November 13, 2025 @03:25PM (#45920056)
Trickle-down titles? I’m familiar with operator to refer to tier-1 special operations personnel like Seal Team 6 and Delta Force.
Re:The Myth of Outrunning Your Diet on Monday November 03, 2025 @10:33PM (#45807185)
Sold if you provide a rock or something.
Re:The Myth of Outrunning Your Diet on Thursday October 23, 2025 @01:51AM (#45678570)
Weight loss in Ranger School is additionally “aided” by limiting students to 2 MREs per patrol day (2400 calories) to increase stress.

Anecdotally, I lost 26 lbs in Ranger School.

Re:Go Subtleties You May Not Know on Wednesday October 22, 2025 @07:52PM (#45676618)
Why not use the standard-library adjacent semaphore package?

One problem with using a channel as a semaphore is you need to track if you've closed the channel when "releasing".

https://pkg.go.dev/golang.org/x/sync/semaphore#Weighted.Acqu...

Re:Private equity is sitting on $5T of existential dread on Monday October 13, 2025 @02:08AM (#45565173)
None of those situations imply the business was poorly run.

Older »