Posted on 3 Comments

Programming self into corner

With programming, over thinking a problem is a common pitfall. Sleeping on a problem often results in a quick solution for the mere fact that you quit thinking about the issue long enough to see the simpler solution. As we contrive our Rube Goldberg devices to solving programming challenges, we become like plumbers simply adding more pipes to divert the water to the end result. Quickly we paint ourselves into a corner and waste valuable time. I am there right now on what should be some simple css.

If I have a <tr> that has a class <tr class="foo"> and the <td> within the tr has an <a href> how do I style the anchor?

Before anyone jumps on the "Don’t use tables" bandwagon, this is semantically correct because the output is tabular data.

The solution should be tr.foo td a { }. But nothing changes. CSS is not magic; not spooky. CSS is relatively simple, and fun! But hiccups like this drive me to the brink!

Posted on Leave a comment

The ever shrinking room

We’ve hit that time of the Monday where the walls begin to close in. This is the moment that I feel I need to continue programming to hit a milestone, simultaneously I need to be on the phone doing unpleasant bureaucratic things, and I also have a load of paperwork which demands I not ignore it a single more day. All the while I feel like I’m walking in glue. Since the world has gone micro, I think I’ll go have a micro-breakdown. Back in 15 minutes.