16,949 reputation
12879
bio website careers.stackoverflow.com/…
location Amsterdam, The Netherlands
age 38
visits member for 3 years, 5 months
seen yesterday

Expat for last 10 years and counting.


Aug
22
comment Algorithm to pick user
@DocBrown: I can imagine some kind of B-tree, where you'd do O (log(n)) recalculations rather than O (n) on update/insert/delete.
Aug
22
comment Algorithm to pick user
@DocBrown: question is clearly about algorithm, not about code for quick-dirty hack.Thus this answer is wrong, because this is not the correct algorithm.
Aug
22
comment Algorithm to pick user
-1: it's an easy hack, but it's way sub-optimal if the ranks are higher than single digits.
Aug
16
answered Benchmark of asynchronous code
Aug
13
answered Is it possible to build software that interprets video in real time?
Aug
2
answered What is the intention behind asking weight of plane?
Aug
1
comment Do I need to return error: null in JSON response?
@JanHudec: 400 is any bad request, doesn't matter if it's malformed HTTP, a syntax error or just request that doesn't pass the validation. Using 400 in this case is for example the standard way as described in the "RESTful Web Services" book
Aug
1
comment Do I need to return error: null in JSON response?
@JanHudec: actually the 403 here is wrong. For bad parameters you should use "400 Bad Request".
Jul
28
awarded  Popular Question
Jul
22
comment Can PHP be used for desktop application development?
Can a teaspoon be used to dig a tunnel?
Jun
30
comment At what size of data does it become beneficial to move from SQL to NoSQL?
@johannes: Sorry, but you're just wrong. There are certain thresholds beyond which simple techniques as scaling up do not work anymore. SQL RDBMSes are quite versatile, but they are no silver bullet.
Jun
30
comment At what size of data does it become beneficial to move from SQL to NoSQL?
While it's true, it's not the answer to the question asked.
Jun
30
comment At what size of data does it become beneficial to move from SQL to NoSQL?
@johannes: you say terabytes, which is like less than a half of one commodity HDD. OTOH, I've worked with petabyte sized NoSQL solutions, and in the world of Big Data that's rather small, big players like Google, FB, Amazon or NSA deal with yottabytes.
Jun
28
comment Why is Quicksort called “Quicksort”?
Timsort, which is improved quicksort, does not take name after how it works, but rather from it's inventor. Names like flashsort or introsort don't tell you much about algorithm either.
Jun
28
comment At what size of data does it become beneficial to move from SQL to NoSQL?
@wobbily_col: probably, OTOH in case of MongoDB it doesn't matter that much, as it has automatic sharding and you can always scale out.
Jun
28
comment At what size of data does it become beneficial to move from SQL to NoSQL?
@johannes: true, however I don't think it's good idea to keep data that you'd hardly ever use in production database. In other words, I assume that if you have something in the production database, it's because you need it.
Jun
28
comment At what size of data does it become beneficial to move from SQL to NoSQL?
@Blrfl: good point, edited.
Jun
28
revised At what size of data does it become beneficial to move from SQL to NoSQL?
added 25 characters in body
Jun
28
revised At what size of data does it become beneficial to move from SQL to NoSQL?
added 87 characters in body
Jun
28
revised At what size of data does it become beneficial to move from SQL to NoSQL?
added 416 characters in body