Recent submissions

Comment · 5 months ago
My first thought was, "language". The Broca's area is on the left side of the brain, which is the center of control for logic, language and the right hand. It makes sense to me that an evolutionary feedback loop would develop between the hands and complex language development. So it's not odd that the average human brain would develop -somewhat better control over the right hand than the left.
Comment · 7 months ago
I don't understand why the author bought an iPhone. That's the deal - you do things Apple's way in exchange for not having to figure out how you'll do them. For most people this is a massive convenience, and that's why they pay so much for Apple products (and why I don't).
Comment · 10 months ago
On Writing Well, by William Zinsser. Hilarious, enlightening, affirming of everyone's need and ability to write well.
Comment · 11 months ago
"But we'd like to give a type to this function. In most languages (Haskell, Typescript, C++, Rust, C#, etc.) there is no way to do that.[2] "

Can't you do this with a GADT? With a GADT, the type of the output can be specified by which branch of the GADT the input matches. Seems quite a similar idea.

Comment · 1 year ago
Oh boy.
Comment · 1 year ago
The first five chapters are unrelated to using the Cats library, and are an outstanding, illuminating introduction to how to think about FP in any language.
Comment · 1 year ago
Li Haoyi! Thank you for developing your scala ecosystem and Hands On Scala. I just started using Scala again after a few years' break, using Mill, thanks to your recent blog post on the last 12 years. I forgot how easy Scala can be if you don't make it hard, and how just darn pleasant it is to code in. Would love to see Scala rise from the ashes of the FP flame wars and become Python devs' second language. Or even their first. Thanks for leading the charge!
Comment · 1 year ago
I wish the world hadn't consolidated around Kubernetes. Rancher was fantastic. Did what 95% of us need, and dead simple to add and manage services.
Comment · 2 years ago
If I had a dime for every person that's asked for this.
Comment · 2 years ago
I found the article compelling and illuminating, but I wish someone had proofread it for the grammar. Half a dozen times I had to reread a sentence and concluded it wasn't correct English syntax.
Comment · 2 years ago
The invention of the steel core made the stone facade unnecessary to support the building, so most new buildings are covered in glass instead of stone. That's related to less ornamentation, but to me that's the big distinction between beautiful old buildings and ugly new ones.

It also created a tremendous energy efficiency issue. Stone has much higher thermal mass than glass.

Comment · 2 years ago
Ay, that's the spirit, lad.

To borrow a phrase from the book Switch, "true but useless".

And only technically true. Of course there are no actual second chances. Time only moves forward. But the implication - and it's only implied - that you're doomed to unhappiness in a cage of past life choices is defeatist, pusillanimous bunk.

As John Lennon said, "I just had to let it go". That takes more courage the older you get. But anyone that tells you that it's hopeless because you majored in accounting instead of art should be escorted quickly and quietly away from anyone impressionable, and then kept away from sharp objects for their own safety.

Pull yourself together!

Or, to quote the Terry Gilliam movie Baron Munchausen, "Open the gates!"

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton