If you’ve compiled ROOT to use python, you need to find out if it’s working correctly. The following code will do that:
I went to Home Depot with Julie today. She wanted to buy paint, I needed to get an assortment of wood screws and a board to put behind the sink cabinet. With that board, I was able to install the cabinet. I also put the fronts on and it looks ok.
Last weekend, I wanted to install the new track lighting I bought to go over the sink. When I went to attach the bit that gets hooked up to the electrical box, I realized that I used a regular box in the ceiling when I should have used a ceiling box. This just seems dumb to me and I remember installing the box and not thinking much about it. I basically just bought a bunch of deep, square boxes and put one wherever I wanted outlets or switches. But the part of the light that attaches to the ceiling is designed to go onto a smaller box. When I discovered this, I just assumed that I’d be able to get an adapter of some type to allow me to hook things up. I looked at both Ace and Home Depot and couldn’t find anything like this. So then I tried to come up with something else that would work. The problem was, anything I came up with required me to remove the drywall ring (I don’t know what it’s really called) that was already installed. This meant that I also screwed up the drywall around the box, as everything had already been taped. After much messing around I finally got things up and working. Unfortunately, I also have to fix the drywall around the box.
Per my earlier post about changing the encryption methods of passwords, I had a chance to test out the directions I had to see if they really worked. In fact, they worked perfectly. And to check that things actually changed, I took a look at the crypted password before and after I logged in.
I decided to go for a ride after work today since the weather was so nice. I also thought that I’d try a new trail, since I was doing a solo ride. After a little research, I decided to do part of the Centennial Trail in the Lemont/Romeoville area. I think this is part of the I & M trails, but I’m not sure. Anyway, my intention was to part at Schneider’s Passage and ride from there. My first bust was that there were only four parking spaces there and they were all taken. So I drove back to something called the Isle a la Cache Museum. No idea what this is, but there was plenty of parking and it was only about a two block ride to the first place I was going to park. The only drawback was that I had to cross Romeo Road, which is a pretty busy street where people drive pretty fast. Fortunately, it was around 7pm and traffic wasn’t that bad.
I had a computer that was hosting a number of simple rails programs that I needed to upgrade. So, I updated everything and reloaded the mysql data and everything was good. That is, until I tried to login. I had a number of unsuccessful attempts and just assumed it was because I forgot the password. There were actually three programs that I had to reinstall and after the third one, I realized that I hadn’t forgotten the password but that something had changed.
Spent the last weekend working on the installation of the hood over the oven. This turned out to be much more difficult than I anticipated. First off, I wasn’t sure exactly how high it should have been installed. There seem to be a number of different opinions out there. I thought I had measured this all out before the drywall went up, but I stupidly didn’t write this information down. In the (very poorly written) instructions for the hood, there was no mention of how high it should go. All I found was on a sticker inside the hood that said it should be more than 24″ from the cooktop. So I put it in a little higher than that.
Sometimes if I open a text file in vi, the text shows up like this:
I’ve been doing really good this summer with biking. The 30daysofbiking in April started things off well and my trips have been tons of fun. Unfortunately, Bike the Drive at the end of the month is my last planned ride I have. I am old enough to know that if I don’t plan things, they aren’t going to happen. So here is a list of rides I’d like to do this summer. They’re just about all in the midwest, so I should have no problem getting to them.
So much for saying that I was having a good month. I thought I’d finish off the electrical work today and hook up the last outlets. All was going well until I turned the power back on. I’ve set things up so that in each box, the outlets on the left were on one circuit and the outlets on the right were in another. I have gcfi outlets in the first box where the power comes up through the basement. So it’s easy for me to turn off one circuit or another.
I started this month with my trip to New York City for the Five Boro Bike Tour. I posted the pictures that I took here:
I have a few apps running on rails 3.2.12 and ruby 1.9.2. Since I need to make some changes to them, I thought I’d update them to rails 4.1 and ruby 2.1. I first upgraded the apps to rails 4.0 and ruby 2.0. That worked fine. Now I want to upgrade to ruby 2.1. First I’m doing it on my laptop. Here is how I compiled and installed it.
Since I came back a day before I planned, I had some time to work on my house on Monday. So I decided to paint my kitchen. After a little hiccup where the paint I bought was yellow and not white (said white on the can), I got started. It didn’t take too long, but I did find a rather large mistake I made when we installed the window. I think I should have raised it up a little because there’s about a 1/2″ gap along the top edge.
Took another mini vacation over the weekend and drove to Washington DC. Why? First reason was the State of the Map US conference. They had an “Intro to Using OpenStreetMap” tutorial that I wanted to attend. Then I found out that it was going to be peak cherry blossoms during the same weekend. I’ve always wanted to see that, so I made the crazy drive. I drove to Perrysburg Ohio (close to Toledo) after work on Thursday and spent the night in a hotel. Then did the rest of the drive on Friday. Since it rained from the time I started until about an hour outside of DC, it wasn’t the best ride. However, once I got to DC, the weather was fantastic, around 80 degrees. I checked in to my hotel and jumped on my bike to find the cherry blossoms. They did not disappoint. My pictures are here.
Drove out to Cape Cod and Boston with my sister this past week. She attended the National Science Teachers Association conference and I just went to hang out. We drove so we could take our bikes and do a little biking while we were out there. We both also signed up for 30 Days of Biking, so we had to ride each day. The drive out was very long, but we had really great weather, which was nice. We were also in Cape Cod in the off season, so there weren’t very many people around. The disadvantages were that most things were still closed, but that was ok.
One thing I had to finish before my awesome drywalling party was to install the vent in the wall for my oven hood. I had to drill a 6″ hole in my brick house.
Finally got the pictures up from the drywalling party. They are here. I owe my niece Abby a movie for being a fabulous photographer. Words cannot express my gratitude to everyone who came and helped out. I love you all more than you can possibly know. I got most of you to sign the back of one of my cabinets to be a part of my kitchen forever. I’ll try to catch those who didn’t sign it before I hang the cabinet, but if I don’t it’s ok. You all are the people who mean the most to me in the world.
It’s been a while since I posted, but not for lack of activity. In fact, I can’t remember a time when I have been so busy. Things got so much out of control that I think it contributed to me getting sick earlier in the week. So I decided to take some action and start saying no to some things.
I don’t know what I did to my thumb, but yesterday when I woke up, it was very sore. And as of today, it was definitely swollen. The picture below sort of shows my issue. Though, after a day of advil and keeping it cool with snow from outside, it has gotten a little better. At least it doesn’t hurt nearly as much as it hurt this morning. I can move it a bit more and I think it’s a little less swollen. It’ll be interesting to see how it reacts to all the drilling through brick that I’ll be doing tomorrow.
I had a problem with a windows 7 computer that was resolving dns.
I got a late start yesterday, but got a few tasks that needed to be done taken care of. First, I went to Menards and found that they had the piece to finish the vent in the kitchen. So I went from this:
Went to Quebec City and Montréal with my sister Julie and Mom. Pictures are here:
I learned a new inflector method the other day, constantize. Here’s the method I used it in.
I have an app that has a model (called cases) that has_many documents associated with it. I have had no problems in creating the case and the associated documents. I had quite a bit of trouble when I was trying to replace one of the documents with and updated one. But I finally got that straightened out. Not sure if this is how a real programmer would do it, but it works for me.
I’m writing a rails app and was trying to use a scope with a variable. My code looked like this: