Hacker News new | past | comments | ask | show | jobs | submit login

Or you could just order that data from Experian Automotive, which has vehicle registration data from all US states.



But (I assume) that only has the home address of the car. This method can be clearly extended to do things like measuring the socio-economic features of people parked at events etc.


But I need to get a job at one of the big tech companies, and so I need to show them I can do deep learning.


Doesn't matter! You'll still be asked to write perfect code, with awesome variable names, on a whiteboard, with eyes closed.

Don't forget to do handstands to stand out from the crowd.


Don't forget to practice doing math like 36^5 in your head. No pencil or paper allowed!


Well, let's see, 36 is 00100100 in binary. Binomial coefficients are 1 5 10 10 5 1. 2^25 + 5 * 2^22 + 10 * 2^19 + 10 * 2^16 + 5 * 2^13 + 2^10. 10 is 5 * 2, so bit shift those middle two. 5 is binary 0101, so add copies bit shifted by 2. 2^25 + 2^24 + 2^22 + 2^22 + 2^20 + 2^19 + 2^17 + 2^15 + 2^13 + 2^10. Comes out to

  0011 1001 1010 1010 0100 0000 0000
  0x039AA400
Which is a perfectly cromulent numeric response. If the interviewer asks what that is in decimal, they ought to be glad I don't have a pencil, because it would end up in someone's eye on my way out the door.


Me as interviewer: have you heard of the XOR operator?


Yeah, it looks like a plus sign with a circle around it. It's not in the ASCII character set.

Sometimes, programming languages will use the caret character to represent XOR for boolean types and bitwise XOR for integral types, perhaps using two asterisks for exponentiation, or leaving it as a named function call, like Math.Exp or Math.Pow. But you have to be careful there, because sometimes Math.Exp is actually the inverse of the natural log function, rather than exponentiation.

If caret means XOR, then 36 ^ 5 is 0010 0001, or 33.

And that is the point where the interviewer marks me as "do not hire", because they can't stand it when they can't show off how smart they are to the candidate.


If you would need to practice that, the job is not for you.


It seems like the idea is to use this method places outside of the US, which may not have the same level of data available.


I once attended a talk in which the speaker presented a system for inferring the orientation of a mobile device in space. This was before smart phones and the system used accelerometers, some computer vision, and fancy algorithms which were running on a server because the device didn't have enough computing power. One person in the audience asked: Why don't you simply use a compass? The answer was silence.


Nah, that data is weeks old. Some states are as slow as 3 months to hand the registration data to Experian. Better to scrape classifieds ads to see what people are selling ;-)




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: