Live data from Hacker News

Viewing profile — nitely

nitely

HN member
Joined
Wed, Apr 16, 2014, 8:37 PM UTC
HN karma
255
Public activity
145 items

About nitely

just a pragmatic programmer nitely @ github

Recent public activity

  1. comment
    Comment #47497318

    It's similar to RE2, but it lacks the on the fly DFA, ie: it's just the classic Thompson's NFA with some tweaks. It does not implement find all the same way, though.

  2. comment
    Comment #47496480

    FWIW, nim-regex does achieve linear time in the rebar test[0], even if the regex includes capture groups. It's NFA based. [0]: https://github.com/BurntSushi/rebar/pull/20#issuecomm…

  3. comment
  4. comment
    Comment #43951956

    Yes, and the client may do multiple requests, and if all take long to be processed you may end up with a lot of open connections at the same time (at least on http1), so there is a…

  5. comment
    Comment #43950772

    > What benefit is SSE providing here? Let the client decide when a session starts/ends by generating IDs and let the server maintain that session internally. The response is genera…

  6. comment
    Comment #43667676

    not if you need bidirectional communication, for example a ping-pong of request/response. That is solved with WS, but hard to do with SSE+requests. The client requests may not even…

  7. story
  8. comment
    Comment #43207691

    There is a gem that implements lightweight threads[0], and there is an HTTP/2 server that seems to abstract things out[1]. Your point probably still holds in the context of ruby + …

  9. comment
    Comment #43205412

    In reality you would build your application server on top of the HTTP/2 server, so you'd not have to deal with multiplexing, the server will hide that from you, so it's the same as…

  10. comment
    Comment #43205061

    > I think ReadableStream/WritableStream APIs on browsers were supposed to change that, but I haven't followed the progress in the last few years. There has been a lot of pushback a…

  11. comment
    Comment #43200444

    > A h2 proxy usually wouldn't proxy through the http2 connection, it would instead accept h2, load-balance each request to a backend over a h2 (or h1) connection. Each connection n…

  12. comment
    Comment #43198634

    In theory request smuggling is not possible with end-to-end HTTP/2. It's only possible if there is a downgrade to HTTP/1 at some point.

  13. story
  14. comment
  15. comment
    Comment #42050200

    They are going to add boilerplate free error handling sooner or later. There are many proposals for "Go 2" already.

  16. story
  17. comment
    Comment #41747811

    Something not mentioned: web-browsers limit the number of connections per domain to 6. With +http/2 they will use a single connection for multiple concurrent requests.

  18. comment
    Comment #41201827

    If those libraries are doing something at import time, then it could take any amount of time, TBF.

  19. comment
    Comment #40836596

    I'll second this. There are a lot of good managers that care more about the product than some team metrics. Same for coworkers that care about improving. Don't let one bad manager …

  20. comment
    Comment #40431848

    Look-arounds can be implemented in quadratic time for unbounded expressions (i.e: containing +, *), and linear time for bounded expressions quite easily. And I suspect they can be …

  21. comment
    Comment #39331218

    Explaining the reasoning while solving the code puzzle is the most important part, though. Just being able to solve them without speaking a word has never been enough. Unless you a…

  22. comment
    Comment #38695818

    idk who wins, but I'd assume extroverts need a quiet environment to be able to focus as much as anyone else.

  23. comment
    Comment #38579119

    I implemented a variation long ago to parse regular expressions (regex) [0]. Albeit I did some pre parsing for things like character classes and lookarounds. [0]: https://github.co…

  24. comment
  25. comment
    Comment #37168112

    How can you test all of that? through leetcode kinda questions you surely cannot. Maybe behavioral questions are close, but you would do those in both types of hiring processes, no…