Category: JavaScript
May 6, 2014

Our computer science department is now fifty years old, so I thought I’d make them a little card to celebrate. Here’s the unminified code, which you can execute in your console: var time=new Date().getTime(); if (time > 1577846298735 – 189345600000) { var year = 1964; var marquee = “Fifty years of smart computing… It’s in […]

Continue reading...
Dec 18, 2013

You may have heard about the benefits of using promises, but don’t yet know what they are or how they can be of use to you. In one sentence, promises are objects used for asynchronous actions that resolve in their own time and can have more actions (synchronous or asynchronous) chained onto them that fire […]

Continue reading...
Fork me on GitHub