Live data from Hacker News

Viewing profile — antonhag

antonhag

HN member
Joined
Tue, Dec 03, 2019, 10:47 PM UTC
HN karma
74
Public activity
41 items

About antonhag

No profile information was provided.

Recent public activity

  1. comment
    Comment #46365515

    Congrats! Being able to run a nice company bootstrapped seems amazing. Turning 10, you might want to stop ditching WordPress for being 15 on your homepage though ;) Your customers …

  2. comment
  3. comment
    Comment #44345811

    From the readme: VSCode Extension 1. Open VSCode 2. Go to Extensions (Ctrl+Shift+X) 3. Search for "mbake Makefile Formatter" 4. Click Install

  4. comment
    Comment #43360381

    I often reach for jq to understand what unicode is in a string, e.g.: [wl-paste|xclip-o|pbpaste] | jq -R --ascii-output It doesn't provide any per-character explanation, but it is …

  5. comment
    Comment #42134853

    AWS has good base building blocks (ALB, EC2, Fargate, RDS, IAM etc). But it takes knowledge to put the pieces together. Thus AWS tries to create services/tools that orchestrate the…

  6. comment
    Comment #42134771

    For AWS the solution for container deployments (without dealing with VMs) is Fargate, which imo works reasonably well.

  7. comment
    Comment #41968993

    +1, but I'm not sure if the "simple is robust" saying is straightforward enough? It opens up to discussion about what "simple" means and how it applies to the system (which apparen…

  8. comment
    Comment #41656636

    I like the house analogy, but I like to think of it as if the people building the house did not know how it was supposed to look (or function). This is mostly true, since very few …

  9. comment
    Comment #41656592

    > I'm currently building a skyscraper on the foundations of a bikeshed. Not sure if you are joking or not, but I often hear similar things and I believe that it misses the point. W…

  10. comment
    Comment #41619349

    My bad - I got confused as the original DIS+BIS took ~60s on my machine. I reproducing the Custom 1 implementation locally (before seeing your repo) and it took ~48s on the same ma…

  11. comment
    Comment #41618960

    Aren't the versions that take 10% of the time only reading each city name once, and then doing an array lookup rather than a hashmap lookup?

  12. comment
    Comment #41617907

    That's nice - I'd encourage you to play around with attaching e.g. JMC [1] to the process to better understand why things are as they are. I tried recreating your DataInputStream +…

  13. comment
    Comment #41617219

    From the code samples it's hard to tell whether or not this has to do with de-serialization though. It would have been fun to see profiling results for tests such as these.

  14. comment
    Comment #40146365

    I don't actively use it, unfortunately. The main inspiration was to faster sort inputs into the https://github.com/BurntSushi/fst crate, which I in turn used to try to build a sear…

  15. comment
    Comment #40141423

    Hi! Crate author here, happy to see my old project getting mentioned. Let me know if you have any questions!

  16. comment
    Comment #38471633

    fwiw, works on my machine (linux+ff). No failed requests in inspector.

  17. comment
    Comment #38366040

    This got me thinking - the salinity of the water in the bothnian bay is very low (seems to be about 1/10th of ocean water). Wouldn't that effect electrolysis?

  18. comment
  19. comment
    Comment #38075729

    This assumes a clear interface. Which assumes that you get the interfaces right - but what's the chance of that if the code needs rewriting? Most substantial rewrites crosses modul…

  20. comment
    Comment #37197992

    Most times you won't need a well-formed (REST) API to start with, and many times you will never need it. Most small projects should start without one and create one when need arise…

  21. comment
    Comment #37197789

    Counter-example: https://javalin.io/ uses Servlets, and seems to be doing quite fine without annotations.

  22. comment
    Comment #36793332

    Elasticsearch is decent at using non-text criteria provided that they are: 1. In the same document (a document in ES is a JSON object) 2. You have indices for them. ES (and Lucene)…

  23. comment
    Comment #36668156

    An alternative if you want a bit more help with charting, without client side JS, is to use d3-shape ( https://github.com/d3/d3-shape ) to server-side render SVGs.

  24. comment
    Comment #36570369

    It depends - even when you run into an "everything is slow" problem, it might be that it's like 1 endpoint out of 2000 that causes performance issues. In this case, you might need …

  25. comment
    Comment #36569868

    It is quite common that you only need to optimize very small parts of a program to this level. The rest of the program can be written in more conventional styles. You could of cour…