Announcing ScreenLapse 0.1

I thought I’d write a more detailed writeup about my latest hack. But since I’m traveling and will be almost offline for nearly a week now, it’s probably better to just put this out there for a little more exposure.

Try it out and see if it works: http://ninjagod.com/screenlapse

Also, I’ll be in Mumbai/Pune for a little while from tomorrow. Let me know if you want to meet up, even if we haven’t met before.

Swayed by a pretty face

I love the Sup email client. It’s incredibly good with keyboard shortcuts, modal editing, and lets me use vim to write email. Unfortunately, it was slightly cumbersome getting it to work and when I first found out about it it looked rather plain and unappealing. I always found that so many open source projects, especially those with smaller teams, completely ignore the website – and treat it as something that just needs to be updated from time to time.

I found this other interesting project called Shotwell, written by this very interesting company called Yorba. Shotwell is a rather basic, but very user friendly interface. What surprised me most about their project was the website. The fonts are drop dead gorgeous, there’s great attention to detail, and there’s even a good set of screenshots. I found it hard to believe it wasn’t an expensive, proprietary Mac app, as they stereotypically and usually have the best website.

No, Shotwell is a fully free and open source tool.

The website was so nice, and so was the tool. This led me to go around and find out more – and discovered that the website has been designed by Kaj-Ivar van der Wijst and is licensed under Creative Commons. I then immediately felt the importance of improving brand image by the means of a good website. Since Sup is such a fantastic project which often goes unnoticed, I felt that I should contribute by giving the frontpage an update and highlighting the fantastic features of the tool. And what better place to start from than the great Shotwell website.

So after a few hours of writing, I finished this:

http://anirudhsanjeev.org/temp/supsite

Yeah, it’s a line-to-line ripoff and as a red blooded hacker, I hate that. But that’s what’s problematic – design is very very hard for programmers to grok. A few nice pictures, a little minimalism and some elegant typography can go a long way – but we gotta put lots of links, news posts, this and that – and clutter it with a lot of nonsense. Still, what I’ve done is perfectly legal, I’ve provided adequate attribution.

Notice immediately how you want to download and try out the email client, as compared to the old website. What is interesting is that it works both ways – I remember seeing this web framework called “Denied” a few days back, which got *62* points on Hacker News, which prides itself on having some pretty intelligent users. When I saw it, I thought “okay, the website is pretty and the code samples and screencasts are nice, but what’s the big deal?”.

Turns out the whole thing was an April Fools’ Joke. While I really gotta hand it to the author for taking so much effort, it proves an interesting point – someone who was able to get 70 watchers on a github project, from something that does nothing *solely* for the reason that it has it’s own subdomain and a good design implies how little people actually care about the content. Maybe free software projects need to start hiring designers to improve their frontends. I know that this seems incredibly shallow, but it seems to be a large part of who we are.

Let’s play a game. Pick out competing choices purely based on how appealing the frontend seems to you.

  1. Ruby or Python
  2. GNOME or KDE
  3. Emacs or Vim
  4. Fedora or Ubuntu or Opensuse
  5. Banshee or Amarok
  6. KDevelop or MonoDevelop or Anjuta

Oh, how we’re swayed by a pretty face.

Splatter 0.2 Release

Screenshots

Comment View Bug detail view

What’s new?

  • Massive number of bugs fixed
  • Comment posting functionality
  • Little icons display when comments are unread
  • Filter by date
  • Stable release :)

Download

The tease continues

Splatter
Click on image to view full size

Can we get any more awesome than this?
Only time will tell.

Packaged and giftwrapped!

I decided to set up a pre-release ppa of Splatter, to try and take my mind off of certain things.

Please note that this uses a very restrictive license, a variant of MIT/X11. You can see it here. The license is flicked from jsmin.

It’s very very very alpha (think one weekend of bored hacking). You can get the ppa for lucid lynx alpha 3 here(I don’t run jaunty, but will set it up for that too, soon): Update: Repo broken. Will be fixed.

Update 2:

If you’re feeling particularly brave and foolhardy, you can fetch the packages for Ubuntu Lucid Lynx from my personal package archive here:

