Live data from Hacker News

Viewing profile — bokwoon

bokwoon

HN member
Joined
Fri, Apr 10, 2020, 4:10 PM UTC
HN karma
76
Public activity
36 items

About bokwoon

No profile information was provided.

Recent public activity

  1. comment
    Comment #43335360

    https://www.youtube.com/watch?v=10qowKUW82U [19:14] why not C#? Dimitri: Was C# considered? Anders: It was, but I will say that I think Go definitely is -- it's, I'd say, the lowes…

  2. story
  3. story
  4. comment
    Comment #36370359

    https://twitter.com/edgedatabase/status/1620582614703964160 EdgeQL: select Child {name} filter . SQL: select child.name from child join parent_child_rel using (child_id) join paren…

  5. comment
    Comment #35134439

    I want to stress that for anyone looking to use Neovim as an IDE (lite), all you need is something that speaks the Language Server Protocol (LSP). You don't really need to download…

  6. comment
    Comment #33408221

    > I didn't see anything to help me build back graphs Hmm you've certainly given me something to think about. Thanks. BTW joins are not challenging, but you made me realize I didn't…

  7. comment
    Comment #33400861

    > at the same time, they provide little (or nothing) utilities to map the data coming from a complex query, back to objects Example of a query builder with built-in mapping capabil…

  8. story
  9. comment
    Comment #31035261

    > I assume that the cascading done on GitHub would be done on a FK constraint GitHub doesn’t use foreign keys, the cascade delete must have been manually implemented. https://news.…

  10. comment
    Comment #30896412

    By far the most important feature that ngrok provides, I’ve never used ngrok for its ability to replay requests

  11. comment
    Comment #30490706

    hi I was the one who made that comment. The JSON incompatibilities I was referring to at that time was for an older version of the JSON proposal. The current version of the JSON op…

  12. comment
    Comment #28301705

    I've seen a very good article on this: https://www.trek10.com/blog/dynamodb-single-table-relational... . It's an insightful dive into how KV stores can model relational data. Howev…

  13. comment
    Comment #28020014

    For modelling trees, I much prefer using a list of ancestors compared to the parent-child adjacency list because it doesn't require recursion to answer basic questions. I had thoug…

  14. comment
    Comment #27791869

    Given that the author also wrote https://scattered-thoughts.net/writing/select-wat-from-sql/ , I don't think he knows nothing about inner joins. I think he was just using that equi…

  15. comment
    Comment #27790457

    You're not supposed to use `super` or specialization with factory functions, call the functions you need instead. OOP inheritance does not belong in this pattern, even if you could…

  16. comment
    Comment #25014547

    Could you explain what you mean by things start getting hard? Why did the languages you mentioned stop using their HTTP interfaces?

  17. comment
    Comment #24148074

    Don't query builders already let you do that? By making the WHERE clause map to a data structure, you can just duplicate the data structure to duplicate the WHERE clause e.g. https…

  18. comment
    Comment #24030238

    heh, you seem to have messed up the bracket order for the markdown links. I memorise it as the mnemonic "square bracket": first the square [], then the bracket ().

  19. comment
    Comment #23947170

    > The other killer „feature“ of webapps is that you can have a single one for multiple platforms. That's a feature for developers, not consumers. Consumers will be unhappy if you t…

  20. comment
    Comment #23837107

    Ha, I used to have a shirt draped around the neck of the fan for this exact reason. Didn't work too well, some of the light still bled through

  21. comment
    Comment #23836955

    > I did some things in Alaska before where I used yoga techniques to very slowly fall asleep, and I was able to stay awake while my sense of hearing and sense of touch went away I …

  22. comment
  23. comment
    Comment #23804725

    My use case is simple enough. Git provides a list of checkpoints I can rollback to. I generally squash over merge, and I use vimdiff to resolve conflicts. I know every command I ne…

  24. comment
    Comment #23738062

    One of my favourite abstraction advice comes from this article: https://blog.carlmjohnson.net/post/2020/go-cli-how-to-and-ad... . "You want one layer to handle user input and get i…

  25. comment
    Comment #23712962

    In Go you use the pattern of prefixing enum constants with the enum category to indicate that the enums are related to each other (e.g. StatusOk, StatusNotFound instead of status.O…