Live data from Hacker News

Viewing profile — kolodny

kolodny

HN member
Joined
Sun, Mar 31, 2013, 4:19 PM UTC
HN karma
1,145
Public activity
226 items

About kolodny

Github: https://github.com/kolodny

Blog: http://kolodny.github.io/blog/

Linkedin: https://www.linkedin.com/in/moshekolodny

Recent public activity

  1. story
  2. comment
    Comment #39363872

    React is pretty performant when context isn't changing. We haven't done any benchmarking but I doubt there's any real world perf hit. For large applications the number of overrides…

  3. comment
    Comment #39362461

    Creating an override is basically just providing a placeholder for a value to be injected via React Context. I view this as a form of dependency injection. Contrast this with how t…

  4. comment
    Comment #39362227

    The point is that you shouldn't need to rewrite your countdown component to allow testing. Can you provide a snippet of that change and what the test would look like? Not being tog…

  5. comment
    Comment #39361202

    Author here. Can you show an example of how Playwright would progress a timer on a page? For example, how would you make this component pass faster than 60 seconds? export const Co…

  6. comment
    Comment #39360087

    Sorry about that. I just added an official LICENSE file https://github.com/kolodny/safetest/blob/main/LICENSE

  7. comment
    Comment #39359497

    Can you clarify what you mean? Usually, e2e testers don't have a bootstrapping stage for app-level changes, only for things that can be done via the browser automation APIs.

  8. comment
    Comment #39359472

    Yes, that's correct. You get all the benefits of react-testing-library mounting and the ability to test the entire app as a unit.

  9. story
  10. story
  11. story
  12. story
  13. comment
    Comment #21866367

    Nice, Swift also handles having all the transition changes as well. I wrote a small post about how to do this: https://gist.github.com/kolodny/6fa6aa34a711d36e9de01cec4409...

  14. story
  15. story
  16. story
  17. story
  18. story
  19. story
  20. story
  21. comment
    Comment #14696316

    Somewhat related nodejs self plug: Use nip https://github.com/kolodny/nip $ echo -e 'this\nis\na\nwhatever foo' | nip 'return /whatever/.test(line) && cols[1]' # foo

  22. comment
    Comment #13626831

    One of my favorite books is the "The Chess Mysteries of Sherlock Holmes" which describes a technique called retrograde analysis https://www.amazon.com/Chess-Mysteries-Sherlock-Holm…

  23. comment
    Comment #13030650

    There should be a link for you to delete it http://i.imgur.com/pwHijrG.png

  24. story
  25. story