Drew’s Daily Deliberations

Archive for November, 2006

GM Announces Plug-in Saturn Vue Hybrid SUV

LA Auto Show: Rick Wagoner announces development of plug-in hybrid SUV

This is very interesting news. Perhaps when we are ready to replace the Honda CRV, this will be available.

GM sets out quite the schedule for alternative fuel production as well.

Bookmark to:
Add 'GM Announces Plug-in Saturn Vue Hybrid SUV' to Del.icio.us Add 'GM Announces Plug-in Saturn Vue Hybrid SUV' to digg Add 'GM Announces Plug-in Saturn Vue Hybrid SUV' to FURL Add 'GM Announces Plug-in Saturn Vue Hybrid SUV' to blinklist Add 'GM Announces Plug-in Saturn Vue Hybrid SUV' to My-Tuts Add 'GM Announces Plug-in Saturn Vue Hybrid SUV' to reddit Add 'GM Announces Plug-in Saturn Vue Hybrid SUV' to Feed Me Links! Add 'GM Announces Plug-in Saturn Vue Hybrid SUV' to Technorati Add 'GM Announces Plug-in Saturn Vue Hybrid SUV' to Socializer 

Shnazzy Hi Tech Bar

This bar reacts to anything on its surface with lights. Pretty neat stuff.

 

Bookmark to:
Add 'Shnazzy Hi Tech Bar' to Del.icio.us Add 'Shnazzy Hi Tech Bar' to digg Add 'Shnazzy Hi Tech Bar' to FURL Add 'Shnazzy Hi Tech Bar' to blinklist Add 'Shnazzy Hi Tech Bar' to My-Tuts Add 'Shnazzy Hi Tech Bar' to reddit Add 'Shnazzy Hi Tech Bar' to Feed Me Links! Add 'Shnazzy Hi Tech Bar' to Technorati Add 'Shnazzy Hi Tech Bar' to Socializer 

Programming Languages Are Like Women

This is a hoot. Don’t tell my wife that I am just got past 2nd base with Ms. C#.

“There are so many programming languages available that it can be very difficult to get to know them all well enough to pick the right one for you. On the other hand most men know what kind of woman appeals to them. So here is a handy guide for many of the popular programming languages that describes what kind of women they would be if programming languages were women.”

Check out the entire article.

Bookmark to:
Add 'Programming Languages Are Like Women' to Del.icio.us Add 'Programming Languages Are Like Women' to digg Add 'Programming Languages Are Like Women' to FURL Add 'Programming Languages Are Like Women' to blinklist Add 'Programming Languages Are Like Women' to My-Tuts Add 'Programming Languages Are Like Women' to reddit Add 'Programming Languages Are Like Women' to Feed Me Links! Add 'Programming Languages Are Like Women' to Technorati Add 'Programming Languages Are Like Women' to Socializer 

Vista RTM Not Resuming From Sleep

At first it seemed like an intermittent problem. Now however, it is a constant problem. On my Acer TravelMate 8204 laptop, Vista refuses to resume from sleep. Nothing happens. A few lights flash briefly, but thats it. It just sits there, with a blank screen, and no HD activity. Every single time.

I have installed a bunch of software between when it was working and now, but no drivers or anything like that. I suppose it could be the result of some software, but I pretty much only have what I need. If I have any luck in isolating a piece of software that is at fault, I will be sure to post. Otherwise, I am left waiting and hoping that some Acer drivers come out for Vista that fix the problem.

Bookmark to:
Add 'Vista RTM Not Resuming From Sleep' to Del.icio.us Add 'Vista RTM Not Resuming From Sleep' to digg Add 'Vista RTM Not Resuming From Sleep' to FURL Add 'Vista RTM Not Resuming From Sleep' to blinklist Add 'Vista RTM Not Resuming From Sleep' to My-Tuts Add 'Vista RTM Not Resuming From Sleep' to reddit Add 'Vista RTM Not Resuming From Sleep' to Feed Me Links! Add 'Vista RTM Not Resuming From Sleep' to Technorati Add 'Vista RTM Not Resuming From Sleep' to Socializer 

C# Programming For A Beginner

At work, I have been using a tool called AutoHotKey which can record repetitive tasks as well as is a comprehensive scripting/macro language. As I got more familiar with it, I started using it for more complex tasks.

