Daniel 'MaTachi' Jonsson

Monthly Archives: August 2010

Why Allocation Unit Size Matters

Windows - Size on DiskLast week I got an USB memory from my school, to use at the web design classes, and now after putting a lot of stuff on it I realised that the allocation unit size was way to high. The content took up 930 MB, and on my internal hard disk it had the size of 964 MB (because of the allocation unit size). So that wasn’t a huge loss. But on my USB memory it took up 1,28 GB! And that’s because of the default allocation unit size of the memory stick that was 32 kB!

To change this I formated the USB memory to the FAT32 file system and picked the default allocation unit size of 4096 bytes. Now does the stuff on my USB memory only use up 972 MB. :)

Why Speedtest.net sucks

I live pretty close to Göteborg in Sweden, and from here it’s almost the same distance to Malmö as it is to Stockholm, as you can see on the images below. But that doesn’t prevent me from getting these shitty results with this HUGE speed difference:

Speedtest
Speedtest

What is the point with a internet speed testing server that isn’t able to upload more than 5-6 Mb/s?!

Firefox Add-on of the Week: Custom Tab Width

Custom Tab WidthI don’t know why it doesn’t work to edit the tab width by editing the following two preferences in about:config in Firefox 4 Beta 4:

browser.tabs.tabMaxWidth
browser.tabs.tabMinWidth

But I found the add-on Custom Tab Width that does the job! The strange thing is that it looks like the add-on changes those two preferences, and that apparently works. I guess that the add-on edits something more… But it works!

java.lang.nullpointerexception when editing strings.xml

I have downloaded Android SDK to Eclipse 3.6 and I have started to mess around and see if I can create something to Android. But when I opened [project folder]/res/values/strings.xml and tried to edit it in the Resources view, I got the following error message:

java.lang.nullpointerexception

This was solved by switching to the normal XML view and changing the following line:

<resources>

To:

<resources xmlns:android="http://schemas.android.com/apk/res/android">

And now does the Resources view work!

EDIT:
You also have to reopen the file after you have changed the code line.

Blue Screen: unbootable_boot_volume – Solution!

Earlier today tried my little sister to start her laptop, but after Windows XP had loaded she got a Blue Screen which gave the error: unbootable_boot_volume. This is how I solved the problem:

  1. Get a Windows XP CD.
  2. Boot up from the CD.
  3. When a menu pops up, choose to go to the Recovery Console.
  4. Type chkdsk /r and wait until it’s finished (took like an hour for me).
  5. When it has loaded to 100 % and you are able to type again, type exit.
  6. Take out the Windows XP CD from the driver and let Windows start normally.
  7. Now it should work again! :)

Watch Fullscreen Flash And Work On Second Monitor

FlashI have two monitors to my computer, and I like to have videos in fullscreen on my left monitor. But if you click outside of the video (on the second monitor) does the video goes back to its original size. Lucky for us has a guy came up with an idea to solve this. This solution can be found on this website:

Firefox 4 Tabs Panorama – A Revolution?!

If you don’t know that Firefox Panorama is, which is included in the Firefox 4 Beta, check out the video on this page:

I must say that I really don’t get the point of this feature. Why do we need to have this panorama thing to organize tabs? Why not just open a second window, which is much easier to switch to instead of messing around with this panorama stuff? The only feature that would be needed then would be a way to close Firefox and all windows at once and save all of their tabs.

My point is – Firefox Panorama is pointless.

Flash Player 10.1 changes GPU clock of my ATI card

FlashApparently changes Adobe Flash Player 10.1 my graphic card’s clock speed to the default clock when I start watching a YouTube-video. The graphic card that I have is a ATI Radeon PowerColor 4870 and the reason why this is a problem is because my card is kinda broken and I need to down clock it to not get strange dots all over the screen. I guess I have to download Flash Player 9 if I can’t find an alternative or a solution to my problem. I could buy a new graphic card, but I don’t know if I want to do that since this is working just fine when it’s down clocked a bit.

EDIT:
This version of Flash Player (10.0.45.2) works for me:

Editing tabMinWidth doesn’t work in Firefox 4 Beta 4

In earlier versions of Firefox I edited the browser.tabs.tabMinWidth in about:config to something about 20, to make my tabs smaller. But now it seems that this feature doesn’t work any longer, and all my tabs got their original sizes again. :( I feel a bit sad over this because I have always tons of tabs open (sometimes over 100 tabs, I’m serious!) and now it’s much harder to navigate through them.