Brazil 2014 – Probably the best World cup I will ever watch

Great day today, since the biggest international football competition has just begun. National teams competing for one whole month. Every match is important and today the premier Brazil vs Croatia. Brazil having its best defensive line ever accepts a goal in the first quarter and an own goal by Marcello that is. I just know they will win the competition since 2008. I even placed a bet when I was in London at the time but good luck finding the slip:). Any how my prediction for today is the draw. I was expecting 16 year old looking Modric to score first and Neymar to make the comeback in the second half. No the game changed completely sonce the pressure is even higher on the competition host since an own goal is not the best confidence Booster.

Traditionally every year I make a  forecast bet for the first couple of rounds and I came up with some pretty interesting results…

Here are is my suggested bet.

bet for Brazil 2014

bet for Brazil 2014

And as I am writing this Neymar shows off his dirty playing skills. And a minute later He makes the comeback as predicted:)

 

Happy football watching my friends!


PublicHD – My favourite public tracker is gone!

Another Monday and Game 0f thrones is available for download.I log in to publichd.se and nothing comes up. The continuously growing torrent site since 2013 just disappeared. Even their social accounts are gone. Yes I can find what I want elsewhere or stream straight from XBMC but I never risk an interruption to game of thrones!

Come back publicHD


Submitting forms using iFrames on iOS devices

Working on AtYourService.com.cy I have to submit a lot of forms using iframes since almost all forms have file attachments and a lot of feedback from our application before completing the process. A weird bug was eating my brain when all forms that returned html messages in the response object suddenly stopped working on iOS devices. I used a jQuery extension which submitted the form in an iframe and I returned json encoded data from the server. The script simply wrapped the response in a <pre> tag and fetched the contents to decode and pass them back on the client side handler. All works fine unless you have some numbers in an html json property and mr Apple decides to convert them to anchor links with a tel: prefix in the href to call phones directly. A handy little feature when it works correctly. But since the double slashes are not escaped you are left with an invalid json syntax. The quick solution is to just return the data and construct the html with javascript. it is indeed more efficient but when you are developing an mvp or just testing an experiment you simply dont’t have or want to waste time on making two templates.