Archive for April, 2008

Twitm

Wednesday, April 30th, 2008

I enjoy Twitter a lot. There’s many, many clients for the service. I’ve grown to like Alert Thingy (yes, that’s the actual title) which actually integrates with Friendfeed too.

But I felt a bit ashamed using Adobe AIR. Inspired by garrett’s stylesheet tweets, I created a Prism app bundle that makes Twitter main web-interface nice and compact. It wouldn’t be complete without an icon.

twitter icon

I couldn’t figure out how to nicely integrate the multi resolution icon into the bundle though. While the mac and windows icons can be multi-res, for Linux we get grandpa XPM. I have no idea why the spec defines to use XPM. Such an ancient format incapable of using alpha transparency needs to die. It’s not like gecko would have trouble rendering PNG. Also sad to see my whining hasn’t been fruitful yet. Especially when there’s a library available!

twitm

As for how to use this thing — for now you need to copy the individual sizes to ~/.icons/hicolor/. Once you let Prism generate your .desktop file, edit the link to the icon to just say Icon=twitm. That way you get all the sizes nicely thresholded on the panel/menu/desktop.

Maybe using the mobile site would have been safer, but I prefer the javascript character counter, so I went with styling the main site. As soon as the site layout changes, expect brokage :/

Update: It bound to happen. Twitter guys updated the site in the meantime, so this no longer works and I don’t feel motivated enough to create a new stylesheet. Sorry folks.

Mii Screenshot

Wednesday, April 23rd, 2008

Dear lazyweb, is there a way to get a preview/screenshot of a Mii on Linux? I managed to transfer the Mii, but am unable to find a tool to give me a preview. I’m wanting to have a high quality screenshot of it.

This little editor does seem to work under Mono (wow), but I can only load, edit and save the mii, not really get a preview of how it looks. The miieditor.com seems to be killed off by Nintendo :( .

Update Garrett found the Mii Editor editor, but the extracted SWF file fails to open a file when run locally or hosted with apache :/.

Firefox 3 Improvements

Monday, April 21st, 2008

It’s been a long time since I’ve had some fun on my own website. So over the weekend I transplanted a nice last.fm cover art widget and added yet another navigation element for the most useful stuff on the site.

.

Since it is my personal site I went a bit overboard. It’s a nice demo for showing how much Firefox 3 improved. Apart from rendering in higher quality (anti-aliased rounded corners, amazing SVG renderer, filtering of scaled images) it’s also way faster. Just head over to the frontpage and compare :)

The sliding effect, called kwick (web 2.0, you know) has been a magnet for the javascript library moo tools for me. I’m happy somebody ported it over to the more human-approachable jquery library too.

Interesting Statistics

Thursday, April 10th, 2008
jimmac@hal:~> history | awk '{a[$2]++ } END{for(i in a){print a[i] " " i}}'|sort -rn|head
206 git
173 cd
71 ls
56 rug
42 ssh
27 vim
25 gvim
25 git-svn
24 sudo
23 less

Portal Sold Separately

Tuesday, April 8th, 2008

So apprently Valve will be selling Portal separately, not part of Orange box. This is one of the games I really wish was available on the Wii. If it at least ran under wine :/

Delicious on Firefox 3

Saturday, April 5th, 2008

Woohoo!, Yahoo! :) folks have released an alpha of their del.icio.us extension that works on Firefox3 betas. Not only does it work, it also integrates with the awesomebar. For a sucky name like that, it is really well done bookmarking the mozilla folks designed.

For people unaware what is so new about bookmarking, let me sum it up for you. The awesomebar is the dropdown box that comes down when you start typing in the URL field. Maybe calling it the URL field isn’t that appropriate anymore, because what gets autocompleted isn’t just URLs of sites you visited. Bookmarked sites are preferred matches and you can search by title and most notably tags. Bookmarking a site is a matter of clicking on the small star icon on the right hand side of the URL bar. For most people this is all they will do. For people needing to add some metadata to get a better search experience, just click it again and fill out some more info, notably tags.

The del.icio.us extension isn’t integrated the way I have hoped, it kind of ruins the workflow by forcing its own tagging interface and popping up its old dialog every time you click on the star icon. I would rather prefer to have a [ ] make public checkbox in the Firefox’ bookmarking dialog in case you don’t want to just sync it to delicious and keeping it private. Still, an amazing extension.

openSUSE 11 Counter

Thursday, April 3rd, 2008

loading

If you’re seeing this on a planet or feed reader, you may want to visit the original article to see the actual counter, not a static image.

As requested on #opensuse-project on Freenode, here’s the openSUSE 11 release countdown widget. There’s still a lot to be desired, most notably the localization isn’t working as I cannot figure out how to get HTTP headers from javascript and navigator.language not really being the accept-language user preference. Also perhaps somebody wants to rewrite the thing in pure javascript and not depend on jquery.

To embed in your webpage, use this –

<!-- BEGIN SUSE Counter -->
<script type="text/javascript" src="http://forgeftp.novell.com/opensuse-art/openSUSE11/web-banner/jquery.js"></script><script type="text/javascript" src="http://forgeftp.novell.com/opensuse-art/openSUSE11/web-banner/SUSEcounter.js"></script><div id="countercontainer" style="width: 256px; height: 256px; margin: 0;padding: 0;"><a id="nojavascriptlink" href="http://www.opensuse.org"><img style="border: 0;" alt="loading" src="http://forgeftp.novell.com/opensuse-art/openSUSE11/web-banner/images/nojavascript.png" width="256" height="256" /></a></div>
<!-- END SUSE Counter -->