Showing posts with label windows. Show all posts
Showing posts with label windows. Show all posts

Friday, December 5, 2008

Excel saved my life & Sorting issues

(For the Excel sorting "bug", scroll down...)

Personal Tasks
I have been using Excel 2007 as a personal planner for about six months, and I love it. For some reason, this little XLS has made me efficient, and helped reinforce my often-forgotten priorities. I put almost everything on here--the stuff I want to put off, the stuff I won't remember and the stuff that is really important. I don't keep it as specific as "brush teeth today" or "put clothes on", but do put stuff such as "clean house for party" and "vacuum car" that aren't really once-a-week kind of things. When I do a task, I simply place an "X" in the Done column, and then Sort. Here is a screenshot.

You can't understand how this has greatly improved my efficiency. But this is not why we're here.

Sort data problem
I want to discuss something that is common for those spreadsheet movers and shakers: SORTING. Sorting is beautiful for a user, when it works. It took me six months to figure this issue out, so I want to help those in need on this "feature". By default, Excel is supposed to memorize your sorting options from previous saves. It also remembers sort settings on a new instance or a computer restart! This is not new to version 2007, and I think this has been a mainstay since Office 97.

When my "personal tasks.xls" started to get huge, I started sorting. I could prioritize the list and push the finished tasks away from the main list:


This was all good and fine, until I began to sort constantly, sometimes 20 times in a day. To boot, I would often open and close Excel in the process, and that's when I stumbled upon this hair-pulling problem: it would not remember any of my sorting options! So without moaning and groaning, here is the solution:


How it happened

It was my own fault. I love noodling with column titles, and I renamed a few of them over time. Excel does not adapt the sorting tool when you rename the headers! This could be considered a bug, but I doubt Microsoft would flag it as a high priority. And that fricking "My data has headers" really has no purpose, other than cosmetic. In the meantime, you may want to try my personal tasks spreadsheet idea. Who knows, you may be thanking me in a few months (hopefully with cash)!

And another thing...
One more great, great organizing application I discovered a few years ago is Desktop Calendar. It just plain rocks.

Thursday, October 23, 2008

Startup directory: Stupid

One thing that's been around since the early days of Microsoft Windows is the Startup directory. You probably don't know about it unless you've had one of those moments, feverishly deleting anything that booted with Windows.

Basically, if you plop any executable (or shortcut to executable) in the folder, it will magically start after Windows has booted up. Right now, I have over 10 applications starting up with Windows (you probably have more than I do). But none of these are in the designated Startup folder!

Basically, software writers thought that the \Startup\ directory was too out in the open. They thought (wrongly) that users would see the startup folder in the Start Menu and go apeshit. Programmers started writing directly to the registry, into \CurrentVersion\Run\, burying the true startup programs. Fast-forward to Windows XP and the commonality of the internet. Malware goes hogwild, and utilizes the same registry trick to hide. Even those who know about msconfig still have a huge job of cleaning up cryptic startup programs.

So, what does Microsoft learn? Nothing. They have yet to close the loophole. The registry folder is still there in Vista!

Friday, September 19, 2008

Program Files: Stupid

There are a lot of problems that get under your skin with Microsoft Windows. Let me be clear at the beginning: I do not have Linux installed on any of my machines. As one of my friends once said, "Windows is a good product", and it is. When Windows 98 came out, I thought it was the apex. I slowly and begrudgingly moved to XP (I finally figured out how to turn the Start Menu back to Classic Gray). Now, I am 90% content with my OS.

But there is something that became the norm with Windows 95 (and all subsequent sequels) that all software companies seemed to adopt. I am talking about \Program Files\. Let's break down the old way, first.

Typically, when you installed a game or a piece of software, it needed a new folder. The old way was to type something simple, so it could be quickly typed in command line. Games would be installed in C:\Quake\, so they could be accessed in DOS (via "cd quake", then "quake.exe").

Microsoft decided that the root directory (C:\) had become too cluttered (C:\Windows\ is where the OS is seated). So, they developed a solution (albiet a bad one): Program Files. The horrible thing is that everyone and their dog default installs to Program Files. Without looking I probably have 40 goddamn subfolders in there. They just moved the clutter into an a different closet! Video games, chatting applications and even Microsoft products now have a place in C:\Program Files\i-cant-type-this-right-in-command-line-or-find-it-when-searching\.

