Object serialization in .Net is pretty easy, once you have the right code. It took me a few minutes to figure out the right code so I thought I’d post it here. The code below is a working C# console app.
Tuesday, January 19, 2010
Friday, January 15, 2010
Visual Studio has the capability to have multiple projects listed as startup projects. This will allow you to launch and attach debugging to multiple applications at once. This is very handy when debugging the encoding system locally.
To do this right click on the Solution icon in Visual Studio and select Properties.
Check the "Multiple Startup Projects" radio button
in the list of projects below the radio button change the Action to "Start" for the projects you want to launch.
Thursday, January 14, 2010
I ran into a tricky situation today, How do I use a batch file to launch other batch files or console applications in a new console window? The key to this is the START keyword. So if you open up a new command prompt window and enter
You will effectively transfer control of your current window to the test.bat file. However, if you change your command to
The batch file will be launched in a new window allowing your first window to continue operation to perform other commands or launch more programs.
Wednesday, January 6, 2010
Monday, January 4, 2010
It seems as if the nation has fallen out of love with plasma televisions, and I can’t figure out why. Generally speaking plasma’s have better color, higher refresh rates, and deeper blacks than LCD TVs. Typically the counter argument is that plasma’s use more electricity and their screens are more reflective, which can be a problem in rooms with windows. Recently I purchased a 42” 720p Panasonic TC-P42X1 plasma to replace my 3 year old 720p 42” Sony Wega LCD projection TV.
The picture quality of the plasma is outstanding. One of my biggest complaints with my old Sony was the black levels. This was the main reason I wanted to get a plasma over an LCD, and the Panasonic does not disappoint. Furthermore it has a 600hz refresh rate so I never notice any ghosting in action movies. I bought this TV for under $600. Comparable LCD’s will run you $600-$1000, but at $600 for an LCD you’ll be getting an off-brand with mediocre picture quality. My friend recently spent $1500 on a 50” 1080p 120hz LCD TV, and I’d take mine over his any day. Motion images on his 120hz set are so unrealistic that it’s distracting. Also the color was overly bright, but that was probably more a result of his choice of settings.
The power consumption of TC-P42X1 is also very good. According to tests done by televisioninfo.com it used between 80 and 200 watts depending on how much white was on the screen at once. That’s probably the same amount of energy you are using to light your room if you’re not using CFL bulbs. A similar sized LCD set consumed 137 watts, so I’d actually call the power usage a wash.
Although Panasonic has done work to create anti-glare screens on their plasma’s, I definitely can’t watch the TV with the windows uncovered. However we do have window blinds in our living room so its a non-issue for me.
Also this television is not 1080p, but I personally think 1080p is overrated. Right now the only content in 1080p is blu-ray disks, which are expensive, and I don’t have a blu-ray player anyway. I’ve never watched 720p content and wished for a higher resolution. I’ll take a 720p TV with great colors and blacks over a poor 1080p TV any day.
So the rest of the world can enjoy spending extra money on LCD and LED sets, I just hope cheap, great plasma’s are still around the next time I need to purchase a TV.