https://launchpad.net/~anirudhs/+archive/splatter

Update 3: Karmic support available. A bug exists in the lucid package that has been fixed in the karmic one. Will push to the lucid one as well in the evening after classes.

Sneak preview – Splatter

Hosted by imgur.com

Hosted by imgur.com

Hosted by imgur.com

Hosted by imgur.com

Hosted by imgur.com

Hosted by imgur.com

Hosted by imgur.com

Hosted by imgur.com

Ir_black vim/textmate custom color scheme in MonoDevelop

I use the fantastic ir_black theme for vim [screenshot]. I wanted something similar to this for MonoDevelop. So I wrote it, and here’s what it looks like (with the Consolas font on both MD and Vim):

If you want to use it, you need to download IrBlackStyle.xml and add this file through MonoDevelop’s settings – Edit > Preferences > Text Editor > Syntax Highlighting > Add. You should be able to use the theme now.

If something went wrong, and you want to re-install or modify your local copy, you need to remove ~/.config/MonoDevelop/syntaxmodes/IrBlackStyle.xml. You can alternatively just edit this file instead.

Update: This theme is now available in MonoDevelop trunk. w00t!

Upload-to-patchbin script now available

[M-x infomercial-mode]
[world is black and white]
Want to endow your patch with awesome code-review functionality and impress fellow hackers? Email, attaching patches, wrapping, line widths got you down? Want to give feedback on code but can’t because you don’t want to copy, paste, quote and appease the demons of fixed-width formatting?

Some people said patchbin.com was the answer. Yes, it made collaborating a lot easier by making each line a comment thread, and it’s a lot saner than attaching an entire patch – it would make life on IRC, email and chat so much easier. Alas, I can’t be bothered to copy an entire patch into the clipboard and paste it into a new webpage.

Sigh. You know what would be badass – a commandline based uploader for patchbin. But of course there’s no such thing. It’s not like I can just pipe the output of a diff command into another program which would automatically upload it to patchbin. I’d just say “git diff|patchbin” or “cat awesomefeature.patch | patchbin”, and that’d be it. Haha! while that would be overwhelmingly awesome, that does not exist.
[world becomes color]

Oh my! Look what the heavens have dropped into my address bar! It can’t be!

http://anirudhsanjeev.org/projects/PatchBinUploadScript

Oh! Praise the gods of open source for this 50 lines of concentrated awesome!
[/informercial-mode]

(I am bored and need coffee. Can you tell?)

Patchbin.com open to public

I swear this project was jinxed. Everytime I sat down to finish, deploy and make a release, something always ends up distracting me. Finally, after a long sunday evening of debugging and wrestling with crazy python syntax errors and horrible confusion resulting from not remembering what git branch I was tracking, I think it’s ready for public use.

So here we are: Patchbin.com

For example, here is the famous DeOMGifying commit from Ruby On Rails – the agile, pragmatic web framework for LOLCats :) http://patchbin.com/Lfgb9d

Now for some well deserved coffee!

meep! Turns out the host went down for some reason just after I finished deploying.

Sneak Preview – Patchbin!

A little sneak preview of my latest project.

While talking over chai with Ramkumar, I thought aloud that it might be a neat idea if I could start a code review by just pasting a patch in something like pastebin and get a code review functionality like Google’s Mondrian or Reviewboard. I should be able to paste a patch like in Pastebin and see a visual diff and also be able to send it to mailing lists where people can make comments. I was looking to write a small app to brush up on my django skills and to practice deployment on a production server and this seemed like an ideal opportunity.

The project was a little more complex than the original one-weekend timeframe I anticipated, but I’m happy with the way things have come out.

Here’s a sneak preview of the near-complete app. I’m just fine-tuning the diff parsing algorithm and need to purchase VPS hosting and deploy the app, and hope to do that by tuesday.

Here are some screenshots: 1. Pasting a new patch:

  1. The default diff view:

  1. Creating a comment

  1. Replying to a comment (you can reply on either side):

Hopefully this will make collaborating on patches a lot more I was using this patch from the linux kernel patchwork site for display here. The backend is completely open-source and is written in django and will be hosted on prgmr or linode.