DansGuardian Hates iTunes
For some time now, I’ve been unable to connect to the iTunes Store from my computers at home… I believe this happened when I upgraded from the 9.0x series of iTunes to the 9.1x series. As it turns out, Apple apparently decided to have iTunes try to connect to a malformed URL which DansGuardian (my proxy web filtering stuff) rejects cause it’s… you know… malformed.
As a developer of software that occasionally makes its way into the iTunes store, I’ve become increasingly frustrated about why it does not work anymore, and tonight I finally decided to try to do something about it.
I ran across this thread, which explains the problem, but none of their solutions were good ones for me. I’m currently running Ubuntu 9.10, which shipped with an older version of DansGuardian, and I did not install DansGuardian from source. Apparently a newer release of DandGuardian (2.10 and later, to be precise) contains a fix which allows malformed URLs of the flavor Apple seems to enjoy. So, my options were to:
- Upgrade my home server to be a newer version of Ubuntu (not my favorite choice, as my experience with upgrading Ubuntu on servers at work has been rocky in the past)
- Try to get the new version of DansGuardian that ships with Ubuntu 10.04 installed w/out upgrading the whole box (usually a bad idea, as it was compiled with assumptions about how things are set up in 10.04, which may differ from 9.10)
- Downgrade iTunes to 9.0x series
- Replace the existing DansGuardian with a newer version I compiled from source
This last option is what I did for a few reasons:
- I don’t want to have to make massive changes to my whole box just for one small software change
- I can simply compile a new DansGuardian executable with the same options that were used in the package-managed version, and it should be a drop in replacement
- No need to upgrade or change any of my current configuration
So, the process:
- Download the source of DG from the dansguardian folks.
- Unpack the tarball, then descend into the directory it creates and issue the following configure command:
./configure --localstatedir=/var --prefix=/usr --exec-prefix=/usr --sysconfdir=/etc --with-proxygroup=dansguardian --with-proxyuser=dansguardian
- Resolve any dependencies that configure wants (I needed to install the pcre development packages)
make- make will spit out a new executable in
./src/dansguardian mv /usr/sbin/dansguardian /usr/sbin/dansguardian-oldmv ./src/dansguardian /usr/sbin/dansguardian/etc/init.d/dansguardian restart
DansGuardian started right up with no issues. I then started up iTunes and the store connects just fine. The rest of DansGuardian seems to be working fine as well.
If you find this at all useful, or have a suggestion for improvement, please leave me a comment. Thanks!
R/C Planes Are *NOT* Soccer Balls
A few weeks ago I was messing around at the park with my Tiger Moth, and a friend and his son happened to be there shooting pictures of his Super Cub. I decided it would be a great idea to try to fly through the soccer goal, but misjudged the depth as the plane was flying towards me, and pulled up a little too early. Here are pictures of the results:
Every time we head down to our cabin, we drive through Jerome, ID – home of the Jerome Cheese Company. This place is huge, and is very visible from the freeway. It may sound odd, but during one of our drives, my wife and I started brainstorming about what we could do to break up the trip so the kids would get a little less antsy. So we decided to schedule a tour of the cheese factory.
I mean, after all…. do you know exactly how they make cheese?
So today I drove down again with just my kids, and we stopped for a tour. Turns out that they have tours come through all the time – sometimes just families like us, other times classes from school, and sometimes they have huge tour buses that stop for a peek. Who would have thought.
Turns out, there is good reason for their popularity. This is one of the largest cheese manufacturing facilities in the nation – they take in 6,000,000 gallons of milk *every day*, and turn it into 600,000 lbs of cheese. As the tour guide said: “The cows don’t ever get a vacation from making milk, so we don’t ever get a vacation from making cheese. The last time we had a down day was in 1986.” This boggled my mind…. that is, until he took us through the various areas of the production floor to see the process in action.
Now, I was warned by several friends and relatives that there are 2 things you should never see made: Cheese and sausage. However, seeing how they made cheese here was pretty cool – and there were no stinky smells to speak of. First we saw the huge pasteurizing room where they make sure the cheese won’t kill you. Next we saw the 11 cylindrical vats nearly the size of my house where they actually mix the milk with the enzymes and other goodies to turn it into cheese. Then moved on to the separation room where the finished cheese is separated from the other stuff in the milk (whey, water, other proteins, etc). Next we watched the huge presses that form 40 lb blocks of the finished cheese and spit it out into a bag for packaging. We then followed along the conveyor belt through the cooling room (brr!) to where another machine stuffed these huge blocks of cheese into a cardboard box. Next we moved to see this gigantic robot arm stack up a pallet of these 40 lb blocks that was 5 rows tall of 9 blocks per row – and it did it in < 1 minute. The guide explained to me that depending on the customer, the robot arm could stack all different configurations – some customers prefer to have the boxes rotated a certain way. Others prefer that the center of the pallet is left open so that air can flow between the boxes, etc. Finally we saw the huge machine that wraps the finished pallets with the biggest roll of saran wrap I’ve ever seen, then a forklift hauled them off to await shipping.
He said that start to finish takes a little over 3 hours / huge vat of milk to produce shippable cheese blocks on a pallet ready to go. Pretty amazing.
The kids thought it was great, and the guide was really good with showing them what was going on and explaining it so that they would understand. Everyone we saw was friendly, and we had a great time.
Kudos to the Jerome Cheese Company for showing us how they do what they do so well.
Oh, and we got to wear hairnets!
Lightning
In a stunning case of being in exactly the right place at exactly the right time, I happened to run outside in the middle of a thunderstorm tonight with my camera and captured this:
This has been cleaned up in Photoshop a bit – cropped out the houses below, adjusted the levels to make the contrast better, etc. The original, along with all the other shots I grabbed are below:
As always, if you would like full size originals, let me know.
Today I ran across the work of a modern day photographer named Sergey Larenkov who has mixed together shots taken in Europe during World War II and shots he took recently.
The results are nothing short of stunning, and allow us a peek into not only how much the world has changed, but how much it stays the same.
Here is my favorite of his shots:
http://sergey-larenkov.livejournal.com/
Check out his other work – what does it say to you?
Rate Obama’s Job Performance
Whether you love all that Obama has done since taking office, or hope that we get to make a change at the next election, you can make your voice heard by participating in a quick CBS News poll about his job performance during his first year in office:
http://www.cbsnews.com/8301-503544_162-6116297-503544.html
I voted, and while I won’t share how I voted on each question, I was not surprised by the results that had been posted so far:
Youch. Gonna have to pull those numbers up somehow to stay in office…
Isaac and T-Ball
This past spring, Isaac was on his first T-Ball team. Daddy and Isaac dutifully went to every practice before the first game. Practices were times to learn many important T-Ball skills, such as:
- Getting smacked in the face by a ball thrown at you by your dad
- Tripping over your own shoelaces
- Fielding a ball while wearing your glove on the wrong hand
- Swinging your bat as hard as you can at a ball that is not moving, and missing most every time
- Discovering how impossible it is to keep your hat on straight
- Outfield napping
- Running the wrong direction around the bases
- Throwing your bat when you swing real hard
Once he had mastered the basics, it was time to move up to playing real games. During games, even more skills were obtained, such as:
- How to stand in a line
- How to get at that darn stubborn booger
- How to make sure everything is adjusted just right
His coaches and teammates were great, and Isaac had a great time!
Go Isaac!
Swimming Lessons!
Happy Independence Day!
We finally decided it was time to sell the van and buy something with 4 wheel drive and seating for 8. We need the 4 wheel when we get up to the cabin, etc, and we need to haul 8 when driving carpool for school this fall.
After much searching, we settled on a Sequoia. Here’s the one we picked up:
















































