Rants

Breaking the Web

Posted in Rants, Technology on May 28th, 2008 by Keithius – 2 Comments

Recently I’ve found more than a few websites using a very annoying pop-up preview thing – you’ve probably seen it yourself, popping up when you mouse over a link on a web page. It’s from some place called “Snap,” and it shows you a preview of the page the link leads to – I guess so you can… see it before you see it?

Maybe it’s just me, but I don’t see the point. In this day and age – with tabbed browsing available from all the major web browsers, there’s just no need for a “preview” of a link. Just open the link in a new tab! Seriously!

Considering how much people hate other kinds of “pop-ups,” it’s surprising that they’d put up with these kind. And even more confusing is why website authors themselves would include the functionality in the first place. Maybe they just think it looks “cool?”

Personally, I find it terribly distracting at best, and at worst I find that it totally breaks the web – it stops you from reading the content behind it, it causes random asynchronous requests from your browser (using AJAX no doubt), and it just slows down the whole experience. If you’ve got a page with more than a few links on it, and you move your mouse over the page, you might be in for quite a surprise as dozens of these little pop-ups try and spring to life, like monsters born from the dust of some evil pixie or something. Never mind that the preview is too small to really make a difference anyway. The most you can hope for is to see whether the linked page uses a particular color scheme. It’s like trying to preview a page by looking at your monitor while seated 20 feet away.

In short, utterly useless.

Really Annoying Flaw in NTFS Mount Points

Posted in Rants, Technology on May 14th, 2008 by Keithius – 5 Comments

I found out (the hard way) about this particular problem with NTFS Mount points today:

When you try to delete folders that are stored on a mounted drive and to send them to the Recycle Bin, you may receive the following error message:

Cannot delete Foldername: Access is denied. The source file may be in use.

This behavior occurs because the Recycle Bin does not understand mounted volumes.

This was really freaking annoying. What makes it even worse is that there is no “fix” for the problem; only a workaround is available. And the workaround?

When you delete the files or folders by using Windows Explorer, use the SHIFT+DELETE key combination. This bypasses the Recycle Bin.

Riiiiiiiiight. Because bypassing the Recycle Bin is exactly what I want to do WHEN IT’S MY ENTIRE USER PROFILE FOLDER THAT IS ON A MOUNTED DRIVE!

Now I’m really pissed off, because I no longer have the capability to try and go back to the configuration I originally planned to use with the new drive (copy partition & resize to new drive) – this is because I’ve already mounted the new drive and formatted it. Changing this now would involve a lot of copying data around and resizing of partitions, without being able to have a “backup” in place as before – a risk I’m not willing to take.

I may have to put on my Windows Hacker Hat for this one and figure out how to either:

  1. Make the Windows Recycle Bin understand Mounted drives, or;
  2. Make Windows automatically bypass the Recycle Bin for Mounted drives.

Because remembering to SHIFT+DEL every time I want to delete a folder from anywhere in my user profile directory (including but not limited to: My Documents, My Music, My Videos, My Pictures, etc.) is just not OK. Never mind what it’s going to do to programs that try to delete things – I can just see all the error messages now!

If anyone from Microsoft is reading this – especially anyone from the shell/explorer team – please, please, please bump this bug up in priority – I’m begging you!!

Computer Drama

Posted in Personal, Rants, Technology on May 12th, 2008 by Keithius – 2 Comments

So, my new 500 GB hard drive arrived the other day. Thus began the 3-part geek tragedy that accompanies any computer upgrade.

First off, let me say that it’s been a while since I’ve done this. The last time I installed a new hard drive in my computer, Ultra DMA was still pretty new – and every hard drive tended to ship with an IDE ribbon cable, just in case.

My first lesson was that this is no longer the case – or at least, it’s not the case with SATA drives, which is of course what my computer uses now. So, when I hunkered down Friday night to install my hard drive, I quickly hit the impasse of “no cable.” Silly me!

To be fair though, I must compliment modern PC designers – or maybe just Dell. This was the simplest hard drive install I’ve ever done. Say what you will about Dell (or mass-produced PCs in general), but they do have some good points. I just slipped out the plastic drive tray, popped the drive in, and slid it back into place. No tools needed. Sweet!

The next day, I hopped over to the nearest store where I could confirm that they had an SATA cable – which turned out to be Radio Shack. Of course they charged $10 for what should’ve been a $3 cable – but of course it was all shiny and colored and probably meant for more of the “case mod” crowd than people like me, but whatever. I got a really good deal on the hard drive to begin with, so I didn’t mind spending a few dollars more for the cable.

The First Signs of Trouble

I snapped the cable into place easily (I’m really liking SATA, BTW) and the drive came online easily. Now I just needed to boot from my GParted LiveCD and copy my partitions onto the new drive, resize them to take advantage of the new space, and I’d be done. Although the resizing would take a while, it should be pretty simple – just set it up, let it run, read a book while it churns, and come back when it’s done. How hard could it be?

Hard DriveThe answer, it turns out, is really hard. GParted (or more specifically, NTFSResize) kept saying that I had “bad sectors” on my drive, and because of this it refused to touch my main NTFS windows partition. Ugh.

So, following the advice of the tool, I rebooted and ran CHKDSK… and it found nothing. I booted to the Windows Recovery Console (following advice found online) and ran CHKDSK from there… and it found nothing. I booted into the “utility partition” that came with my Dell and ran the HDD diagnostic tools there – they all said the drive was A-OK. I rebooted, tried GParted again – no luck, it STILL insisted that there were bad sectors. I even ran Seagate’s own “SeaTools” disk diagnostic program – on both drives, with each scan taking several hours – and both drives “passed” the tests, no errors detected. But still, I couldn’t use GParted because NTFSResize kept saying there were bad sectors.

By this point, it was Saturday night and I was getting impatient. “OK,” I said, “screw you, GParted – I’ll just use some other tool to copy the partition, and then resize.” Oh ho ho ho ho, how naive I was to think that I could get away with this!

Trying to Outwit Fate

I used a disk cloning tool to make a copy of my hard drive on the new drive. Naturally, since the new drive was bigger, it didn’t use up all the available space after the copy. I figured that since the new drive was, well, new, it wouldn’t have bad sectors and once the data was copied I’d be able to resize the partitions easily.

This, of course, was not the case.

8 hours later and the copy was complete. I fire up GParted and… NTFSResize stubbornly refused to resize my partition, even though I had made a complete copy a new disk. It still said I had bad sectors.

At this point, I was beginning to wonder exactly how NTFSResize detected these bad sectors. It took over an hour for CHKDSK to do a complete scan, how was NTFSResize, which booted up in just a few seconds, detecting these bad sectors? And did the disk clone really copy the bad sectors as well, or just some partition table information that labeled certain sectors as “bad?”

The Compromise

By this point it was late Sunday afternoon, and my weekend of spare time was quickly running out. So I decided to compromise by using option 2 from my original post – the feature of NTFS “junction” points. It wasn’t ideal, but it would work – mostly.

I booted into Safe Mode and logged in under my seldom-used Administrator account. From there, I copied my entire user profile directory to a temporary location so I had an empty directory to junction with (for obvious reasons, you can only junction to an empty directory).

While I was at this stage, I thought “perhaps 500 GB just for my personal user profile is a bit much – surely I can junction another large folder and split the space into two partitions, perhaps 250 GB for my user profile and 250 GB for, say, “Program Files?” Well, no, actually, you can’t do that, as it turns out. Windows won’t let you rename the Program Files folder (even in Safe Mode), so you can’t use that trick to junction it to a different partition.

This wasn’t a huge setback – my user profile takes up some 60% of the space on my drive, what with movies & music & other such things – but while not ideal, it would work.

So after waiting an hour or so for the new partition to format, I had it linked to my user profile directory. Now to just copy my data back into the folder – which is now a “hard link” to a partition on a different drive. :-)

A few hours later (hey, it’s a lot of data!) and my profile had been moved to the new junction – effectively, the new drive. I rebooted and everything came up A-OK.

Now, my user profile directory (all of it, not just the “My Documents” folder mind you) is actually located on a physically different hard drive (although it could have been any other partition).

As you can see (click the image for the full-sized picture), my user-profile folder “Keith” even has a distinct icon to show that it is linked to a different hard drive.

What was once a rather cramped 144 GB drive is now 79% free space – plenty of room for growth (new programs, Windows updates, etc.). And my bulky user profile, with its massive music & movie collections, now has plenty of room to grow on that new partition (named “HAL” for personal historical reasons – before Windows introduced the “My Documents” folder, I used to keep documents in a folder called “HAL”).

