ImgAreaSelect Roadmap

May 31st, 2011

A quick announcement: the GitHub project page for imgAreaSelect now includes a Roadmap, which lists the planned updates for the upcoming releases of the plugin. At the moment, I have a couple things in the backlog that I want to implement in the next patch-level release (0.9.7), and in the major milestone version 1.0. The changes planned for version 0.9.7 are rather simple, so I hope to release it this week or the next, and then we’ll be on the straight way to 1.0.

All the hype nowadays is about mobile technologies and mobile web, and one of the major updates in imgAreaSelect 1.0 is going to be mobile browser support. I’ve been working on this for some time, and the result so far is something that pretty much works in the standard Android browser and in Safari on IOS devices (iPhone and iPad). However, it’s probably going to take a few more weeks before it’s ready to go live, because a) I want to (try to) get it to work in other browsers, specifically Opera Mobile, and b) mobile browsers support required significant changes to basic plugin code, so I need to make sure everything still works as it did before, and probably rewrite a couple test cases.

Here’s a little teaser — imgAreaSelect on the iPhone simulator:

ImgAreaSelect on the iPhone Simulator

Compiz: How I Stopped Worrying and Fixed my Desktop

May 26th, 2011

Yesterday I listened to a recent installment of FLOSS Weekly, which is an excellent podcast about free and open source software, hosted by Randal Schwartz. The subject of the episode was Compiz, the compositing window manager, and the lead Compiz developer Sam Spilsbury was the guest.

One point that was mentioned on the show is that most people associate Compiz with those über-cool desktop effects, like rotating cubes and windows bursting into flames. I once thought that was actually the case — that Compiz was mostly about a bunch of useless and counter-productive effects for kids who want their computer screens to look like those in Hollywood movies. Let me tell you how that view of mine changed.

A few years back, I replaced my home computer’s little 19″ screen with two big 26″ monitors. I instantly fell in love with the huge amount of screen estate, but the change has quickly proven to have a nasty side effect. With all the white background being the default for so many applications and websites, there was just too much brightness around. My eyes got tired quickly and it was pretty much impossible for me to work for a longer time without getting a headache.

I knew I could probably tweak the Gnome appearance preferences, and install some dark-toned skins for applications that have that option, but I wanted a more general solution that could be applied on a desktop level. So I started digging into the desktop preferences, and that’s when I discovered all the useful features that Compiz and its numerous plugins have to offer. So, let me name a few:

  • The “Dim Inactive” plugin. As the name implies, it reduces the brightness level of inactive windows, turning them darker and thus making the focused window stand out. Some trivia: the plugin was originally named “ADD Helper”, since it was supposed to help people with Attention Deficit Disorder remain focused on whatever they should be doing, instead of constantly switching between windows. So at this moment most of my desktop is dimmed, except for the Firefox window that I’m using to write this very post.
  • The “Opacity, Brightness, Saturation” plugin. In addition to dimming the inactive windows, I wanted some of the applications to be darkened even when focused — and this plugin does that. It allows setting the opacity, brightness, and saturation values for specific windows/applications. For example, my e-mail client and Eclipse IDE windows are set to 70% brightness. This does not bother me in any way when using those apps, and it’s way easier on my precious eyeballs.
  • The effects. Well, not all of them are useless. I actually like those unobtrusive (and quick) transitions when I’m restoring a minimized window or switching workspaces — they produce a feeling of slickness that also seems more eyes-friendly than no animations at all.

These are the things that pretty much eliminated the eye strain problem for me (there was also a Greasemonkey script involved, but that’s a story for another post). I could point out a few more useful features of Compiz, for example I also very much like the fact that the “Window Rules” plugin lets me permanently make specific windows “sticky” (displayed on every workspace) — but, these are just things that work for me and meet my specific needs. I encourage you to try it out for yourself — if you haven’t yet explored the features of Compiz, go and launch the CompizConfig Settings Manager and play with it. You might find a couple things that will make your desktop experience a little bit better.

ImgAreaSelect 0.9.6

May 6th, 2011

ImgAreaSelect version 0.9.6 is out. A new major release of jQuery (1.6) came out a few days ago, and it turned out that the previous version of imgAreaSelect was not compatible with it — this version fixes this problem.

As always, thanks to all the people who reported this issue and provided feedback (especially to Rob Crawford and Giovanni Battista Lenoci for their valuable input).

So Much Workspace!

April 27th, 2011

On occasion (like when I’m traveling), I’m forced to do some actual work on a 10″ screen netbook. This is how I feel when I then return to my regular workstation with two 26″ monitors:

Who let the dog out?

View as Source Greasemonkey Script

April 23rd, 2011

Today I released the Greasemonkey script that I wrote while being sick on the snowboarding trip last week. It’s called “View as Source”, and it allows you to open any link in the page using the view-source URI scheme.

