(Display Name not set)December 2007 Archives
Saw this over at Nick's site, awesome concept and well executed, I sure hope they make some games using this technique. For those of you who aren't techy, just keep watching, at about 2:30 it gets amazing once he's done explaining everything.
Sometimes I'm jealous of our pets, they can sit around all day sleeping...it's a good think they look so cute doing it.
Chester in his regular spot, sleeping on our shoes.
Kole and Ed in their usual spot basking in the sun :)
Chester in his regular spot, sleeping on our shoes.
Kole and Ed in their usual spot basking in the sun :)
I ran into a need to do this with a Ruby on Rails site I've been setting up and for the life of me I couldn't figure out how to get the application to read the root directory of my website, I could only get things to run from the /public directory. I really didn't want /public to show up in the address bar all the time, so I searched and searched for a way to redirect and mask the subdirectory using .htaccess, here's how to do it:
Replace domain.com with the your domain and subdirectory with the subdirectory you would like to act as the new "root" of your site.
Hope this helps anyone else who was searching for a way to do this.
RewriteEngine on
RewriteCond %{HTTP_HOST} ^(www.)?domain.com$
RewriteCond %{REQUEST_URI} !^/subdirectory/
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule ^(.*)$ /subdirectory/$1
RewriteCond %{HTTP_HOST} ^(www.)?domain.com$
RewriteRule ^(/)?$ subdirectory/ [L]
Replace domain.com with the your domain and subdirectory with the subdirectory you would like to act as the new "root" of your site.
Hope this helps anyone else who was searching for a way to do this.
We got our firefish over the weekend, but he's been hiding and we hardly ever get a look at him. Amy was reading about them and apparently they take longer than usual to get used to a tank. Before I left for work this morning I saw him swimming out in the open for the first time.
Our little purple guy which we picked up a couple nights ago is adjusting fairly well, he hides maybe half of the time.
That'll be it for tank pictures for a while, our day-lighting isn't working and we need to get some new parts in for it (we're using a UV desk lap for the time being). Hopefully we can get the lighting working later next week when the parts come in.
Our little purple guy which we picked up a couple nights ago is adjusting fairly well, he hides maybe half of the time.
That'll be it for tank pictures for a while, our day-lighting isn't working and we need to get some new parts in for it (we're using a UV desk lap for the time being). Hopefully we can get the lighting working later next week when the parts come in.
Last night Amy and I went out on what I think will be our final (for now at least) salt-water fish buying run. We took Marlin I back to the store and much to our happiness they returned him for store credit (not their usual policy, but the people there were very nice about it). We'll probably hold onto the store credit for a while. We then went over to the East side pet store (the last of 4 places in Madison that sell salt-water fish) and picked up a small purple fish (not pictured), a starfish, a nano frag with some polyps on it and some grape-plants.
The starfish has been busy moving around the thank, I think it'll do pretty good in there. Also pictured is our mystery goby. We got him the same day we got Nemo, he was labled as an "engineer goby" but we found out later that he might be something else as all the other "engineer gobys" we saw were larger, eel-like, with horizontal black stripes, not vertical. He's made himself a nice home under that rock, poking out from time to time. I wonder what he is. Any ideas?
The starfish has been busy moving around the thank, I think it'll do pretty good in there. Also pictured is our mystery goby. We got him the same day we got Nemo, he was labled as an "engineer goby" but we found out later that he might be something else as all the other "engineer gobys" we saw were larger, eel-like, with horizontal black stripes, not vertical. He's made himself a nice home under that rock, poking out from time to time. I wonder what he is. Any ideas?
Amy "the zoologist" added some new animals to our collection over the weekend, two leopard geckos. She found a nice 20 gallon terrarium setup on CraigsList last week, just add gecko! So she did. Please welcome Splish and Splash:
They're pretty cool and easy going. I'm going to build a nice shelf for them to live on, but for now they're on a spare desk (the cats have to be locked out of the room because they were sitting on the cage). Splish is the albino and Splash is the green one. They can live for 20 years, so we hope they'll be around for a long while :)
They're pretty cool and easy going. I'm going to build a nice shelf for them to live on, but for now they're on a spare desk (the cats have to be locked out of the room because they were sitting on the cage). Splish is the albino and Splash is the green one. They can live for 20 years, so we hope they'll be around for a long while :)
Despite the snow yesterday (five freaking inches of it) I stopped twice on my way home to look at fish. Thankfully the aquarium stores are right on my route home, so it was like taking a break from sliding around on the road. At the first store I picked up a Six Spot Sleeper Goby that Amy and I had been looking at over the weekend. He's very cool looking, and serves a great tank purpose: he gulps up a mouthful of sand, strains the food out, and then spits the sand out his gills, keeping things nice and clean.
At my other stop, I picked up Marlin the Second, he's about the same size as Nemo but with some different spots (pictured below Nemo). Nemo went back into his "happy swim" as soon as I put Marlin II in the tank, not sure what that says about fish relationships, maybe he just wants another clown fish friend, doesn't matter who.

