Can anyone comment on why this reservoir method would be a better choice than the old fashioned systematic sample? (which, BTW, only requires the generation of one random number to determine the starting record).
62 karma · joined April 9, 2013
Can anyone comment on why this reservoir method would be a better choice than the old fashioned systematic sample? (which, BTW, only requires the generation of one random number to determine the starting record).
I did OK, but only OK on it. His comment when we ran short of time was "Yeah, I think with a little debugging, that solution would probably work" but then he passed.
Perhaps it's just my bruised ego, but I think he made a bad decision. Here he is with 5 members of his own team saying that I'd be a great fit, but he basically selects for people who have encountered a puzzle with very little relation to the actual work involved in the role. He may as well have evaluated me as a developer on my ability to prepare a chocolate souffle in 30 minutes. It would have been roughly as representative of my skill set.
Here are a few ideas:
* Improve/extend the shoutcast server in Joe's book "Programming Erlang" (1st edition; I haven't read the 2nd edition)
* Make a simple dropbox tool to sync folders across machines
* Make a simple map/reduce tool to learn about that paradigm
* Build a chat server with web interface (this one is fairly common)
* Interested in VOIP? Try making something that can allow you to make VOIP calls between computers in your house
* Build a web server (also common enough to find lots of examples and tutorials)
* Twitter clone
* Log aggregator
* BitTorrent client
* Distributed hash table or NoSQL database
* Something to stream data (logs, newsfeeds, analytics) to or from multiple clients
* ....
I hope this helps :)
[ Edit: formatting is really hard on HN... :( ]
It's even worse than that. I recently read Jared Diamond's book The World Until Yesterday. In it he describes just how violent inter-group affairs can be among pre-industrial societies. Globally, the default is typically to kill anyone from another group before they have a chance to do the same to you.