sa46

Joined 11 years ago

Karma
1,425
Submissions
426
Member since
Dec 2
Building AI for distributors, contractors, and manufacturers.

Paratrooper to programmer.

http://github.com/jschaf

[email protected]

View on Hacker News

Recent submissions

Comment · 16 hours ago
Many recent relational databases speak the Postgres wire protocol. For wholesale replacement, pgrust is a recent, contentious contender.
Comment · 7 days ago
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.

Comment · 19 days ago
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.
Comment · 29 days ago
> 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.

Comment · 1 month ago
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.

Comment · 1 month ago
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.

Comment · 1 month ago
> 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...

Comment · 1 month ago
Tests typically drive the browser on the same machine. What round trip are we talking about here? Process-to-process over CDP?
Comment · 2 months ago
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”.

Comment · 2 months ago
Comment · 2 months ago
Comment · 2 months ago
I was confused. The title is bad. “its” is ambiguous and usually refers to the first subject in this sentence structure.
Comment · 3 months ago
Weird take. The author corresponded with Dunning and reproduced the classic graph using random data.
Comment · 5 months ago
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.

Comment · 6 months ago
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.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton