Finally!!! So my last weekend project had been to compile Android ICS from source. Given that the size of the repo itself is in excess of 6Gigs, just getting it down itself took the better part of Friday night and Saturday night. When I got down to running make on it, it was Sunday afternoon. Needless to say, things didn’t work too well. I’m running this on a 32 bit Ubuntu 10.
Now that I feel quite comfy with VIM, over the weekend I needed to edit a config file in my Ubuntu 10.10 Virtualbox machine quickly. Instead of GVim, I just opened the file in console VIM. As I hit i to get into insert mode, a bunch of weird character boxes were inserted. That was not good at all :( - just when you think you’re comfortable with something if it does something totally weird.
So yesterday and today while driving back from work, I’ve had to join conference calls. The conference call provider we use at work has 10 digit passcode numbers. Usually, I have a few bridge numbers with the DTMF codes saved in my contacts so I can just click on the contact to get dialled to the access number and have the participant passcode typed in for me. However, yesterday and today’s calls were on a different bridge and I had to try to remember a 10 digit number after dialling the access code - and all that while driving.
I’m thoroughly frustrated with Wordpress.com’s facebook publicize feature. In theory, its supposed to post to your facebook wall whenever you publish a new post and that way publicize your post among your friend circle…..if it ever works. I’ve done all the resets, disconnects and reconnects and it just doesn’t. Now, this could very well be a facebook problem rather than a wordpress.com problem - so while my rant might be misdirected, its a rant anyway against the thoroughly frustrating experience.
So for the past few hours, have been playing with Deck.js. I like the idea of a web based presentation format rather than a blob like powerpoint. At the same time, I’m a bit circumspect too - given the state of the tools. At least for my use, there’s really no burning need that powerpoint can’t solve (though I get the shivers everytime I have to do a presentation). All the web based/HTML5 seem raw at the moment on some much needed features (slide notes, slide prints, scaling issues etc).
So I had the bright idea (by no means original, though, as I later figured out) that it’d be great to avoid the Esc key on Vim as its so far away from the home row. The alternative to pressing Esc is Ctrl-[ which, even though I’ve mapped CapsLock to control, I still find hard. So then, after some more googling around I’ve settled down on mapping jk to Esc. Its been a few hours with this setup and while its been an absolute pain till now, I think its a great way to avoid the Esc key jump.
So I upgraded the good ole' media center machine at home to XBMC 11.0 Beta . XBMC has been one of those software finds that has been just marvellous - to the point where I can’t imagine the telly at home without XBMC. I’ve pretty much stopped watching regular tv/cable and almost exclusively on XBMC. Also, its been a great way to keep the aging laptop (circa 2006 - core2Duo 1.
So, the original post on the topic written about two and a half years ago had code snippets, but there’s been comments and PMs for the complete code. So last week, as I resurrected this blog, decided to get that code out on github. Unfortunately, that was easier said than done; it has been quite some time and frankly, I’d lost the code. I must’ve switched machines about 3 times in the interim and gone from SVN to github for personal projects.
Now that I’ve cozied up to Vim/VimRepress combo for posting to this blog, there are a few things where I’m finding issues with posting code. With straight wordpress.com, I used to be able to mark up code with the [sourcecode][/sourcecode] tag and syntax highlighting comes in. With markdown - indenting a block of code with 4 spaces renders it as a <pre><code></code></pre> tags, but I don’t know if there’s a way to let WP.
So, at work, we’re building a mobile website using JqueryMobile. The app has a bunch of publicly visible pages however, other pages require the user to be authenticated. We didn’t want the user to be forced to login on the first page. Instead, whenever a protected page is accessed, and if the user insn’t logged into the app, we’d like to take him to the login page. Once he’s successfully authenticated, then take him to the page he was navigating to.