Sunday, May 31, 2009

Replacement

Well, tomorrow I start training my replacement. I'll have a month to start winding down the work load and start transferring my tasks to her. So It's that time to make sure everything is well documented so someone new can try to pick up from where I left off. It's time to make sure the few tools I've created work perfectly so that they just work for whoever uses them next. Soon it will be time to say goodby for another 100 days. Now to figure out what to do for the 3 months I'll be without work.

Tuesday, May 12, 2009

Remote Control

Woo hoo! I’ve finally got Windows 7 RC installed on both of my machines at home and I have been able to play around with Homegroup a little. It’s kind of cool. Since I have been using Win 7  at home, when I go to work and back to Server 2008 and Vista I have to remember that I can’t do some of the new cool things like maximize a window only vertically or drag to un-maximize.

One of my machines is hooked up to the TV so that I can watch a few sows I like on hulu. But it started getting frustrating getting up and down to switch to other shows, or whatever.

So I started looking into ways to control that machine. I tried Remote desktop since it was already on the machine, but it would log the console account out when I logged in, so it can’t work.

Next I tried Remote Assistance since it was also already installed but it took going back and forth between between machines a couple of times to gain control, and the shortcuts were only good for a short amount of time. The cool part was that I could actually see both screens on that computer in the remote assistance window, and since the the TV is rather fuzzy at computer resolutions, it was nice to be able to read the screen in the window. It is nice but limited.

But being able to see the screen locally isn’t necessary. What if I could just move the cursor to the other machine? I heard of a program at work which did just that but I hadn’t caught the name of the program. So at home I did a search and found Synergy, which is just the program I had been hearing of, a virtual KM switch. So far it is working nicely, I’ll have to see how it works over the long term.

Tuesday, May 5, 2009

Anyone?

On Monday my manager’s manager came into the office saying he had been approved for contract overlap and asked who they would get to replace me. I said I don’t know. He then said he was serious and asked if I knew anyone who could take over then told me to think about it. Hmm. I still don’t know.

[Update]: Well, it looks like my replacement has been hired. I meet her on Monday morning and so that leaves me a month to train her on everything she needs to know to do my job.

Monday, March 23, 2009

HTML Confusion

Hmm. Interesting. The following HTML does not behave as I would expect it to in all of the major browsers:

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
    <head>
        <title>This is a test</title>
    </head>
    <body>
        <div>
            <a href=""/>This should not be a link.  
            <b />This should not be Bold.  
            <i />This should not be Italic. 
            <u />This should not be Underlined.
            <div style="background: red;" />This should not be Red. 
        <div>
    </body>
</html>

In xml, a tag with the form <x /> would be an empty xml element. So the rendering of the above ends up being quite confusing as each of those tags ends up being opening tags without closing tags.

Perhaps this is some remnant of the pre-xml days when html was still being defined.

Monday, February 2, 2009

Batch File Note to Self on Using "For"

I finally realized why some of my For loops simply weren't working in many of my batch files. It turns out that Batch is not parsed like HTML as I expected for some reason, so where I was using:


For /f %%a In ('dir /b /a:d') Do
(
Echo %%a is a folder.
)

I should have been coding:


For /f %%a In ('dir /b /a:d') Do (
Echo %%a is a folder.
)

Do you see the difference? It's that last opening parentheses, it has to be on the same line as the "For" statement. I think it might have something to do with the For statement being technically a one line statement with a possible line continuation if Parenthesis are included and since they are optional if it opens on the next line it must be a part of some other statement.

Thursday, January 8, 2009

Waiting for Win7

Ooh! Windows 7 public Betta is supposed to be available for download on Friday. I'm excited, I can't wait to get my hands on the beta OS. I've played around with the Alpha a little at work; that felt snappier than Vista, even on a VM. The Beta is supposed to be even more refined and faster, and I would love to see how much faster it runs on my machines.

IE8 is part of the release, I'm looking forward to seeing if my bar code bug has been fixed. I have heard that bugs involving bar codes might have a surprisingly high priority with the team.

I think I would like to load Win7 on both computers, so I can try out the new Home group network feature. It would be nice to be able to have full network access between computers without the less-than-necessary passwords. I don't particularly enjoy having password protected log-ins at home, especialy with the laptop I have connected to the TV to watch shows on Hulu.

Thursday, January 1, 2009

Hard Drive Forensics

I'm having lots of fun tonight. At work I did a search to see if I could find any information on Virtual Hard drives and a little way down the search results I saw a YouTube result on Hard drive forensics. I was intrigued.

Sure enough, it was a lecture on how to recover data from dead hard drives. I started watching and found them fascinating. When I returned home I started into it again and a few minutes I had the old notebook hard drive hooked up to the old computer in the USB drive caddy. And I was actually recovering files from it. The file system is shot on the drive but A low level file scan is able to pick them up. The file names are missing but I have the files, as long as they weren't too fragmented. This is great! I hope I can find the photos I had thought I had lost and maybe get some of my emails back.

