Live data from Hacker News

Viewing profile — zhong-j-yu

zhong-j-yu

HN member
Joined
Mon, Jul 07, 2014, 3:26 PM UTC
HN karma
56
Public activity
37 items

About zhong-j-yu

http://bayou.io

Recent public activity

  1. story
  2. story
  3. story
  4. story
  5. comment
    Comment #19828967

    I got hit by the bug just 10 minutes ago.

  6. story
  7. comment
    Comment #9722750

    Are you judging a person based on his nationality?

  8. comment
    Comment #9722685

    There's not much difference between government power and mob power. The end result is the same. You'll be disappointed if you hold the general public to a higher intellectual stand…

  9. comment
    Comment #9511520

    I don't use maven, but people ask for maven POM for my open source project ( http://bayou.io ), which makes sense. So I read about maven; I read, and I read, ... still poop. It see…

  10. story
  11. story
  12. comment
    Comment #8140373

    The single-event-thread design is not without its own problem; programmers have difficulty in understanding and abiding to it too. Here we have an inherently concurrent problem - u…

  13. comment
    Comment #8140136

    I apologize for the sensational and generalizing title. What I'm talking about is focused on web applications, and from empirical data, it seems that most web servers handle very f…

  14. comment
    Comment #8140084

    while the syntax can be as simple as that, there is still a difference, and the programmer still needs to be very careful. what if you accidentally forget the `"!"`?

  15. comment
    Comment #8140072

    I use the word from the programmer's point of view; it's irrelevant how things are done under the hood. For example, in Go, when you read a value from a channel, it's just like a g…

  16. comment
    Comment #8139976

    One-thread-per-connection is very bad. But one-thread-per-request is probably not that bad.

  17. comment
    Comment #8139912

    That's a matter of terminology. I don't call `go` "async".

  18. comment
    Comment #8139888

    Because we have multiple app servers, but only one reverse-proxy? I don't want to centralize a task that could be distributed.

  19. comment
    Comment #8139877

    what I meant is whether it's a fad to spread async everywhere inside application code, and call that a good thing. the computer is of course async in nature; but the abstraction on…

  20. comment
    Comment #8139851

    There is no problem to modify UI state from any thread; just put up some synchronizations. The hard part is, if the modifications do not form a single, predictable, serialized chai…

  21. comment
    Comment #8139817

    I agree that external IO most likely would benefit from async. But, we don't need to turn the entire request-response code flow into async style, just because of one async call. We…

  22. comment
    Comment #8139794

    I agree, async is needed sometimes. Another example, a server broadcasts an event to multiple clients (e.g. a chat app), it would be silly to spawn a thread per client for that.

  23. comment
    Comment #8139756

    I would rather buffer the entire response in the app server, instead of in the central reverse-proxy.

  24. comment
    Comment #8139727

    I absolutely love Quasar. Nevertheless, there's an honest question whether it is actually needed in majority of applications. I think not.

  25. comment
    Comment #8139712

    We can argue that thread sucks because it is expensive. But we must measure how expensive it actually is in real world applications, before abandoning it. If a server must maintain…