Wednesday, July 02, 2008

(you)(i)

UI = (you) Vs (i)

Its pretty obvious ain't it? All the times it ends up being what design 'you' the developer thinks of(if at all one bothers to think, as there are many UI examples out there pointing to the contrary) Vs what 'i' the user needs. And when both coincide, you get some amazing products. Example that immediately comes to mind when you say good UI?
Apple of course. iPod, iTouch...do you notice the 'i' there? its no coincidence, its there to show that emphasis is on 'i' the user. (Ok, i just made up that last part, but i think the Apple guys did name it, with that in mind ;) ).

Other good UI examples would be Google(gmail, gtalk, reader), Gnome's SLAB Menu, Flock Browser...et al.
And bad UI examples...well here's a nice comic which gives you an idea. :)



Beauty in simplicity. We know that. But still many of us choose to ignore the KISS principle! Why? Maybe that, all those years of education, robbed us of the ability to think simple. Or as they say, maybe its the case of being afflicted with 'improve beyond use' syndrome.

On a side note: was searching for a Blogger link in Gmail in the quick links section at top left corner in Gmail and found a 'Blogs' in the more section but surprise!surprise! it leads to Blog Search and not blogger! When Photos,Reader,Orkut links take me to my Picasa,Google Reader and Orkut page respectively, isn't it reasonable to expect Blogs to take me to my blogger page?
Wonder when Google will correct this.

Monday, June 09, 2008

Easy!

He he, this basically nullifies my previous post. :)
Slam No. 4 for Rafa and man did he make it look like a cake walk! :D
Before the start of the match i was feeling sad that i wouldn't be able to watch the entire match as i had to attend 10 'o clock show of '21' @ Inox. But then quickly realized i didn't have any cause for it. Thanks to Rafa, no its more thanks to Federer for finishing it in just 108 minutes. :) So all those people who were just waiting to proclaim Federer as the greatest ever, wait for one more year at least, if not forever... :P

'21' was not as good as i thought it would be. Come on you can depict Vegas much better than that! . And you can so do away with all that hollywoodization, the cliched 'best friends ignored' track, soppy romantic track, jealousy...i mean why introduce a 5-10min plot line just for heck of it? Well don't mind, it was quite an enjoyable movie, but the problem for me was that there was no freshness about it, apart from the basic plot.

As result of watching '21', i missed F1 :( I reached home just when press conference had started and to see Kubica, Heidfield and Coultard was shocking to say the least. I did see the pit-lane mishap recap but somehow can't help feeling that i missed out on some good live action.

'n yea, now Germany beat Poland. :)

On a side-note i finally managed to read 'Hobbit' today. :) To decision to read it was rekindled by the LOTR dvds 've been watching these days. Its this boxed set, with 4 dvd's per each part so 12 in all. Any serious LoTR fan should possess this. :)
The making i.e the Appendices part though long(2 dvds per each part) is amazing. While watching that today morning, my Dad remarked if i was planning to go into film-making and man do i wish that i was part of it! :)

Anyways sleep beckons,
Adios

Friday, May 23, 2008

tough draw?

Youzhny, Nalbandian, Djokovic and Federer.
Thats how Nadal's route to French Open title will look, i.e of course if others mentioned don't lose before.

But not much of that happening to Federer who has been blessed with almost a free ride to the final, with only worthwhile opponents he may meet before being David Ferrer in Semi-finals. Actually even his is slightly better compared to Djokovic, who has a walk in the park.

Contrast that with Nadal's, tough draw gets a whole new meaning. Murray, Youzhny, Nalbandian! So even if Djokovic doesn't finish him off in semi-finals, he will ensure Federer will have a complete worn-out Nadal to pick off. Unless of course Nadal plays exceptionally brilliant to win all the before matches in 3 sets. In which case one may say he still has a chance. But what are the chances of that happening? What with he not being at his physical best, suffering from a hamstring injury that he got while defeating Federer at Hamburg last week.

But wouldn't it be just brilliant if with all that somehow he manages to retain the title? And stay undefeated at the Roland Garros. That i think would be amazing, if through the entire career one can stay undefeated at a Grand Slam. I'm not aware if anyone has done it before?

Anyways thats a dream, what with fate almost conspiring that it never happens, with the draw and the injury.

Friday, May 16, 2008

few linux pains....

Yesterday i was trying to get microphone working on my opensuse 10.3 box, with Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller soundcard. And this post is about the pains i encountered during it.
After running alsaconf, 'n messing around with alsamixer settings for some time, realized it wasn't going to be such an easy job. Then tried the YaST sound, but even after much permutations/combinations with soundcard parameters that google threw up, it failed to configure. So after some more googling, failed to give any concrete solution, thought let me upgrade alsa.
And thats when my troubles started or so i think it did, since 'm not still aware what is the root cause.
> downloaded all the alsa-10.6 packages from the website.
> configure, make and install goes through without an itch
> reboot
> I try logging in and lo it throws up the usual gnome error box of 'your session lasted less than 10s, if you haven't logged out yourself...blah...blah'.

Clicking on the details, gave me some sabayon failures in the log which didn't make any sense to me. So after googling and asking around few colleagues, came to know sabayon can be safely removed without doing much harm. Wait i forgot to mention, before you think that i was stuck to command line, there is a surprise, when i tried root or any other user, the log-in went through just fine. So me was left scratching my head, as what could be the problem, since if it was alsa, i think everything should've cribbed right?
Well anyways so removed sabayon 'n the gnome_admin which depended on sabayon, (btw its interesting what all you learn, 'coz of this i came to know there's something called these two, 'n they take care of user profiles 'n such). And anyone would be forgiven to think it would work after this, but life is never so simple...is it? So the sabayon errors go, but the log-in still fails. And now 'm at wits end, as it doesn't even hint at whats the problem.
And this is the account which had all my development environment, music, mail, browser, compiz fusion settings...everything. Now importing all those profiles into a new user acc...not a job one would fancy.
So was trying to think of easier way out, so then since it looked like some issue with user profile, thought if i create a new user and point the home directory to this, it should work. Wishful thinking. :( Didn't make any difference except waste my time. And all this happened yesterday night, so today morning thought no point wasting more of my time, so did what i should've done longtime back, copied the data, profiles etc.

But the issue still remains and can't even file a bug, as i don't know what to file against. Not knowing whats the issue seriously pains. So now 'm throwing it up as an open challenge, so if there is someone who can't resist such a puzzling one - solution, pointers to solution, debugging...nething is most welcome :).

'n here's the very detailed informative message i get -
/etc/X11/xim: Checking whether an input method should be started.
/etc/X11/xim: user environment variable LANG=en_US.UTF-8
sourcing /etc/sysconfig/language to get the value of INPUT_METHOD
INPUT_METHOD is not set or empty (no user selected input method).
Trying to start a default input method for the locale en_US.UTF-8 ...
There is no default input method for the current locale.
SESSION_MANAGER=local/puthali-test:/tmp/.ICE-unix/17148

'n btw before there used to be sabayon error messages between the default input and SESSION_MANAGER lines.

'n yea, the whole reason this whole thing started - microphone, i just checked it is working. But it hadn't when i checked last night, life mysteries what can i say...

Tuesday, May 06, 2008

Share with a note

what a nice surprise i had just a few minutes back!
I finally get to see the feature i wanted since i started using google reader! :)
more specifically just beside the 'Share', you now see a 'Share with note'. Ain't that cool?
Whenever i shared an item before, I always wished there was a way to share my views/thoughts on it...ain't that the whole point of sharing? :)
But yea now you can! :D

Pls: Whats pending is the ability to have discussions, which i believe is coming soon. :)

Sunday, April 13, 2008

sports,books,movies...

for a lack of better title... :P
So yea, just came back up after watching the Arsenal vs Man U match. A very good match, Arsenal for da nth time conceding goals very cheaply after taking the lead. And one thing, which was hard to digest was, Adebayor claiming the hand goal. I mean thats something which one wouldn't associate with Arsenal, ok agreed its an individual issue. So thats what i don't understand, take any sport for example cricket etc how/why do players do this?

Anyways coming to books, this is long time pending. I finally finished the Dune trilogy two weeks back. This was unique in that all 3 books i read, was on different medium. The first book 'Dune' was an e-book. This i had read almost a year back. But somehow didn't fancy reading the others on comp, hence da gap. Then i got hold of the audiobook of 'Dune Messiah', which i listened to on ipod, whole of feb month during my commute to work. Having never been brought up with parents/grandparents reading me stories, this was one wonderful experience. Audiobooks have their own charm, guess 've fallen in love with them. So next one on my ipod list is the 'Chronicles of Narnia' :). Btw for all those other book/story lovers - subscribe to 'The Classic Tales Podcast', if you haven't done already.'N yes coming to the third book, i got it for only Rs 60 during this book hunting with candle. :)

'N here are the the movies i watched over the last four days, in the order i watched them-

> The Pursuit Of Happyness-
Based on a true life story, it is one inspiring movie. Watching it i realized how far along we've come in life, Chris Gardner's hardships reminded me of the hard days faced by my father, when he had only 25ps in his pocket 'n buying a single Kg of rice was difficult. But somehow he brought us up through all that, providing us with a good education 'n never making us feel deprived of anything/anyone. Yea it was one emotional watching, just making me realize how i owe so much to him and compared to the older generation how we had/have things so much easier.

> Juno
I don't think 've to say much about this, as i guess ppl shd already be knowing a lot. A fun movie, with good soundtrack.

> Into the wild
This is again based on a true-life story and once more a very inspiring movie. I guess anything is inspiring when you can relate your life with it. 'n i could relate so well to Christopher McCandless. Somehow 've always felt that 'm not a city person...hmmm....maybe everyone feels that way?

> Eternal Sunshine of a spotless mind
Well nice movie, concept, good performances but could have done with some serious editing in the middle.

> Lord of War
Another based on a true incident movie. But somehow felt it lacked the punch which 'blood diamond' had. Where blood diamond hits you in the gut, this one chills you with the cold-blooded, business view of the whole thing. And what chills you the most and makes you shiver is the 'Based on true life incident' at the end.

> Guns of Navarone
old classic, Gregory peck.

guess thats pretty much about it.
Adios.

Monday, March 03, 2008

Last.fm support for pidgin

This Sunday, played around with musictracker plugin for pidgin to make it support Last.fm. This was one niggling requirement for some time now. Most often I end up playing songs on a diff m/c than the one i run pidgin on, for variety of reasons - 'm playing songs off of my ipod through iTunes or 'm listening to last.fm through the browser/player itself or i would feel like listening on speakers which are connected to a different m/c or particular song/album is on that m/c...
Anyways as i googled for some plugin to meet my needs, came to know that many people apart from me, were also looking for one such 'n not finding one, decided to write one myself :) 'N as a good software programmer that i am, who knows the true potential of re-usability, realized its much "easier" to just extend musictracker plugin to support this feature than write one from scratch. ;)

And thats how my journey of realizing how much i had forgotten and re-learning started. To start with, it was almost a year since i had coded in 'c'. I had/have become this eclipse-spoon-fed Java developer. The only times i use 'vi', is occasionally when i open some files to do some basic editing. So here i was doing some pretty normal coding, nothing major, 'n i had such difficulty! I'd forgotten most of the 'vi' short-cuts apart from the basic 'yy' 'dd' 'n 'p'. So that took some re-learning.

Then there was the really paining autotools problem. I add a .c file to the source project, add the corresponding entry to Makefile.am, run ./configure and it doesn't compile! It ignores it completely as though there was no change. So spend couple of minutes checking, re-checking, getting totally worked up and it still doesn't work. Then from somewhere from my long-forgotten past-life came a thought - could it be that its the bootstrap problem? which basically means you run the aclocal,autoconf...etc commands 'n most importantly run 'libtoolize --force --copy'. And this is something which i hope gets corrected - "No one looks at ./configure output" So if there's no error in bold at the end of its run, user will assume that everything went fine. So whenever there's a mismatch between autoconf versions, its not a minor warning it should be major.

Anyways writing the last.fm code itself was pretty easy. It involved downloading the recent tracks file from audioscrobbler.net and getting the first entry from that. 'n yeah since audioscrobbler places restriction on how many times you can access it in a given time, had to do a check on the last modified time of the file, and download it only if its more than 30s. Ran into couple of issues using wget, so ended up using curl. Most of the other stuff was just interfacing with musictracker code - set the artist/track/status information, support to configure/store last.fm user name in preferences...

Remaining part is 've to put up this code somewhere, but then again, right now its only for linux 'n my guess is the people who want this are mostly on windows :) But modifying this to support windows should be easy and not take more than half an hour.

Thats it from me, will update this blog when i upload the plugin code somewhere.

>>Update
You can get the plugin here.

Adiós