fleshyorgans

tryin’ not to be a linux fanboy

fleshyorgans Two Cats

Observation: Code cleverness == Bad

May 2nd, 2007 · 4 Comments

This is inspired by Ruby, but could apply to Perl as well.
Situation: class with dynamic, on the fly class method definitions of the form

[:role1, :role2, :role3].each do |m|
class_eval <

[Read more →]

Tags: stuff

Excellent Rails plugin for auto-ERD generation

July 23rd, 2006 · No Comments

Need to generate a nice ERD or inheritance diagram for your Rails app? This plugin comes to the rescue! This is one of those things that seems like totally a no-brainer, given Rails’ knowledge of the schema.
read more | digg story

[Read more →]

Tags: stuff

How to tell when your programming logic needs tweaking

May 7th, 2006 · No Comments

I meant to post this when I found it awhile ago:
If you’ve writen code that needs to sometimes generate the following SQL query

“SELECT * FROM tbl WHERE (1 = 2) … ”

you should probably think about refactoring.

[Read more →]

Tags: stuff

a beautiful layout and how I found it

November 22nd, 2005 · 1 Comment

So, I began with an article on standards when programming, which linked to this bit about marking up XHTML which linked to this bit on microformats.
I really like the layout and design of that last link. It’s just striking, yet clean. Also it kind of reminds me of this 4″ Everlasting Gobstopper I once […]

[Read more →]

Tags: stuff

The Laws Have Changed

September 11th, 2004 · Comments Off

This may be a little disconnected.

[Read more →]

Tags: Uncategorized