Archive for September, 2007
Pragmata is better!
Posted by Ville Walveranta in Ergonomics, Technical on 21 September 2007
I’ve been using the free Microsoft Andale Mono (member of Microsoft core fonts) as my “coding font” for last couple of years. It’s been mostly fine, though at times I wished for a narrower font with a more refined zero, more standard-looking lower-case L, etc.
I’ve known of Pragmata for quite some time, but the $108 cost (e.g. at MyFonts.com) has been a deterrent since it’s not possible to test the font before buying it, and since the product is not returnable/refundable. After circling around the font for a long while I finally decided to give it a go, and I’m happy that I did, because Pragmata is better than MS Andale Mono, or Proggy, or any other coding font I’ve tried thus far. So while it’s difficult to say whether the investment is really worth $108, considering the amount of time I spend staring at code, it’d say a good font can be equated to a comfortable chair (almost, at least
).
Depending on how the editor treats the selected font (mainly whether the font is anti-aliased or not), it looks somewhat different in different editors, even at the same point size (while Pragmata scales, it seems to be at its best at 9pt).
I especially like the clarity of wavy brackets, digits, zero (vs. capital letter O). AND smileys don’t look stupid in it!
![]()
Pragmata 9pt in UltraEdit.
![]()
Pragmata 9pt in Eclipse.
Selecting radio button in JavaScript with jQuery
Posted by Ville Walveranta in Technical on 21 September 2007
I’m learning jQuery, and really like all the endless additional features (not to mention the ease of writing code!) it brings to JavaScript. But for a newbie some things take time to sink in, especially since the concept of jQuery is a bit different from vanilla JavaScript.
It took me couple of hours to figure out the following two lines to control default selection of radio buttons in a form (I knew how it’s done in plain JavaScript, of course, but it was the jQuery format that was something new to figure out). Setting the radio button attribute isn’t enough; the value needs to be set separately. I might write a simple helper plugin for jQuery later once I become more familiar with it so that setting the attribute automatically sets the corresponding value to the radio group.
$("input[@name='us_edition']").val("both");
$("#us_edition_both").attr("checked", "checked");
That piece of code selects the "us_edition_both" (with value "both") radio button in my form:
<input name="us_edition" type="radio" id="us_edition_both" value="both" \
onClick="show_us_mailing();" checked="checked">
<input name="us_edition" type="radio" id="us_edition_digi" value="digi" \
onClick="hide_us_mailing();">
Of course it shouldn’t have been this difficult to figure out and, of course, it isn’t. A month from now I’ll snicker at myself having spent more than two hours figuring out how to do this.
Thunderbird.. not for me!
Posted by Ville Walveranta in Rants, Technical on 18 September 2007
Being a fan of Firefox I gave Mozilla’s Thunderbird a try today. Granted, it’s a lot lighter than Outlook (currently using 2007), but… perhaps it’s too light. Yes, there are plug-ins to augment functionality and features, but..
Perhaps the biggest thing that bugged me about it was the lack of an option to set images from all remote sites to load by default. I realize it’s perhaps not a "safe" thing to do, or that it might increase the amount of spam, but the fact that I always have to click on "Load Images" to load the embedded images slows down processing emails. Emails arrive from so many domains/senders that setting a specific sites on the image-loading-whitelist doesn’t cut it.
I’ll give it another try later.. and if I happen to have missed a setting to set remote images to load by default (I couldn’t find anything on the topic by quick Googling, either), please write a comment.
Blogging with Microsoft Live Writer
Posted by Ville Walveranta in Technical on 18 September 2007
I’m making this post using Microsoft Live Writer, and it looks pretty cool! Editing the WordPress-based My Galagzee! blog entry takes place on the PC (using a PC app rather than a browser), and is much more like using Word than a web-based editor. It has a WYSIWYG editor (based on the blog’s style – it analyzes the blog’s style when you add a new blog account, multiple accounts/blogs are supported), integrated spell-checker, and more. Assuming that this message actually gets posted,
and that there’s no surprising instability issues (Live Writer is currently still a beta release), this program will join my standard set of tools!
SkypeOut – don’t bother!
Posted by Ville Walveranta in Rants, Technical on 10 September 2007
I’ve been meaning to try out SkypeOut as a possible even less expensive replacement for our current VOIP service, and when a IOGear GBU321 USB-to-Bluetooth dongle arrived today, I paired it with my cell phone’s Plantronics Discovery 655 headset, and gave SkypeOut a try. Basically, that (three months of SkypeOut service) was waste of eight or so dollars. The call quality is so terrible that even if the poor call quality is an “occasional” occurrence, the service is not useable for anything but testing it as a hobby, or for curiosity’s sake (sort of like a HAM radio).
I’m on Comcast cable ISP with speedtest.net giving 6240kb/s downstream and 484kb/s upstream; at the time of the SkypeOut test there was negligible network traffic, and no other major apps open on my PC. I also made a recording test from my bluetooth headset using Sound Forge to make sure the bluetooth link wasn’t at fault (it wasn’t – the recording sounded like a very clear PSTN call). Apparently, I’m not the only person who doesn’t find SkypeOut call quality satisfactory.
So I continue to use VoipYourLife. I initially switched from POTS to Vonage, but after Vonage quietly raised their rate to Finland last summer from 4¢/min to 27¢/min (it took 2½ months after the rate increase before I happened to glance the automatically charged phone bill and thus notice the almost 7x rate hike), I switched to VoipYourLife and it has worked fairly well. While perhaps not worth “ten stars”, VoipYourLife has been at least as good call quality-wise as Vonage and their customer service is considerably better than that of Vonage’s (which of course doesn’t say much
.. but they are actually quite responsive), so they’re probably about as consumer good as VOIP services go (corporate VOIP services aren’t trouble-free, either). But considering that the monthly fee is about 1/3 of equivalent AT&T service — and I can dial overseas calls directly at a reasonable cost without having to resort to the “prefix” calling services, I think it’s worth it.
Finally a word for those who found this post while searching info about IOGear GBU321 and/or/with Plantronics Discovery 655. They seem to work well together; IOGear driver installation got stuck on the first run, but my PC was having some issues, and rebooting and reinstalling the driver fixed the problem. Pairing with Discovery 655 was easy once I found the manual as the pass code, “0000″, was needed to complete pairing. The range is not very long, but it was to be expected. The quality starts to degrade after about 30 feet, just like it does with a cell phone. But while sitting at the computer, or while moving around in the same room, the connection quality is very good. The driver disk that came with the bluetooth dongle was out of date (or at least a new version several versions ahead was available from the IOGear website).