One of the things I've been doing at work for the last twenty months is putting a constant stream of patches on an in-house member management system (MMS). The best way I can describe it is imagine living in a house made entirely out of paper towels. You spend a lot of time shoring up areas that have been stable in the past, you find tons of new leaks on a regular basis, and all in all it isn't an ideal situation.
That said, I have been able to make the best of things. I got a raise, promotion and an award from work for my work on the system to keep it afloat.
Fortunately we're getting ready to move over to a new MMS next year, however, and our new MMS is going to be 100% Visual Basic .NET, specifically Visual Basic 2008.
Now I've been working in C# for the last two years and making the shift from C# back to Visual Basic is causing a bit of a mental break, but in a good way. I find myself turning off most of the VB "helper" functionality and being more deliberate in my coding style. I'm finding that I'm making better code for the most part because of what I had to do in C#.
The sad thing is that there are still some issues with the new code as received. Just based on the security holes I found in my initial code review, I expect to be spending at least six to eight weeks sealing up some of these holes while we are doing our customization work, but I'd rather spend eight weeks doing it right than two years doing it piecemeal. Even so, I found eight SQL injection attacks in fifteen minutes...what the Hell?
After all, I like my job, but right now I have to be here. I'm pretty much the only one who knows the existing system inside and out and if I leave, the secession plan is pretty much to bring on a contractor, let him spend six weeks getting used to this system, and then proceed with what needs to be done.
My goal with this project is to get the system to the point where I don't have to be here. I want to be here because I want to be here.
It's a subtle difference, but extremely important to me.
September 10, 2008
September 5, 2008
Data Recovery Disaster
Forgive any formatting issues...I am writing this on my BlackBerry as I head into work.
Awhile back, I had a catastrophic system failure and lost a lot of data at home. Digital photos, my CD and DVD rips, source code...I lost a lot.
After that, I promised myself I wouldn't get burned again, so I bought myself a 500GB Western Digital MyBook and set it up as a backup drive. Every Thursday night as I would go to sleep, I would plug the drive in, start the backup, and it would be done by morning. Once a month, I would test the backup to ensure all was well.
This process had already saved me twice over the last year and so I was happy with it...until this morning.
I started the backup last night and when I woke up this morning, I noticed my computer was off. I turned it on and heard the clunk of death from my data drive, but my PC still booted. Booting made me feel better because that meant I just had to replace the drive and restore the backup.
I checked the backup logs and they said the backup completed prior to the power outage and I felt even happier.
I turned on the backup drive so I could quickly verify the backup before running to Fry's later...and there was no data on the drive.
A quick restore of the partition table and a reboot shows me a corrupted root directory.
Needless to say, I am not happy. I have most of the critical files backed up to DVD, but it sucks when your failsafe fails.
Awhile back, I had a catastrophic system failure and lost a lot of data at home. Digital photos, my CD and DVD rips, source code...I lost a lot.
After that, I promised myself I wouldn't get burned again, so I bought myself a 500GB Western Digital MyBook and set it up as a backup drive. Every Thursday night as I would go to sleep, I would plug the drive in, start the backup, and it would be done by morning. Once a month, I would test the backup to ensure all was well.
This process had already saved me twice over the last year and so I was happy with it...until this morning.
I started the backup last night and when I woke up this morning, I noticed my computer was off. I turned it on and heard the clunk of death from my data drive, but my PC still booted. Booting made me feel better because that meant I just had to replace the drive and restore the backup.
I checked the backup logs and they said the backup completed prior to the power outage and I felt even happier.
I turned on the backup drive so I could quickly verify the backup before running to Fry's later...and there was no data on the drive.
A quick restore of the partition table and a reboot shows me a corrupted root directory.
Needless to say, I am not happy. I have most of the critical files backed up to DVD, but it sucks when your failsafe fails.
August 19, 2008
The Numbers Underlying The Numbers
The PC Gaming Alliance has come out swinging saying that PC gaming is doing far better than anyone expected. In some ways, they are right, but it's all in the interpretation.
Industry total for the PC is $10.7 billion, which by itself looks astounding, but let's break it down.
$4.8 billion is online gaming/MMO revenue, which leaves $5.9 billion.
$800 million is advertising sales, which leave $5.1 billion.
$2 billion is digital distribution, which leaves $3.1 billion for retail sales worldwide.
For that same period at retail in the United States alone, the Xbox 360 sold $4.8 billion in software only, the Wii sold $3.5 billion worth, and the PS3 sold $2.2 billion.
So there is some positive news...the global PC game market is healthier than the U.S. PS3 game market...at least at retail.
Just remember that this is worldwide sales, not U.S. only sales. Back in 2006, PC retail in the U.S. was only $970 million...only a 1% increase over the year prior. For 2007, it dropped to $910 million.
Remember, it always pays to check the numbers when people make claims.
Industry total for the PC is $10.7 billion, which by itself looks astounding, but let's break it down.
$4.8 billion is online gaming/MMO revenue, which leaves $5.9 billion.
$800 million is advertising sales, which leave $5.1 billion.
$2 billion is digital distribution, which leaves $3.1 billion for retail sales worldwide.
For that same period at retail in the United States alone, the Xbox 360 sold $4.8 billion in software only, the Wii sold $3.5 billion worth, and the PS3 sold $2.2 billion.
So there is some positive news...the global PC game market is healthier than the U.S. PS3 game market...at least at retail.
Just remember that this is worldwide sales, not U.S. only sales. Back in 2006, PC retail in the U.S. was only $970 million...only a 1% increase over the year prior. For 2007, it dropped to $910 million.
Remember, it always pays to check the numbers when people make claims.
August 15, 2008
DBML Not Backwards Compatible
If you are planning on upgrading to Visual Studio 2008 SP1 and you are using LINQ, make sure your entire team upgrades to SP1 at the same time.
While DBML is forward-compatible from 2008 to 2008 SP1, they are not backwards-compatible, meaning if you make a change to a DBML file in a project, that project will not build in 2008.
The compile will fail with this error:
While DBML is forward-compatible from 2008 to 2008 SP1, they are not backwards-compatible, meaning if you make a change to a DBML file in a project, that project will not build in 2008.
The compile will fail with this error:
Build failed due to validation errors in [path]\[file].dbml. Open the file and resolve the issues in the Error List, then try rebuilding the project.When you look at the output, it will tell you that O/R Validation failed with an unknown error.
August 14, 2008
Real-Life Bugs: Proofread Your EULA!
Axialis really needs to proofread the EULA's that they attach to their products.
Update 7:45pm: I just heard back from Axialis and this has been fixed.
Subscribe to:
Posts (Atom)