Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

wow, i did this in 2015 https://twitter.com/kcimc/status/619889224909750272 https://gist.github.com/kylemcdonald/da198988061dce54bae6a67... it's great to see all the examples in this thread going all the way back to 2009! i had no clue this was a thing.


Belated congratulations! This is really cool and it's always interesting to see the different approaches people take, so especially valuable to share the code. I'll definitely put this one in the addendum.

The hardcoded ID in your code was added after it was generated just before deleting everything else, right? Otherwise I'm stumped.


Thanks! I think you are correct, after the successful completion I added that statement as a safety before deleting all other previous attempts. Reading this code again it really could have used the data more efficiently to predict the correct ID faster, but if I remember correctly it didn't take very long to run so I never made another attempt.




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

Search: