HNHacker News
TopNewBestAskShowJobs

colefichter

62 karma · joined April 9, 2013

Software Development & Engineering coach. Find me at http://www.colefichter.ca
submissionscomments
colefichter··on Algorithms Every Programmer Should Know: Reservoir Sampling
I might be misunderstanding something, but this seems much more complex than systematic sampling, which is well understood even in the case where the number of records (read: population size) is unknown (this situation occurs in quality control on an assembly line).

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).

colefichter··on Stuff I've Messed Up While Interviewing
Wow, I just went through the exact same thing (except it took 5 months!). I had 5 interviews (1 non-technical) which went really well, then a sixth, and final, technical interview with the VP of Engineering in which he threw at me a math puzzle that I had never seen before. Of course it's in pseudocode in a Google Doc, so it's basically sink or swim.

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.

colefichter··on Ask HN: Concurrent Programming Projects for beginners?
Huh, I can't believe there haven't been _any_ replies on this. Sorry about that.

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... :( ]

colefichter··on You Can See the Milky Way
So astronomy isn't your thing, that's cool. Perhaps you'd be more moved by considering just how much energy and money are wasted to create that light pollution? That's another important part of the issue.
colefichter··on After California decriminalized pot, teen arrest, overdose, dropout rates fell
One thing that seems to be missing from your replies is an acknowledgement that the criminal justice system is likely not a particularly effective way to repair the problem(s) that you've highlighted. I think we'd do well to at least discuss the possibility that there are better ways to handle your child neglect example than locking up the parents and throwing away the key. We need to focus on harm reduction and the medical treatment of addiction if we really care about the safety of the child in your example.
colefichter··on Anthropology: The sad truth about uncontacted tribes
> I never thought that most of their fear was due to prior killings or disease through both uncaring and caring encounters.

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.

colefichter··on A tale of two spacecraft
Thanks for posting this, jordanyeo!
← PreviousPage 2 of 2