161 karma · joined October 9, 2010
And judging by his response, i'd say he did - http://lkml.iu.edu/hypermail/linux/kernel/1510.3/02919.html
Also, a good reference point to compare performance to is math libraries, like eigen/mtl/ibm essl or something like that.
It turns out there are kernel-mode webservers (or there were, at least), which seriously outperform user-mode ones. https://www.usenix.org/legacy/events/usenix01/full_papers/jo... (page 11; article is old, but anyway)
Could you please provide some evidence to support that?
You can grasp in about an hour concepts like "index", "staging area" and other that the article mentions.
But those are not the reasons why git is hard.
What really concerns me is why never in benchmarks they perform on already filled database (like, 14G, 28G, 60G)? Because "add 100k random keys into an empty database" is very different from "add 100k random keys into a large database". And that is where more novel algorythms start to shine.
Yes, read speed of leveldb (and, i assume, sophia) with its fancy sst's is lower than of plain old b-trees or hashtables (kctree/kchash), but it is still high enough for most tasks. Write performance of kc* (and btree-based libraries in general) is, however, unacceptable, at least on hard drives, and even with a reasonable-sized database (~90% of RAM) it degrades to a couple of random write per IOPs (so, 200-300 writes per second on a consumer-grade HDD, or up to 1000 on a 2x10k sas hdd in raid-0, if i remember correctly)
It may be reasonable to use kc* on SSD, but i did not test that.
That task was the most algorithm-intense task I ever had, and that algorithmical part took 20% of the time. 80% was straight coding, glueing things together, testing and putting all that in production system.
7. a = "5"; b = 2; c = a+++b;
Why even ask that? It's boring. And operator precedence is not really important in practive, and it's bad style and no one writes like that. It's a question for junior-level interview, when you can't ask anything meaningful and (because you have to ask anything) you ask _this_.
9. (16).toString(16)
Oh, so Guru should memorize every obscure parameter, shouldn't he?
Other questions are fine, though (except 10. Numerical systems, c'mon, it's 2013, not 1980s)
http://eugenekaspersky.files.wordpress.com/2012/06/dec.png
http://translate.google.com/translate?sl=ru&tl=en&js...
upd: court order: http://www.scribd.com/doc/98161737/Https-Ecf-txed-Uscourts-g...
http://www.scribd.com/doc/98161154/Https-Ecf-txed-Uscourts-g...
pics: http://imgur.com/a/idFF6 https://github.com/mambaru/btp-daemon - and google-translated text https://gist.github.com/3139890
Anyone interested? Is it worth to translate it to english?
(also, this variant is better because you can mitigate performance losses by moving all reflection operations out of lambda function to its parent, make_named_array_function)
It's gone
* The query engine of MongoDB still can only use of one index per query. How insane is this?
MySQL uses one index per query and it's fine with that. What else do you want? It's a tree index, there's no any magic there.
* Having no option to perform an operation comparable to UPDATE table SET foo=bar WHERE..
In fact, you have that option. That's what modifier operations are for.
* there are already too many moving parts in a setup for scalable applications.
Oh my god! Creating scalable applications is hard! I thought MongoDB would do that for me, but it did not.
I think that no-nosql hype is even worse than nosql hype. That's when you suddenly realize: no, it's NOT WEBSCALE.
$data = $cache->get('key',function() {
// do the stuff if cache misses
return $some_value_to_be_cached;
});
? It's quite handy and it forces you to separate actual logic to get the value, which is good by itself.Links, as you describe them, can be implemented with javascript. I'll try to make an example on weekend.