Profile cover photo
Profile photo
Mark De Souza
Mark's posts

Post has shared content
God I love this video.. never gets old!

Post has attachment

Post has attachment
Google #io12 afterparty with Train & #pauloakenfold !!!!!
3 Photos - View album

Getting excited about attending Google IO #io12 ...

Post has shared content
Disappointing #io2012 #io12 #googledevelopers ... perhaps there was a coding contest after all, you were just expected to hack the registration javascript code
"First come, first served"? The Google I/O registration page was polling the waiting list every 25E3+1E4*Math.random() milliseconds. The Ajax calls were returning the json '{status:waiting}'.

(1E4*Math.random()) - 1E4 is 1000 and Math.random() will randomly give you a decimal number, such as 0.5347112524323165 or 0.0210017969366163. 25E3 is 25000. So it was doing the ajax call every 25 seconds + (0 - 10 seconds).

I changed the code in the Chrome Developer Tools for a.setTimeout() to be 1000ms and I was polling much faster, but always returned '{status:waiting}'. The calls were returning very very fast, the server was not under much load. Oh well, maybe next year.

For you geeks, the code is below:

//General is for general admission, vs. academic
devsite.registration.setStatusCheck(window, 'general');

devsite.registration.setStatusCheck=function(a,b) {

devsite.registration.checkWaitListStatus=function(a) {
var b="/events/register/waitlist/status/"+devsite.registration.waitListKey+"/";
$.get(b, function(b) {
var d=b.status;
"waiting"== d ? a.setTimeout(devsite.registration.checkWaitListStatus,25E3+1E4*Math.random(),a) : devsite.location.href="fulfilled" == d ? b.details_page:"/events/io/register/noticket"}

Hey Google, given that #io12 #io2012 #io sold our in under a minute, it might be worth considering more events or increasing the number or seats.

Post has attachment
Managed to get a #raspberrypi and for those who didn't, you can place your orders for the second batch at the link below...

Just heard a rumour that early bird registration for #io12 #io2012 are available at /dev/null...

1 day left to keep the dream of #io12 #io2012 alive... or has #Goggle decided to solve the issue of ticket scalpers by not selling any tickets at all?

Anybody else getting tired of playing "where is the world is #io12 "?
Wait while more posts are being loaded