Anton de Winter

Imagination is everything. It is the preview of life's coming attractions. - Albert Einstein

Thanks for stopping by. Below you will find some write ups on various things I've been working on, as well as links to other social media. If you're interested in my (open source) code, you can find it here: http://github.com/adewinter.


Recent Activity

10-Jan-2016

I recently found a bug in the javascript library for Google's Firebase. Upon reporting it, they asked that I recreate the issue as a working example. I forked their angularfire-seed project and created the issue there.


The problem:

When using firebase.js to perform authWithOAuthRedirect(), and there are no other URL Query Params, the redirect after login finalization will fail. When calling the method, one can successfully log in via the third party provider, and a successful redirect is issued to the browser. However, once the client page reloads, firebase.js is unable to pick up the "__firebase_request_key" URL QueryParam in the URL because of the bug. This means one cannot login using this method.

The function querystringDecode() was the problem. There was a poorly formed regex expression in the function that was failing to pull out the "__firebase_request_key" from the url/.

Anyway, I emailed their support email and got a fast response. After I submitted the seed project, they rolled out a fix in their next release (I think it was a week or two later). In the meantime I figured out a workaround, so no real issues were had :)


01-Mar-2015

The "Where is it 5pm right now" website got a surprising amount of traffic. I'm somewhat surprised, given that I put 0 effort into promoting it. But hey, that's great!


http://whereisit5pmrightnow.com/

05-Feb-2014

I created a toy website called "Where is it 5pm right now". It was fun trying to figure out how to reverse lookup a location based on time of day. I mostly just brute forced it with two lookup tables. The idea was inspired by sitting around with friends just talking about things that would be fun to see on the internet.
http://whereisit5pmrightnow.com/

19-Dec-2013

A write up of an interesting interview question. The first case shows what was asked in the interview, while the second case expands on the idea, showing that even more profit can be generated through multiple buys and sells.
Link to writeup
Link to code


11-Dec-2013

A logger for your Bitcoin mining activities: Bitminter-logger


LinkedIn Email My Resume View on GitHub