Live data from Hacker News

Viewing profile — shakiba

shakiba

HN member
Joined
Thu, Mar 21, 2013, 5:45 PM UTC
HN karma
111
Public activity
83 items

About shakiba

[ my public key: https://keybase.io/shakiba; my proof: https://keybase.io/shakiba/sigs/FQHp2InsGkNbADXbCwZU73JSjfwhWhkr7SlWpdsexXw ]

Recent public activity

  1. story
    Ask HN: Can we stop Coronavirus if enough people volunteer to catch it?

    A virus would stop spreading in community if 40%-60% of people are immune, for example by catching it and producing antibody. So a radical approach would be to have people who are …

  2. comment
    Comment #22310764

    That's right, it's only rendering and layout library.

  3. story
  4. story
  5. story
    Ask HN: How to Implement `toString` in JavaScript with Functional Programming?

    I like Functional Programming, however in JavaScript I can't figure out how to use polymorphism with FP. For example how would you implement `toString` in JavaScript with Functiona…

  6. story
  7. story
  8. comment
    Comment #14056263

    I guess I fixed the issue that you pointed out, it was a new bug in testbed. Thanks for reporting! You may need to force-reload the example to see the update. Please let me know if…

  9. comment
    Comment #14055387

    Thanks! It is easy to integrate Planck.js with other liraries and dev tools.

  10. comment
    Comment #14055366

    Thank you! I have not seen any problem with car example on my own laptop, but I will try it on some more different devices to find the issue. Regarding performance, because Planck.…

  11. comment
    Comment #14055302

    The game is very cool! :)

  12. comment
    Comment #14055274

    P2.js was a great effort and is a nice project. It is also inspired by Box2D and its API is very similar, however Box2D algorithm and architecture are more sophisticated and stable…

  13. comment
    Comment #14055199

    Box2DJS is based on an old Flash port and as far as I remember it didn't work well when I tested it (for example second example on the website doesn't work currently, right click t…

  14. comment
    Comment #14054493

    Awesome, thank you!

  15. comment
    Comment #14054485

    Probably it would be easy, I would be happy to help with that, please feel free to open an issue on github.

  16. comment
    Comment #14054210

    Those are changes to internals, there are only few API differences which are explained on readme page. Anyway, I agree with you, a new API doc would be very helpful.

  17. comment
    Comment #14054183

    The main difference is that it is a hand-made rewrite, so the code is readable and improvable, so performance can be improved and optimized even if it is not fast enough in some ca…

  18. comment
    Comment #14053951

    In JS, if you pass same input it will give you same results. With box2d/planck frequency needs to be constant anyway, and I have not seen any nondeterministic component in the code…

  19. comment
    Comment #14053837

    Great work! I decided to directly rewrite Planck.js from Box2D C++ code, so that I can keep it updated (as far as I remember that flash port was few years old).

  20. comment
    Comment #14053808

    Thanks! Repost from reddit: The main reasons that I decided not to use Emscripten port was usability: - First, it is generated and unreadable code, therefore it is impossible to un…

  21. comment
    Comment #14051845

    Planck.js developer here! I have posted this to reddit before, so I'm just going to include it here too: I have ported/rewritten Box2D physics engine to JavaScript, for cross-platf…

  22. comment
    Comment #14051676

    Thank you! Just fixed it! I actually LOLed very hard!

  23. story
  24. comment
    Comment #12842877

    Author here! Thanks for troll comment!

  25. comment
    Comment #12842342

    > when I look at an open-source codebase built on React + Redux, it's so easy to understand the application architecture. That's my point, I believe a library should not imply arch…