Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
jpmelos
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
6 ms
·
1.
▲
Agentcontainer: A standard way to declare agent containers for your projects
(github.com)
1 points
by
jpmelos
6mo ago
|
0 comments
2.
▲
Joining threads as they finish in Rust
(jpmelos.com)
2 points
by
jpmelos
1y ago
|
0 comments
3.
▲
by
jpmelos
3y ago
I don't like this approach much because getting cryptic integers when you do a `SELECT` in the database is really cumbersome.
4.
▲
by
jpmelos
3y ago
An enum stores a small reference to the enum value in the tuples, and the constraint approach stores the string itself. The constraint approach takes more space with (a) larger enum values, (b) more columns using them, and (c) more rows in
5.
▲
by
jpmelos
3y ago
> Is there a reason ALTER TYPE name ADD VALUE new_enum_value wouldn't Just Work for the first example for 99% of use cases? I'm sorry, we don't have any examples in the article about adding values to enums, so I don't
6.
▲
by
jpmelos
3y ago
That would be an improvement on the `CHECK` constraint approach if the same `CHECK` constraint is used in multiple columns, to DRY it up. The `DOMAIN` types offer the same commands for `CHECK` constraints, namely `NOT VALID` when updating t
7.
▲
by
jpmelos
7y ago
If understanding how Linux works interests you: http://www.linuxfromscratch.org/
8.
▲
by
jpmelos
8y ago
This is something I really want to implement in 2019: a routine, and a general attitude, strategy, tactics and actions to "get my act together".
9.
▲
by
jpmelos
9y ago
"Mindset: The New Psychology of Success". By Carol Dweck, PhD. This is a game-changer. It taught me what we believe is what really defines what we can or cannot do.