Those other FAT and FAT32 partitions, in case you are curious, are the utility partitions for Dell – where it has the “recovery & diagnostic tools.” They don’t take up too much space, so I leave them around – and they may come in handy someday.

Conclusion

I would have much preferred to be able to do what I originally set out to do. I’ve used GParted before, and I’ve had nothing but good experiences prior to this. The new drive is (presumably) slightly faster than my old one (bigger cache), and I would have liked to have that slight speed advantage for some of my, you know, programs, or maybe even for Windows itself.

I still wonder what those “bad sectors” were. I suspect that they may have been found long ago, and CHKDSK found them and dutifully marked them as “bad” after recovering data from them. They certainly don’t cause me any trouble – my computer is (knock on wood) quite reliable. Why NTFSResize refused to run is beyond me – perhaps being a little too paranoid about data integrity? And why there isn’t an option to just ignore the errors and continue I’ll never know – these are Linux-based programs, after all. Isn’t that kind of power/option the whole spirit of Linux? (I suppose I could have downloaded the source code to NTFSResize and re-compiled it myself to do what I wanted, but seriously, who has the time?)

I’m not knocking GParted – it’s still my favorite tool for this kind of work. But it was rather frustrating – it did, after all, eat up my entire weekend.

What do you think – was I just unlucky, or is this common when resizing NTFS partitions?

(Image credit to geerlingguy for the Creative Commons licensed image.)

On “An Inconvenient Truth”

Posted in Politics, Rants, Society on May 8th, 2008 by Keithius – Be the first to comment

I finally got around to watching “An Inconvenient Truth” tonight, and I have to say, I’m all riled up.

Stormy WeatherThere can be no doubt that climate change is real and is caused by human activity. That’s not what I’m all riled up about. I’m all riled up about what we can do about it and more worryingly, is it already too late?

One of the first things to really “shock” me in the film was the graph of the world’s population. I suppose I’d always “known” it, but I’d never really “known” it, if you follow me. Our population isn’t growing exponentially, it’s growing in some way that defies my knowledge of mathematics to explain it. It’s more like a straight line rising straight up than any sort of curve. In the 1950s there were only a little more than 2 billion people in the world – now we are over 6 billion. In another 30 years there will be close to 9 billion.

That is one hell of a lot of people.

What is perhaps more disturbing is the percentage of the population that is “industrialized.” Because that percentage is rising at an astronomical rate as well. And if you consider that the more “industrialized” a people are, the more energy they consume, well… you don’t need a degree in economic theory to understand basic supply & demand. With that many people, demand for energy will go up a lot. And there is no way our supply can keep up – even if there were vast, untouched resources on the same scale as the Middle East, it wouldn’t be enough to keep up.

Without change, we are going to consume more and more energy. As supply dwindles, and as demand increases, economic pressure will push us to consume every last bit of energy possible – and to hell with the consequences.

We will put the future of the human race – the future of our children – at risk, just for a few more years of energy, of the lifestyle we’ve gotten used to, that we’re “comfortable” with. And this risk is far more than the risk we used to be afraid of at the dawn of the Nuclear Age.

There are only 3 possibilities to deal with this problem:

  1. Reduce the population (thus decreasing demand)
  2. Relocate the population (I’m talking about space colonization)
  3. Invent new technologies to make better use of the limited energy we posses

Let’s address them in turn.

Number 1 is going to happen if we don’t do something yesterday. If things continue as they have gone in the last 50 years, we will see mass starvation and massive death all across the globe. One way or another, there will be fewer people around. But it won’t be a pretty sight.

The Moon and some electric power linesNumber 2 is my personal choice. Space colonization brings with it the ability to harvest energy from the sun – or even terraform other planets and use resources there instead of bringing them from Earth. At least then, if we screw up the Earth so bad, we ourselves won’t totally die out.

Number 3 is starting to happen – although still too slow in many people’s opinions. And new technology can only take us so far – we can only squeeze so much out of a limited resource, no matter how efficient we make the technology. Without deep, radical, fundamental changes in our understanding of how to get energy, we will run out.

When you look at it like that, all 3 choices seem pretty dismal. But the great thing is that we don’t have to choose just one – we can take the best part of each solution and try to use them all at once, and maybe together we can do something about it.

