Archive for June, 2009

Fair & Balanced

It’s hard to judge whether someone is lying, or is simply wrong. I’d hate for journalists to be afraid to report on controversial issues for fear that some of the details might be incorrect.

But this is beyond ridiculous.  When accused of lying to the public, Fox News response is: “So?”

Wouldn’t you at least pretend that you were serious?

This afternoon, I wanted to give Fox some credit. While CNN was giving in-depth, frontline coverage of Michael Jackson’s estate, and MSNBC was running a 2 hour special called “Farrah’s Story,” Fox was the only news network who was covering the revolution in Iran or the Cap & Trade bill in the Senate.   Instead, I’m just upset that my news options this afternoon are accurate coverage of dead celebrities, or intentional misinformation on the issues that matter.

Mark Sanford

I was bummed to hear about Mark Sanford.  When he was “missing,” he sounded like a pretty likeable nut.  He’s a guy who values his privacy, and ditching the secret service to spend a long weekend in the woods seemed like a pretty ballsy thing to do (I liked Stephen Colbert’s line: Henry David Thoreau’ing your carrerr away).

It turns out he flew to Argentina to cheat on his wife.  Subtle.

XKCD Explained

More often than I’d like to admit when reading XKCD, I don’t get the joke. Most of the time I understand the basic concept, but there’s clearly more to it that I don’t understand. Take for instance, this comic. Haha, funny right? Zombies are walking the earth, and he’s asking for a signature. Hilarious!

Except I’ve never heard of Paul Erdős, so really, I don’t get it.  Fortunately, when this happens, the answer can usually be found via a quick search on google or wikipedia.

For those of you in a similar predicament, here’s the relevent text from Paul Erdős Wikipedia entry:

Throughout his career, Erdős would offer small prizes for solutions to unresolved problems. These ranged from $25 for problems that he felt were just out of the reach of current mathematical thinking, to several thousand dollars for problems that were both difficult to attack and mathematically significant. There are thought to be at least a thousand such outstanding prizes, though there is no official or comprehensive list. These prizes are still active despite Erdős’ death – Ron Graham is the (informal) administrator of solutions. Winners can either get a check signed by Erdős (for framing only) or a cashable check from Graham.[22]

Perhaps the most famous of these problems is the Erdős conjecture on arithmetic progressions:

If the sum of the reciprocals of a sequence of integers diverges, then the sequence contains arithmetic progressions of arbitrary length.

If true, it would solve several other open problems in number theory. The problem is currently worth US$5000.[23]

Borders, Spacing, and Padding in the 960 Grid System

Today I decided to use the 960 Grid System for an ad on my dad’s website. I used the 960 Grid System, and like usual, everything was working wonderfully until suddenly it wasn’t. However, unlike usual, I managed to fix the problem on my own, rather than finding a new template & starting over from scratch.

The ad ended up looking like this.  After a bit of tweaking, I discovered that the problem was being caused by the following lines of code:

.grid_4 {
background-color:#FFF;
border:#7D534E solid 1px;
padding:5px;

}

Removing the border & padding gave me this, which obviously isn’t a workable design.

After playing around some more, it became clear that the grids are sized exactly; even adding a simple 1 pixel border to your block will end up breaking your navigation.

The simplest solution that I found was to add another div tag inside the grid.  I called it liner, and added it to every grid_4 on the page. So this:

<div class=”grid_4″>
[content]
</div>

became this:

<div class=”grid_4″><div class=”liner” id=”coupon”>
[content]
</div></div>

From there, I simply moved the CSS from grid_4 to liner:

.liner {
background-color:#E9E4E1;
border:#7D534E solid 1px;
padding:8px;
height:295px;
}

I wanted the left box to have a dotted border, like a coupon:

#coupon {
border:#7D534E dashed 1px;
}

<div class=”grid_4″><div class=”liner” id=”coupon”>
[content]
</div></div>

And poof! No more spacing issues. Here’s the final product.

8-Bit Girl

Go to Powa’s blog right now & watch this video.

Why I Can’t Finish a Design

A few posts ago, I discovered Thematic, and instantly added it to my blog. I figured I’d tinker with it and have a new design in a few days.  Just as I was starting to dig in, I found the 960 Grid System, which instantly took up all of my attention.  I didn’t want to redo everything I had just done, so I decided to redesign my dad’s website.

Soon after starting in, I learned that Thematic is built on the 960gs, and that I had altered essential pieces of code in my Thematic design to the point where I was better off starting over than trying to fix it.  It didn’t bother me though, because in a few days, I had a draft up & running.

Tonight, while googling for some css tips to help me make what I thought could be the final touches, I discovered this. I started tinkering with it a little while ago, and I’m now discovering that I had again altered essential pieces of code and was better off starting over than trying to fix it.

Fortunately, I came up with this in no time.  It’s not as close to finished as I thought the last design was, but it has ridiculously clean code.  On one hand, it’s a bummer to spend hours & hours on a design, only to find that someone else has not only designed the same thing better, but has made it into a public-use template.  On the bright side, it can only happen so many more times before someone else is just designing my dad’s page for free.

This man is not safe. He is a candy hoarder.

Today we tested the Wordpress MU blogs that we’re implementing for the summer villages at work.  Karen had way too much fun.  She originally called her blog “Don’t Fear the Reaper,” but we had to include the word TEST in the title, which spawned the title that’s there now.  We didn’t want anyone mistaking testing.villagepages.org for a real blog.

wokapowa.com

Andy Walker has a blog now.  I put it on the links on the right.