Showing posts with label blog. Show all posts
Showing posts with label blog. Show all posts

Friday, April 3, 2009

So I found this awesome site about terrible cakes. It’s called Cake Wrecks: When Professional Cakes Go Horribly, Hilariously Wrong

She has this awesome description of hockey:
“See, apparently they play this sport on ice - but they have to make sure the ice is really thick, or else their cleats will scuff it all up. The players wear lots of padding and helmets, and carry little butterfly nets on sticks with which to hit the ball around. The object of the game is to score a triple Hail Mary - which is just another name for a running slam dunk - and consists of knocking three other players down while simultaneously dunking the ball through one of the red rings. Players known as running backs try to kick the ball, but the other team's catchers use their heads and butterfly nets to deflect the ball away from their side's field goal. Any running backs who are able to push the other team's running backs out of the big circle in the middle get what's called a free throw, in which they're allowed to chuck the ball at the head of their least favorite player. If they miss, their team only scores a half-down, but if the ball hits the other player, they score a hole-in-one.”“There was also some stuff about yard lines, birdies, and triple-axles, but I kind of zoned out at that point. Still, I think I just may have to check out a hockey game some day; John tells me every time the pitcher serves a kill-shot, the mascot serves hot chocolate. How cool is that?!?”
http://cakewrecks.blogspot.com/2008/10/whats-better-than-hockey-wreck.html

lol hug

So, I’ve decided that I don’t really like Tasty Pastry. I ordered (or thought I ordered) cupcakes for Andrew. I wanted as many different kinds of cake as I could get, but I really only needed one cupcake or so of each kind. They were all like “sure!” and wrote it down. I got a call yesterday that my “order” was ready. Apparently they only had two kinds of cupcake for me, not the original 5 I had “ordered”. She said they only had the two because they didn’t make any of the other kinds of cake all week. So, I can’t just get a cupcake? I needed to have ordered more to warrant baking anything!? Why have me order anything if you weren’t going to actually make it? After I picked up my “order” I drove on down to Heidi’s Bakery and got other stuff (probably better stuff) that is a surprise. Pfft. I use Heidi’s from now on. It’s too bad Heidi’s was closed on Monday or I could have avoided all this in the first place.

And really, I should have done all the making of the things yesterday, but the stupid power was out until this morning. I am so behind.

Friday, January 9, 2009

Today is very tech heavy (read:nerdy)

This is for all you Internet Explorer fans (and a nice laugh for all the haters).

I don’t know how many of you saw the exploded black blog of yesterday. Obviously if you did, you can see this now and I fixed it. If you didn’t, then I’m betting you either use Explorer or you visited late yesterday afternoon. Here’s the long story.

I made this (the one that you see) design up in Photoshop. I really like it. I think its pretty and vector-y. Since I use only Internet Explorer (IE) at work, that’s what I designed the blogger template in. All fine and dandy. Until, of course, I looked at it in Firefox. I don’t even know why I had to open Firefox. But as soon as I saw the stacked, black, exploded page with really no trace of what it should look like in it, I about had a fit. It had taken me a long time to code the design into blogger. It took me until this afternoon to make Firefox and IE look the same. It didn’t take too awful long to get the Firefox version to look ok. But, and here’s the frustrating part, there still was a 8 or so pixel difference in IE that was throwing the alignment off. When I’d fix it in IE, Firefox would push everything to the right. When I’d fix it in Firefox, IE would push everything to the right. I learned a valuable lesson. IE has no idea how to handle margins and padding correctly. It also will accept and implement crap code (I did it on purpose as a hack). I’ll explain.

I was missing a “}“ initially. IE was like “Whatever” and Firefox was like “Nope. I can’t handle this” so it exploded the page. I found and fixed that fairly easily. Then I was left with the problem of the right column inching itself over 8 pixels. I tried every combination of margin and padding on every div box that I could think of. When one would work, the other wouldn’t. For a while I was over thinking it; adding something more complicated than I needed to (I was adding a div box just to space the columns correctly trying to float it without stacking it. After multiple failed attempts at it, I realized that I could get rid of the dev box, remove padding and margins from another and just make the other wider with the background set to repeat-y). Yay! It was much nicer code. But the problem with Firefox/IE and the 8 pixel drift was still there. This is when I learned the second lesson.

Adding a float:left to the css fixed the drift in IE but created one in Firefox. Getting rid of the float fixed it in Firefox, but messed it up in IE. After trying to figure out a way to have Firefox ignore the float style, I found an interesting tidbit of info. IE is stupid. It ignores errors in code. Firefox is smart. It ignores code with errors. Awesome, I just needed to code something bad enough that Firefox will ignore it but good enough that IE will still recognize it. So, I deliberately messed up on commenting the float out. // instead of /*. Firefox ignored it because it is not a correct command and IE accepted it because it has no idea what it is doing.

With all the money Microsoft has, you’d thing that they would come up with a browser that I can’t trick with a backslash.

Links: