Live data from Hacker News

Viewing profile — unemployable

unemployable

HN member
Joined
Wed, Jul 20, 2022, 3:45 AM UTC
HN karma
108
Public activity
27 items

About unemployable

No profile information was provided.

Recent public activity

  1. story
  2. comment
    Comment #39888906

    Memory leaks can occur when a component adds events to an element outside of the component (such as the window) and then gets removed from the DOM without removing the event handle…

  3. comment
    Comment #39888838

    >If you want to get deeper into it, have a look at event bubbling and propagation. In this example, the event is on the Window. There is no bubbling. It is already at the top level…

  4. story
    Show HN: Quietone – search audio and video by transcript

    Hey. This is my first electron app. It is called Quietone and I just thought it would be cool to navigate and manipulate videos by their transcript because searching through videos…

  5. comment
  6. comment
    Comment #34966842

    Exactly. All I care about is getting things done quickly and moving on. At university I was taught about "maintainable code", but in real life, I have never seen such code. I have …

  7. comment
    Comment #34964884

    I found React to be the worst framework I have ever used. There is no chain of functions to debug or follow. Changing the state sets off a chain reaction of chaos that spreads thro…

  8. story
  9. comment
  10. comment
    Comment #33760543

    Why do you think it is more complicated? The logic of the UI and application itself is the complicated part. That is the difference between a document and an application. The HTML …

  11. comment
    Comment #33759648

    Applications do not really benefit from markup language. Artwork uses only JavaScript and CSS, and uses web components to enable scoped CSS and so on. It avoids classes as they are…

  12. story
  13. comment
    Comment #33560221

    There is also Cloudflare D1, which is now in public alpha.

  14. comment
    Comment #33560209

    >I think this is something that pgsql got quite right I don't think so. For example, pgsql had an array type before it got JSON, so the drivers can't automatically convert arrays t…

  15. comment
    Comment #33560162

    >If there are many client programs sending SQL to the same database over a network I believe this is a reference to enterprises that have different users querying the database dire…

  16. comment
  17. comment
  18. comment
  19. comment
    Comment #33052689

    When you want to update the types, you have to run something to update the one file that contains the types (or put it in watch mode to do it automatically). You don't necessarily …

  20. comment
    Comment #33052666

    >Every ORM that I've worked with is a separate DSL that I need to learn That is the point of Flyweight. The API is very small, and for everything else you use SQL. The ORM parses t…

  21. comment
    Comment #33030905

    In an ORM, you will write include: ['posts'] in SQL, you will write join posts on p.authorId = a.id I would argue an ORM is more about getting the flat structure of the result set …

  22. comment
    Comment #33030721

    You are missing the steps to get that select statement into JavaScript (running the database command, passing in the parameters, parsing the result, etc).

  23. comment
    Comment #33019501

    Flyweight parses SQL statements to generate a TypeScript API, uses convention to automatically map SQL into hierarchical data structures, and combines this with a simple CRUD API.

  24. story
  25. comment
    Comment #32576540

    Everything in this article is true. As you can see by the comments in this thread, saying "I love TypeScript" is not enough to please the TypeScript cult. Nothing but complete devo…