Recent submissions

Comment · 2 days ago
the analogy doesn't work unless your role means having to occasionally do long division, on the spot, without a calculator
Comment · 4 months ago
I get

/api/hn -> 502 {"error":"Search entry should have an initialized schema, command was: [\"SEARCH.AGGREGATE\",\"hn\",\"{\\\"$or\\\":[{\\\"title\\\":{\\\"$eq\\\":\\\"anthropic\\\",\\\"$boost\\\":5}},{\\\"text\\\":{\\\"$eq\\\":\\\"anthropic\\\"}}]}\",\"{\\\"by_month\\\":{\\\"$dateHistogram\\\":{\\\"field\\\":\\\"time\\\",\\\"fixedInterval\\\":\\\"30d\\\"}},\\\"top_authors\\\":{\\\"$terms\\\":{\\\"field\\\":\\\"by\\\",\\\"size\\\":6}},\\\"by_type\\\":{\\\"$terms\\\":{\\\"field\\\":\\\"type\\\",\\\"size\\\":4}}}\"]"}

Comment · 10 months ago
I've had the misfortune of working on a C# code base that uses this pattern for many years.

I've also used it with F#, where it feels natural - because the language supports discriminated unions and has operators for binding, mapping etc. Without that, it feels like swimming against the tide.

Code has a greater cognitive overhead when reading it for the first time. And there is always a big over head for new starters needing to understand the code.

It feels idiomatic in F#. It feels crow-barred in with C#

Comment · 1 year ago
My favourite inexplicable feature of the PureGym app on iOS is that when you open it, it stops any audio you are listening to. In the same way as if you have opened another audio app. Yet it isn’t playing any sound. Crazy
Comment · 2 years ago
Comment · 4 years ago
The title has the wrong year. It should be 2005. The quote was: "By 2005 or so, it will become clear that the Internet's impact on the economy has been no greater than the fax machine's."
Comment · 5 years ago
I attended the Domain Driven Design Exchange conference in London years ago. They keynote was by Eric Evans (author of the DDD Blue Book)

He said if he wrote the book again, he'd have put all the patterns as an appendix

He thought people concentrate on applying the patterns rather than seeing DDD as a way to communicate. Between developers but also to the business

Comment · 5 years ago
just wondered if it was relevant to some other discussion I'd missed. that's all
Comment · 5 years ago
Is there a particular reason this has been posted today? The last commit to it was in April.

It's a good list for sure, just wondering why it's popped up on HN

Comment · 5 years ago
couldn't you use the readonly modifier in c#?
Comment · 5 years ago
"there is no back-up from the authorities if the digital wallet in which he is holding them is hacked or compromised"

was the most jarring part

Comment · 5 years ago
The second sentence here is such an odd one to include in the article:

"Benyamin Ahmed is keeping his earnings in the form of Ethereum - the crypto-currency in which they were sold.

This means they could go up or down in value and there is no back-up from the authorities if the digital wallet in which he is holding them is hacked or compromised."

Comment · 5 years ago
Comment · 5 years ago
Really great work by Private Eye. They did all the investigation and broke the story. None of the big news outlets were on it at all
Comment · 5 years ago

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton