Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
amitp
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
5 ms
·
1.
▲
by
amitp
24d ago
Bookmarked! I love the interactive diagrams! I love that you have a touch-point larger than the drag handle. And I'm impressed that the label placement takes care to avoid the axes. Some feedback: You have vector s in blue, and then ve
2.
▲
by
amitp
1mo ago
Thanks — yes, I'm still struggling to find a good way to explain the colors. The landmark is green. The blue tiles are the savings — the difference between using the landmark and not using it. I'll work on a different wording or m
3.
▲
by
amitp
1mo ago
Yes, it's a bit weird! There are also optimizations that do what you describe, with landmarks along the way, but at least at the time I learned about it, road map pathfinding was using landmarks behind the target.
4.
▲
by
amitp
1mo ago
Good catch. I was thinking people would read that after they have moved the green L but I should handle both before and after moving L.
5.
▲
by
amitp
1mo ago
The landmark data can be calculated in a background thread. For DF I imagine you'd have a background thread running all the time, updating one landmark every so often. But what happens if you look for a path before the landmark data is
6.
▲
by
amitp
5mo ago
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
7.
▲
by
amitp
5mo ago
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
8.
▲
by
amitp
7mo ago
Thanks!
9.
▲
by
amitp
7mo ago
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
10.
▲
by
amitp
7mo ago
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 beca
11.
▲
by
amitp
8mo ago
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... )
12.
▲
by
amitp
10mo ago
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)
13.
▲
by
amitp
1y ago
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://froz
14.
▲
by
amitp
1y ago
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.
15.
▲
by
amitp
1y ago
I love having comments on my site/blog. I learn so much from some of them. For example, on my hexagon page, someone said there's a connection with "Eisenstein integers". I had never heard of them, and they were fun to
16.
▲
by
amitp
1y ago
Suggestion: canvas.addEventListener('dragstart', (e) => { e.preventDefault(); } ); At least on Firefox/Mac, sometimes while dragging it "picks up" the image to drag it. This should prevent that.
17.
▲
by
amitp
1y ago
BTW this author also has a fantastic YouTube channel in which he live-draws geological diagrams with MS Paint https://www.youtube.com/@TheGeoModels
18.
▲
by
amitp
1y ago
Agree. Weatherspark is great too — https://weatherspark.com/map?pageType=4&yearNumber=2025&ids=... Each of those icons is a full year of weather data. Left to right is Jan to Dec. Bottom to top is the hours of the
19.
▲
by
amitp
1y ago
There's a version of Facebook that only shows things from your friends, and not "suggested" or "reels" etc.: https://www.facebook.com/?filter=all&sk=h_chr (it still shows ads but not the other
20.
▲
by
amitp
2y ago
With the older tree-sitter package[1], I was able to use it with the existing major modes. The new built-in emacs tree-sitter seems to be more ambitious, involving new major modes. [1] https://emacs-tree-sitter.github.io/
21.
▲
by
amitp
2y ago
(author here) I agree, the `type` example could be done with regular expressions. In part 2 I'm planning to describe the real reason I was using tree-sitter here. I wanted to highlight certain combinations of operations based on the na
22.
▲
by
amitp
2y ago
Cool! A large part of the reason I'm using these other services instead of hosting my own is because of mobile apps + browser extensions.
23.
▲
by
amitp
2y ago
Fantastic article! I've been trying to figure out antialiasing for MSDF fonts, and have run across some claims: 1. antialiasing should be done in linear rgb space instead of srgb space [1] [2] 2. because of the lack of (1) for decades
24.
▲
by
amitp
2y ago
I love this page. Thank you. I bookmarked it in 2018 but still haven't used it, doh! https://wwwtyro.net/2019/11/18/instanced-lines.html is also nice.
25.
▲
by
amitp
2y ago
Thank you for Grapher! I love Our World in Data.
26.
▲
by
amitp
2y ago
I'm happy with Steam on Windows but hate its behavior on Mac. It's slow and keeps stealing focus while starting up. I haven't gotten the "choose user" thing though. Cmd-Q does quit Steam for me.
27.
▲
by
amitp
2y ago
I use a solid box in a terminal and for coding, and a vertical bar for writing in emacs org-mode. But I recently tried out a one-third box[1] in emacs and I am really loving it! It's partway between a box and an underline. Some softwar
28.
▲
by
amitp
2y ago
Thanks! I'll add a note about that.
29.
▲
by
amitp
2y ago
You're welcome! I try to keep the pages fast loading with minimal dependencies but have varying success depending on the needs of each page.
30.
▲
by
amitp
2y ago
That's great to hear! Thanks!
More ›