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 :)
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!
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.
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
A logger for your Bitcoin mining activities: Bitminter-logger