One such tasks was simple in concept, I wanted a way to capture user input and run batch files against it. This could be done just in batch, but I wanted a fancy UI for it. As I delved into building Windows Forms in AutoHotKey, I happened to be talking to our resident programmer. When he got a sense of how cumbersome this tool as for designing the actual UI, he suggested I try C#. Basically, it would be easier to do the UI work, and not much harder to do the logic in the background, plus it was a language that would be more useful down the road.

Let me just interject at this moment that as far as programming goes, batch is as far as I had ever learned. I can do some pretty good stuff in batch (with Google’s help of course), but I really had no knowledge of basic programming concepts.

So I delved into Visual Studio 2003 (which we have a license for here at work)… only to find out it does not work with Vista. Well, it may work if you follow a million work arounds, but I was not about to. So I moved to Visual Studio 2005. Painting the screen was easy enough, I discovered how to hide and show buttons and things pretty easily. Once I had the UI doing what I want, it was time to start taking the little bits of data entered by the user and working with it. This is where I stumbled.

I had a listbox and a textbox. I wanted to send the data entered/selected in those two fields to a batch file. Try as I might, I got no where. Google searches were no help, because my request was far too basic, and all replies were far over my head. I finally found bits of info on MSDN that gave me some ideas, but I kept getting stuck with an error about trying to turn an object into a string.

After another chat with our programmer, who set me straight (and showed me just how close I had gotten, which was nice), I was well on my way. I figured out how to set strings, and how to combine strings. I even figured out how to put a space character between two strings. Finally, with Google’s help, I found how to call a batch file. After some last bits of tweaking, I had an EXE that took user input, and launched a batch file to do some tasks for me.

My code may be ugly, and I may be doing things wrong, but it works, and I am sure proud of building my first C# application. Hopefully I can find the time to expand on it. I know I need to validate the data entered (spaces could cause big problems), and I would like to pull a list of servers from a text file rather then hard coding them.

But first I think I need to use this small bit of success as motivation to go through one of those “Teach Yourself C#” books. As if I did not have a million other things to do with my time!

Bookmark to:
Add 'C# Programming For A Beginner' to Del.icio.us Add 'C# Programming For A Beginner' to digg Add 'C# Programming For A Beginner' to FURL Add 'C# Programming For A Beginner' to blinklist Add 'C# Programming For A Beginner' to My-Tuts Add 'C# Programming For A Beginner' to reddit Add 'C# Programming For A Beginner' to Feed Me Links! Add 'C# Programming For A Beginner' to Technorati Add 'C# Programming For A Beginner' to Socializer 

Microsoft Vista RTM: Initial Thoughts

Ok, let me just come out and say that I have not obtained Vista via the proper channels. Reason being… it is not generally available yet. But I could not help grabbing a copy and putting it through its paces. If I decide it is not for me by the time it is for sale, I will remove it from my laptop and go back to my licensed XP. If, however, I do like it (and so far it looks promising), I will simply buy a copy, and put in my legit serial number.

With the confession out of the way… what do I think of Vista? What do I like, what do I not like, and what improvements have I seen over Beta 2 that I tested for a brief period of time?

There is lots to like. Many people complain that Microsoft did not put enough in Vista, that there are not many new features worthy of an upgrade. To a point, I can understand why they would say that. The most obvious new feature is the new interface. It is much nicer than XP, just as XP was nicer than 98, which was an improvement on 95, which was a massive improvement over 3.1. It is not as flashy as Apple’s OSX, but it does have its share of eye candy. And it does all its graphical wizardry without any noticeable performance hit on my modest Acer laptop. While the graphical improvements are nice, they in no way help me get things done. What does is the new Start menu, with the integrated search capabilities.

From Windows 95 through XP, the way a user works with Windows has stayed very consistent. And many people will use Vista just as they did XP.
Not me.
I find myself hitting the Windows key, and then typing a few characters of what I want to launch next. It is so much quicker to work with multiple applications. I am a multi-tasking maniac, always having every possibly needed application open. However, now I find myself being a bit more tidy, actually closing an application when I am done with it, because I know I can quickly have it up and running again if needed.

Working with files is very similar as it was with XP, which is to say, rather poor. Therefore, I quickly got Directory Opus up and running. I won’t go into much detail about it, but it is a great file manager for Windows.

