News for hackers. Stuff that matters.
Re:True hacker resume: CV as Python unit test by studer on Thursday July 15, 2010 @05:16PM (#1519227)
> this should be a lesson: if you're going to do a "hacker" resume, it should be perfect and actually parse/compile and run.

It does parse/compile and run. Try it.

Re:True hacker resume: CV as Python unit test by generalk on Thursday July 15, 2010 @05:23PM (#1519259)

  Traceback (most recent call last):
    File "/tmp/resume.py", line 2, in <module>
      from companies import YourCompany
  ImportError: No module named companies
Am I missing something?
Re:True hacker resume: CV as Python unit test by ElliotH on Thursday July 15, 2010 @06:00PM (#1519385)
Yup, the companies namespace is theoretical (containing presumably every company in existence) and contains a class YourCompany - that represents the interviewer's company.

Because companies doesn't actually exist there is an import error. If you were to create a class to substitute in you'd need something like:

  class YourCompany:
      def unit_tests_code():
          return True
      ...
Re:True hacker resume: CV as Python unit test by studer on Thursday July 15, 2010 @05:44PM (#1519321)
Yeah, you're so completely missing the point of his code that I have to question the intelligence of both yourself and everyone who's upvoted your message. Is this stupid night on Hacker News, or what's going on here?

(And yes, I'm 100% serious. Your reply is the dumbest thing I've ever seen on this site.)