Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
chenglou
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
7 ms
·
1.
▲
Kolmogorov Complexity of Neutral Networks
(twitter.com)
1 points
by
chenglou
2y ago
|
0 comments
2.
▲
by
chenglou
2y ago
Website contributor here! Answering some of the technical questions on Twitter: https://x.com/_chenglou/status/1826425720522080480
3.
▲
by
chenglou
3y ago
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 directly in CSS. It's nei
4.
▲
Pitfalls of Callback-Based APIs
(thelig.ht)
2 points
by
chenglou
3y ago
|
0 comments
5.
▲
Markprompt: Open-Source GPT-4 for Markdown, Markdoc and MDX
(github.com)
9 points
by
chenglou
3y ago
|
3 comments
6.
▲
by
chenglou
4y ago
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 big number, but when people do runtime analysis in the r
7.
▲
by
chenglou
4y ago
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 being iterated through m=100 times. Oops, now n=10k
8.
▲
by
chenglou
4y ago
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 a single array of `starts`, etc. Fewer subtractions (t
9.
▲
So you want to build a generator (10k Bowls of Oatmeal)
(galaxykate0.tumblr.com)
1 points
by
chenglou
4y ago
|
0 comments
10.
▲
by
chenglou
4y ago
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 devops/abstraction-oriented discussions. I manage a web
11.
▲
by
chenglou
5y ago
No not really. It’s just a bunch of spans styles
12.
▲
Show HN: Pure CSS Shaders Art
(github.com)
11 points
by
chenglou
5y ago
|
4 comments
13.
▲
by
chenglou
5y ago
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?v=zgoqZtu15kI ). Some edge cases also requir
14.
▲
by
chenglou
5y ago
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 write `MyModule.doThis` at callsites. Some
15.
▲
by
chenglou
5y ago
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 for iteration that drags in OO, FP, some interface concepts
16.
▲
The Countries Apple Cares About Most
(justinobeirne.com)
1 points
by
chenglou
5y ago
|
0 comments
17.
▲
Guy Steele: Fortress Features and Lessons Learned
(youtube.com)
3 points
by
chenglou
5y ago
|
0 comments
18.
▲
Alien Mathematics
(troynikov.io)
67 points
by
chenglou
5y ago
|
27 comments
19.
▲
Refterm Lecture Part 1 – Philosophies of Optimization
(youtube.com)
2 points
by
chenglou
5y ago
|
0 comments
20.
▲
Apple Maps: Why Is “Look Around” Rolling Out So Slowly?
(justinobeirne.com)
1 points
by
chenglou
5y ago
|
0 comments
21.
▲
Apple Maps' Acceleration (2020)
(justinobeirne.com)
153 points
by
chenglou
5y ago
|
117 comments
22.
▲
by
chenglou
5y ago
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 existing libs, aka interops well ...So none of these typi
23.
▲
Alan Kay on the context and catalysts of personal computing
(notion.so)
2 points
by
chenglou
5y ago
|
0 comments
24.
▲
by
chenglou
5y ago
Related, on HN recently: How Doctors Die. https://news.ycombinator.com/item?id=28463482 https://news.ycombinator.com/item?id=26685244
25.
▲
by
chenglou
5y ago
Oh for sure, build is the main point and SoA isn't. The SoA feature discussions probably came from its deprecated interesting approach. Collapsing into a single layer is great. As an aside, another language notorious for doing so would
26.
▲
by
chenglou
5y ago
The new way Jai does SoA is through just userland macros: https://www.youtube.com/watch?v=zgoqZtu15kI Tldr SoA isn't a single transformation. Depending on your data access pattern, you might want to shape the structure
27.
▲
by
chenglou
5y ago
There’s a much vaster gulf between a truck driver and a truck engineer, vs a Java programmer and a programmer one layer below. Per your analogy, the truck driver is the program user here, not the program maintainer.
28.
▲
by
chenglou
6y ago
You're right; the medium definitely shaped the message here. I've worked with and near many native and web teams, and have observed the engineering conversations of the folks from entry level to senior level. The difference in per
29.
▲
by
chenglou
6y ago
I help maintain ReScript. That it _seems_ to change the way code is approached is an artifact of an early community excited to try FP concepts in it. Nothing wrong with that; however, the ReScript team (me included) don't really approa
30.
▲
by
chenglou
6y ago
I happened to have read many of VPRI’s papers and some domain expertise in a few of their topics, or know close friends with such domain expertise. Btw, my collection of their links are at https://news.ycombinator.com/item?i
More ›