Live data from Hacker News

Viewing profile — jacobr

jacobr

HN member
Joined
Wed, Mar 02, 2011, 4:28 PM UTC
HN karma
5,743
Public activity
676 items

About jacobr

specialization is for insects

jacob@jacobrask.net https://github.com/jacobrask http://twitter.com/jacobrask

Gothenburg, Sweden.

Recent public activity

  1. story
  2. comment
    Comment #44530260

    Could the next-gen version control system just store ASTs? Does this already exist? Every user gets their own preferred formatting, and linters and tools could operate on already-p…

  3. story
  4. story
  5. comment
    Comment #41981407

    You can even benefit from the default messages if you want that, grabbing `input.validationMessage` and rendering it as you wish.

  6. story
  7. story
  8. story
  9. comment
    Comment #40765186

    Any article about rebase is incomplete without the mention of `git commit --fixup fb2f677`. When committing you usually already know which commit you’re “fixing” so you specify tha…

  10. comment
    Comment #39242676

    ``` const $ = document.querySelector.bind(document); $('.box').hidden = true; $('.box').hidden = false; ```

  11. comment
    Comment #39066056

    "The concrete description of what is going on here is spread atom-thin across several websites, all of which expect you to know the terminology. Each of these websites provides you…

  12. comment
    Comment #38686704

    There's a shift though, just the last couple of years. Today all browsers support native modals with the dialog element, accordions with details/summary, everything but Firefox sup…

  13. story
  14. comment
    Comment #37818755

    It’s built in to VS Code, see editor.foldingImportsByDefault.

  15. story
  16. comment
    Comment #37150394

    Yes, the biggest drawback of Tailwind is React. Or specifically, relying on components as the mechanism for style composition.

  17. story
  18. comment
    Comment #36562264

    External css files are render blocking, meaning any content after a will not be visible until the css has been loaded.

  19. comment
    Comment #35432147

    Looks a bit like tire inserts - basically foam rings you put inside the tire, common on mountain bikes. I just installed that on my bike, which not only protects my rims but also l…

  20. comment
    Comment #35062207

    Because it’s easier to just not use lodash.

  21. story
  22. story
  23. comment
    Comment #34794768

    Unfortunately none of that works with the feature in TFA because it’s not supported by Declarative Shadow DOM.

  24. comment
    Comment #34786810

    I hear you. I think Shadow DOM is very useful for a handful of roots on your page, encapsulating third-party widgets or DOM-heavy components like a nested navigation. Custom Elemen…

  25. comment
    Comment #34782217

    For example, encapsulating a third party widget, cookie banner or your main navigation. That way any CSS added inside the shadow DOM only affects those elements - you can safely wr…