If you're making the decision to hire me based on my public github, you're making a mistake.
Github-ism is a bit like credentialism, it lowers your risk but risk is where the interesting stuff happens.
There are two ways to hire, the lazy risk-minimizing way and the non-lazy investment minded way. If you put a maximum amount of effort into trying to reduce the risk of hiring you're going to cut your potential RoI off at the knees. You only hire people that are currently employed, because you want to rely on someone else's work in evaluating a potential employee. You only hire people with the right credentials who have relevant experience in exactly the technologies your company is using right now. You only hire people with very explicit demonstrations of their coding capability. Candidates that have such an easy time proving themselves are naturally going to be the easiest to hire. Not just by you, by everyone. Which means it's going to be more expensive to acquire them.
You should still acquire employees such as these, but if that's all you're doing you're throwing away a lot of potential. If you can manage to put together enough internal talent to be able to interview candidates even remotely well enough to make an independent and more or less objective check on their skills and capabilities then that gives you a potentially very significant competitive advantage.
Some of the best coders I've worked with came from diverse backgrounds and didn't have the "right" credentials or resumes. Several of the smartest and proficient programmers I've worked with have not had college degrees. Many others didn't have CS degrees.
Being able to find these folks and hire them because you can tell they have talent is a great opportunity to extract RoI from the hiring process, which is normally seen as just a cost-center.
It's important to understand that.
I always assumed public repositories are for these types of projects too. "Hey this code isn't clean or maybe finished but it solves this really specific problem maybe it could help someone". I understand being nervous about not putting your best code out there but I think there is also something to be said for releasing your problem solving attempts.
Also, in the first paragraph of the post "github or other code portfolio". The whole criticism was with respect to employers who only use github as a filter.
Option A: photoa.jpg Lee Carp is one of the two cofounders of BayesianWitch. He graduated from the University of Chicago with an AB in Sociology - specializing in understanding how technology shapes culture. He is fascinated by how marketing, technology and data intersect. He likes to swim and bake in his spare time. http://www.bayesianwitch.com/media/img/photob.jpg
Option B: photob.jpg Shana Carp is the two cofounders of BayesianWitch. She graduated from the University of Chicago with an AB in Visual Art - specializing in understanding how technology shapes culture. She is fascinated by how marketing, technology and data intersect. She likes to swim and bake in her spare time. http://www.bayesianwitch.com/media/img/photob.jpg
However, the domain is registered to Chris Stucchio, the HTTP metadata shows the S3 account name stucchio, the user making this HN post links to Chris Stucchio's weblog, and in that blog he isn't averse to spicing things up with an occasional picture of a scantily clad lady [1]
Whether bayesianwitch is a company with one, two, three or more employees we can only speculate!
[1] http://www.chrisstucchio.com/blog/2013/human_checksum.html
This part of a broader problem with the industry. Tech companies subscribe to stupid hiring fads (see Google's earlier reliance on brain teasers) and apply hyper-specific screening criteria (10+ years of .NET experience), then bitch and moan when they have winnowed their applicant pool to nothing and can't meet their recruitment goals.