Happy New Year!

Happy new year everyone! May 2009 be great!

Monday, November 17, 2008

Relitivity Level

He, he. I can explore this little world again! This is the Half Life 2 level I made in drafting class a few years ago. It was crazy fun to build.

Wednesday, November 12, 2008

New Video Chat

Cool. Gmail now has Video chat. Last night I was thinking that it would be cool to be able to use the web cam built into my computer, I don't know what for, but was thinking it would be cool to be able to use it. So I started looking around out there to see what I could find, maybe a sidebar gadget or something. I found one but it wouldn't help to be able to actually reach out to someone else.

I then started looking for other ways. I did find that Live messenger has the option but even though I work at Microsoft I avoid some certain services. Something about an old irritation with Hot Mail adds and spam injection.

So, I check my email this evening, and wouldn't you know it, there is this "New feature" Link at the top, advertising Google Video Chat. Cool! It installed nicely and worked after a little bit. Now I just need to find a reason to use it... hmm...

Saturday, November 8, 2008

Ah the Sensless Sillyness of Work

Before Halloween there was this rather long email chain broadcasting through the team, of people reporting that they would be getting off work early on Halloween day to avoid the Traffic congestion that tends to swamp Microsoft campus on that day, with parents bringing in their costumed kids to collect candy.

Well one of the people who replied in the chain said he was going to stay just to pick off the chocolate, then a few seconds later the same guy emails again only this time with some SQL code involving Lambdas. It was quite the strange response to the topic of candy and taking off early. But one person on the team had an idea of what it must mean, so he replied back saying that "Lambda expressions are chocolate for the mind..."

A few days later another email was sent out announcing an anniversary of one of the team who works off-site. He wanted to continue the tradition of providing a pound of chocolate for every year he had been employed with Microsoft but being off-site he couldn't put the usual bowl out, so he sent "virtual chocolate."

Well, one of my Managers has quite the sense of humor, so he found that Lambda expression and replied back with it. Someone asked if it would become the next team T-Shirt. Of course I got the idea to see what it would look like as a T-Shirt. So I created a Zazzle account and whipped out a quick design. Ah, what fun.

Sunday, October 26, 2008

Do For Fun?

There is a new guy at work, and over lunch on his first day he asked what I did for fun. One of the things I said was play on my computer. He said, cool, what do you play? I had to look sheepish at this point, I actually don't play many games on my computer, so I said, HTML, javascript, a little C# and VB.Net, moving files around... Yeah, okay, I'm a Geek!

Saturday, October 4, 2008

How A-Mazing

This has been an interesting week. Monday was good with FHE and all, Institute on Tuesday, And then trying to get myself to do homework has been a pain. I biked to and from work on Monday through Wednesday (Boy was I sore on Thursday!). I also found all the ingredients to make Southern Biscuits. Mmmm. They were good, I think I will make some for tonight.

On Wednesday my Team, at work, went to a Corn Maze as a morale event. The surprising thing was that I, as a contractor, was actually invited along. They even got Volt's blessing for it!

On Friday Volt had a Fall event at the On-Campus offices So I enjoyed a free hot dog lunch and took home a portable speaker.

Conference has been good as well. I almost slept in through the first session however but I watched on-line anyway, so I just watched at a delay. The speaker I picked up on Friday came in handy. I hooked my old Laptop up to the big TV and set it up so I could watch Conference on the TV. But the sound from the Computer was hard to hear from across the room so I plugged in the Speaker from Volt and everything was just right to enjoy Conference. Hopefully Sunday's session is just as good.

Hmm. I wonder what we will be doing for FHE on Monday?

Thursday, September 25, 2008