In Beta 2, I noticed how User Access Control was a royal pain. Microsoft has certainly cleaned it up. First of all, in the usual day to day operation of Windows, you should never see UAC. It only is invoked when you are doing maintenance type work, or installing applications. And when it does pop up, it is quickly dealt with. My only complaint was I wish it had been programmed so a hot-key would dismiss it. But that is a minor gripe.

The installation on my Acer Travelmate 8204WLMi laptop was painless. It detected all the major hardware without requesting any drivers. I have not yet tested bluetooth, sd card reader, or webcam, but they are not necessities (for myself), so I am happy. I have noticed that battery life seems shorter now. In XP, I had Acer’s power management tool loaded, and perhaps that was the difference. I have not done any statistical tests on the matter, it is simply my perception. I also have not yet looked at tweaking the power settings, so this may be something I can easily rectify. One nice feature I have noticed is that the system recognizes when I plug in an external monitor, and will switch the display to it, with the custom resolution I desire. This was possible in XP only with the assistance of 3rd party drivers/software.

The only major issue I have come across at this point is resuming from standby. When it works, it is quick and painless. However, there have been a couple of instances where the screen stayed black, and nothing I could would get me back into Windows, short of killing power and starting a fresh boot. I will be trying to substantiate if it is a particular program running, or a combination of specific steps I follow that lead to this situation.

Other than that, stability has been rock solid. I have had applications crater on me (seemingly through no fault of the OS), but nothing else gets affected. The speed of Windows seems at least on par with XP, if not faster. Some things are an illusion, for instance going into standby mode seems instant, but it is only because the screen fades out as soon as you tell the PC to sleep. In the background, you can see the hard drive light spinning away for some time while it prepares itself. But these illusions are positive I feel, as it gives the users a good feeling.

I have had sporadic application compatibility problems. Some go away on their own, others require updates to applications. Our internal information management system at work, built on IE6, does not function at all. Also, the time/expense tracking tool I use, TimeTTracker MX, requires some trickery to install, and loses its PDA functions currently, until the vendor releases an update. Still, the laptop does everything I need it to do on a day to day basis, and does it quicker and easier (and prettier!) than it did with XP.

I have only touched Media Center minimally. I like the new interface. I think visually it will work better for newbies trying it out for the first time. There are many negative opinions of it online, with many people insisting MCE2005 is a superior product and interface. They can have their opinions, I just happen to disagree with them. The real test will be when I get brave enough to update the living room HTPC to Vista. Then I will see what the WAF (wife acceptance factor) is of Vista’s Media Center.

The redesigned Control Panel layout takes some getting used to. This is one place where I have repeatedly used the new search functionality. I simply type what I am looking for (ODBC for example) and the function I desire is displayed right in front of me. The networking piece is significantly different, but I would expect that with some time, it will seem like second nature. An area of noticeable improvement has been the Add Printer tool. Adding in a HP multifunction laser printer, attached to a jet direct card, was a piece of cake. Kudo’s to Microsoft on improving a rather mundane task.

I started this post talking about a perceived lack of features in Vista. So far, it seems to me like Microsoft focused on improving the core OS, rather than trying to keep up with Mac’s graphically superior OS. One of the biggest improvements will also be one that people “notice” the least. If Microsoft was successful in actually making Vista a much more secure OS, then hopefully there will be far fewer patches needed, and much less time spent fixing the OS from spyware, or reinstalling every few months just to speed things up again. Of course, only time will tell how well Microsoft fared with that.

Bookmark to:
Add 'Microsoft Vista RTM: Initial Thoughts' to Del.icio.us Add 'Microsoft Vista RTM: Initial Thoughts' to digg Add 'Microsoft Vista RTM: Initial Thoughts' to FURL Add 'Microsoft Vista RTM: Initial Thoughts' to blinklist Add 'Microsoft Vista RTM: Initial Thoughts' to My-Tuts Add 'Microsoft Vista RTM: Initial Thoughts' to reddit Add 'Microsoft Vista RTM: Initial Thoughts' to Feed Me Links! Add 'Microsoft Vista RTM: Initial Thoughts' to Technorati Add 'Microsoft Vista RTM: Initial Thoughts' to Socializer