Live data from Hacker News

Viewing profile — jpmelos

jpmelos

HN member
Joined
Thu, Nov 23, 2017, 12:01 AM UTC
HN karma
8
Public activity
9 items

About jpmelos

No profile information was provided.

Recent public activity

  1. story
  2. story
  3. comment
    Comment #36407747

    I don't like this approach much because getting cryptic integers when you do a `SELECT` in the database is really cumbersome.

  4. comment
    Comment #36407712

    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 enu…

  5. comment
    Comment #36407661

    > 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 abo…

  6. comment
    Comment #36407600

    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…

  7. comment
    Comment #19902920

    If understanding how Linux works interests you: http://www.linuxfromscratch.org/

  8. comment
    Comment #18757654

    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. comment
    Comment #15761761

    "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.