Live data from Hacker News

Viewing profile — mxey

mxey

HN member
Joined
Sun, Apr 01, 2012, 8:15 PM UTC
HN karma
357
Public activity
153 items

About mxey

No profile information was provided.

Recent public activity

  1. comment
    Comment #49143110

    The drain is asynchronous, so it won’t block. The limit is 256 KB and 50 ms.

  2. comment
    Comment #48334968

    At which point there’s little difference from any other database’s backup commands.

  3. comment
    Comment #48334738

    I think the SQLite website itself says it best: > SQLite does not compete with client/server databases. SQLite competes with fopen().

  4. comment
    Comment #48334656

    The Compose file is written like that so you can quickly try the app without setting up extra dependencies. Usually not for production use. Especially since in production you might…

  5. comment
    Comment #48334651

    Yes if you run a database server like an embedded application database, then it won’t be very different from an embedded application database.

  6. comment
    Comment #48334616

    SQLite in WAL mode which you want for server apps is multiple files. Files which you cannot just copy while your application is running if you want a correct backup.

  7. comment
  8. comment
    Comment #48276854

    Yes, initially modules used to modify the file automatically which is why I have -mod=readonly in some old pipelines. I think the “new” way is much better. I still run tidy in pipe…

  9. comment
    Comment #48272576

    > It only syncs go.mod with what is already being used by the build process If dependencies are incomplete, Go will fail to compile and tell you to run go mod tidy to fix it.

  10. comment
    Comment #48272564

    Pinning to me means there is a file with all the versions as they will be used. I don’t see how “go mod tidy” modifying it is different from “bundle install” modifying it.

  11. comment
    Comment #48267831

    > You literally cannot dereference an Option without acknowledging the None case. Whole categories of pager-duty incidents disappear. This is at the very least misleading, given th…

  12. comment
    Comment #48267798

    Actually with Go modules you are always pinning dependencies. What’s in your go.mod is what is used. If your go.mod needs to be updated because a dependency wants to bring in a new…

  13. comment
    Comment #48011227

    The problem is that it is actually not just Python, branched with “normal if statements”: https://docs.pyinfra.com/en/3.x/deploy-process.html#checking...

  14. comment
    Comment #47952408

    https://pkg.go.dev/os#Root

  15. comment
    Comment #46906286

    That’s the opposite of clean-room. The whole point of clean-room design is that you have your software written by people who have not looked into the competing, existing implementa…

  16. comment
    Comment #46702720

    PostgreSQL shares other caches between processes so they probably could have a global plan cache if they wanted. I wonder why they don’t though. One possible reason is that the pla…

  17. comment
    Comment #46702702

    This is very good to know because it means this exclusion constraint workaround is a better approach over using a SQL hash function and a btree if you want to enforce uniqueness on…

  18. comment
    Comment #46657142

    No, that’s why I said deploy. All it does is run kubectl apply and kubectl rollout status. Only those are directly tied to the data in CUE. there’s not much advantage to running ot…

  19. comment
    Comment #46651478

    “ss” also has filters, no need for grep ss -o state established '( dport = :ssh or sport = :ssh )'

  20. comment
    Comment #46650370

    There will be no certificates longer than 45 days by any CA in browsers in a few years.

  21. comment
    Comment #46646082

    Not sure if that’s what you mean but we have apps where all you need to deploy them to Kubernetes is run “cue cmd deploy”. > The problem is, once you have to wrap CUE, the loss of …

  22. comment
    Comment #46383503

    Without those headers, you can as a fallback compare the Origin header to the Host header. See https://words.filippo.io/csrf/

  23. comment
    Comment #46375132

    I had the same thought about the idea that Safari is “behind”. My hypothesis is that features only “exist” to people if they are implemented in Chrome. If a feature exists in WebKi…

  24. comment
    Comment #46375118

    iPhones tend to have dramatically better JavaScript performance so you might wanna also test on an average Android phone.

  25. comment
    Comment #46375108

    I can’t wait for websites to tell me I need to install Chrome on my phone.