But there’s a dark side to all this. To make a difference, we all really have to do it together. I mean everyone, everywhere, every nation, every city, everyone. We can’t do it piecemeal. It can’t just be one or two or even three countries – even if they are the biggest polluters or energy consumers. It has got to be everyone. Because our human nature demands it – if you have to restrict yourself, change your lifestyle, you’re going to resent your neighbor if he (or she, or they) don’t have to do the same – if they get to keep their lifestyle, if they don’t have to make sacrifices like you do. Our human nature demands that we all give equally, or else none of us will give. (This is, of course, a form of the “tragedy of the commons.”)

And we will all have to give. This sort of change isn’t going to be easy. I have a favorite little quote from one of my favorite movies, “The Lion King,” that goes something like this:

“Change is good…”

“…Yeah, but it’s not easy!”

Truer words were never said.

But we must change. It’s not going to be painless – let’s get that right out in the open right now. It’s going to hurt. Maybe a little, maybe a lot. That’s the way change is. And like most major paradigm-shifting changes, you can’t really see how things are going to be until you’re on the other side – and so will it be with this change. We don’t know what the future will bring, or even what it will be like. But we know we have to make the change. Because we do know what the future will be like if we don’t change.

It is not going to be easy. But it will be good.

Once we are on the other side, things will be better. We’ll have the technology, the policies, the systems in place and it’ll all be easy. Because once you’ve made the change, and it’s over with, well, it’s no longer change anymore – it’s just the way things are.

As the movie credits rolled, I was reminded of another quote that I really like – maybe you’ve even heard it before. I think that it is just as appropriate now as it was when it was first uttered:

For, in the final analysis, our most basic common link is that we all inhabit this small planet. We all breathe the same air. We all cherish our children’s future. And we are all mortal.”

John F. Kennedy
Address at American University
Washington, D.C., 1963

(Image credit to muha… and Kliefi for their Creative Commons licensed images.)

Gas Tax Holiday: Dumbest Idea Ever

Posted in Politics, Rants on May 5th, 2008 by Keithius – 3 Comments

I overheard on the news this morning something about a “gas tax holiday” that someone (Senator Clinton?) was suggesting.

My immediate reaction? That is the dumbest thing I have ever heard.

Let me explain:

First off, giving a “holiday” from gasoline taxes is basically admitting that you’ve failed. You’re basically saying, “I’ve failed to keep gasoline prices from skyrocketing and things have gotten so bad that I’m going to try and give you a tiny break just so you won’t go bankrupt when trying to fill up your new Ford/GM/[insert name of your least-favorite car manufacturer here] Planetbuster SUV.” And while I admire politicians who are brave enough to admit failure, this is sort of a weaselly way of doing it.

Secondly, and perhaps most profoundly, is the fact that this is quite obviously a diversionary tactic, meant to draw our attention away from more important things. It is, quite frankly, an insult to our intelligence. It is basically saying “here’s a brief break from the price of gas, now vote for me!” It is bribery, in the truest sense of the word.

Now, trading favors like this for votes is an old political trick – and everyone’s been doing it for pretty much forever, so nothing new there. What’s different here is how brazenly open it is. Instead of the usual “if elected, I promise to do X,” it’s more like “if elected, I’ll personally write each and every one of you a $100 check – I promise!”

Never mind that the whole idea is basically a panacea. It’s like giving someone a pain reliever when they’ve had their arm chopped off. Sure, it’ll dull the pain for a bit, but they’re still gushing blood from the open wound!

Basic economic theory tells us what to do in a situation like this. If the price of a commodity like gasoline is going up, you can either increase the supply or reduce the demand. So, it’s either find more oil, or make us collectively use less of it. (Hint: a gas tax holiday does neither of these things – in fact, arguably, it increases demand, because everyone will fill up during the holiday, and there will probably be hoarding, people filling up portable containers and stockpiling gas – thus using more and leaving us in a worse position, supply-wise, after the holiday than we were before!)

So, you can see that the idea of a “gas tax holiday” is at the very least useless (and possibly even harmful) in the long term, and worst of all, is a brazen attempt at bribing the voting populace by hitting us all where it hurts – in our wallet after we’ve filled up.

To me, that seems like an incredibly shameful thing to do, and that’s why I believe it qualifies for the “Dumbest Idea Ever” title.


Using Internet Explorer is risky. Click here to upgrade to Firefox, the world's safest web browser for free.