I developed it to resolve an annoying problem that I had every now and then with source code files linked on the Web. Although pretty much every source code file is plain text, and Firefox could display it as such, for certain MIME types it insists on opening the file in an external editor (or saving it). You know, like this:

Even if I just wanted to take a quick peek at a source file, and despite having a perfectly capable text file viewer in front of me, I had to launch another application.

I experimented a bit and found out that the view-source URI scheme can be an effective workaround for this. It’s utilized by Firefoxes “View → Page Source” option to produce a syntax-highlighted view of the HTML code of the currently open page. However, if used with a non-HTML file, it displays its contents as plain text — just what we need.

So, what the script does is it prepends the "view-source:" scheme prefix to links right before they are activated. It only does this on demand, as you certainly wouldn’t want to do this to every link on every page that you visit. You enable it with a keyboard shortcut (Shift + Alt + U), and then the script waits five seconds for you to click a link — anything you click within that time period is opened with view-source.

If you want to try it, the script is available at Userscripts.org. As usual, I’m looking forward to your feedback.

Back from Austria

April 18th, 2011

I spent the past week snowboarding on the Stubai glacier, in the beautiful Tirol region of the fine country of Austria. I have been there several times over the last couple of years, always having a lot of fun riding the slopes and enjoying the spectacular views. If you’re looking for quality skiing/snowboarding time in the Alps, try the Stubai glacier, you won’t be disappointed.

A photo from one of the previous trips

I have one private problem with these trips, however — I seem to have a bad tendency towards getting sick during the stay. I often have to take one or two (or three) days off riding and stay inside until I feel good enough to get on the board again. This time was one of those unfortunate ones, and out of the planned five days of snowboarding, I had to spend two getting back to health.

Surprisingly, staying inside the whole day works as a productivity booster for me. I think it’s my inner urge to still get something out of the seemingly ruined day. Alright, I’m here in the Alps and should be snowboarding like there’s no tomorrow, but if I can’t do that, so be it — at least I’ll do something useful.

So, over the two days of sickness last week, I accomplished quite a few things that sat in my backlog for some time — for example, I finally set up a JavaScript development environment on my netbook, and then used it to build a Greasemonkey script, based on an idea that I had a while back (I’ll probably release it in the next few days). I also had a chance to at last start reading the book that I got as a Christmas present — “Born to Run” by Christopher McDougall.

Sadly, these sickness-induced productivity bursts only happen on those snowboarding trips. When I’m sick at home I’m as unproductive as one would normally expect.

Plain text view
Plain text view
Plain text view
Plain text view
Plain text view

ImgAreaSelect 0.9.5

April 9th, 2011

A new release of imgAreaSelect is out. It fixes a major issue with plugin initialization in Internet Explorer 9, which was reported to me by a few people. Thanks to all of you, especially to McArrow, who provided the fix.

My Most Precious Running Trophy (So Far)

March 31st, 2011

Dear readers of my blog, I don’t think I ever bragged here about my running accomplishments, but this time I’m going to. On Sunday I completed my first half marathon (the Sixth Warsaw Half Marathon), and thus established a new personal record in running distance.

Participating in the half marathon was somewhat a spontaneous decision. While I did consider this a maybe-long-term running goal for 2011, I never planned I would even make an attempt at it so early after the winter break. In fact, through all of February and March, I only did eight runs of various distances. What I did plan was to take part in a 5k or 10k street run in March, but it turned out there were no 5k/10k runs in Warsaw at this time. There was, however, the Warsaw Half Marathon.

So, I thought I might just as well try it. I decided I would first run a similar distance at least once, and if I could do that, I would sign up for the half marathon. And so on March 22nd, five days before the event, I ran 19.5 kilometers. That was close enough, so I had no other choice but to keep my self-promise, and I signed up.

As I expected, it was both a great experience and a really tough challenge. The first ten kilometers went fairly smoothly, but after that each kilometer seemed longer and more difficult. The last five seemed like going on forever, and I had to keep saying to myself “it’s just a few more kilometers, you can’t quit now, don’t be a wuss”. Finally, after almost two hours (1:59:01) of running, I crossed the finish line. The feeling was like no other.

This is the medal that I got for finishing the run, now considered my dearest running trophy:

SelectList 0.4.1

March 30th, 2011

A new version of selectList has just been released and is available for download. This is a minor release with no new features, but it fixes a major issue that made the plugin fail in Firefox 4. I finally found enough time to work on it, and I’m happy to announce the new version works fine in the hot latest release of Mozilla’s browser — as depicted by this part of the test results table:

As usual, thanks to all the people who reported the issue.

ImgAreaSelect FAQ

March 12th, 2011

Just a quick announcement: I have added a FAQ page for imgAreaSelect. The three questions currently there make around 80% of the e-mails that I get about the plugin, so I thought it would be reasonable to answer them in a FAQ.

Enjoy your weekend!