No Hard Drive Swapping :(

I decided to see if I could try an old hard drive in my new laptop, but when I opened it up I was disappointed with what I saw. HP is using a new quick swap hard drive caddie system which requires an extra purchase of a caddie with the special plug in order to install it. Sigh, oh well I will have to come up with another idea, or fork out the money. I need to be cheep right now so I will likely find another solution, somehow.

Friday, September 19, 2008

New Computer

woo! Hoo! My new computer arrived today! And so I get to go through the experience of getting a brand new computer again, complete with all of that wonderful junk installed. That experience I don't get at work, because working at Microsoft, the first thing I do at when I get a new machine, is boot up the Network Installer and install a fresh OS from the network.

The first thing I have to get used to here however, is the shift key on this new keyboard is smaller and gets interfered with by the up arrow the ?, and the enter keys. The Touch-pad is a little weird too, it feels more like a space bar than a touch pad button.

Ahrg! I did it again, I pressed the up arrow instead of the right shift key. Good thing it is talk like a pirate day today! This little flyer has been floating around the kitchens at work so I thought I would capture it.

The first thing I had to do once the machine started up was connect to the Internet, that was the painless part, then I had to enable the antivirus, fun; it's Norton! I will be replacing that soon enough. Then came the torrent of updates after updates, first Defender, then Norton, then Windows, then HP, then Java... At least that didn't take overly long.

While I waited I decided to try to document some of this on ye olde' blog here and make some smores. Mmmmmm. Smores! I think I will make another...

So the first thing I see when I open IE makes me cringe, No! not the Yahoo! tool bar!!!!! I will be un installing that now! Ah! much better, all gone. Next, there is some sort of weird side bar installed into IE called the "HP Clip Book" Weird! It sure takes up a lot of real estate. It has a close button but tells little of what it does. Oh, wait, there is a new button on the toolbar which has something to do with it. I think I will keep it for a little bit but it will likely go shortly, I like my Browsers in narrow windows but not that narrow.

Let's see, Oh yeah I got it with a web cam, now why did I do that now? I don't remember anymore. I think I will play around with it and see... Ah! there we go! Now I don't have a head! Ah, more fun to go...

Tuesday, September 9, 2008

Bumpersticker for tailgaters



I thought this would be a funny Bumpersticker...

Saturday, September 6, 2008

hulu

Nice! One of my Cousins pointed me to http://www.hulu.com. It is an online video service which plays Movies and TV shows. Best of all it is free. Maybe it will keep me from going to the video store every week or so... Although I still want to pick up the last two seasons of Bablon 5 if I can find them.

Ooh. Dilbert...

Thursday, August 28, 2008

Computer Forensics

With the hard drive crash I have been scouring the Internet looking for data recovery options. My Brother mentioned an 8 gig USB memory stick he had bought for less than $30.00 and is smaller than a stick of gum. It was too tempting of an offer, I got one for myself. Now I'm trying to figure out if it is possible to use it as a boot option for data recovery setup.

I would love to learn Computer forensics and data recovery. I have run into enough occasions where I wish I knew how and what to do to get data off a dead drive. Well back to the research...

Wednesday, August 27, 2008

IE 8 Beta 2 is Out

Nice! IE 8 Beta 2 was relesed today. I'm thinking of waiting till the VPC hvds are avalible since I don't want to muck up my general OS with a Beta browser right now. But I'm excided with the new features.

Thursday, August 21, 2008

So the Command-line Continues to Live

I can remember carefully crafting AutoExec.bat and Config.sys files to get certain games and programs to work in ye-olde Dos 5.0 days. Days of the old Dos command which I knew and used much, were: DIR /W /P, CD /D, CD.., DEL, MOVE, COPY, DELTREE, DOSSHELL. I really didn't have much of an idea of what most of the commands in AutoExec. bat or Config.sys did or meant, but if typing "SET SOUND=C:\CREATIVE\CTSND" and "SET BLASTER=A220 I7 D1 T2" would get me sound, or If I was to set the right amount of memory to HIGHMEM I could play Betrayal at Krondor I would mod it.

It is kind of strange how things have progressed in the realm of the Computer. The old Apple2 was command-line, it wasn't until the Macintosh that GUI was to be the new interface and command-line was supposed to be outdated. Microsoft followed suit by trying to eliminate anything DOS like Windows until Windows NT. Anyone remember the days of "There is no more DOS," from Windows 9X days?

But the command-line is back with full force. There is an install mode for Server 2008 where only the minimum complement of Windows gets installed, and it is all command-line. Even Apple has a command-line in their Unix based OS.

Lately I have been finding myself digging into the Command-line more and more, writing batch file after batch file. It started at home when I went searching for a program which would converter .cdr files to .svg; I eventually found one but it was command line, so I had to  come up with a batch file which would recurs a directory converting any compatible vector images to .svg.

Then I decided I wanted to see if I could reduce the footprint of some of the folders on my hard drive, so I went searching and found pngout to compress many types of images to smaller lossless pngs. It even compresses most pngs around 75% of the original size. But again, the free version is a Command-line exe, so I built a script which would recurs a folder and compress the images inside.

As I started using my scripts I discovered that some programs choke on spaces even when quoted, so I searched and searched until I found a batch script which would remove spaces from filenames.

As I learned I found better ways to do some of the tasks, little little known flags which could be set to do useful things like get only a file name minus the extension so I could then change the extension rather than append the new one like I had been doing converting to svg. With this one I then needed to come up with a script which would delete the old files then create the new.

And so it goes with work now as well. Many of the internal tools are command-line driven, even the automation harness. So I have been trying to figure out ways to accomplish rather convoluted tasks all from batch language. It's a fun challenge, and make work more interesting. Now if I could just keep what I learned from writing a script for the next time I need to write something similar, rather than having to go back and look at my old code, I might actually be more productive.

But good times.