HTTP headers and AJAX requests
This post is about a quite common problem that I’ve encountered over and over again but didn’t look into it to find a proper answer to it. The problem is what happens when I request via AJAX a page...
View ArticleAdobe AIR – episode 1
As previously stated, I intend to get my bachelor degree this year. And I have to chose from a variety of projects. I have 2 options, either choose a PHP project, that will be ready in no time and get...
View ArticleChanging brs to newlines and vice-versa
Few days ago, I was searching for a javascript that could translate all newline characters (carriage returns, line feeds and combinations) to <br />s. Something like the nl2br PHP function. Not...
View ArticleJavascript question
I’ve found the best way to probe somebody’s javascript knowledge. Ask him a simple question! One question: What will the following code produce and most important why? window.onload = alert( 'message...
View ArticleJavascript debate – generation clash
My previous post spawned a debate over ymessenger with a friend of mine, called Raul. He’s older, but not more savvy in the client side programming it seems. The debate was the following: what will the...
View ArticlePywebkitgtk – execute Javascript from python
Last week I’ve got a new assignment at my job: a crawler that was supposed to periodically visit some sites and download their content. Sounds simple, isn’t it? Well, it’s not. Mainly because we want...
View ArticleWorking with dates in Javascript
I have found a cool Javascript library for manipulating dates called datejs. It’s really simple to use and offers a lot of syntactic sugar (examples taken from their website) // Add 3 days to Today...
View ArticleThe “August” error
I’ve just came back from Wurbe, where I’ve enjoyed a late evening snack (consisting of beer, Pepsi and pizza) and chated with other fellow developers on a large range of subjects, raging from current...
View ArticleJavascript based Flash Player
I stumbled upon this Slashdot article, about Smokescreen, a Flash player written entirely in Javascript and which can…are you ready for this…run on the iPhone/iPad/iPod Touch. In your face mr. Jobs!!!...
View ArticleUploadify on Zend Framework and the 302 error
Uploadify is an awesome script and it works like a charm. But – there’s always a but – sometimes it throws a mysterious 302 error. This happened to me all day long and it drove me crazy. Well, not...
View ArticleHacking the BCN house market
…is the name of the presentation I gave last week at the Barcelona Python Meetup, held for the first time on Skyscanner‘s premisses. It was supposed to be a lightning talk taking no more than 10...
View ArticlePHP Barcelona Conference 2015
I had the pleasure to attend the 2015 PHP Barcelona Conference this weekend and I decided to blog about the experience. The lineup was amazing and included Zeev Suraski, one of the founders of Zend and...
View ArticlePimp my laptop
Few months ago, I’ve decided to start adding stickers to my laptop. First batch of stickers came from PHP Barcelona Conference 2015 and since these ones were mainly PHP related (doh) and I wanted to...
View ArticleThe accelerating power of technology
This is one of the most interesting talks I’ve seen lately, linking biology and technology and how evolution accelerates. I like from time to time to look at old videos and see how people imagined the...
View ArticleImport Kindle highlights in Trello
Lately I had a lot of books to read, most of them technical in nature, but also some novels. While I did take speeding reading classes, I don’t always apply it, as I have different styles of reading a...
View ArticleUbuntu 14.04 full screen on VirtualBox
I recently needed an Ubuntu box for project I am working on, but since I don’t have a dedicated computer for such experiments anymore, I had to virtualise it. VirtualBox is my weapon of choice for...
View ArticleRablings on AI overlods
Today I was having a conversation on Twitter on which future would be more frightening, one where politicians think they’re smarter than big data – which is more like the present – or one where we put...
View ArticleTools of the trade
As a developer, I use a variety of tools to do my day to day, each with its own level of usefulness: there are some I like but I could easy live without, there are those which I would gladly live...
View Article2 events
Lately I’ve been involved in 2 tech events in Barcelona, the first being HackUPC 2016 organised by students at the Universitat Politècnica de Catalunya and sponsored by Skyscanner where I had the...
View Article