HN user

zokier

19,165 karma

Torste Aikio

Feel free to mail me at Gmail.

Posts11
Comments7,495
View on HN

I think the key insight here is that 243 is 100000 in base3. So dividing by 243 essentially converts any 5 digit base 3 number to [0,1) interval. Multiplying by 256 converts it to [0,256) interval which conveniently fits into a byte.

Reminds me of this little map I created some time ago: https://ibb.co/TPVMCR3

My intent was to simplify the shapes of state borders as much as possible while retaining the topological (?) relationship between states. But there is no fancy math behind my map, it's just hand-drawn mess.

or you could use 3-digit octal (so 000-777) for a 512 color palette, which arguably would be even more simple. as a bonus you can use it to color file permissions :)

Plus the fact you can "record" them from a real-world physical environment without ever having to "model" it opens up a lot of utility too.

This is the big thing imho. Sure, you can do traditional photogrammetry to capture meshes and textures but getting the shaders exactly right is afaik non-trivial etc, and if you want real-time rendering then you likely need some further post-processing of the assets. With 3dgs you can pretty much bypass all that complexity and the whole pipeline from photos to rendered frame is much more straightforward.

It uses the entire width of the monitor rather than a slender column of pixels down the middle with large blocks of unused space on either side

Umm on my machine it has 560px margin on both sides with the content being only 474px sliver in the middle?

That is very rose-tinted view of the era. In reality in early 00s lots of software had their own wacky UI toolkits. MS Office is of course the most notable example, but also iirc all of Adobe/Macromedia or every 3d modeling (Lightwave, Maya etc) and audio production software. In the enterprise realm people were doing Java AWT (and later Swing) UIs. And then there were the classics like WinAmp with its iconic theme support, or Mozilla with XUL (and themes).

Show HN: Eyeball 2 months ago

10 round avg 4.5%.

A time limit would make sense imho. For extra challenge, add diagonal or curved lines.

10g Upgrade 2 months ago

fyi zyxel has some reasonably priced 2.5G/10G base-t switches with or without poe++. I got myself XS1930-12HP when I updated my home network to wifi6 and 10G. The biggest annoyance was that some features are gated behind "advanced" license, but iirc nothing too critical. Small things, but I like that it has integrated power supply so it just has standard iec connector in the back instead of needing a power brick. I did replace the standard 40mm fans with 120mm noctua; the airflow might not be optimal but I think it'll survive.

Is it because the perceived alternative is another run-off-the-mill Electron RAM guzzler, because there aren't any _good_ GUI widget frameworks?

Yeah, I think that is 90% of it. And the whole related ecosystem aspect. All the major ways of building GUIs suck right now, especially for tiny apps. And to further exacerbate the problem, GUI frameworks are generally tied to their programming languages, Qt is C++, SwiftUI is Swift, Flutter is Dart so on; spewing some terminal escapes to stdout is something that can done from basically any language with relative ease.