The Haphazard Blog

Technology

Falling Behind

by on Jan.01, 2010, under Entertainment, Life, News, Politics, Site News, Sports, Technology

Well, as you can probably tell by the huge gap in posts (a lot in September, less in October and nothing since), I got behind. More to the point, I had other things going on in life.

I tried to keep notes on things to blog about and I was going to back fill the blog with them. It’s kind of pointless though. It would not reflect what I was really thinking at the time. Instead, it would’ve been a mix of what I thought at the time with some hindsight. That seems somewhat disingenuous, and it’s not like there are all that many readers of this blog that are waiting for my incredible insight into random things.

Another thing I will not do is make any resolutions for New Years to blog every day or any nonsense like that. I am starting anew, and it is a new year, but it’s more coincidence. I’ve had the last couple days off from work and I’m not so busy. I wasted my afternoon watching WVU get beat by an inferior (on paper) Florida State in the Kiss Bobby Bowden’s Ass Bowl. Then by about 5 minutes into the second half it was evident WVU was going to be killed by Purdue in basketball. So, I’ll quickly touch on the stuff I had taken notes on over the last couple months. It should be apropos of the blog’s title.

Patriots are up and down this season. That Colts loss was brutal. I can not remember the last time the Patriots got beat as badly as they did by the Saints. Have they ever benched Brady because they were losing? Pure domination over the Jaguars. Can they get the job done when it counts? We’ll see in 2 weeks if they get to play the Colts or Chargers.

Why do announcers and writers call so many hits to the QB that result in a flag the “Brady Rule”? It’s really only hits below the knees when the defender is on the ground. Low hits were banned after the Steelers took out Carson Palmer.

I admit I am somewhat a fairweather fan when it comes to the Red Sox, Bruins and Celtics. I don’t follow them all that closely during the regular season. Nothing like the Patriots. I know they won the World series again in 2007, but I still keep wishing they re-signed Orlando Cabrera. They still haven’t found a shortstop.

President Obama and the Nobel Peace Prize. He didn’t do anything to earn it. The Republican reaction. Predictable and overboard. There really is no need to pile onto the obvious.

Microsoft needs a much better way to install an upgrade version of Windows 7. Many enthusiasts reinstall their OS often. Having to install XP or Vista first is ridiculous. They should allow people to submit their old XP/Vista key and the Windows 7 upgrade key and receive a regular Windows 7 key to do a true clean installation.

I got a cold in mid-October. I figured maybe I should get the Flu shots. I hadn’t had one in probably 10 years. I called my doctor, a Physiatrist who should be very familiar with the needs of people with spinal cord injuries, to see if I should be trying to get the H1N1 shot ASAP. Her response: Ask my primary care physician. That does not feel right at all. I think I need a new Physiatrist. They said I should, but there’s no waitlist. I needed to call and see if they were in on my own. That got old/tedious fast. Long story short, I didn’t get either and got the flu 2 weeks ago. I still have a cough. There’s supposedly a second wave expected, so I guess I still will end up getting the shot. The flu sucked. I did not get the flu in over 10 years. I can’t decide if it’s better to keep avoiding the shot or not.

I read this article in Rolling Stone about some stock option sales that netted insane profits during the financial crisis in 2008. It’s quite upsetting. I don’t see any reason they can’t figure out the people involved and charge them with crimes. Is everyone complicit in this? Everything is such a mess. It feels like no one is going to do anything about Wall Street. For the most part, no one on the government side took advantage of the leverage they had during the crisis. Now the remaining Wall Street giants are back to making huge profits. I would too if the government loaned me money at 0% that I then could loan out at 4-5%+.

I didn’t write a follow-up Fall TV post. So here’s a quick rundown. Hank stunk (ABC agreed and cancelled it). The Middle is better than Cougar Town but not Modern Family. White Collar is an interesting crime drama, but Leverage is better. I liked V and never saw any incarnation of it before.

The anniversary of the JFK assassination came and went. At least for me, the computer simulation Dale Myers did helped me realize that I forgot about the windshield on the limo. That eliminates so many angles for a shooter on the ground. Oswald makes the most sense. It doesn’t preclude a grander conspiracy per se, but I think the ones about who the shooter was and where the shooter was just don’t cut it.

I got a new PC. It is pretty fast compared to the old one. Everything is snappier. On the old one, things ran well, but I notice they run better on here. Use less CPU time. I still need to get everything transferred over. I have a lot of PC housekeeping I need to do. Consolidate to one machine. Build a new machine for my Dad. replace the 802.11b cards with 802.11g ones so my network can run at G speeds. I can’t stream all of my HD video over wireless B speeds. Then I need to send back my old/broken PC.

