1 July, 2009

Stephen Colbert: Is it time to care about soccer?

The USA's run in the Confederations Cup got the beautiful game some coverage on the Colbert Report.  He asks if its time to care about soccer.

...click to continue reading.

22 June, 2009

Useful SVN one-liner

Add it to your aliases, this one liner adds all unrecognized files in the current directory (preceded by ? in svn status) to a svn project.

svn st | grep '^?' | cut -d ' ' -f 7 | xargs svn add
...click to continue reading.

Improving HTML Forms accessibility

The single easiest improvements you can make to the usability of HTML Forms is to correctly use LABELs. And it helps all users, not just a subset. Its also a nice application of Fitt's Law

s Use the label element to make your HTML forms accessible | 456 Berea Street

When checkboxes and radio buttons have properly associated labels, the label text will also be clickable, thus making the target area much larger and easier to hit.
...click to continue reading.

16 June, 2009

An example of using anonymous functions with PHP

If you're not familiar with them, anonymous functions seem to be a term of art that very advanced programmers throw around to make others feel dumb.  Until now, my closest experience has been in using them with jQuery and javascript, but tonight I found a use for them in PHP. ...click to continue reading.

10 June, 2009

Back to the Futurama

I had to go with the wholly unoriginal headline, but this news (thanks to JL) makes my day.  I'm glad they are reviving Futurama, hopefully it'll replace the crap that is Drawn Together

The 'Futurama' is Now: Comedy Central Revives Series (TVWeek)
Five years after Fox canceled the animated comedy, 20th Century Fox TV has officially struck a deal with Comedy Central to produce 26 original episodes of the Matt Groening series.
...click to continue reading.

9 June, 2009

Actual data helps improve interface design

We're guilty of using guesses/gut feelings when putting a site together. Nielsen reminds us that even a few data points can help make better design decisions.

Guesses vs. Data as Basis for Design Recommendations (Jakob Nielsen's Alertbox)
The general guideline is to use relative font sizes that let users resize (if they know how), but to display big and legible text as the default. This conclusion is based on numerous observations that show that many older users don't have the skills to resize fonts.
...click to continue reading.

2 June, 2009

Packed schedule of World Cup Qualifiers

With the World Cup barely a year away, there's a packed slate of results I'll be watching this week.  Will the US continue its relatively straightforward qualification to another appearance?  Can Bolivia maintain the slimmest hopes of qualifying alive?

  1. Costa Rica vs USA - Wednesday, June 3rd.  The Americans have never won, a tie would be more than acceptable.
  2. Bolivia vs Venezuela - Saturday, June 6th.  Bolivia needs all 3 points from this home match in La Paz, but Venezuela has long ceased being guaranteed easy points.
...click to continue reading.

Thank you, dd for saving and restoring my MBR

I finally got around to upgrading my dual-boot desktop PC to running Windows XP.  It was just about time, the version of windows I was running was no longer supported and more and more software requires Windows XP nowadays.  I also wanted to start using my Windows partition for more than World of Warcraft and occasional IE6 Testing.  Mini-rant: One might think that, by now, Windows would play nicely if you are installing it on an existing dual-boot setup and not do rude things like naively overwrite your Master Boot Record.

...click to continue reading.

18 May, 2009

Lessons from wresting with Drupal's theme preprocessing functions.

 Drupal provides a lot of hooks that you can leverage to make it work exactly how you want.  I just finished tracing how some theme preprocessing functions were being executed, and realized that there are some subtle assumptions which I hadn't understood earlier.  These are my notes about two specific preprocessing hooks and when they are executed, which is a valuable lesson learned after spending a day figuring out why some functions were being called twice, and why some variables where being overwritten or lost.

...click to continue reading.

15 May, 2009

No more car warranty calls?

The only other annoyance was how long it took for them to crack down on this practice. FTC nukes "extended warranty" robocallers from orbit - Ars Technica

If you live in the US, you probably got a call—even 911 dispatchers did. That's because the telemarketers, based in Chicago and Florida, used robodialing systems to call through every phone number in an area code, repeatedly.
...click to continue reading.

8 May, 2009

Please don't get medical advice from Jenny McCarthy.

There are serious scientific studies that refute the whole Vaccines cause Autism myth, so slate asks: Why is Oprah Winfrey promoting vaccine skeptic Jenny McCarthy? - By Arthur Allen - Slate Magazine

For some reason, Oprah and the rest of the entertainment world treat McCarthy as if she were Mother Theresa kissing lepers or Nelson Mandela denouncing apartheid. She's been proven wrong about vaccines, yet she persists in claiming that they are so dangerous that it's better to get vaccine-preventable diseases than get the shots.
...click to continue reading.

5 May, 2009

Tip: Disable Drupal performance settings

On development, testing, and staging site you normally don't want Drupal's caching, and javascript/css aggregation features enabled.  Drop the following into your sites settings.php file to override these settings.


  1.  
  2. // disable performance caching
  3. $conf['cache'] = 0;
  4. $conf['block_cache'] = 0;
  5. $conf['preprocess_css'] = 0;
  6. $conf['preprocess_js'] = 0;
...click to continue reading.

OpenId Login

What is OpenID?

For example, If you have an AOL IM account, your OpenID Url is http://openid.aol.com/screenname

Blog Stats

Total Posts
887
Total Comments
539


Delicious.com

Save This Page

Soccer Blogs - latest posts

↑ Grab this Headline Animator

Latest Comments

Allan Benamer said

Hey, I know that template.php is apparently 5 times slower than going into hook functions but don't you think it's easier to maintain and more portable to boot?... [more]

Brittany Rider said

I love monkeys.... [more]

Beckham said

Народ в подобных случаях так говорит - Авось да как-нибудь до добра не доведут.... [more]

wy the fk would i tell u my name said

p.s i admire my comments.... [more]

Tags

Latest Links

cocos2d
cocos2d, a framework for building 2d games
How to get Drupal working with Nginx
for static files maybe?
Set Gmail as Default Email Client in Firefox
Gmail has been added to the list of mail applications and it's easy to set it as the default email client in Firefox and open all the mailto: links in Gmail, without installing extensions:
Getting Started with iPhone Development | mobiForge
In this article we look at iPhone development, the tools involved, the SDK, and we show how to get your first "Hello World!" iPhone app off the ground.
Your Guide to D.C.-Area Sports on Twitter | Mr. Irrelevant
Soccer
Nabble - jQuery General Discussion - tablesorter: numbers with commas
Parse numbers with commas for sorting correctly
Show Twitter on your Website (PHP) ~ Blog ~ Ben Griffiths
Today I'm going to show you how you can use PHP and the SimplePie RSS library to display your latest twitter updates on your on website. First you'll need to grab SimplePie - You can get that from here: http://simplepie.org/, next you'll need the RSS feed for your twitter account, and you can get that by clicking the feed link in your browser when your looking at your own profile.
AJAX Magazine: dhtmlxScheduler, a Powerful Ajax Event Calendar
Desktop like interface for scheduling events, meetings, and rendering calendars.
Chat Catcher | drupal.org
make twitter, et all mentions into comments to a node.