Viewing profile — chenglou
chenglou
HN member- Joined
- Tue, Mar 19, 2013, 6:37 PM UTC
- HN karma
- 1,295
- Public activity
- 287 items
- HN profile
- View on Hacker News ↗
About chenglou
Recent public activity
- story
-
comment
Comment #41316983
Website contributor here! Answering some of the technical questions on Twitter: https://x.com/_chenglou/status/1826425720522080480
-
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 …
- story
- story
-
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…
-
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…
-
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…
- story
-
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…
-
comment
Comment #30410364
No not really. It’s just a bunch of spans styles
- story
-
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…
-
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…
-
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…
- story
- story
- story
- story
- story
- story
-
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…
- comment
- story
-
comment
Comment #28466893
Related, on HN recently: How Doctors Die. https://news.ycombinator.com/item?id=28463482 https://news.ycombinator.com/item?id=26685244