Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
halayli
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
68 ms
·
751.
▲
by
halayli
14y ago
checkout http://getpocket.com
752.
▲
by
halayli
14y ago
http://webmon.com external website & network monitoring
753.
▲
by
halayli
14y ago
I had the same issue - went to Apple and got a new one without warranty.
754.
▲
by
halayli
14y ago
Yeah few milliseconds are going to make a difference here.
755.
▲
by
halayli
14y ago
I would like to hear your feedback.
756.
▲
by
halayli
14y ago
How is this different than Skype? * I can have permanent group chats in Skype * 1-on-1 chat * Skype is supported in all devices * I can share files Am I missing something?
757.
▲
by
halayli
14y ago
Welcome to templates and inline functions.
758.
▲
by
halayli
14y ago
What's wrong with omnigraffle + wireframe stencil ?
759.
▲
by
halayli
14y ago
read
760.
▲
by
halayli
14y ago
I think when you run out of physical memory & swap, there's a bigger issue at that point. Or that's what the designers of overcommit decided.
761.
▲
by
halayli
14y ago
malloc failure isn't just bound to running out of physical memory. It can fail because of fragmentation, with or without overcommit.
762.
▲
by
halayli
14y ago
This C code is bad for the following reasons: 1. No alloc checks 2. This module is limited to storing integers. 3. The type Vector is exposed to the user. An alternative approach for contiguous dynamically sized array is to use mmap/madvise
763.
▲
by
halayli
14y ago
Hiring a new employee, and ramping them up (which results in communication overhead and noise from learning) is very costly. Sometimes, a counter-offer is a good solution.
764.
▲
by
halayli
14y ago
grep -E is good enough. But whatever works. Saying "You should stop using them. Now." is ridiculous. Why do I need to stop anything if it does what I need?
765.
▲
by
halayli
14y ago
It's more accurate to say: I hate bad comments.
766.
▲
by
halayli
14y ago
No support for python classes?
767.
▲
by
halayli
14y ago
yield != coroutine. if f1 -> f2 -> f3 -> yield, you only go back to f2. Coroutines requires yielding all the way to f1.
768.
▲
by
halayli
14y ago
A good balance I found is to have a dedicated server with a stand by AMI in the cloud and switch over using DNS. What you pay for in the cloud is convenience and not performance.
769.
▲
by
halayli
14y ago
It's great but I wish they added the ability to comment on a line.
770.
▲
by
halayli
14y ago
it seems it's a dns issue.
771.
▲
by
halayli
14y ago
yep - just got an alert.
772.
▲
by
halayli
14y ago
webmon.com (click on demo) shows it's been up from 4 locations with couple glitches in the past hour.
773.
▲
by
halayli
14y ago
It's hard to understand any programming language if you haven't taken the time to learn its syntax. Unlike teaching programming, the problem I see in teaching math is that the syntax is slipped into the lessons without making a conscious ef
774.
▲
by
halayli
14y ago
Write a C program that creates a a single tcp connection, and an infinite loop that just calls write(2) or send(2) and then do the same for UDP. I'd be very surprised if you can cross 60k calls / sec. Given that, how can you send 2M or rece
775.
▲
by
halayli
14y ago
Hmm, you cannot make 2M read/write syscalls a sec. So what's the definition of a message here and through what transport medium does it go through?
776.
▲
by
halayli
14y ago
The overhead of context switching becomes pretty high. Some say that context switching has become cheap, but you still at the very least need to update the tlb, and schedule the next pthread.
777.
▲
by
halayli
14y ago
Since each thread is an actual kernel thread, this will limit the concurrent connections to the maximum number of threads a kernel can handle which isn't that high.
778.
▲
by
halayli
14y ago
I might be missing something here but assuming varnish is using mmap()+madvise(), accessing memory might block the thread until the page fault is served, which is not ideal for a user-facing server. If you manage your own memory/swap, at le
779.
▲
by
halayli
14y ago
You came back. C++ is hard to appreciate without a good amount of programming experience. A general pattern I am seeing is that programmers learn C++ as their first language, move to Java, Python, etc.. gain some experience and then they co
780.
▲
by
halayli
14y ago
C++ didn't go anywhere to come back. You are probably surrounded by different people now that don't use C++, and hang out on different sites online. It feels you are trying to find a language that will fit all problems. What happened to usi
More ›