Recent submissions

Comment · 2 months ago
Is inappropriate content on some random forum the same as deliberately manipulating children?
Comment · 4 months ago
I think this misses what is undeniably the best part about zod. Yes, you could define all of your types this way, but it’s only necessary at the boundary of the program. Internal functions don’t need to validate inputs if the caller is trusted.

Being able to define a loose input schema at the boundary and then transform it into a shape that your program actually needs is extremely useful.

Comment · 4 months ago
The entitlement of the gaming “community” is next to none.

I did what you said last year and it’s been a delight.

Comment · 1 year ago
This is exactly what I would do too if AGI was just around the corner.
Comment · 1 year ago
What does a migration look like with something like this?
Comment · 1 year ago
Meta doesn’t buy competition?
Comment · 4 years ago
You should have read the post before commenting.
Comment · 4 years ago
I was asking because American right wing news has frequently lied about what was happening here in Canada. To my knowledge there hasn’t been a single report of a frozen bank account over a donation except for some debunked tweet by a Canadian conservative politician.

Thus, I asked for a source.

Comment · 4 years ago
> Even people who donated to the truckers before the crackdown got targeted in the bank account freezes.

Source?

Comment · 4 years ago
This isn't _exactly_ true. JS will await on anything that is Promiselike (an object with a `then` function that accepts a callback). See the TS definition of Promiselike.
Comment · 4 years ago
I've both personally and professionally worked on builder-type applications in the past and found that lenses are always the most elegant way to do state management. Over the past month I decided to hack on a general purpose library for React and lenses with the end goal of coming up with something that felt _good_ to use. Cheers!

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton