Nokia E71 Update

I've had the Nokia E71 for a couple of weeks now.

Most of the points I raised turned out to be no big deal.

The static noise in the headphones has gone away since using the clip to clip it to my jacket, YouTube has its own mobile phone player that works much better than the built-in one, and Nokia appear to be making a better program for copying music to your phone.

The main problem I had was with my Bluetooth headset, which worked some times, but others not.

It also had a tendency to stay locked on 2G if the 3G signal became poor, even after I moved to a new area where there was good 3G coverage (fixed by manually selecting the network).

The camera was adequate, but no replacement for a real one.

Outside on an overcast day



Close-up of the post box



A few minutes later, facing the other direction



Outside on a sunny Winter's day



Inside without flash (incandescent room light)



Inside with flash



At night (with night mode)




There's lots of other little niggles, but none of them are fatal.
  • Have to manually tell it which connection to use if WLAN is unavailable
  • Can't have a dd mmm yyyy date format (e.g. 2 Sep 2008)
  • PiZero's themes have white text on a white background in obscure places
  • There's no way to disable the startup sound or the camera sound
  • Can't easily select multiple text messages
  • There is no way to insert smileys :-(

Labels: , ,

Better GNOME Terminal Copy and Paste

In most programs these days, you press Ctrl+C to copy to the clipboard.

In GNOME Terminal on Linux it's Ctrl+Shift+C and in PuTTY on Windows it happens as soon as you select some text.

This was confusing me until I found a great feature of GNOME Terminal:
  1. Click on the Edit menu, then on Keyboard Shortcuts...
  2. Click on Copy, then type Ctrl+C

Now Ctrl+C will act as copy if some text is selected, but it still acts as the interrupt key to stop a program if there's nothing selected.

The GNOME Edit Keyboard Shortcuts menu



Ctrl+C with something highlighted



Ctrl+C with nothing highlighted

Labels: , ,

Nokia E71 Review

My mobile phone contract was nearly over, so I called 3 to ask about my options, thinking I'd try to get a Nokia 6220 classic.

The salesman suggested the Nokia E71 was better and was available free on a $49 cap, so I got it instead.

The Nokia E71 (white)



It supports wireless LANs, VoIP, and has a longer battery life, but the camera isn't as good as the 6220's. It also does all the other usual stuff, including web, music, calendar, and games.

After using it for a day, I'm pleasantly surprised.

The keyboard layout is a bit different, being a full QWERTY keyboard. It's fine to use, but the right Navi key no longer works as backspace: instead it cancels the current operation - not a good thing if you're writing a long message. Still, you quickly get used to it.

It's smaller than it looks. It's very thin, and it's just narrow enough to hold it with one large hand.

Nokia E71 in my hand



It had a setup wizard that asked me if I wanted to copy all my contacts, appointments, and notes from my old phone over Bluetooth. Apart from the backspace key not working when entering a name for my new phone, it seems to have worked well.

The default 3 theme is fine but not particularly good looking and the Nokia ones are worse. Downloading some of PiZero's free themes makes it look and feel much nicer.

3 default theme



Nokia's icons



PiZero's icons



The screen is good. I can see more than I used to on my 6280, but obviously it's not as big as the iPhone's. Very clear, tho, and good fonts. Quite OK for browsing.

The built in browser isn't bad, but Opera Mini works a little better. The phone also supports Flash applications such as YouTube, but the sound was too choppy to be worthwhile.

Browsing The Age web site with Opera Mini



Google Maps uses the phone's builtin GPS receiver to show the current location on the map. It works OK, and looks really cool, but sometimes it takes over a minute to lock in.

Google Maps with GPS



The clock is really neat. When the phone is locked, you can hold the middle button down to see a full screen clock. I reduced the screensaver timeout to 10 seconds to make this work more to my liking.

Big clock



I've tried taking some photos, and the results are acceptable. As with all digital cameras I've tried, photos in poor light look quite grainy, but photos in good light look OK. I'll have to get some photos printed before I can really say how good the camera is.

On the home screen, there is an application shortcut list and a list of upcoming appointments, but it works a bit differently from my old Nokia 6280. Now, the so-called "active standby screen" means I can't press up, down, left, or right to launch an application. Instead, there are dedicated contacts, calendar, and messages keys, and you're better off using the application shortcut bar for everything else. I put the music player, Opera Mini, Gmail, the camera, and the clock there.

At first I was disappointed that there was no dedicated camera button, but the combination of the shortcut bar and the middle button to take the picture seem to work fine.

You can also rearrange most menus. This is pretty much necessary, since the default menus are cluttered. Thankfully the shortcut bar and shortcut keys should mean you don't have to even go into the menu very often.

I tried making a call last night with the supplied headphones, and you could easily hear noise. I think this was caused by the microphone brushing on my jacket. I'll try clipping it to my top next time. (Now I understand why my old headphones had an annoying neck loop.)

The ringtones sound really nice in a quiet environment or with the headphones, but the only one suitable for loud environments is the "Nostalgia" old style telephone. Still, one's better than none.

The power socket is the 2mm Nokia connector, so I can use all my old Nokia chargers. It also includes a USB to microUSB cable. It's only capable of USB 1.1, meaning the transfers will be slow but not painful at around one megabyte per second, for example it would take roughly one minute to copy an album of MP3s.

The Wi-Fi has been good for browsing the web and testing out the assisted GPS, but the killer application should be using it as a VoIP handset. Eventually I found a guide on Whirlpool that gave me the information I needed to set it up.

Making an internet phone call



The only other note I have to make is it's been pretty stable. It crashes reliably if you try to download a .sis theme file that it doesn't understand (presumably due to the wrong MIME type being sent by the server), but other than that I haven't noticed any problems, even while multi-tasking.

I'll try to post some photos I took with it tomorrow.

Labels: , ,

GNOME Without Borders

I run a lot of terminal sessions on my computer desktop so I can connect to some remote servers.

In GNOME, the terminal always starts out small, and then I have to click on the icon in the top right corner of the window to maximize it.

It also displays the title once in the title bar, and a second time in the tab title, which used up some of the screen unnecessarily.

No more!

The best solution I've found uses Openbox.

I installed it using Yum, then ran it once from the command line with the --replace option. After that, GNOME remembered to start it up instead of its default window manager, Metacity.

Then I created ~/.config/openbox/rc.xml with the following applications section:

<applications>
<application class="Firefox*">
<maximized>true</maximized>
<decor>no</decor>
</application>
<application class="Gnome-terminal">
<maximized>true</maximized>
<decor>no</decor>
</application>
<application class="Terminal">
<maximized>true</maximized>
<decor>no</decor>
</application>
</applications>


Now Firefox and my terminals start up maximized and without a title.


My GNOME desktop without window borders



On the rare occasion I need to turn borders back on, I can press Alt+Space then click on Decorate from the menu.

Labels: , ,

Disabling Ugly Fedora 9 Wallpaper

I installed Fedora 9 preview back in April.

This is what greets you when it's finished booting:



I think it's the ugliest login screen wallpaper I've ever seen, and the Fedora team don't give you any way to change it.

I tried deleting the package, but it kept coming back when I applied the latest updates.

Adding exclude=desktop-backgrounds* to /etc/yum.conf and running sudo rpm -e --nodeps desktop-backgrounds-basic seems to have done the trick.

Labels: , ,

Better Windows Keyboard Shortcuts

I've been using AutoHotkey for a while now. It's made my computer much easier to use.

You can use it to do several things, including:
  • Starting common programs without the mouse
  • Controlling your music and video programs
  • Making Mac shortcuts like Ctrl+Q work everywhere
  • Customizing application keyboard shortcuts


Installation


  1. Download and install AutoHotkey
  2. Create an empty file called shortcuts.ahk
  3. Create a shortcut to that file and put it in the Startup folder


You can then edit the script by right clicking on the green H icon in the corner of the screen and selecting Edit This Script, saving the file, then clicking Reload This Script.

Starting common programs


The Windows key is used for only a few things on a normal computer, such as Win+L to lock the screen. It's easy to add shortcuts for all your favorite programs, for example Win+F for Firefox, Win+I for iTunes, Win+N for Notepad, and so on.

Do this by adding a line like this

#i::Run C:\Program Files\iTunes\iTunes


to your shortcuts.ahk file.

The # means the Windows key (labeled with either a Windows symbol or the word Start), i means the I key, and C:\Program Files\iTunes\iTunes is the command to run when Windows and i are pressed together.

Another trick is to start a program in a maximized window, e.g.

#p::
Run C:\Program Files\PuTTY\PuTTY servername
WinWait, PuTTY
WinMaximize
return


Controlling your music and video programs


I use AutoHotkey to simulate the media buttons that some newer keyboards have, such as back, forward, pause, mute, and so on. I could buy a media keyboard, but I prefer a smaller keyboard that doesn't take up all my desk space.

You can either set it up to control the program in the foreground using something like:

#Left::Send {Media_Prev}
#Right::Send {Media_Next}


or tell it to control iTunes (even if the current window is Windows Media Player) using something like:

#Left::SendMessage, 0x319, 0, 0xC0000, , iTunes
#Right::SendMessage, 0x319, 0, 0xB0000, , iTunes


I also use these to control the volume everywhere:

#Up::Send {Volume_Up}
#Down::Send {Volume_Down}
#NumpadDot::Send {Volume_Mute}
#NumpadDel::Send {Volume_Mute}


Making Mac shortcuts like Ctrl+Q work everywhere


Since using Macs and Linux systems for a while, I find Ctrl+Q a more convenient shortcut to close the current program. A few Windows programs support this, but most of them use Alt+F4.

Adding this rule makes Ctrl+Q equivalent to Alt+F4.

^q::Send !{F4}


Customizing application keyboard shortcuts


I was trying out the Safari web browser, and it wasn't too bad, but the keyboard shortcut to change tabs is Ctrl+Shift+[. Firefox uses Ctrl+PageUp, which is more familiar and easier to press. Unfortunately, Safari doesn't let me change its keyboard shortcuts.

These rules check if the program is Safari then translate Ctrl+PageUp to Ctrl+Shift+[ and similarly for Ctrl+PageDown.

#ifWinActive ahk_class {1C03B488-D53B-4a81-97F8-754559640193}
^PgUp::Send ^+[
#ifWinActive ahk_class {1C03B488-D53B-4a81-97F8-754559640193}
^PgDn::Send ^+]


To find out the class id numbers, right click on the H icon, click on Spy, then click on the window you want to control.

Labels: , , ,

Bold Shell Command like the Rails Books

I've recently been reading some books about Ruby on Rails.

One little thing that I thought was cool was the example commands:

dave> cd work
work> rails demo
create
create app/controllers
create app/helpers
create app/models
: : :


I decided to try to make my shell look the same.

Putting the directory name in the prompt is easy. That can be achieved by setting PS1='$(basename "$PWD")> '

(if you use zsh, you may need to run setopt promptsubst first)

Making everything you type after the prompt bold is the tricky bit. You have to enable bold mode at the end of the prompt, but disable it as soon as the user has pressed Enter, so the command's output isn't bold too.

This can be achieved in zsh by adding %{$(tput bold)%} to the end of your PS1 line, e.g.

PS1='$(basename "$PWD")> %{$(tput bold)%}'


and adding a function called preexec that resets the font to normal.

preexec()
{
tput rmso
}


And to finish up, I like to handle things properly if tput and basename aren't available, so I test if tput is present using command -V tput and use POSIX-style ${parameter##word} to delete everything except the last part of the path.

So the stuff you need to add to ~/.zshrc now looks like this
setopt promptsubst

init_terminal()
{
if command -V tput >/dev/null 2>&1; then
bold="$(tput bold)"
underline="$(tput smul)"
normal="$(tput sgr0)"
fi
}

last_part_of_path()
{
local full_path="$1"
local last_part="${full_path##*/}"

if test -n "$last_part"; then
echo "$last_part"
else
echo "/"
fi
}

preexec()
{
print -n "$normal"
}

init_terminal

PS1='$(last_part_of_path "$PWD")> %{$bold%}'


And the end result looks like this



Unfortunately, you can't do this in bash because it doesn't have an equivalent to the preexec function, so everything including the command's output will be bold. (There is a patch to add something similar, but it causes bash to crash in some situations, so I think it's safer not to use it.)

Labels: , , ,

MOTORAZR V6 on Telstra Next G

I got a new phone for work yesterday, a Motorola MOTORAZR maxx V6. It seems to be a pretty good phone. Much better than I was expecting.

When I last used a Motorola several years ago, the menus were less intuitive than the Ericsson or Nokia ones. Now I feel that both of those have taken a step or two backwards, and the Motorola is no worse. The menu hierarchy is quite logical, and the keypad is very direct and responsive. It's definitely better than my Sony Ericsson Z610i, which is especially good considering it's only about 1 cm thick.

I tried to get it synchronizing my contacts and calendar with Linux. Unfortunately, it's quite a new phone, so it's not supported yet. Instead, I set up an account on ScheduleWorld and transferred my contacts over the internet using a protocol called SyncML, which most new phones seem to support. It worked well and didn't cost me anything other than the data costs.

It's on the Telstra Next G network, which offers broadband internet access, and has much better coverage than the other 3G networks. The phone and network also support HSDPA, which is supposed to offer download speeds of up to 14 megabits (14,000 kilobits) per second. So far the best I've got is 400 kilobits per second, but that's still fast enuff to do my work. I'm connecting to it as a GPRS modem over Bluetooth so I can access the internet from my laptop.

So far so good!

Update: December 31, 2007


The phone stops making and receiving phone calls after a while. A reboot makes it work again. The dealer is sending it back to Motorola to get it fixed. (It's running software version R26111VL-AS_U_96.66.74R.)

Labels: , , , ,

New Job

Having had my last exam on Friday, I'm now a free man!

I had two recruiters contacting me during exams trying to get me to check out some job options.

Unfortunately, my new company informs me I'm not allowed to mention their name. :-(

Anyway, they're a Melbourne-based technology company, and run hundreds of Linux servers around the world.

My job will be as a system administrator, so I'll be part of a team who has to make sure their servers keep running.

I'm taking this week off, will be doing some work helping a person with cerebral palsy next week, then start work on the 26th.

Probably the biggest downside of the job will be the on-call work. I'm supposed to be contactable 24 hours a day for a week every few weeks. It's not yet entirely clear how often!

The definite upsides, however, are better pay, a good small team, and exposure to a large-scale enterprise IT environment.

It also doesn't hurt that it's in the city. I'll be able to meet my other frends who work in the city, and of course meet some new peeple as well!

I checked out my public transport options on the Metlink web site, and I think I'll take a bus rather than the train. The train is quicker, but will be packed. I'll be able to get a seat and read a book if I take the bus.

Labels: , ,

Finally! Internet Without Line Rental!

iiNet just announced their new "Naked DSL" plans today. It's an ADSL2+ broadband connection without a landline service, meaning you don't need to pay $27 to Telstra for a phone line you never use.

The plan also comes with a VoIP service with excellent call rates, so you can buy an analog telephone adapter or a VoIP-capable router, save on phone call costs, and still keep your old number (just in case you did use the phone).

The best bit of news for me is it should (according to Whirlpool) involve minimal downtime when switching from an ADSL1 service, the main reason I haven't already got ADSL2.

Labels: , ,

Noisy New PC

I finally "bit the bullet" and bought a new PC last month.

I had been planning to buy a new home computer for the past two or so years, but I had never been able to justify it to myself. The last computer I bought was the Athlon XP system that I bought in late 2003, and it was still running fine, but my parents said they wanted me to have a new computer for my last semester of uni. How could I say no!?

About a year ago I had decided my system would be based on an Athlon 64 3600+. It was dual-core, much newer so presumably faster than my current system, and was supposed to have a very low power consumption (I think it was 45 watts, which is less than most light bulbs!).

The other question was Windows XP or Windows Vista. I had read several articles about Windows Vista, particularly on Paul Thurrot's SuperSite, and the general agreement was that Vista was OK, but that you should get the 32-bit version rather than the 64-bit version to ensure driver compatibility. (Some peeple had also advised waiting until service pack 1. I would have done that and put off my purchase until about November, but I was cashed up and wanted a computer now!)

When I went to buy the computer, the Athlon 3600 was practically impossible to get, and the 3800 was under $100. I also discovered that the current Athlons all consumed at least 65 watts, so I went for the 4000 as the best value for money option at $79. (More info about Athlon power consumption at the Athlon 64 Wikipedia entry)

I bought the computer from CPL in Melbourne, who had very good prices and had assured me that all the parts I wanted were in stock. On arriving there, I was told my preferred case, the Antec NSK 6500 was out of stock. I had wanted this model as it was the cheapest good-looking case that also had front audio and USB ports. As well as this, Antec are known for making good quality low-noise cases. The salesman advised that I should get an ASUS TA 88 instead.


ASUS TA 88



This turned out to be a bad choice. The system was terribly noisy. I traced it to three things: the extra rear fan, the power supply, and the disk drive bays.

As the first obvious things to do, I removed any unnecessary clamps and ensured the drive screws were firm, and unplugged the rear fan. This helped a little, but the system was still quite noisy. I decided to tolerate it until it was clear what to do.

Otherwise, the system ran well, and Vista turned out to be fine on balance (no issues with drivers or software compatibility), but it's not much faster than my four-year-old computer. I guess each core runs about as fast as my old computer, so my new computer will only shine when running two intensive applications at the same time, or when more applications are multi-threaded (Firefox is the worst culprit). It gets 4.8 on the Windows Vista performance tool, with the processor being the slowest component. Given my time again, I would buy a faster processor, perhaps something like an Athlon 64 4800 after checking out the benchmarks.

Today, I thought I had discovered a solution to my noise issues. I found out Antec had released a new affordable, quiet, energy efficient power supply in Australia called the Antec EarthWatts 380. After reading some favorable reviews at Silent PC Review and Overclockers Australia, I decided to go out and buy one.

My system is now barely audible, except for the minor rattle of the disk drives. The Antec NSK 6500 also had rubber drive grommets, so ideally I would have waited and bought that one instead, but oh well.

ItemPrice
Athlon 64 X2 4000+ CPU$89
ASUS M2A-VM mainboard$99
Corsair 2 GB PC 5300 DDR 2 RAM$128
Seagate 80 GB SATA hard diskN/A
Lite-On DVD reader/writerN/A
ASUS TA 881 case$69
Antec EarthWatts 380 power supply$79
ASUS GeForce 8600 GT SILENT video card$187
Microsoft Windows Vista Home Premium 32-bit$159
Total$810

Labels: , , ,

Going Back to Uni

A few weeks ago Katie asked me if there was any way to finish uni this semester.

I thought I had to do five units, with the usual full-time load being four. Knowing I had to do two of the most difficult units, programming languages and project, I figured it would be better to not overload. This would have meant I would graduate at the end of 2008 if I went part-time or by the middle of 2008 if I went full-time.

I contacted uni to confirm this, who advised I only needed to complete four units, meaning I could finish by the end of this year if I went full-time. As I'd been studying part-time since 2000 (first the Certificate of Software Engineering at Melbourne University, then the Bachelor of Computer Science at Monash), it felt well and truly time to finish it off.

I discussed it with Eileen at work who said I could take leave without pay.

I asked uni which electives I could take, and discovered some of the subjects I'd originally planned to take were no longer allowed. Those included data communications (CSE3318) and computer architecture (CSE3324). I would also have been interested to take LISP programming (CSE3394), but that hasn't been offered for a few years.

I enrolled in programming languages (CSE3322), computer industry (CSE3323), computer graphics (CSE3313) and project (CSE3301) as the only realistic way to finish my studies at the end of this year. It seemed like the options would only be less if I waited until next year (in which case my main subject choices were image processing and project, but the faculty couldn't guarantee those subjects would be offered next year). It was a bit disappointing considering they were part of my course plan when I enrolled in 2004, but I guess that's the downside of doing uni part-time.

My time table looks like being Monday thru Thursday. I'll try to sign up to volunteer at Wholefoods when I have a free hour or two over lunch on one of those days.

As for work, I've been told I'll be able to work on projects when I get back, rather than the support work I've mostly been doing since going part-time at the start of this year. Hopefully it will work out and I'll find something challenging and interesting, but that will depend on whether they find somebody to replace me doing the support work.

I've already purchased my text books (the main one being "Elements of ML Programming" by Ullman and "Compilers" by Aho) and can't wait for the social life!

Labels: , ,

Goodbye iiNet, Hello Internode!

The saga of my home ADSL connection.

No ADSL2 for you! (a.k.a. Internet in Australia sucks)


When I first moved to Elsternwick in November 2005, one of my important decisions was which internet service provider to use. I had previously been with iiNet, then Internode. Their ADSL plans were both quite reliable, which was essential, since I run my web site (including this blog) over my ADSL connection. The main factors in my decision were price and speed.

Around this time, iiNet said on their ADSL2+ coverage page that they were planning to install the required equipment (an ADSL2+ capable DSLAM) in my exchange in November/December. Their prices were very good (in fact, cheaper than most of their slower ADSL1 products), and the speeds should have been excellent. (According to Whereis, I'm 1.43 km from the Elsternwick exchange, and this graph of ADSL2+ speeds suggests I could get up to 20 Mb/s at that distance.) iiNet also don't block ports and allow using the connection to run servers, so it seemed like a no-brainer.

I applied for the service at the beginning of November.

About a week later, I had an ADSL1 service.

That was fine, since I knew they hadn't installed their DSLAM in Elsternwick yet, so I would be connected to a Telstra DSLAM, who at the time only offered ADSL1.

At the end of November, I received an email from iiNet saying "Congratulations, your exchange has been selected for a Broadband upgrade". This was great, and was what I was waiting to hear!

The date came and went, and I was still on ADSL1. Apparently the upgrade had been postponed.

I received another message in January 2006 telling me the same thing. Some time around the beginning of February, they actually installed their DSLAM and started migrating customers to ADSL2+. Unfortunately I wasn't one of them.

I contacted iiNet, and was told that I wasn't migrated because iiNet has to submit the list of customers to migrate to Telstra well in advance of the migration, and they had done so in October, before I was even a customer. I was told to wait for the "next migration".

Every few months, I contacted iiNet to ask when the migration would be. I was told they only performed bulk migrations (at least twenty customers at a time), and there were no plans to do such a bulk migration (presumably because I was one of the few customers who didn't get migrated in February).

In mid-2006, there were discussions of a single-port migration process, probably starting in September. Telstra called this a "single service migration" or a "single service transfer", depending on whether you were staying with the same ISP or changing to another one.

Several deadlines for single-service migration slipped, then it sounded like it might really happen in February 2007.

It did, but not for iiNet. For some reason, Internode and some other ISPs supported the process, but since Internode only had ADSL1, I had to wait for iiNet to get on board if I wanted ADSL2+.

Last month, it seemed like iiNet were joining the migration process, but I contacted them and they advised I still couldn't transfer. I would have to do a full disconnect, wait for about two weeks for the "lines codes" to be removed, then apply as a new customer and pay the full $200 connection fee. Since I rely on this connection for my web site and email, I can't accept a two-week outage.

The final straw was trying to watch a low-bandwidth video on YouTube the other day, and the playback kept stopping because my connection wasn't fast enuff.


Choosing a new ISP (a.k.a. which plan sucks the least)



I checked out the plans on Broadband Choice. Internode were cost competitive (they're all too expensive and slow, but Internode isn't much more expensive than the other options for my usage), and they're known to be a very reliable company. Indeed, they're ranked #1 by the users on Broadband Choice. They also allow me to run servers and have a local mirror site where I can get my Linux downloads fast and free. I looked at some of the other, newer ADSL2 providers such as Spin, hoping they would support single-service transfers, but they also had a long contract period and higher set-up cost, which my house mates weren't happy with, so Internode it was!


The churn process (a.k.a. I can't live without Internet)



To complicate things, Internode don't provide phone services like iiNet do, and Telstra (Australia's near-monopoly telco) requires we have an active landline phone service to get ADSL. The only real option was Telstra, who provide a $20 a month plan called HomeLine Budget, but they don't let you sign up for that if you want to use another company for ADSL. Instead I would have to go with their next-least-expensive plan, HomeLine Complete, which costs $27 a month.

I read the forums on the Whirlpool broadband user group web site to figure out whether it would be better to change the phone to Telstra or the internet to Internode first, in order to minimize downtime. I came to the conclusion that I could get my faster internet sooner if I changed my internet provider first, and that there were no downsides to doing it that way. In Australia, the process of changing an existing ADSL connection from one ISP to another ISP is called "churning" (however most Telstra documentation calls it a "rapid transfer").

I signed up for the Internode HOME-1500-Power-10 plan, a 1.5 Mb/s plan for $49.95 a month, and heard back from them within a couple of days. They sent an email detailing the new plan and the process for transferring to them. It included a PDF telling me that I should not change phone providers once my Internode plan went active, as this could remove the "ADSL line codes", causing an outage of a few days.

I immediately called Internode to confirm this, then ended up having to cancel the process.

I had to go to plan B: changing my phone provider to Telstra first, so I called Telstra to do so. I was told this would take a few weeks. It did, and in the mean time, Internode changed the price on the plan I wanted from $49.95 to $54.95. I decided to go ahead with it anyway, since it would now cost the same as the old arrangements with iiNet ($33.36 + $49.95 versus $26.95 + $54.95).

Two weeks later, and finally my phone was with Telstra. I called Internode to re-apply, accepting the new plan price.

Last night, I got an SMS telling me that the ADSL service was provisioned, i.e. was now ready to use!


Setting up my new connection (a.k.a. why doesn't my Internet work?)



I left work around 6.15pm, eager to set up the new connection.

I set the DNS of my web site to my backup server (on a frend's ADSL connection), pointed my Debian PPP configuration to the Internode "dsl-provider" account details, restarted PPP and crossed my fingers. Of course, it didn't work.

I learned two things:
  • On Debian, you need to change three files, /etc/ppp/dsl-provider, /etc/ppp/provider, and /etc/network/interfaces
  • My D-Link DSL-300 modem is really strange to configure in bridge mode


The first is because there are three sets of PPP initialization scripts.
ppp_on_boot (dsl-provider)
I think this used to be called from a script in /etc/init.d. It used dsl-provider, but is no longer referenced.
pon/off (provider)
This is used by pon and poff, the old dial-up ("dip",) scripts that allow privileged users to start and stop the PPP connection.
ifup (interfaces)
PPP devices can now be configured along with Ethernet devices in the standard Debian interfaces file. The provider is named in that file.


In all cases, the script for each provider is stored in /etc/ppp/peers, for example /etc/ppp/peers/internode.

The second is weirder, since there is no documentation (I never got a manual, and there's nothing helpful on the D-Link web site), so it's more a matter of trial-and-error.

I was receiving the familiar "Timeout waiting for PADO packets" message (note that it's PADO with the letter O, not PAD0 with the number 0) which I've seen numerous times before with there were connection problems.

The first thing I did was to add an account on the ADSL modem to test whether my iiNet or Internode account was active, and whether the username and password were correct. I determined that my Internode account was indeed working.

I then enabled debug mode in pppd, and noticed some other messages before the PADO timeout message, in particular "LCP: timeout sending Config-Requests". I figured the problem would have to be that pppd couldn't set up the connection on the modem, so wondered whether the modem was in bridge mode (which it needed to be to allow my Debian server to override the address configuration and provide other services such as address translation that allow me to share the connection between multiple computers).



I checked the main "account configuration" page and ensured there was no username and password entered, that on-demand connection was disabled, and that the connection was disconnected. When I clicked OK, I let it save its settings to Flash memory and reboot. Still nothing.

Next, I tried setting the connection type to "RFC1483 Bridge" mode. It still didn't work.

Finally, I played the old game I learned from years of using Microsoft products: go thru every menu and see what settings are where they shouldn't be. (At least with this modem, there aren't too many settings to get lost in!)

I went to the accounts management page, and noticed there was an entry for some account. The fields didn't give much information, but I figured the best idea was to make sure there was as little configuration on the modem itself. (Besides, the current setup wasn't working, why not give it a try!)



After deleting the entry it still didn't work, but after powering the modem off and on, my "pon" script worked, and I had an internet connection!


Success! (a.k.a. this Internet connection sucks less!)


I made sure my server settings were correct, redirected my web site to my new connection, and sent a test message thru the new Internode email server. All went well!

The very next thing I did was enter youtube.com in my browser. I clicked on the first link it showed me to some dodgy party with beer movie. It played without pausing!

Mission accomplished!

Labels: , , ,

Microsoft Remix 2007

I spent the past two days at Remix 2007, a Microsoft web development conference.

My main motivation was to see what Microsoft's web development tools were like, particularly for designing and building a web site using graphical tools. At the moment, I build my web sites by hand, writing my own HTML and CSS. In theory, Microsoft's development tools such as Visual Studio should be able to create similar results much more quickly. Remix 07 seemed like a good way to find out about the latest tools and trends.

The event was held at the Crown Promenade Hotel, which is a hotel hidden just behind the main Crown Casino on Southbank.

According the registration email, attendees would receive a free copy of Expression Web, Microsoft's new web site development tool. When I arrived there around 9am, there was a booth handing out 60-day evaluation versions, but nothing else. Time to pick up a program and head in for the first session.

The event started with a keynote address about Silverlight and Expression. Silverlight is Microsoft's answer to Adobe's Flex. It's supposed to allow developers to write more interactive web sites. Unlike Flex, however, there didn't seem to be any real push to use Silverlight for desktop applications.

The first interesting session was by Lee Brimelow. He's a geek with a multimedia bent, somebody with a lot of Flash experience and the author of The Flash Blog. His session on Windows Presentation Framework (WPF) showed a lot of interesting multimedia techniques implemented using Microsoft's latest graphics framework, such as rotating shapes, 3D audio visualizations, and some photo browsing applications using the Flickr API. His talk was from the perspective of somebody familiar with Flash trying to do similar and interesting things with Microsoft's new stuff. It gave the impression of something very interesting to multimedia and design peeple, but not much that couldn't be achieved using existing technologies. That said, it was interesting from a developer's perspective.

The next talk was from Laurence Moroney about "Building Rich Web Experiences with Silverlight and JavaScript". It was a fairly basic talk about Microsoft's XAML mark-up language. If you've seen HTML and SVG or perhaps Mozilla's XUL, as I have, you would have been totally bored. Maybe it was useful for the designers.

After lunch there was a talk by Steve Marx provocatively titled "PHP and Microsoft". He said that Microsoft's IIS web server had recently become pretty good at running PHP. The rest of the talk was about using a library he'd written to provide a better user experience using Microsoft's AJAX library on your PHP-based web sites. It got me thinking about a few places I could use AJAX to dynamically update parts of a web page, and introduced me to Microsoft's SourceForge equivalent, CodePlex.

At 3.15, a Kiwi named John-Daniel Trask gave a talk. If I remember rightly it showed ways of providing web site content in other formats, such as RSS and XML. It was heavily based on an ASP.NET web site and used a lot of features of Visual Studio. The code itself wasn't particularly memorable.

The formalities for the first day finished with a talk about "Orcas", the version of Visual Studio that will be released as Visual Studio 2008. The main things it proved were that Visual Studio now has some good tools for web development including a split source/page view that reminded me of Firebug for Firefox and that Visual Studio 2008 was still buggy and a long way from being ready for release!

The end of the day was really good. Most of us went to an event down the road at Galactic Circus, involving ten-pin bowling, laser force, arcade games, and free beer. You can guess which one I focussed on. ;-)

Day two started with lots of marketing presentations and a demo of a state-of-the-art web site that Guy Gadney's team had developed for the Discovery Channel. The content and technology themselves weren't very interesting, but what was, was that it had only taken his team a few weeks to build the web site in question. The site showed off the Silverlight video streaming capabilities.

The mid-morning talk was by Russ Weakley, and was the kind of material I was used to and hoping to hear more of. It was also good to see and meet the main guy behind Max Design and the Web Standards Group. Unfortunately, it was mostly old news for me. His talk was about using different CSS hacks to target rules to different browsers. They weren't traditional hacks like the Holly Hack or Voice Hack, but rather import hacks that used the different ways that each browser parses the style sheet include code to hide some code from older or less standards compilant browsers. I had already used these techniques a few months ago, probably from reading Max Design's "Links for Light Reading", so credit where credit's due, and good that more peeple are being encouraged to use the technique (rather than using hacks or tables), but nothing new to me as a regular reader. At the end of his talk, I mentioned a script by Dean Edwards called "IE7", since I've found it greatly reduces the number of hacks I need to use when making my CSS work in Internet Explorer.

The last session of the morning was another one from John-Daniel Trask. He advocated designing with standards in mind, and reminded us of accessibility (primarily thru the Web Content Accessibility Guidelines). Again, not too much new for me, but refreshing to hear it being discussed at a Microsoft conference.

After lunch was a panel about "Web 2.0". It was a bit silly, with everybody talking around the topic rather than about it, talking about startups, trends, and trying to look cool.

Mid-afternoon was another talk from Steve Marx from Microsoft. It was technically rather light, since Visual Studio was doing much of the work, but it demoed using Visual Studio to AJAX enable a web site, and was made much more interesting by making the whole talk about juggling ("Asynchronous Juggling and XML" rather than the traditional "Asynchronous JavaScript and XML"). You can see how peeple like Linus Torvalds win the crowd over by being self-deprecating. :-)

The last session was another panel, discussing the differences between developers and designers. The host asked the audience to guess which of the panelists were developers, and which designers. It was fairly obvious: the designers had sunglasses, bad shirts and sideburns, while the developers had free polo shirts advertising technology companies and otherwise no fashion sense whatsoever. It was basically a wrap-up wishing that developers and designers worked more closely together, and reminding us to purchase their Expression software suite.

During the whole event, one recurring thought was that this new technology was largely futile, since nobody has the Silverlight runtime on their computer. Flash sites are only now coming into their own, and that's with an installed base of over 95%, it's hard to see how Microsoft would overtake Flash and Flex. Perhaps the one niche Silverlight might find is for intranet applications where the developers can specify a standard operating enviroment and target only one platform. For anything that has to be usable by everyone, HTML and JavaScript or Flash still seem like the only real options. (It was interesting to meet some peeple who were doing some marketing work for Microsoft who were attending. They, like many designers, were familiar with Adobe/Macromedia's tool suite, but were trying to move to Microsoft's products since they figured they had better use their client's own stuff.)

Otherwise, I'm left with a mildly positive impression. It was more informative than Sun or IBM events I've attended in the past, quite frank about what Microsoft could help you do while also acknowledging weaknesses, and rather more focussed on the developer.

After handing in my evaluation form, I was rather pleased to get a free copy of Expression Web!

Labels: , , , ,

Telstra FTTN Proposal

I was in a waiting room the other day, so I picked up the newspaper. Telstra had a full-page ad comparing their fibre-to-the-node broadband proposal against the G9 proposal (a consortium made up of Australia's other major internet service providers, including Optus, AAPT, iiNet and Internode). Telstra's side had tick marks next to each point, while G9 had crosses. I guess that's the end of the debate then!

There were two particular points that got my attention:
1) G9 is "foreign owned"
2) Telstra's prices are "guaranteed for 14 years"

The first point is only partially true: AAPT is owned by Telecom New Zealand, Optus is owned by SingTel, and Primus is based in the US. The other members are all Australian. They include iiNet, Internode, Macquarie Telecom, PowerTel, Soul, and TransACT. In any case, the major criteria should be speed, reliability, and price.

The second point is true, but you wouldn't want it to be. Telstra haven't released their full wholesale pricing, but they did let slip that their basic 512 kb/s service will cost $59.

Compare that to the G9 pricing, where the slowest service will be three times faster (1.5 Mb/s) and will cost just $14.23. Even their fastest plan will cost just $35.38.

It's one thing for Telstra to be more expensive. We expect that. What's not acceptable is their proposal would cause prices to be higher than they are now for the same product. That would reduce broadband adoption, reduce business competitiveness, and cripple new services such as Internet TV and movies on demand.

For instance, I currently pay $26.95 for a home phone service and $54.95 for a 1.5 Mb/s ADSL service, which makes $81.90 together. ADSL pricing is based on a $22 fee to access Telstra's copper phone line, plus the ISP's costs and margin, which make up the remaining $32.95. Assuming the phone access component of the wholesale price in Telstra's proposal is $26.95 (it's likely to be less, since that the retail price rather than the wholesale price), the internet component would be $59 - $26.95 = $32.05, $10.05 more than the current wholesale price, for a service that's three times slower!

At this point, Telstra have failed to make a case for their proposal. The average consumer would be better off if they did nothing.

Labels: , , ,

Safari for Windows

Apple have just released their famous Safari web browser for Windows. Probably not everybody has heard of it, but it's famous in geek circles for being the first web browser to pass the Acid test, meaning it supports the latest web standards, and should be a good browser for web developers to test on.

Of course, being from Apple, it should also provide a really good user experience. I downloaded it this morning to take a look.


Safari on Windows




The first thing you notice is it uses the familiar Apple brushed metal look. This is expected, but it doesn't fit in very well with the rest of the system. That said, I tend to run my browser full screen, so it's not so important that it look identical to every other application, only that it behave like them.

Unfortunately, this first release for Windows doesn't do that very well either. I counted fifteen annoying differences.

The worst ones:

  • the default fonts are very dark
  • the address gets messed up if you press Ctrl+L and try to type a new address while the home page is loading
    (the same thing happens in Internet Explorer and is the #1 reason I don't use it)
  • the Windows task bar can't be accessed if it's in auto-hide mode
    (Safari doesn't leave a 1 or 2 pixel buffer at the bottom so you can move your mouse to the bottom of the screen and see what other programs are open)
  • new windows aren't the same size as the current one
  • many keyboard shortcuts don't work on Blogger
    (I couldn't use Ctrl+C, Left, Shift+Home, or my Alt Gr key)
  • no shortcut to switch between two most recent tabs
    (like Ctrl+Tab in Firefox when using the LastTab extension)
  • many menu items appear in the Edit menu (where they would be on Mac) rather than a Tools or Options menu (where they should be on Windows)
  • you have to hold down the mouse button while selecting an item from a drop-down list
  • no proxy support (meaning I can't use Safari at work)
  • no way to fix any of this! (I reported these as bugs, but who knows how long they'll take to fix; Safari isn't open source and isn't extensible like Firefox)



Bug: Pressing Ctrl+L then typing too quickly



Some of these are problems with the browser itself, some with particular web sites, and others with the user interface toolkit Apple use to make their Mac applications run on Windows. It would also be nice if it offered to migrate my passwords from Firefox. There's no way I'm typing in my passwords again for all the sites I go to.

On the upside, it has some nice features such as highlighting the active text field on a form with a clearly visible blue border, and showing the page loading progress using a nifty blue bar that takes up the whole address bar (this feature inspired the Fission addon for Firefox). It's also nice that my web site looks fine!


My web site in Safari



On the whole, the browser is quite usable, and hasn't crashed on me yet, it's just lacking several features that I want before making it my default web browser.

Update: June 28, 2007


I just tried Safari 3.0.2 at work behind an authenticating proxy, and it works fine. It's just the proxy settings button is grayed out. Apparently it uses the operating system settings (Control Panel->Internet Options).

Update: November 20, 2007


Safari 3.0.4 was released today. It seems to fix the taskbar hiding bug, and new windows are now the right size. There's now a Ctrl+Tab shortcut. It doesn't work the way I want, but at least it's there. Blogger also seems to work, but it crashed the first time I tried. The Ctrl+L bug isn't fixed, and sometimes Ctrl+L doesn't do anything.

Labels: , , , ,

Software Engineering Exam

I had my Software Engineering (CSE3308) exam this morning.

I left around 8.30am to ensure I got there on time. Ended up parking a few blocks away from the racecourse on Balaclava Road as I figured a walk would be a good idea to relax and clear my mind. It also helped that parking there was free, while the uni were charging $6 to park at the exam venue.

The exam was easier than expected. There was a fairly standard question on object-oriented design, one on data-flow diagrams, one on entity-relationship diagrams, one on process specifications, and a few on various aspects quality. The only thing that surprised me was there was no question about user interfaces. Still, that was fine, since that part of the course focussed too much on regurgitating words from lecture slides (e.g. sovereign versus transient versus parisitic) rather than designing a good user interface (a la Joel Spolsky and Jakob Nielsen).

I finished all the questions in about two hours, so I had an hour to spare. I went over my answers, but decided I couldn't add any more, so I left early.

I decided to treat myself and get the keyboard I had been wanting for a while. A Yamaha PSR-E303. It's a fairly cheap portable electronic piano keyboard ($280 Australian) that's touch sensitive (i.e. the harder you press, the louder the notes are) and sounds like a piano.

When I go shopping for music (which isn't nearly as often as I'd like), I usually go to Allan's Music in Kew. Since my brother Chris lives nearby in Hawthorn, I decided to drop in on him first.

We had a chat about life, love, the universe, and everything, and went to get lunch at Grill'd, a gourmet hamburger shop on Glenferrie Road. I had the Garden Vegetable burger, which tasted great. Chris had the Hot Mama! Mmm...

Ended up at Allan's around 4.30pm. Had a quick look at a Casio for the same price, but decided to get the Yamaha because it sounded more like a piano. Including a stand and a power adapter, it cost $350.

I got home around 5.15 and had a bit of a play. The main music I'd been wanting to play was some Whitlams song books I bought at their gig a few months back at the Corner Hotel. Most peeple know their songs from Eternal Nightcap, such as No Aphrodisiac, but I think their stuff off Torch the Moon (Royal in the Afternoon, I Will Not Go Quietly, Ease of the Midnight Visit) is even better piano music. Had a bit of a play and realized I desperately needed practice!

Jodie noticed the keyboard and decided she needed to lend me her headphones. Don't think I was playing too loudly, but she's studying for her pilot's license, and it's only fair to try not to bother her.

Megan also noticed the keyboard. I expect it won't be too long until we're fighting over who gets to play it! :-)

Labels: , , , , , , ,

Free Fonts

My interest in fonts began a few years ago when I discovered Lucida Sans. It was embedded in a paper about Plan 9, an operating system by the creators of UNIX. It's a nice, easy-to-read font without serifs (the ornaments on fonts like Times New Roman) that isn't as boring as Arial or Helvetica.

I was trying to find out how I could get the font on my computer, when I discovered that the Sun Java package includes the original Lucida Sans fonts. I now make a point of installing Java on all of my computers, then copying the fonts from the lib/fonts folder into my system fonts folder.

Lucida Grande



There's a similar font that comes with Mac OS X called Lucida Grande. If you're running Windows, you can get it by installing the Safari web browser public beta and copying the TTF files from the Safari.resources folder.

Microsoft Windows also comes with a version of Lucida Sans called Lucida Sans Unicode. On some systems (e.g. Windows 2000 without ClearType) this doesn't look very good and it doesn't differentiate between normal and bold, so I only use this as a fall back if the other two aren't available.

I use these three fonts as the default fonts on my web site. Since at least one of these is included in recent Windows and Mac systems, most peeple should see a Lucida Sans variant.

It also turns out there's a number of other good fonts available for free download, starting with the Microsoft Windows Core Fonts, including Andale Mono, Arial, MS Comic Sans, Courier New, Georgia, Impact, Tahoma, Times New Roman, Trebuchet MS, Webdings, and Verdana. Most peeple will be familiar with these fonts, but I'd like to point out Andale Mono as it's a really good font for programming and much better looking than Courier New. They can be downloaded from the SourceForge Core Fonts Project Page.

Andale Mono



Other worthwhile downloads are the Windows ClearType Fonts, including Calibri, Cambria, Candara, Consolas, Constantia, and Corbel. They are all included in a standard install of Windows Vista or Microsoft Office 2007, but you can also get them in the Microsoft PowerPoint 2007 Viewer package. Calibri is the definite highlight. It's the default font in Word 2007, so you're certain to see it more in future.

The Microsoft Office Fonts includes some classics, particularly Century Schoolbook, Gill Sans MT, and Lucida Sans. You can get them with most versions of Microsoft Office, but you can also get them in the freely available Microsoft Publisher 98 Euro Fonts Update. Run PubUpd.exe /c /t:c:\temp, then copy the TTF files from c:\temp into c:\windows\fonts.

I discovered today that Adobe Reader version 8 includes Myriad Pro. It's an attractive humanist font similar to Lucida Sans. It's the font used in Apple ads. You can download it here. Install it and then copy the OTF files from the Resource/Font folder into the system fonts folder.

Myriad Pro



Another set of good fonts that deserve more attention is the Bitstream Vera family. They are included as the default fonts in many recent Linux distributions, and can be downloaded from the GNOME Fonts web page. They can be used as pretty good replacements for Verdana, Georgia, and Andale Mono.

Thanks to GearedBull for releasing his excellent Wikipedia font previews into the public domain.

Labels: , , , , , ,

New Web Site Design

A number of peeple told me that my site looked boring.

I had been wanting to come up with a radical new style, having been inspired by sites like Modern Life and an excellent list of 50 beautiful sites on Smashing Magazine.

After many battles with CSS to get exactly the right results in all browsers, and realizing that it would take forever if I wanted something unusual, I decided to try something simple yesterday. The result is now the default theme on my web site.


New Home Page



The main focus is the new banner, which is a bright "cornflower" blue (probably my favorite color, even if it does remind me of Fight Club). At the bottom of the banner are simple white all caps words that are links to each section of the site.

I decided to remove the page titles and the crumbs. I'm going to leave them out to reduce any clutter until I'm sure they're necessary.


New-Look Blog



The other major change is to specify a font size. In the past, all my sites have respected the browsers's preferred font size. Unfortunately, the default font size on Windows systems is quite large, and a lot of peeple don't know how to change it. The new theme specifies a default size of 10 points small, which should make fonts somewhat smaller than in the past, matching most peeple's expectations, making the site look better with default browser settings, while allowing peeple to make the fonts smaller or larger using their browser's text size or zoom feature.

There's also an improved "page not found" page. If you mistype an address, you are shown a list of similar pages if there are any, and a list of popular pages if there aren't any.

As always, the site should work on all platforms.

Let me know what you think!

Labels: , , ,

Melbourne House No More

Melbourne House closed yesterday. It was one of the longest running Australian games development companies.

They were involved in the production of Xenon by the Bitmap Brothers. I have fond memories of it, as it is one of the first games I played on my family's Atari ST.

Some of the employees will be moving on to Krome, while others including my frend Sud will be looking for a new job!

Labels: , , , ,

iTunes 6.0.3

I just installed iTunes 6.0.3.

Unfortunately, as with iTunes 6.0.2, it crashes whenever I try to start playing a song!

This is so ridiculous. The problem has been known for months now (lots of people have been discussing this in Apple's support forums since December last year), yet they still haven't fixed it.

It doesn't leave a good impression of Apple's quality assurance/testing or their customer service.

Labels: , , ,

Fax Machine

We recently recently got a new Xerox multifunction center at work.

I finally figured out that to send faxes, I had to configure it to dial 1 before the number keyed in.

This struck me as odd, because the phone line it uses is a direct line, and if it was connected to our PABX, it would have to dial 0, not 1, to get an external line.

Now it's configured to dial 1, it doesn't actually do so, but obviously it's set something inside that makes it work.

This machine is quite possibly the hardest to use device I have ever encountered!

Labels: , , ,