hebdo
Joined 11 years ago
Joined 11 years ago
1) Configured via a special DSL (Varnish Configuration language) that gets translated into C, compiled and loaded into the Varnish process via a .so. Perfect combination of expressiveness and speed. You can even inline raw C code in it!
2) Heavy, good use of virtual memory. Varnish allocates quite a lot of gigabytes and leaves it up to the operating system to decide what should be in RAM and what should be on disk.
3) LRU garbage collection of cached objects requires a synchronized priority queue. Varnish people transformed the decades old idea of implementing a heap in an array that every CS graduate knows and came up with a faster, paging-aware solution (http://queue.acm.org/detail.cfm?id=1814327).
A war that need not have been fought was about to be
fought because of mutual misunderstanding, language
difficulties, and mistranslations.
Why did America drop the two bombs? Why did it not drop the first one over the Tokyo bay? Why Japanese leaders hesitated so much to surrender, despite being so much overwhelmed by foreign power? Why nobody managed to stop Hitler from inside Germany? Why all the genocides in the history had to happen?
The world is complicated, it does not always choose the right path. Decisions of even the greatest importance are sometimes made with insufficient information, and are subject to all kinds of cognitive failures. It's easy to judge after you know all the facts.
While I agree that H1B is a stupid system, for everybody, I also think you should be more careful with your choice of words. Saying H1B is slavery is like comparing US police brutality cases to Nazism.
You could literally ask the same questions about Mozart or Einstein. Let me try that: what's their secret? Can you learn it? Is it experience, something you either have or have not? Are men better suited for the job? What clues are you looking for while analyzing a theory? Is there something like a 'perfect' symphony, or did he make a list of positive and negative tone patterns? Are some chords more important than others?