3 ms·
wow, i did this in 2015 https://twitter.com/kcimc/status/619889224909750272 https://twitter.com/kcimc/status/619889224909750272 https://gist.github.com/kylemcdo
by kcimc 6y ago
wow, i did this in 2015 https://twitter.com/kcimc/status/619889224909750272 https://twitter.com/kcimc/status/619889224909750272 https://gist.github.com/kylemcdonald/da198988061dce54bae6a674a0aba450 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.
- OisinMoran 6y agoBelated 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.
- kcimc 6y agoThanks! 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.