Recent submissions

Comment · 2 years ago
With mergeMaps, you don't have to write out all of the properties.
Comment · 2 years ago
MLs require a lot of ceremony modelling simple record types.

What we want to express here is an object with a map of properties (name to type):

    string Type map
For the OOP minded:

    Map<string, Type>
And also compose those:

    type Foo = { "_foo", int }

    type Bar = { "_bar", string }

    type FooBar = mergeMaps Foo Bar
But at compile-time, of course.

Have any languages achieved this? I know TypeScript can do some of these things, but it's clunky.

Comment · 2 years ago
Building a language is too hard.

You need to create:

- Grammar, parser, compiler, interpreter (delete as appropriate)

- Editor plugins for nice syntax highlighting

- Language server

- Packages for common things

- Nice website (or no one will use it)

- etc...

So the pressure is always to shoe-horn a big existing language into you problem. Maybe you can build a nice library if your language has decent syntax (or little to no syntax). If you have an AST representation, you probably dump it to JSON etc.

I am curious if any projects are trying to make this easier.

Comment · 2 years ago
Does MongoDB have serious market share compared to DynamoDB (and similar clones from Azure, GCP) at this point?
Comment · 2 years ago
Yes, this is a reasonable approach, but how are certificates deployed and managed?

How do we deploy a list of certificates that a service should accept?

How do we do certificate rotation and revocation?

Comment · 2 years ago
Comment · 2 years ago
Vast majority do not have the disposable income to invest in stocks.
Comment · 2 years ago
Nah, that was Postgres vector extensions
Comment · 2 years ago
Comment · 2 years ago
There is a value in living in a society that is culturally rich, not just GDP rich.

The last era where we had this kind of society, was probably the 70s and we are still recycling the cultural artefacts of that time.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton