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
- HN profile
- View on Hacker News ↗
About zhong-j-yu
Recent public activity
- story
- story
- story
- story
-
comment
Comment #19828967
I got hit by the bug just 10 minutes ago.
- story
-
comment
Comment #9722750
Are you judging a person based on his nationality?
-
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…
-
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…
- story
- story
-
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…
-
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…
-
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 `"!"`?
-
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…
-
comment
Comment #8139976
One-thread-per-connection is very bad. But one-thread-per-request is probably not that bad.
-
comment
Comment #8139912
That's a matter of terminology. I don't call `go` "async".
-
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.
-
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…
-
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…
-
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…
-
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.
-
comment
Comment #8139756
I would rather buffer the entire response in the app server, instead of in the central reverse-proxy.
-
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.
-
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…