Now not all honorable programs want to be in the Prog Files club. mIRC used to be good at this, but they finally caved in. Let me ask two questions: why do you need a separate folder to house third-party (and first-party) apps; and why does it have to use case-sensitive, redundant words?

Let me suggest something for anyone that has more than Solitaire on their systems: C:\games\. I have everything gaming-related here (even oldschool game files). It's easy to type and easy to find. Also, make sure you have a place for downloads (the Desktop is for rookies). I use C:\tasks\, which is easy to find and type. C:\setupfiles\ is where offline copies of all my app installs are.

Another thing about the Desktop. Don't make tons of folders there. Windows buries the Desktop in the root structure, and if you change usernames or login as someone else, expect some downtime and headache.

If you are a developer, understand the KISS principle and stop putting my files into a catchall folder like Program Files!

Thursday, September 11, 2008

XP to Vista: the Upgrade saga

I have had a free copy of Windows Vista Upgrade (Home Premium Ed.) laying around since February, 2007. I had hesitated because I didn't need it. There was nothing I desired that wasn't already possible with my XP Media Center Edition 2005 (save for DirectX 10, those stupid desktop gadgets and a reorganized Control Panel). I knew Vista because my previous job had our think tank beta-test it for a month in January, 2007. Fast-forward to now, and need to format my hard drive. It has had much wear and tear, and the list of installs/uninstalls is epic. And I had a plan: multiboot XP and Vista. But, it wasn't going to be as easy as I thought...

XP Format
First, I insert my XP disc and restart. I use the old bluescreen DOS interface (it reminds me of WordPerfect in junior high) to format and do a clean install. I partitioned my hard drive into two parts: 200 GB for XP, and 30 GB for Vista. My idea was to continue using XP, but just use Vista for web surfing and little things. I knew one day I would have to take the Vista plunge, so this was a transition test. Everything went well with the XP install (on Drive C:).

Vista Format
Next, I inserted the Vista disc and restarted. I booted from the CD and expected "good old DOS blue screen", but to my surprise Microsoft overhauled the interface, and the mouse works... Maybe this Windows has something more to offer. So I use the new GUI to select D: drive, and click "Install Now". I walk away after 5 minutes and come back in about 15. I realize the hard drive and CD-ROM aren't doing anything, so I place the mouse cursor on the progress bar (use the mouse pointer to measure if there is any progress made over time). I come back 45 min later, and realize the install hadn't moved. I hit the X button to cancel install, and this doesn't help. I have to hold down the power button and start over. I decide to boot into XP and look at some Microsoft articles...

Vista Format (II)
So, I theorize that my install failed because I'm using a Dell Upgrade of Vista, instead of a retail copy. I decide to insert the disc while XP is running, and install Vista onto D: from there. This method works, and makes progress until it freezes at "Extracting files: 27%..." I watch the 27% for about 30 minutes like an ass, and realize I have to manually power off and try again. I start another theory about my wireless internet fucking things up, because it keeps searching for an access point (and I didn't take the time to disable it). I disable the wireless card and try again. At 27%, I almost shit my pants when it hit 28%. It finally finishes and I think I am out of the woods...

Internet Setup
I am using a Netgear router and a Linksys G card to get my internet fix. The connection worked masterfully for a good 3 months, but I had major, major troubles with both XP and Vista. Before you jump to conclusions, it was human error that made me have a headache for 8 hours. The setup was fine--I just forgot the 3% of the Encryption Key (which I thought I knew by heart).

Current status
Everything is great now. I am still multibooting and mostly using XP (for surfing, downloads and gaming). Vista looks OK, but I don't know how much restriction there will be when I need to do something tricky. It should be noted that boot time for both OS's is almost exactly the same. I think 3 GB of RAM blurs the line.

Tips
If you are reading this because of Windows formatting problems, here is some advice:
1. Always install the older version of Windows first.
2. Unplug all USB shit and disable your wireless connection. You may want to remove any PCI cards (modem, etc) to prevent Device Manager from going apeshit and detecting new hardware.
3. Make a Restore Point almost immediately.
4. Install Service Packs before anything else. (Note: Vista SP1 takes an hour!)
5. Make sure the dual-boot timer is >5 seconds, so you can select which OS you want to run at system startup.

Moving some posts to Medium and elsewhere

There may be some video game or gardening posts here, but many of my blog and non-blog posts will be visible elsewhere, mostly likely my per...