We got a pretty good World Cup draw. Hopefully that will help the U.S. avoid a last place, no wins finish in their group again.

I’m hoping to go to the Formula 1 race in Montreal in June.

Health Care “reform” is looking like a train wreck. The Democrats are so disorganized. They stripped out everything the Republicans didn’t want and they still won’t get any votes. If that’s going to be the case, why even bother to appease them? You are going to end up with either all the blame or taking credit, why pass something you don’t like much? I think in the long term, we’re in serious trouble. Nothing the government is doing makes sense for the long term. The Congress can’t do anything but appease special interest groups/lobbyists. I think the smartest people are getting theirs now before everything goes south. Get a lot of money in the bank now with little regard to long term consequences. A lot of good talk from President Obama, and I know change doesn’t happen overnight, but I’m not even seeing any indication that change may happen. It’s business as usual in Congress.

This attempted Christmas Day plane bomber story is very weird with the stories from the lawyer about how the guy tried to get on the plane in Amsterdam, the second person being arrested and a possible second bomb in the luggage. I could understand them not wanting to disclose in order to aid their investigation. I’ll be interested to see what comes of it.

I got Scribblenauts for the Nintendo DS. It’s a neat game. I’m not even 10% through it and it is challenging. How do you “defeat” a tornado? Destroy steel spikes?

I’m thoroughly enjoying the Colts resting starters meltdown. It has so badly blown up in their faces. They went about it in the worst way possible and every defense of it that Bill Polian throws out there makes no sense. Obsessed with the Patriots much?

If you read all of this, I commend you. I also want to wish everyone out there a Happy New Year!

Leave a Comment :, , , , more...

All Clear on the Malware Front

by on Sep.18, 2009, under Software, Technology

The Malware is all gone. It hooked in pretty deeply. It was actually pretty clever. It manages to load a library during boot-up before you even get to the Windows log in screen, and well before your anti-virus software is running. It does not stop there. It then attaches to any/multiple running processes as a thread so nothing looks out of sorts. So you look at the task manager and all the running processes appear legit. I assume that’s why the anti-virus software was clueless. In addition, it discretely disabled the Windows Security Center warnings when your anti-virus software is disabled and hid Windows Updates. (This is how I figured out the problem. I highly recommend Malwarebytes to everyone, it pointed me to the registry entries that were being changed.)

I first used RegMon to watch the registry entries to see what was changing the entries. It was odd that my mail program and explorer were doing it. So I used Process Explorer to see what those programs were up to. After that, Google led me to a program that took care of it once and for all, ComboFix. It’s straight forward to use if you follow the directions. I like that it installs the recovery console as a boot option.

Updated 9/29/2009: I just discovered that ComboFix resets the hosts file. For most, this won’t matter. I added some hosts for testing multiple web applications on different “domains”. It took me a little bit of time to realize why they would not work.

Leave a Comment :, , , more...

That Didn’t Take Long

by on Sep.17, 2009, under Software, Technology

Two Days. That’s all it took for my machine to be compromised by something. I have no idea what it is, or how it got past my anti-virus software. I got it from a legitimate website. I suspect it was an advertisement type of attack. That’s what I get for using Internet Explorer and forgetting to disable the Adobe Acrobat plug-in. My anti-virus software was going nuts warning me and Acrobat launched. I closed it and I thought everything was fine.

A couple hours later popup ads started to spawn like crazy. I managed to close all the windows and kill the process. I did some Googling and found this product called Prevx. I downloaded it and ran it. It detected the problem and said it could fix it. This is where I’m annoyed. All it does is detect the malware. When you want to remove it, it’s time to pay for a subscription. I fully understand the business model, but it’s pretty cold to taunt the user. We found a problem, now pay up to fix it! I imagine this is pretty successful. I can’t believe PC Magazine awarded this software an Editor’s Choice award and doesn’t mention how crippled the “free” version is. To add to the annoyance, you can’t even exit the program easily. I had to kill the process.

I managed to do enough that I haven’t seen any popups, but it’s not gone. If I try to eliminate the DLLs, it becomes active. I’m pretty tired at this point. I’m going to shut down the PC and try to get rid of this in the morning. It is definitely something very hard to remove. I really don’t want to reformat and install Windows again.

Leave a Comment :, , , more...

Rebuilding a PC and J2EE Standalone

by on Sep.16, 2009, under Computer Hardware, Software Development, Technology

It looks like the hard drive controller also went bad on my PC. I can’t get it to boot in any way. I tried to create a bootable USB flash drive loaded with Windows XP.  It worked on my laptop, but no matter what I tried on the other PC it would crash on the same driver. I tried new cables and different drives. So I think it’s just a giant paper weight. Replacement Dell main boards are quite expensive, so that was an unlikely way to go. My company offered to try and put together a temporary machine and send it out to me, but I just decided to use an old machine I have. It will only be temporary though. Looks like I’ll be getting a new PC.

So I’ve installed Windows XP and have been installing all the applications I need to get by. This takes a lot of time. Reboots, updates, configuring. I definitely need to push for a RAID 1 setup on my new machine. Storage is so cheap, an extra $100 is well worth avoiding data loss from a drive failure and having to rebuild a machine.

This brings me to J2EE. My Java IDE (IntelliJ IDEA) uses libraries to help with syntax checking, auto-complete, etc. I don’t understand why Sun does not make J2EE available as a standalone download. I have to download and install a J2EE application server to get theJ2EE JAR file. Given that, Jet Brains should bundle it with the IDE. I use Apache Tomcat as the application server and it does not require or come with J2EE.

Leave a Comment :, more...

I Think My PC Died

by on Sep.13, 2009, under Computer Hardware, Technology

It appears my PC has decided to blow up. I was doing some work yesterday evening and went to eat dinner. I came back to find the dreaded BSoD. These are a very uncommon occurrence for me. I think the last one I had was 4 years ago.

I rebooted and the PC just wasn’t going into Windows. I tried a lot of things with no luck. Of course, I didn’t have a Windows XP CD to run the recovery console (I didn’t get one with the machine, Dell Dimension 8300) so I had to use other methods. I used the built in Dell diagnostics and all signs pointed to a bad hard drive. Just to be sure, I tried the hard drive in another older PC I had. No luck, so it looked like my primary hard drive was dead and I likely lost about a week of data. (I try and backup my data every Sunday morning.) So I put a working drive into the machine and was still having problems.

Now I really have no idea what the problem is. It’s my work PC and the warranty ran out over 2 years ago. I’m going to have to talk to our company’s IT people and see where to go from here. I’m starting to think that heat finally destroyed the thing. When I first got it, it was so quiet, even under full load. Over the years, the CPU fan would get going under load, and eventually it got to the point in the Summer where if the temperature in the room was 80, it was ready for lift-off regardless of the actual load on the CPU. If it really is finished, I’d like to see if the thermal compound or pad was destroyed. I saw some users on the Dell forums complain about the noise levels going up over time. Some people recommended replacing the fan. Oh well. If it’s dead, it has worked well for me for over 5 years. I only had to upgrade the RAM (added 2 GB) in all that time. Not too bad all things considered. In hindsight, I probably should have replaced the PC before the 5 year mark.

Leave a Comment :, , more...

Microsoft .Net Report Viewer with Visual Studio Express Editions

by on Sep.03, 2009, under Software Development, Technology

I recently was given some code written in C# and was unable to get the solution to build. I was getting the following error using Visual C# 2008 Express SP1:

The type or namespace name ‘Reporting’ does not exist in the namespace ‘Microsoft’ (are you missing an assembly reference?)

I tried a lot of things recommended by MSFT experts on the MSDN forums to no avail. I installed the Microsoft Report Viewer 2008 SP1 Redistributable. Still couldn’t build. I couldn’t locate the library through the toolbox either. Later I found that the necessary DLLs never were installed. I tried other report viewer redistributables. I even tried getting the files from another developer and placing them in the correct location. I still could not add them through the toolbox. Some people said that I need to install Visual Web Developer. I had it installed so that did not matter. Everything I tried would not allow me to use the Microsoft.Reporting.WebForms or Microsoft.Reporting.WinForms libraries.

This is the solution I found to work and it makes sense. You need to install the SQL Server Express 2008 Runtime with Advanced Services. If you just installed any of the Visual Studio Express editions, then it automatically installed SQL Server Express 2008 Compact Edition. That is missing the reporting services and you had no option to install anything. You can install the whole thing from Microsoft’s SQL Server Express download site. Note that this will install another instance of SQL Server Express in addition to Compact (if you have it installed). It won’t upgrade it.

I found the cleanest way to do it is to install SQL Server Express 2008 Runtime with Advanced Services first and then install the VS Express editions. They will recognize that SQL Server is installed and skip SQL Server Express Compact Edition.

10 Comments :, , , more...