Live data from Hacker News

Viewing profile — chenglou

chenglou

HN member
Joined
Tue, Mar 19, 2013, 6:37 PM UTC
HN karma
1,295
Public activity
287 items

About chenglou

https://github.com/chenglou/ https://twitter.com/_chenglou https://shadertoy.com/user/chenglou

Recent public activity

  1. story
  2. comment
    Comment #41316983

    Website contributor here! Answering some of the technical questions on Twitter: https://x.com/_chenglou/status/1826425720522080480

  3. comment
    Comment #38237295

    Oh hey =D The ring's source code in particular had to be transcribed from an actual shader I made ( https://www.shadertoy.com/view/msd3R2 ). I didn't have the patience to write it …

  4. story
  5. story
  6. comment
    Comment #34991808

    Yeah I was only talking about quantities. Equivalently, assume that it's a linear algorithm in the child and a linear one in the parent. Ultimately it ends up as O(nm) being some b…

  7. comment
    Comment #34977781

    It's more than that. The way black box composition is done in modern software, your n=100 code (say, a component) gets reused into a another thing somewhere above, and now you're b…

  8. comment
    Comment #33704868

    Quite a few APIs use a pair of `{start, length}` instead, which in the context of the post's example, is even clearer. Empty interval would be `length == 0`, time interval would be…

  9. story
  10. comment
    Comment #31184853

    Personally I feel that Cappuccino is one of the last frameworks that still cared about a kind of interaction design that’s no longer discussed on the web, replaced mostly by more d…

  11. comment
    Comment #30410364

    No not really. It’s just a bunch of spans styles

  12. story
  13. comment
    Comment #30366872

    Some upcoming languages like Zig and Jai have features to allow you to easily switch from array-of-structures to structure-of-arrays at writing time ( https://www.youtube.com/watch…

  14. comment
    Comment #30263122

    I help maintain ReScript ( https://rescript-lang.org ) and we've been rolling without an import statement for years now (basically OCaml's module system). The default is to just wr…

  15. comment
    Comment #29846565

    Jai is, imo, doing it right! For custom iteration one really _just_ wants it to be a little syntax sugar over a regular loop. Most other languages end up constructing some paradigm…

  16. story
  17. story
  18. story
  19. story
  20. story
  21. story
  22. comment
    Comment #28744940

    In case this isn't clear, RefTerm is: 1. Faster in every case tested 2. More fully-featured, including i18n 3. Easier to read and maintain (see for yourself) 4. Shorter 5. Using ex…

  23. comment
  24. story
  25. comment
    Comment #28466893

    Related, on HN recently: How Doctors Die. https://news.ycombinator.com/item?id=28463482 https://news.ycombinator.com/item?id=26685244