Vim installed by Cygwin’s setup project does not have Ruby/Python/Perl support enabled by default. As my list of must have vim plugins has a few which use Ruby and Python, thought that it might be good to build my own Cygwin build of Vim. Turned out a little more work than I thought - but that’s more due to the misleading (at least for me :) ) Make file in the vim source tree called Make_cyg.

Read more →

I have a small form factor (SFF) machine on the way to take up duties as a media center machine. After waiting for long, finally pulled the trigger on a Foxconn Barebones Book sized system and 4G of RAM. I haven’t ordered a hard drive - the plan is to run XBMC completely off a USB drive. As it is, media is on a 1TB external disk and the cost of 2.

Read more →

I’ve been using Git Enterprise for hosting private repositories since github’s free plan doesn’t include any private repos. Git enterprise’s worked - but the UI leads a lot to be desired the few times that you actually have to use the web interface. So the other day while doing something else, I landed on bitbucket. Bitbucket is Atlassian’s code hosting service - and for some reason I was under the impression that it only supported mercurial repositories.

Read more →

:) MS has added git support to Codeplex - who’d have thought that such a day would ever dawn. Kudos to the good souls at MS who made this happen - One can only imagine the kind of conversations that would’ve taken place to get the necessary approvals for this :). Still Git has great mindshare but native windows support is pretty bad. Hopefully this might even help making a good gui for git on windows.

Read more →

I’ve just ran across Coffeescript…​ can’t believe what sort of a hole I’ve been living in. It’s a source to source compiler (ie when you 'compile' a coffeescript script, you get javascript source.) So why would you want a source to source compiler for Javascript? Well, as apps become more and more 'front-end' heavy with DHTML/Ajax bling bling, the javascript that holds all that together also becomes more and more complex.

Read more →

VIM config updates

vim

Ultisnips has been updated to 2.0. See the video here for the updates and new features. One piece of information - and one that I was eagerly waiting for is that 2.0 works perfectly with auto complete popup. This wasn’t always the case - in fact, the bug on launchpad for the same had been marked as a 'wont-fix'. In any case, I was super thrilled to see that its been fixed.

Read more →

Ran into a situation today where we had a mobile web app that was reported to be misbehaving on iOS 3.2. The Mac at work has the latest XCode and IOS 5 simulator loaded on it. So we thought it would be quite routine to just start a simulator running IOS 3.2 - after all this having simulators of different versions of the OS is pretty routine. Android makes it trivial and before that, Blackberry has always had different simulator versions for different versions of their OS.

Read more →

So my affair with Vim continues - and I seem to have discovered VIM’s macro super powers. The obvious next step is to shout from the rooftops and hence this blog post (and there’s hardly anything original - apart from the fact that I’ve just had a 'aha' moment when it comes to macros and thought it might help other budding vimmers out there…​ A little primer - Macros let you repeat a set of commands.

Read more →

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.

Read more →

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.

Read more →