We have a couple of students who needed a test pattern printed out. The pattern was basically a circle cut into a given number of pieces of pie. They initially requested 100 “pieces”, but weren’t exactly sure if that was going to be what they wanted. There was no chance I’d be able to draw this by hand, so I wanted to write something that would generate the pattern and be easy to edit so they could generate patterns with a different number of pieces. I thought that Processing would be a good way to do this and it turned out to be very easy, once I remembered two things. One, all angles in Processing should be in radians, so 360 degrees is 2 * PI radians. And two, that [0,0] is the upper left corner of the drawing. Once I had those settled, I wrote the following:
There was a small area between the dining room and the bedroom that had some weird wood in the floor. I found out why when I removed it and tried to piece in some pieces I had pulled up elsewhere. The opening was a little bit bigger than the thickness of two pieces. So, I decided to fill it using the maple floor that I had left. Here’s how it looked when I was about halfway through. I think it looks pretty good.
I think I’ve now finished all the repairs on the floor. The wooden floor is now ready for more sanding before finishing. I even broke out the good camera to take some pictures. Here’s how things look, including some of the mistakes that I made.
It took a while, but I finally finished the big flooring replacement at my house. Putting the very last piece in took a bit of work and it’s by no means perfect, but I’m happy with it. Hopefully, I didn’t make any big mistakes that will cause the floor to buckle in winter. I still have two smaller places to patch, but I’m happy with the bit I finished today.
My new MacBook Pro (WITHOUT retina display) came yesterday. It’s SO nice having a matte screen again. I cannot say how much I hate seeing reflections of lights or myself in my screen. So this has been great. I still have my old laptop and I have a time machine backup for it. However, I decided not to use time machine to restore the computer. One, because there’s tons of stuff installed that I don’t really want any more. So, this will force me to clean up. Two, I did restore with time machine a while back, when the hard drive failed. It didn’t work perfectly. And I had to reinstall some software packages and clean up other stuff anyway. So, I decided to just avoid it altogether. This also got me to look at some programs that I was using to see that they won’t run under 10.7. The program I use to encrypt stuff is one such program, so I need to find an alternative for that. There were a couple others, but I think it’s good to set things up again. It helps me to remember why I did it.
I was just doing some work on one of the computers that I’ve installed RHEL6 on and noticed something weird. Here is a listing on an RHEL5 node:
I’ve tried to stop by my house every day after work this week and just install one row of flooring. (It’s been in the 90s, so I really can’t work that long anyway.) I figure I’ll slowly make progress this week. Here’s how things are looking after today.
I worked a lot on the house today. Put in a pretty full day. First up was repairing the bad subfloor, which wasn’t bad at all.
ok:~ maryh$ rvm update ok:~ maryh$ rvm reload RVM reloaded! ok:~ maryh$ rvm list known # MRI Rubies [ruby-]1.8.6[-p420] [ruby-]1.8.7[-p358] [ruby-]1.8.7-head [ruby-]1.9.1[-p431] [ruby-]1.9.2-p180 [ruby-]1.9.2-p290 [ruby-]1.9.2-p318 [ruby-]1.9.2[-p320] [ruby-]1.9.2-head [ruby-]1.9.3-preview1 [ruby-]1.9.3-rc1 [ruby-]1.9.3-p0 [ruby-]1.9.3-p125 [ruby-]1.9.3[-p194] [ruby-]1.9.3-head ruby-head
I ordered a new MacBook Pro today. I specifically, did not order the one with the retina display. On those, you cannot fix anything. The ram is soldered to the board, the storage is some special thing and the battery cannot be replaced. Additionally, it no longer has an on-board ethernet port. You have to get a dongle to convert a thunderbolt port for that. I’d also have to get another dongle to hook up my external monitor. Lastly, somewhere I read that the fancy retina display still shows reflections. The blog post I read about it, said something to the effect of, still make sure you turn that overhead light behind you off. Since that’s the kind of thing that drives me nuts, I was pretty sure that no matter how nice it looked, it probably wasn’t for me. I had intended to go to and Apple Store and see it for myself, but after looking at all the other drawbacks listed above, I just decided I didn’t care. I’ve had this current MacBook Pro for 5 1/2 years. In that time, through AppleCare, I’ve had the logic board replaced and the dvd replaced. Once AppleCare expired, I’ve replaced the hard drive a few times, the lcd screen after I cracked it, the battery about 3 or 4 times, the power supply twice and the dvd is broken again, but I don’t care. I just don’t like that I’m not able to repair something that I supposedly own. And carrying a bunch of dongles also doesn’t appeal to me. I will have to get one for the monitor (my current one was the last to actually have a dvi connector on it, which was great), but I guess I’ll live with that.
My van wouldn’t start the other day. I had recently had some hose in the steering system replaced because it had holes and since then, the car was really hard to start. I don’t think these things were related. I think it had something to do with the fact that since I have Julie’s car, I’m not driving the van very much. It can sit in my garage for weeks at a time. So, when I did go to drive it, mainly just to make sure it was still working, I found that it would not start. I turned the key and it just made some clicking noises. I’m no mechanic, but I thought that this was a battery issue, even though the radio and lights were still working. A quick check on Google confirmed this.
I spent a very short time working on the house this weekend, due to a graduation party and very hot weather. But I did manage to take out all the wood that I’m going to replace with the new maple flooring. Here’s how it looks.
We had perfect weather to see the transit of Venus today. I took my telescope and solar filter down to Mark’s house and had some fun with Jack and Abby. They both have now seen the transit and know that they won’t see it again, unless they live to 117 and 113 respectively.
Congratulations to Emily and Tori on their graduation!
I was feeling pretty good going into the 5K this morning, but thanks to the turkey below, I have now found myself on the downward slope of life.
This Memorial Day weekend was quite a good one. I got the holes in my floor all patched. Now I just have to work on the section that I’m replacing with new wood. We had beautiful weather for Bike the Drive on Sunday. And today, we had a nice barbeque and birthday celebration for my Mom. Included were my brother John bringing his new motorcycle around and giving rides to all the kids and my Mom.
I finished patching the holes in the living room. I’m no expert at working with wood floors, but I think I did an ok job. At least, I’m not too embarrassed to say that I did the floor. Now, I have two small areas to do in the dining room, a small area in the bedroom and then the big patch of maple. I’m getting excited because I can definitely see the progress and the end seems near.
I biked out to a lumber liquidators store on Friday and ordered ~80 square feet of maple flooring. I’m going to cut out the big section between the dining and living rooms and put maple in there. It will look very different, but I’m ok with that. I had wanted to use a bunch of different kinds of wood, but since you have to buy 20 square feet at a time, I would have had to buy a lot. So I decided to just go with maple.
Over the weekend, I finished the basic sanding (yay!) and started patching. I think it’s going to turn out ok. Here’s how it looks now.
[~]# gem install rails -v "3.1.3"
I’m getting close to finishing the first sanding layer. Here’s all I have left to do in the living room. After this, I should be able to start patching holes.
No work last weekend, since I was suffering with back issues. Today, I went for a run and then back to the house to work on the floor. The dining room is basically done, at least with paint/finish removal. Now I’m working on the living room. Here’s how it looked about halfway through.
In my app, I track plates which have a number of properties. They also have a location because I need to track where each plate has been. However, for the most part, what I really care about is where the plate is now, its current location. When I do my ransack search on the plates, I want to be able to have some check boxes with the possible locations. So, for example, people could search for all the plates that were annealed at a certain temperature and are located at Chicago. This means I have to search the locations for a given plate, but only for the latest location. I tried a number of different ways to do this in ransack and didn’t have much luck. I got it working how I wanted, but I’m fairly certain that this isn’t the best way to do it.
I have a rails app that handles a lot of information about a set of experimental plates. Along with holding information about each plate, I have another table locations, that’s nested with the plates, as in plates has_many locations and locations belongs_to plates. The locations is a separate table because these plates can get shipped to different locations a lot. This is a way for us to track where all the plates are. Most importantly, we want to know which location for a give plate has the latest date, because this will tell us where the plate currently is.