Moved to Cloudron
w00t! I moved my blog to Cloudron. Gotta love wordpress for having such fantastic backward compatibility across so many releases.
w00t! I moved my blog to Cloudron. Gotta love wordpress for having such fantastic backward compatibility across so many releases.
I often need to test specific github pull requests. All you need to know is that PR refs on github are of the form “refs/pull/pr/head” (pr is the pull request number). For example, here’s how you do it (for hypothetical PR 1234): git fetch origin refs/pull/1234/head git show FETCH_HEAD # see the patch git cherry-pick …
Chrome for Android allows pages to be debugged remotely from the desktop. The wire protocol for debugging is specified here. This post gives an overview on how the bridge is setup between desktop chrome and android chrome. 10,000 foot view When the Android phone is in Developer mode and USB debugging is enabled, Chrome for …
I pushed a Cordova 3.x plugin today to send and receive UDP datagrams. It supports both unicast and multicast addressing. It supports only Android at the moment, I expect to iOS support at some point. You can find it here. Do cordova plugin add https://github.com/gramakri/cordova-plugin-datagram in your cordova project to install the plugin.
Today a friend of mine checked in code that read: var stream = new fs.createReadStream(filename); The ‘new’ in the code was not intended. Our expansive auto tests passed without a glitch. In fact, the ‘stream’ variable was correctly set to the stream – exactly like if the ‘new’ keyword was not present. It turns out …
I don’t get exceptions. There’s this theory that they should be raised for ‘exceptional’ cases. But in reality lots of API uses it as a way to just pass back the error code. Joel has already said whatever I want to say about exceptions over a decade ago, so I won’t repeat his article here. …
PhoneGap Build is a nice service from Adobe. You upload your PhoneGap application and it builds Android, iOS packages on the cloud. PhoneGap Build also provides an API for it’s service. I used the API to create pgbuild to automate the upload of the PhoneGap application source and download the built packages.
The exploit I found […]
I noticed that the video and slides for my Qt Dev Days 2011 talk in Munich are now online. Here’s the video and here are the slides.
I couldn’t attend the event in San Francisco because I had to attend to some personal matters. Johannes and Donald covered for me there on very short notice (thanks […]
I have a wireless router at home which is physically far from the place I actually work. I required an internet connection to update my Arch machine. I could use wpa_supplicant to connect to internet using wifi but I thought I would explore the option of connecting my laptop back to back with another that […]
I am just about to catch my flight to Munich to attend Qt Developer Days 2011 where I will be giving a talk on Qt Quick Best Practices. I have been working with QML exclusively for over a year now and this talk is in essence a summary of all the things I have learnt […]