At my other stop, I picked up Marlin the Second, he's about the same size as Nemo but with some different spots (pictured below Nemo). Nemo went back into his "happy swim" as soon as I put Marlin II in the tank, not sure what that says about fish relationships, maybe he just wants another clown fish friend, doesn't matter who.
Sadly, Marlin didn't last the night. Later in the evening we noticed white smudges on him in the black-light that I hadn't noticed in regular light, he looked bruised and beat up. By the time we went to bed he was gone, and poor Nemo was back to swimming sadly in the far back of the tank. I'm going to take him back to the pet store and complain, but I'm fairly sure they won't refund/exchange. In the tank Nemo and Marlin came from, there was an "overactive and hyper" (as the sales lady put it) sleeper goby, perhaps he had been beating on Marlin. Our tank's salinity was spot on, the temperature was perfect, nitrates are good, so the only reason I can see is he came to us sick and or beat up. It was a sad night, after seeing the change in Nemo when we added Marlin to the tank, only to have him go back to his lonely swimming.
So on my lunch/Chester pee break I stopped over at the store where we got Nemo and picked up the other clown fish that was in the tank with him. When I got him home, and put the bag in the water, Nemo who had been swimming near the top-back portion of the tank (probably looking to jump back into the filter) came right up to the bag and started swimming to-and-fro in what could only be described as "the happy dance". When I let Marlin out of the bag, they both swam all around the tank, looking pretty happy to be together again. Who says fish don't have feelings?
Now, we really don't know the sexes of these fish, so it's entirely possible they're mates, which by our naming conventions would make it rather odd :) Only time will tell, but for now they look really happy in their new home.
Now, we really don't know the sexes of these fish, so it's entirely possible they're mates, which by our naming conventions would make it rather odd :) Only time will tell, but for now they look really happy in their new home.
Amy and I bought a small, established salt-water tank (a 12 gallon Nano Cube) over the weekend and bought some new fish yesterday. We got a little clown fish, which we of course named Nemo, from a store that had two of them in the same tank, a big one and a little one. I joked that if we got them both they could be Marlin and Nemo. We got Nemo home and put him in the tank, and after a little while he jumped into the filter area. We got him out, it's not dangerous in there, just have to make sure if he jumps in there we get him out so he can eat. We'll he did it again today when Amy was home, I joked that "he must be looking for his dad". I think we might go pick up the other clown fish, at the store they were swimming together, maybe it'll help Nemo adjust.
Wow, it's been far too long since I've blogged, sorry about that. Lots of things have happened but the most important is Amy and I have a new addition to the family: Chester!
We picked Chester up early in October, when he was just over two months old. He was born on August 4th, 2007 on a farm in Southern Iowa. Once we had the go-ahead from the landlords we drove out to pick him up (just under four hours). He's a pure-breed Pembroke Welsh Corgi.
From the get-go Chester has been a great puppy. He slept through the first night we had him, and generally hasn't woken up in the middle of the night since. He's pretty close to being house trained, just a couple accidents here and there once and a while, nothing major though. He's mild-mannered and very smart, and gets along with our cats just fine (from his perspective anyways, the cats on the other hand...). It seems like his closest cat buddy is Ed, but I'm sure the others will come around soon, they aren't afraid of him, they just don't know how to play with him.
Proving that Corgi's are big dogs in little bodies, Chester has no fear of larger dogs. He loves wresting with Amy's parents labs Chip and Millie and their beagle Toby, Ozzie (Terry and Jamie's German Shepherd), and with my parents large lab Toby. We're really encouraged by this because when we buy our house in the next couple of years we intend on getting a larger dog and it'll be nice knowing that Chester will be able to have fun with it too.
Welcome to the family Chester!
We picked Chester up early in October, when he was just over two months old. He was born on August 4th, 2007 on a farm in Southern Iowa. Once we had the go-ahead from the landlords we drove out to pick him up (just under four hours). He's a pure-breed Pembroke Welsh Corgi.
From the get-go Chester has been a great puppy. He slept through the first night we had him, and generally hasn't woken up in the middle of the night since. He's pretty close to being house trained, just a couple accidents here and there once and a while, nothing major though. He's mild-mannered and very smart, and gets along with our cats just fine (from his perspective anyways, the cats on the other hand...). It seems like his closest cat buddy is Ed, but I'm sure the others will come around soon, they aren't afraid of him, they just don't know how to play with him.
Proving that Corgi's are big dogs in little bodies, Chester has no fear of larger dogs. He loves wresting with Amy's parents labs Chip and Millie and their beagle Toby, Ozzie (Terry and Jamie's German Shepherd), and with my parents large lab Toby. We're really encouraged by this because when we buy our house in the next couple of years we intend on getting a larger dog and it'll be nice knowing that Chester will be able to have fun with it too.Welcome to the family Chester!
