Recent submissions

Comment · 2 days ago
What a weird thing to say about him. Clearly you haven't read his work.
Comment · 29 days ago
Pasv is just a work around for nat'd connections.
Comment · 2 months ago
my main frustration with pandas was certain idioms did not work efficiently because they escaped the pandas kernel, causing memory copy and other bad behavior.
Comment · 2 months ago
We're not even close to type I, anyway.
Comment · 3 months ago
The one thing I hated about Java's generics was type erasure. It worked for the JVM but it had such stupid limits, like not being able to switch on a type, like go. (interfaces are types, this is exploitable)
Comment · 3 months ago
The implementation is coming along nicely, and I'm already thinking of ways of using generic bound functions. I'm not bad that it's not like Java 1.4 despite having the lessons of Java 1.4, but being class-based is a very different way of working from go. Getting the unbound functions right before the bound ones was a struggle, but I do think the approach makes sense, in the long run.

I can't wait to see the Container stuff in the next iteration, too.

Comment · 3 months ago
It's showing you it's blending the `Box[T]` with a function that takes a function that applies over `T` to get a new type `Box[U]`. It's a bit convoluted, and it's also unnecessary. I think it's more readable like this:

`func (b Box[In]) Map[Out any](f func(In) Out)Box[Out]`

Or

`func Apply[In, Out any](in []In, f func(In) Out) []Out`

Which can be used anywhere and is not tied to a "Box"

Honestly if it wasn't written in go it'd fit right in with Java, with a Verb in the kingdom of Nouns.

Comment · 3 months ago
> A quick credit first: the interactive Go tours were started by Anton Zhiyanov, who wrote one for every release from Go 1.22 through Go 1.26. He’s decided to stop, so we’re picking up where he left off.

But he actually wrote those and they made sense.

Comment · 3 months ago
John C. Dvorak
Comment · 3 months ago
In what case is apple a monopoly?
Comment · 3 months ago
They aren't crash compliant, aren't tagged with inspection stickers for signage, and the county/state road agencies could remove them for that alone.
Comment · 4 months ago
wow someone tell the philosophers this guy has figured out the knowledge problem!
Comment · 5 months ago
we have a 2017 and 2020 ioniq hybrid and the android auto has been flawless since we got them. except for updates from google on the phone temporarily breaking things, that is.
Comment · 5 months ago
Uber and Doordash are both examples of abusing workers and their resources to externalize costs on the worker.
Comment · 6 months ago
Because they even conflate pronouns with gender issues. You know, the words that substitute for antecedents in conversation.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton