Friday, September 30, 2011

Basement Remodel progress


Ductwork coming down to make room for reinforcing the floor joists


Me: Wait, isn't supposed to be really COLD this weekend?! Crap!



Taking advantage of the opportunity to rewire some 1st floor outlets that had 110 year old electric work

Sunday, September 25, 2011

My new basement

Bathroom finally complete and outdoor projects winding down as fall approaches, I decided start out the basement remodel project.

So far I've

Taken down a workbench
Removed a storage room and ceiling in that room (plaster and lathe)
Remove a wall that created a long narrow closet
Removed the west-facing exterior wall (2x4 + plywood)
Removed a bunch of carpeting from the west half of the basement
Repaired a bunch of foundation problems with concrete patch.

Here's the current state of affairs


The is the remaining stuff that is in this part of the basement all packed in. The excitement is behind that dropcloth...


This is the back west side of the basement, where the storage room was.


This is facing fully north, where there used to be a wall separating this part of the basement from the furnace area.


This is the north west foundation wall. Lots of crumbling paint/dryloc and a few problems that required some concrete patching.

Wednesday, August 3, 2011

Sound woes, solved by a USB sound card.

I built a computer several years ago, and until recently it was chugging along just fine. It was a little slow, and a little short on RAM, but it suited my needs just fine.

After taking a Windows 7 update, I noticed that my sound was no longer working correctly. Rather than emitting a normal sound, it would just emit static until the end of the sound when it sounded vaguely like it should.

Assuming a sound driver problem, I scoured the internet for a driver for the onboard CM-1801 chip for Windows 7 and came up empty handed. Apparently, the company that makes these audio chips are know for providing very little support. This chip was from the Windows XP and Vista era, but it was never officially supported on Windows 7.

I next queried some of my friends to see if anyone had an old sound card for which I could find Windows 7 drivers. I got a few cards in response, one of them didn't work, and the other had no Windows 7 support (Creative Labs Sound Blaster 5.1)

Then someone told me to just get a USB sound card. A what? I never heard of such a thing. A quick search on NewEgg.com led me to the solution. USB dongles that look much like a memory stick, but that have 1/8" jacks on the opposite end to connect headphones and microphones!

$13 and a week later, it showed up. I plugged it in, Windows 7 installed the driver, and my glorious sound was back! Now, if you are a Dolby Pro 5.1 or higher power audio user, you may be out of luck, but simple stereo is all I need from my computer.

Thursday, July 14, 2011

Configuring DNS in Ubuntu

My company recently added a primary and secondary DNS server, but I was unable to resolve any of the server names to IP addresses after configuring the name servers.

The file /etc/resolv.conf contains the following

nameserver 192.168.1.164
nameserver 192.168.1.48

Which seemed perfectly reasonable, yet running a nslookup resulted in:

** server can't find mycomputer: NXDOMAIN


I instead tried a reverse lookup using nslookup, specifying the IP of the server I wished to connect to, which returned my first clue

servername.domainname.com


It appears that the domainname was required in my lookup. So I searched for servername.domainname.com and got the IP address as I would have expected.

This led me to the man page for resolv.conf, which identified the domain configuration option, and the following contents for resolv.conf

domain rocsoft.com
nameserver 192.9.200.164
nameserver 192.9.200.48


Now running nslookup servername returns the IP for the computer.

Wednesday, June 15, 2011

I love KDE's new addition: Activities

As a developer I find myself desiring a way to segment the many applications I end up running which clutter both my task bar and my screen. I've tried using virtual desktops, where you have N screens on which you can place applications, with only one showing at any point in time. I've always found the management of the application on the screens and the switching to screens less than seamless.

Perhaps it's because I'm a gmail fan that I like what the developers of KDE have implemented in Activities. Activities are tags on a window, like Googles tags on an email message. You define your activities and associate your applications with a tag. When you switch to a new activity, only the applications with that tag are shown. Smartly, only the applications appropriate for the current activity are shown in the task bar also, further reducing clutter. Additionally, only desktop widgets for the proper activity are displayed

For example, I have a Development activity that includes Eclipse, DB-Visualizer, Chrome, and a terminal window. I also have a Overhead activity that includes LibreOffice, Kontact and Chrome. When I activite my Development activity, I only see Eclipse, DB-Vis and Chrome. When I activate my Overhead activity, I only see Kontact, Office and Chrome.

I found it best to use with the addition of a panel that lists my activities. So I just click on Development to see my development toolset. Email notification? Click on the Overhead activity and development windows disappear and I see my email. After processing the email, I just click back to Development and pick up where I left off.

Here's how it looks, and know in your heart that I'm running Eclipse, DB Vis, Kontact, Kopete, Chrome, Firefox, KRDC, Amarok and Terminal. This is my "clean" activity.



So my activities are "Escalation" (things related to dealing with customer problems, "Development" (things related to developing new features or fixing bugs), "Overhead" (things like email, time tracking) and "Desktop" (a clean area for clearing my mind).

KDE also provides some template activities like Photos, Newspaper, Search and Launch.

Monday, June 6, 2011

The bat of 2011 - part 2

I periodically opened the door a crack to get a glimpse of our visitor having his way with our bedroom. Zoom, zip, swoop, then finally a landing. He landed first on the curtains near the open window, looked around a bit, then climbed down to the floor.

Bats are actually kinda cute when they're crawling. He was turning his head left and right, looking for the Exit sign, but not finding one. So he started flying again.

He landed a second time beneath the curtains on the floor and crawled along the baseboard. I was ready to jump in with my shoe box to catch him, when I saw him jump/fall into the heat/ac register on the floor. The openings are quite literally an inch square and he just plopped right in like they were sized just for him.

I rushed into the room and put a big piece of cardboard over the register, then ran down to the basement to close the vent off. Now he was trapped in the ductwork. I tossed around in my head what my next move would be, but ultimately decided to return to sleep since I had to wake up at 5:30am to teach a Spinning class.

So having had naughty Mr. Bat trapped, I carried on with my day. I came home tonight and rigged up an intricate system of levers and pulleys to trap Mr. Bat. Actually I made a little tightly contained chute leading from the vent to the window.

At about 9:30, Mr. Bat showed his ingenuity by escaping and terrorizing Anne and the kids. This time I trapped him in William's room. I peeked in and there was no activity. Poor dude was probably tired. Anyway, I found him on the back of a curtain. I carefully lowered the upper pane of the window and coaxed him out!

I hope that's the end of the saga, as the Bat Man (batproofer) is coming over tomorrow to figure out how they're getting in and seal it up for us.

Keep your fingers crossed that he can fix it and that the bat that I let out was the same bat that got in last night. (the other possibility being a second bat)

The bat of 2011 - part 1

Just found this draft and decided to share!  I pray that it's the only one this summer.

As I lay in bed, resting soundly, I was awakened by a small bump. Anne frequently opens the window but not the blind, so I just assumed it was the blind blowing in the wind and bumping against the window frame. Then I heard the flutter of a wing and knew the terrible truth that would prevent me from getting a good nights sleep. A bat had broken through our perimeter defenses.

I opened my eyes and my worst fears were realized. A bat doing laps around the bedroom ceiling. I leaned over and tapped Anne. Startled, she yelled "WHAT?!" There's a bat in here. "WOOOOOO", and the sheets were pulled over her head. She apparently believes the myth about bats getting caught in womens hair.

So we both laid there waiting for each other to make a move. Finally I said "lets proceed in a calm and orderly fashion to the door", and we made our move. Thankfully, we were able to close the bedroom door behind us with the bat trapped in the room.

I peeked in, opening the door a crack to verify that the little jerk was still doing laps looking for an exit strategy. This went on for about 5 minutes.

Read on! Part 2