HackerTrans
TopNewTrendsCommentsPastAskShowJobs

amitp

no profile record

comments

amitp
·3 miesiące temu·discuss
I found https://www.youtube.com/watch?v=a_rAXF_btvE to be more balanced than the LTT video, but I think it mostly depends on your expectations of the cameras. The videos themselves are stored locally, not in the cloud. But if you have thumbnails turned on in the notifications, then the thumbnails have to be stored somewhere temporarily (I think this is an Apple/Google requirement), and they're being stored on a cloud server rather than in your home network (which would require opening up a port).
amitp
·3 miesiące temu·discuss
Slug preserves the vector shapes. MSDF first converts to a texture, which can lose small details. How much depends on the size of your texture and the complexity of the font. I expect MSDF will never look better than Slug.

However, MSDF can handle lots of distance-based effects (glow, shadow, outline, gradient, etc.)[1], and I don't think Slug does that. And MSDF is constant time whereas (I think) Slug is going to vary depending on the complexity of the font.

The Slug paper [2] says:

  All of the techniques that store data in a texture atlas are inherently using a discrete
  sampling of what is actually an infinitely precise description of a glyph outline. This
  inescapably leads to limitations that can be mitigated by increasing the resolution of
  the texture atlas, but that can never be completely removed. For applications that
  need to render a wide range of characters at potentially large font sizes, a texture atlas
  capable of producing glyphs at an acceptable level of quality may have prohibitively
  large storage requirements.
[1] https://www.redblobgames.com/articles/sdf-fonts/#demo

[2] https://jcgt.org/published/0006/02/02/
amitp
·4 miesiące temu·discuss
Thanks!
amitp
·4 miesiące temu·discuss
I originally had that near the top but in one of the rewrites I moved the papers to the end — https://www.redblobgames.com/articles/sdf-fonts/#appendix
amitp
·4 miesiące temu·discuss
Some of these banks are ridiculous. HDFC bank insists that I send them my photo id, address, phone number, and my Indian id number to prove that I'm not their customer. I tried explaining that I don't have an Indian id number because I don't live in India but they insisted they can't help me unless I provide all of this. Then they sent me legal notices threatening me for not paying "my" bills. I send all their stuff to spam now.
amitp
·6 miesięcy temu·discuss
Also, emacs M-x from 1980 or maybe TECO's extended command from 1978 (learned these from Bobbie Chen who wrote https://digitalseams.com/blog/why-do-sublime-text-and-vs-cod...)
amitp
·7 miesięcy temu·discuss
Nice interview! I didn't realize there was inspiration from Theme Park [1], a game from Demis Hassabis (DeepMind).

[1] https://en.wikipedia.org/wiki/Theme_Park_(video_game)
amitp
·10 miesięcy temu·discuss
BTW in the next article the author goes into wind, evaporation, orographic rainfall, rivers, biomes. But not ocean current or tectonic activity.

There's a different blog series that does go into plate tectonics: https://frozenfractal.com/blog/2023/11/13/around-the-world-2...

Coincidentally Civ 7 just announced they're using plates with voronoi for their new map generator.
amitp
·10 miesięcy temu·discuss
Love it! For typescript, esbuild has been my favorite tool for turning typescript into browser-readable js, and then I check type errors separately using the ide plugin.