Live data from Hacker News

Viewing profile — NightMKoder

NightMKoder

HN member
Joined
Mon, Sep 01, 2014, 7:15 PM UTC
HN karma
427
Public activity
123 items

About NightMKoder

No profile information was provided.

Recent public activity

  1. comment
    Comment #49118908

    You can go deeper and model a queue as a ring-esque buffer with a write head (can just be a serial id) and a read head. The read head starts at the same place as the write head and…

  2. comment
    Comment #49055642

    FWIW I use atuin ( https://atuin.sh/ ) and am reasonably happy with it, especially the infinite capacity & snapiness. Ignoring the sync features, I believe it's also sqlite backed …

  3. comment
    Comment #48615889

    When you measure latency, you’re measuring it based on requests. So in some bucket if you had a request take 2s and a request take 10s, you would say the average is 6s. This answer…

  4. comment
    Comment #48613915

    This is standard statistics terminology - E(X) is https://en.wikipedia.org/wiki/Expected_value . E_a is presumably Alice's perceived expected value. Var(X) is https://en.wikipedia.…

  5. comment
    Comment #46698740

    This might speak to the craziness of the gstreamer plugin ecosystem - good/bad/ugly might be a fun maintenance mnemonic, but `voaacenc` is actually in `bad` - not `ugly`. Most plug…

  6. comment
    Comment #45176982

    I was recently in the market for one of these! I ended up going with https://github.com/dbohdan/recur due to the nice stdout and stdin handling. Though this has stdout/stderr patte…

  7. comment
    Comment #44525446

    Facebook’s wormhole seems like a better approach here - just tailing the MySQL bin log gets you commit safety for messages without running into this kind of locking behavior.

  8. comment
    Comment #44078095

    IMO mermaid is awesome, but for two somewhat indirect reasons: - There’s an almost wysiwig editor for mermaid at https://www.mermaidchart.com/play . It’s very convenient and approp…

  9. comment
    Comment #44000459

    Agreed - concretely with-redefs forces single threaded test execution. So eg you can’t use the eftest multithreaded mode. Explicit dynamic bindings are better if you need something…

  10. comment
    Comment #44000102

    Usually the controversial decision for Clojure code highlighting is rainbow parens. This color scheme is horrific and unreadable (on mobile at least).

  11. comment
    Comment #43666401

    I don’t know about tires, but for brakes we already know how to make lower dust brakes - use drum brakes instead of disc brakes. The friction material is enclosed on drum brakes so…

  12. comment
    Comment #43329282

    So I might be putting words in your mouth, so please correct me if this is wrong. It seems like you don’t actually control the SIGTERM handler code. Otherwise you could just write …

  13. comment
    Comment #43328882

    Why the additional SUGUSR1 vs just doing those (failing health, sleeping) on SIGTERM?

  14. comment
    Comment #43328874

    Yes sorry for not qualifying - that’s right. IMO the liveness check is only rarely useful - but I've not really run any bleeding edge services on kube. I assume it’s more useful if…

  15. comment
    Comment #43326082

    This is actually a fascinatingly complex problem. Some notes about the article: * The 20s delay before shutdown is called “lame duck mode.” As implemented it’s close to good, but n…

  16. comment
    Comment #43298102

    Talking of trees and caches, back in school I remember learning about splay trees. I’ve never actually seen one used in a production system though, I assume because of the poor con…

  17. comment
    Comment #42119293

    Presumably depends on the country and the laws. Keep in mind that Apple considers this a new interesting use case - not a killer feature for AirPods. They wouldn’t risk AirPod sale…

  18. comment
    Comment #41497073

    Of course you’re right and you really want to avoid getting to GC thrashing. IMO people still miss the old +UseGCOverheadLimit on the new GCs. That said trying to enforce overhead …

  19. comment
    Comment #41469955

    If your clojure pods are getting OOMKilled, you have a misconfigured JVM. The code (e.g. eval or not) mostly doesn't matter. If you have an actual memory leak in a JVM app what you…

  20. comment
    Comment #41101091

    Would be great if it included sequential sampling as well: https://www.evanmiller.org/ab-testing/sequential.html . Especially given how A/B tests usually get run in product compani…

  21. comment
    Comment #40835522

    Easier to explain with coin flips. Let’s say we do 100 flips - we know the “most likely” thing to happen is 50 heads and 50 tails. The actual probability of that is C(100, 50) / 2^…

  22. comment
    Comment #40648511

    I’ve come to a similar conclusion about “self-service BI” myself but my solution is somewhat different. The solution I have is move the layer of abstraction higher: make extremely …

  23. comment
    Comment #36398960

    I have the same issue with my router - it supports 1gbps but that’s a total over all ports. That total includes the WAN port. So the max throughout you can get from one port to the…

  24. comment
    Comment #35912103

    I’m going to go for the esoteric opinion: MariaDB. Specifically to get system versioned tables. Imagine having the full change history of every single row for any odd task that you…

  25. comment
    Comment #33069236

    I haven’t tried this framework, but just looking at some examples, the web sockets and sse seem a bit out of place. In a Loom world you’d expect these to use channels or queues or …