Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
kqueue
searching Neon…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
30 ms
·
151.
▲
by
kqueue
16y ago
It can be improved, here's my version from a c program but can be used in objc in the say way. http://pastebin.com/nbgdaGXJ
152.
▲
by
kqueue
16y ago
I think procrastination is not the problem. It is an effect rather than a cause. I procrastinate waiting until I feel I can focus on the problem. Removing distractions won't help much. When I feel I can focus, nothing can distract me. Pro
153.
▲
by
kqueue
16y ago
self discipline and consistency.
154.
▲
by
kqueue
16y ago
I don't think the author knows much about html5 or the concept of canvas in general. If he goes to http://www.chromeexperiments.com/ , he'll realize that all this is doable.
155.
▲
by
kqueue
16y ago
"public album" might confuse users given that the title says "privately and in groups".
156.
▲
by
kqueue
16y ago
I bet you most of the users did not notice this difference. What they noticed probably is speed, and the fact that you can scroll and move around the map without clicking the side arrows (mapquest style).
157.
▲
by
kqueue
16y ago
You obviously don't know much about Python... and very little about programming.
158.
▲
by
kqueue
16y ago
Learn Python and you'll notice why perl doesn't make sense.
159.
▲
by
kqueue
16y ago
very few proxies support pipelining. You shouldn't be surprised at all. Try implementing pipelining in proxies and you'll figure that it isn't worth the effort.
160.
▲
by
kqueue
16y ago
This feature exists for a long time now.
161.
▲
by
kqueue
16y ago
From experience, my rule of thumb is to select projects that takes around one month to finish (give or take). Any longer project will be a challenge to finish because you'll lose motivation (for various reasons). Launching quickly will give
162.
▲
by
kqueue
16y ago
so every time an app gets refused we have to whine and blog about it? bloggers are becoming obnoxiously louder every day.
163.
▲
by
kqueue
16y ago
I know the author is showing that he is disappointed, but we all know he is proud, more than anything else.
164.
▲
by
kqueue
16y ago
First, they copied Apple iPhone and created Android. Now they are going iPad and creating this tablet. Very innovative Google. very.
165.
▲
by
kqueue
16y ago
Hmm, obviously you haven't written any serious http proxy/server that required to handle 10k+ of concurrent connections. Couple of thousands of sync connections is nothing in high performance servers. There isn't much scheduling about corou
166.
▲
by
kqueue
16y ago
Threads are bad for highly concurrent systems that wants to run fast. Running 10000 threads will result in huge amounts of context-switching because it is the kernel's job to schedule the threads and run them. Now compare that to coroutines
167.
▲
by
kqueue
16y ago
I don't get it, why do you want to introduce new factors irrelevant to what you are testing (epoll vs poll)?
168.
▲
by
kqueue
16y ago
When the kernel calls poll, poll will access memory in the kernel address space because that's where it is running. All the addresses accessed in any system call are in the kernel address space. They don't go back and forth and swap vm poin
169.
▲
by
kqueue
16y ago
When the kernel is executing a function call placed on the stack, all the addresses on the stack are assumed in the same vm space. It does not know that an address is actually a virtual memory address belonging to process X and tries to fig
170.
▲
by
kqueue
16y ago
Sorry, I meant level-triggered. :) I think edge-triggered does add an extra overhead as you stated.
171.
▲
by
kqueue
16y ago
The pointer referred to by the process is not accessible by the kernel because when the user process was running, it had a different vm space than the kernel vm space. So if it just passes the pointer (without copying the pointer's data), t
172.
▲
by
kqueue
16y ago
For the kernel to execute a system call, it has to place the arguments on its stack. a system call doesn't execute in the userland.
173.
▲
by
kqueue
16y ago
Lets assume we have 20k opened FDs. In case of poll(), you have to transfer this array of FDs from the userland vm to the kernel vm each time you call poll(). Now compare this with epoll() (let's assume we are using EPOLLET trigger), when y
174.
▲
by
kqueue
16y ago
I bet the government is interested in all the gossip that goes around on BlackBerry service.
175.
▲
by
kqueue
16y ago
HN has really changed. This question is an example. This is not readdit.
176.
▲
by
kqueue
16y ago
Event driven servers should not block on disk i/o, dns queries, or db calls [by using/writing async libs]. At least the well written ones. Else the Server Is likely to be dos-ed. The author is wrong in using a db call as an example. Secondl
177.
▲
by
kqueue
16y ago
Facebook is not about features anymore. It is about the fact that they have 500M users. When you want to compete with Facebook, you have to grab 30% from the 500M to your side to call it a competition. You have to convince them that you hav
178.
▲
by
kqueue
16y ago
Pick the simplest idea and implement it in one month. Sometimes what you think might be cool can turn out to be boring, but only after you have wasted a year on it.
179.
▲
by
kqueue
16y ago
It takes more cpu cycles to run a java program than a C program given they are both well written and optimized. However, writing it in C will probably take more time. The question to ask yourself, does it matter if my program is taking few
180.
▲
by
kqueue
16y ago
The title sounds like: Wear MJ shoes and you'll play like MJ.
More ›