Live data from Hacker News

Viewing profile — amitp

amitp

HN member
Joined
Sat, Jan 14, 2012, 5:40 PM UTC
HN karma
928
Public activity
196 items

About amitp

I try to write better explanations of algorithms. I'm in the Silicon Valley area (south bay) and am happy to meet for coffee or lunch. See my interactive tutorials at https://www.redblobgames.com/

twitter:@redblobgames

Recent public activity

  1. comment
    Comment #49228259

    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.

  2. comment
    Comment #49228247

    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 hap…

  3. comment
    Comment #47871581

    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…

  4. comment
    Comment #47732806

    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 exp…

  5. comment
  6. comment
    Comment #47185419

    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

  7. comment
    Comment #47182528

    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 exp…

  8. comment
    Comment #46602923

    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... )

  9. comment
    Comment #46138082

    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)

  10. comment
    Comment #45400632

    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 tha…

  11. comment
    Comment #45116740

    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.

  12. comment
    Comment #44799114

    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 neve…

  13. comment
    Comment #44758924

    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…

  14. comment
    Comment #44605140

    BTW this author also has a fantastic YouTube channel in which he live-draws geological diagrams with MS Paint https://www.youtube.com/@TheGeoModels

  15. comment
    Comment #43930166

    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. …

  16. comment
    Comment #43752817

    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 n…

  17. comment
    Comment #43232074

    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.…

  18. comment
    Comment #43227208

    (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 highl…

  19. comment
    Comment #42637498

    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.

  20. comment
    Comment #42195074

    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 s…

  21. comment
    Comment #40890664

    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.

  22. comment
    Comment #40840745

    Thank you for Grapher! I love Our World in Data.

  23. comment
    Comment #40769460

    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…

  24. comment
    Comment #40501465

    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…

  25. comment
    Comment #40224057

    Thanks! I'll add a note about that.