Sunday, January 30, 2011
Saturday, January 29, 2011
Now tell me what is the complexity of this algo?
Friday, January 28, 2011
Thursday, January 27, 2011
Wednesday, January 26, 2011
Tuesday, January 25, 2011
Monday, January 24, 2011
Sunday, January 23, 2011
You need to retrieve all the documents matching queries where wild cards are allowed. A wild card * will match any sequence of characters, and a wile card ? will match a single character.
Implement a C++ solution.
Saturday, January 22, 2011
Wednesday, January 19, 2011
Tuesday, January 18, 2011
Monday, January 17, 2011
Optional: consider how to serialize the data structures, by using STL & Boost.
Sunday, January 16, 2011
Being 40, and got a new place to stay with a large garden (the second one with a garden)
Being 40, and got a new baby
Being 40, and got a new MBA course to start
Being 40, and hacking my coding project just for fun
Being 40, and want to have an impact more than ever
Saturday, January 15, 2011
Friday, January 14, 2011
Thursday, January 13, 2011
Wednesday, January 12, 2011
Tuesday, January 11, 2011
PS: hard one if you want to be under cubic complexity. It is what you should expect for 1/11/11 -- those are some sort of segments where collinear points can lie.
Monday, January 10, 2011
Sunday, January 9, 2011
they will return a valid json enclosed in a piece of code which goes on infinite loop.
Kinda of naive filter for people poking around and doing naive eval of json fragments? This happens for all the json queries submitted to Facebook.
Saturday, January 8, 2011
Friday, January 7, 2011
Thursday, January 6, 2011
Wednesday, January 5, 2011
Tuesday, January 4, 2011
Monday, January 3, 2011
Sunday, January 2, 2011
For long time my preferences went to static and strong type systems, then I am become a fan of dynamic ones. What about you?
Enjoy this lovely reading for your 1/1/11 day
Saturday, January 1, 2011
- 107 trillion – The number of emails sent on the Internet in 2010.
- 294 billion – Average number of email messages per day.
- 1.88 billion – The number of email users worldwide.
- 480 million – New email users since the year before.
- 89.1% – The share of emails that were spam.
- 262 billion – The number of spam emails per day (assuming 89% are spam).
- 2.9 billion – The number of email accounts worldwide.
- 25% – Share of email accounts that are corporate.
- 255 million – The number of websites as of December 2010.
- 21.4 million – Added websites in 2010.
- 39.1% – Growth in the number of Apache websites in 2010.
- 15.3% – Growth in the number of IIS websites in 2010.
- 4.1% – Growth in the number of nginx websites in 2010.
- 5.8% – Growth in the number of Google GWS websites in 2010.
- 55.7% – Growth in the number of Lighttpd websites in 2010.
- 88.8 million – .COM domain names at the end of 2010.
- 13.2 million – .NET domain names at the end of 2010.
- 8.6 million – .ORG domain names at the end of 2010.
- 79.2 million – The number of country code top-level domains (e.g. .CN, .UK, .DE, etc.).
- 202 million – The number of domain names across all top-level domains (October 2010).
- 7% – The increase in domain names since the year before.
- 1.97 billion – Internet users worldwide (June 2010).
- 14% – Increase in Internet users since the previous year.
- 825.1 million – Internet users in Asia.
- 475.1 million – Internet users in Europe.
- 266.2 million – Internet users in North America.
- 204.7 million – Internet users in Latin America / Caribbean.
- 110.9 million – Internet users in Africa.
- 63.2 million – Internet users in the Middle East.
- 21.3 million – Internet users in Oceania / Australia.
- 152 million – The number of blogs on the Internet (as tracked by BlogPulse).
- 25 billion – Number of sent tweets on Twitter in 2010
- 100 million – New accounts added on Twitter in 2010
- 175 million – People on Twitter as of September 2010
- 7.7 million – People following @ladygaga (Lady Gaga, Twitter’s most followed user).
- 600 million – People on Facebook at the end of 2010.
- 250 million – New people on Facebook in 2010.
- 30 billion – Pieces of content (links, notes, photos, etc.) shared on Facebook per month.
- 70% – Share of Facebook’s user base located outside the United States.
- 20 million – The number of Facebook apps installed each day.
- 2 billion – The number of videos watched per day on YouTube.
- 35 – Hours of video uploaded to YouTube every minute.
- 186 – The number of online videos the average Internet user watches in a month (USA).
- 84% – Share of Internet users that view videos online (USA).
- 14% – Share of Internet users that have uploaded videos online (USA).
- 2+ billion – The number of videos watched per month on Facebook.
- 20 million – Videos uploaded to Facebook per month.
- 5 billion – Photos hosted by Flickr (September 2010).
- 3000+ – Photos uploaded per minute to Flickr.
- 130 million – At the above rate, the number of photos uploaded per month to Flickr.
- 3+ billion – Photos uploaded per month to Facebook.
- 36 billion – At the current rate, the number of photos uploaded to Facebook per year.
Data sources and notes: Spam percentage from MessageLabs (PDF). Email user numbers and counts from Radicati Group (the number of sent emails was their prediction for 2010, so it’s very much an estimate). Website numbers from Netcraft. Domain name stats from Verisign and Webhosting.info. Internet user numbers and distribution from Internet World Stats. Facebook stats from Facebook and Business Insider. Twitter stats from Twitter (and here), TwitterCounter and TechCrunch. Web browser stats from StatCounter. YouTube video numbers from Google. Facebook video numbers from GigaOM. US online video stats from Comscore and the Pew Research Center. Flickr image numbers from Flickr. Facebook image numbers from this blog.