Posts for January 2008


I woke up this morning to find that it was snowing. It's not a lot, and it pretty much melts as soon as it hits the ground in most places (creating that dreadful slush everywhere), but it's snow nonetheless.

Seeing is believing, so here's two pictures.

Show images (2)

Categories: Personal, Japan
Posted on: 2008-01-23 04:08 UTC. Show comments (2)

Pocket Dictionary 1.2 now available

It appears I had accidentally broken Windows Mobile 2003 support with Pocket Dictionary 1.1. This new version fixes that. Pocket Dictionary 1.2 works on Windows Mobile 2003 and up.

Pocket Dictionary 1.2 is mostly a bugfix release. Besides the Windows Mobile 2003 bug, it has a few other minor fixes. See the Change Log for full details.

One important change: Pocket Dictionary now requires the .Net Compact Framework 3.5. It will not work on 2.0 anymore! The main reason for this change is because it fixes a bug with the ComboBox control that was preventing the context menu (with the cut/copy/paste options) from working correctly on the search field. Make sure you install the new Compact Framework before installing Pocket Dictionary.

Get Pocket Dictionary here.

Categories: Software
Posted on: 2008-01-20 11:17 UTC. Show comments (16)

Going to Okinawa

We've been talking about it pretty much since I arrived in Japan, and the original plan was to do it last autumn but obviously that didn't happen, but now it's finally going to happen: we're going to Okinawa in the beginning of March.

Okinawa, for those who don't know, is a group of islands south of Japan. They're quite far from the main four islands of Japan (so far that they're actually closer to Taiwan and the Phillipines). It's in the tropics, which is why it's a bad idea to go there in the summer.

Today I've booked the flights. On February 28th we'll fly to Ishigaki, an island to the southwest of Okinawa Honto (the main Okinawa island) and the southermost city in Japan. At some point we'll go by boat to Naha (the capital of Okinawa prefecture) on Okinawa Honto, and from there we'll fly back March 11th.

Should be a lot of fun!

Categories: Personal, Japan
Posted on: 2008-01-17 09:54 UTC. Show comments (1)

Why can't my computer use 4GB RAM?

It's a question that comes up quite often, and much has been said about it already. But I figured I'd throw in my two cents.

The situation is this: you've got a computer with 4GB RAM, but Windows (or Linux, or MacOS, etc.) reports you have only 3.25GB (or some other number less than 4GB). Where did the rest of the RAM go? How can you use the full amount? The answer to that last question is unfortunately that you can't, not with a 32 bit version of Windows anyway.

Here's what's going on. To read and write information in memory a computer program must specify where in memory it wishes to do so. For this it uses an address (I'm leaving virtual memory out of this discussion because it's irrelevant and would only complicate matters, so in this article when I say address I mean a physical address, that refers to an actual byte on your real RAM chips). Ever since the introduction of the 386 these addresses have been 32 bits in size. This means that there are 2 to the power of 32, or 4294967296 possible addresses. Because the x86 architecture addresses individual bytes, this means a maximum of 4294967296 bytes, or 4GB, can be addressed. This is the physical address space.

Many devices like your video or sound card use memory mapping to allow software to communicate with those devices. What this means is that they use certain addresses don't actually refer to a byte in memory; instead writing to that address sends information to that device. To do this they reserve a portion of the physical address space. If your video card is using 512MB of that address space and you install 4GB of memory in the system, you would need 4.5GB of address space to address all that, which you don't have. So 512MB of physical RAM cannot be addressed (because those addresses are used by the video card) and thus cannot be used or even "seen" by the OS.

Note that it's not only the video card; most other devices do this as well. Using the System Information tool in Windows (Start, Run, msinfo32.exe) you can see all hardware devices that do this and what address ranges they use under the "Hardware Resources, Memory" option (for the oldies: notice how there are still some devices that map into the old "upper memory" region (the area between the first 640KB and 1MB of RAM)). The ranges are shown as hexadecimal numbers.

Address ranges used by devices

Most 32 bit processors support an extended addressing mode called PAE (Physical Address Extension) which allows it to use 36 bit addresses for a total of 64GB of address space. 64 bit CPUs can use 64 bit addresses which allow for (theoretically) more than 16 million GB RAM (16 ExaBytes). However, for compatibility reasons all hardware devices will map into the first 4GB reason of address space (otherwise they wouldn't be able to run a 32 bit OS). So there's still an overlap and in the default scenario you'd still lose part of your RAM (even if you have e.g. 8GB RAM, you'd lose part of the first 4GB and see only e.g. 7.2GB). But most modern motherboards are capable of remapping the upper portion of RAM into the range above 4GB so all of it can theoretically be used (unless you actually have 64GB of RAM on a system with PAE).

I say theoretically because you still need OS support for the 36 bit addressing (or a real 64 bit OS on 64 bit systems). Windows does support PAE (among other things it's needed for Data Execution Prevention in Windows XP SP2 and up) but unless you have Windows Server it doesn't actually allow you to use the address above the 4GB boundary so you still lose RAM even if your motherboard has this support. The 64 bit versions of Windows (even the client versions) allow you to use 18TB of RAM so naturally it can use the full 4GB if your motherboard can do the remapping.

So simply put, if you want to use 4GB RAM and not lose any of it, you need a 64 bit CPU and either Windows Server, a 64 bit version of Windows, or some other operating system that either supports PAE or 64 bit.

Categories: General computing
Posted on: 2008-01-11 14:40 UTC. Show comments (8)

Back again

After another uneventful flight I'm back in Japan. I had a lot of fun in the Netherlands, seeing my family and friends again, but tomorrow it's back to work.

Because I can't really sleep in moving vehicles (aircraft, cars, trains, etc.) unless I'm extremely tired I once again didn't get any sleep on the plane, but since we had personal screens with interactive entertainment on this flight it wasn't so bad. I saw various stuff including The Simpsons Movie, which was okay but not spectacular, but the real surprise was the movie Stardust, which I had never heard of and only picked because the name sounded interesting and because it listed Ian McKellen among the actors (who as it turns out didn't really have a part but only narrates). It was a genuinely fun fantasy movie which I'll probably want to see again sometime (but then not on a 5" screen and without engine noise in the background). If you haven't seen it and like lighthearted fantasy movies (e.g. The Princess Bride) I can definitely recommend Stardust.

Show images (5)

Categories: Personal, Japan
Posted on: 2008-01-06 14:01 UTC. Show comments (4)

Latest posts




RSS Subscribe