Photo
Published session.js - a library that allows you to easily grab session information.
https://github.com/codejoust/session.js

The gold star is a nice touch.

Published session.js - a library that allows you to easily grab session information. https://github.com/codejoust/session.js

The gold star is a nice touch.

Text

Procrastination

Today I learned that a Stanford professor earned the Ig nobel prize for an essay on procrastionation.

Ironically, I’m procrastinating by building an online tool to keep you accountable with your time. Well at least, until I get it working. Time zones can be a pain.

(The online tool is roughly done, just final details at the moment). - Edit - it seems the online tool is more motivating than I had thought.

Text

Spotify Coding Challange - Best Before

Spotify Judge puzzle@spotify.com - 11:11 PM (51 minutes ago)

attached: best_before.py

”” Hello Iain,

Thank you for submitting a solution to our problem “bestbefore”!

We have tested your solution, and we are happy to report that it solved the problem! We hope you had as fun with it as we did.

Yours truly, Spotify


Finished the best before spotify coding challenge. It really isn’t too bad, just need to think a little about it. The hardest thing for me was testing the boundary conditions (it required about 4 times to the grading server before I got an accepted answer). Python turned out to be a good decision for this problem vs C — c wouldn’t have had been too bad, just longer. (hint: import sys, datetime, itertools for the packages I used in python).

Link

If you’re into electronics or programming, check out my other blog - wiresrock, with updates on electronics, programming, and robotics.