Author Archives: Calvin Froedge

Sex is a Ghetto

We’ve got a big problem in this country with intellectual honesty.  After all, 46% of Americans still believe that God created man in the past 10,000 years.  Any educated person accepts that the earth is not flat, that there is no tortoise carrying the world on its shell, and that knowing a lot about plants [...]

Posted in Abstract, Philosophy, Sexuality | Comments closed

Good habits

Consider this quote by Aristotle: “Excellence is an art won by training and habituation: we do not act rightly because we have virtue or excellence, but we rather have these because we have acted rightly” Wow. If this is a true statement (and I believe it is), then a man ought to build his life [...]

Posted in Abstract, Goals, Philosophy, Self Improvement | 1 Comment

The fire

A warm fire, a cool night; your lips on the tea cup. A savory liquid fills the soul like early morning light. These years have been dark; despair an old friend. A fortitude beats yet inside – a muse that inspires, a desire to fight. Fuel given, the fire builds. This tiny house a beacon, [...]

Posted in Poetry, Self Improvement | 3 Comments

Traits, Exceptions, and Better Automated Tests

I really, really dig 5.4′s traits. Let’s review: Through the ‘use’ keyword, traits let you include shared functionality in a class without relying on inheritance or encapsulation of another class. With the exception of declaring static variables (you can’t), and referencing parent (will call the class you’re using the trait in), traits behave just like [...]

Posted in PHP, Programming | Leave a comment

Traits + Interfaces in PHP 5.4 – The Perfect Team

PHP has been getting consistently better over the past few years. One new feature that I’m really pleased with is traits, which is similar to multiple inheritance in Java, friend classes in C++ or mixins in Ruby and Python. Basically, traits allow your classes to share functionality without constructing any objects or inheriting from any [...]

Posted in PHP, Programming | Comments closed

Evolving

For the past few months, I’ve been exploring software design patterns, both at their roots and in their modern implementations. I’ve been exploring new languages and deepening my understanding of the languages that I already use. Man can I ever tell ya, it’s been exhilarating. I started reading a new book last night, given to [...]

Posted in Abstract, Computer Science, Programming, Self Improvement | 5 Comments

The Reason for the Fireworks

Being Independence Day and all, with people getting excited about fireworks and a day off work, I was hoping to take a step back and look at the whole reason for this day.  In this blog post I analyze the declaration of independence, put it in slightly simpler terms, and look at it in our [...]

Posted in History, Liberty, Politics | Leave a comment

CodeIgniter / Expression Engine Nashville – Slides

Slides from CodeIgniter / EE Nashville Talk http://www.calvinfroedge.com/slide-decks/codeigniter-ee-nashville-03-12.pdf

Posted in CodeIgniter, PHP | Leave a comment

Ikigai by Sebastian Marshall – A Review

I just finished up the book Ikigai (or rather, ordered collection of essays, email fragments and blog posts) by a guy named Sebastian Marshall.  Ikigai translates to “Reason for Living,” and Sebastian does a good job of putting together a case for what type of reasons one should live their life, and provides a general framework [...]

Posted in Books, Goals, Health, Philosophy, Self Improvement | 3 Comments

A !Quick Lesson in Operators

Operators are one of the core components of any programming language. Knowing how they are classified and how they can be used is extremely important. This post might teach you some new operators. Since the samples are pulled from multiple languages, you may even learn something cool about a new language. Enjoy, and please point [...]

Posted in Programming | 2 Comments