Live data from Hacker News

Viewing profile — gw

gw

HN member
Joined
Thu, Aug 26, 2010, 4:01 AM UTC
HN karma
2,042
Public activity
269 items

About gw

No profile information was provided.

Recent public activity

  1. story
  2. comment
    Comment #26320320

    Is it a "javascript application" or a "page with text that uses javascript for dynamic features"...

  3. comment
    Comment #26317886

    Y'all both are making great tools but consider giving a read-only view of the page when javascript is disabled. After disabling JS this gives me a blank white screen: https://athen…

  4. comment
    Comment #26263270

    You sure? https://forum.nim-lang.org/t/4022#25046 edit: the docs seem to say you're right, maybe that forum post is outdated but it's from nim's author.

  5. comment
    Comment #26262666

    Not the commenter but which one of these is the defer generating? // option 1 try { fp = os.open(x) fp.read() } finally { fp.close() } // option 2 fp = os.open(x) try { fp.read() }…

  6. comment
  7. comment
    Comment #26262226

    Nim's defer just wraps the current scope in a try/finally, with the deferred code running in the finally. It is probably better just to use try/finally directly because it's more e…

  8. comment
    Comment #26242012

    You can still hold on to references to textures and meshes you uploaded to the GPU without using a full-blown scene graph. Some state is necessary no doubt, but this seems more lik…

  9. comment
    Comment #26241714

    That makes sense, but it seems like a case of building an abstraction to solve a problem caused by another abstraction. If a scene graph creates a new chore for me that necessitate…

  10. comment
    Comment #26240317

    That looks neat but why would you need a react-style reconciler to render a webgl scene? It's immediate mode...every frame is rendered according to the latest state available. What…

  11. comment
    Comment #26139695

    Crawford says nobody truly followed in his footsteps but I think Jason Rohrer qualifies. The two even shot a documentary together, and the scene where Crawford showed off his Story…

  12. comment
    Comment #24643919

    Yeah it's a bit bifurcated. Internally there's a lot of coupling -- HTML embedded directly in the C code and whatnot. This could be resolved if tools could be built on top of fossi…

  13. story
  14. comment
    Comment #24446083

    It would at least be far less of an issue. I don't see anyone being confused that https://github.com/facebook/react is the official repo, and not https://github.com/react/react . I…

  15. comment
    Comment #24445559

    I wasn't even addressing the crates.io team, i was addressing the author of the post.

  16. comment
    Comment #24445252

    The quote was a guideline, not a requirement. Cognitect (who makes the clojure CLI tool) doesn't even control clojars, the main clojure maven repo, so they wouldn't be able to enfo…

  17. comment
    Comment #24445134

    I didn't choose the shorter names because i "care[d] about having shorter names", i did so defensively, because i figured if i chose `net.sekao/iglu`, someone else would choose `ig…

  18. comment
    Comment #24444434

    You really should look to other ecosystems and see what lessons they've learned. In java, packages are normally "namespaced" by the author's reverse domain name, like `org.lwjgl/lw…

  19. comment
    Comment #24432987

    I think the instrumenting and generator stuff gets disproportionate attention. For me by far the biggest win from spec has been with parsing. This completely changes how you'd writ…

  20. comment
    Comment #24428168

    Deprecated, not removed. In fact opengl will still be supported in the new ARM macs.

  21. comment
    Comment #24427236

    Interesting. When you say "save and restore state", do you mean actually serializing it and loading it later? In what situation would you want to do this? Not doubting that there i…

  22. comment
    Comment #24427006

    Webgl doesn't have this problem since it runs those functions on a context object. But yeah i wish there was a way to do that with opengl.

  23. comment
    Comment #24425960

    It is pretty wild, though mine wasn't quite as bad. It ended up clocking in at 650 lines. I guess part of that is because nim doesn't have braces... https://github.com/oakes/vulkan…

  24. comment
    Comment #24425211

    It's things like this that make me not worry about sticking with opengl. It's supported everywhere, fast enough for my uses, and is exactly the level of abstraction i want to be at…

  25. comment
    Comment #24413868

    For nim i like this one: https://github.com/johnnovak/illwill It is immediate mode so you render the entire UI every tick, though it is smart enough to not actually redraw things t…