Filtering outgoing email for development

You need to be able to do full testing on your development server but don't want it spewing out emails to your clients.

Luckily sendmail provides a very easy way to do this through the mailertable file

approveddomain.com smtp:approveddomain.com
. local:localaccount

Then restart sendmail...

What this does is allow any email to approveddomain.com (in this case most likely your own domain name) through but shuffles all other emails into the localaccount spool

Solar Framework Shorts - Controlling form layout

Solars form system is pretty powerful and you realize the full beauty when auto generating forms directly from models but by default it uses a DL/DD/DT list for formatting your labels/inputs.

If your not a fan of that formatting you can do something about it, in my case I prefer the following

$config['Solar_View_Helper_Form']['decorator_tags'] = array(
            'list'  => 'div',
            'elem'  => 'div',
            'label' => null,
            'value' => null,
        );

But you can use any combination you choose.. Enjoy

The Mystery of the Missing MySQL Performance

Your next big release comes around and you push all the changes out to the website, your PHP files have all been updated, MySQL migrations have been run and all Unit Tests passed in development so you feel things should be good to go!

Is Apple the next Microsoft? Is HTML5 going to be the new iApp?

Sports Illustrated has an iPad app already to go for its "fans" (I am not one of them but this interested me), the problem? This app is being held up at Apple and from the news I have seen the reason is due to subscriptions.

Apple basically wants a piece of the pie. For some reason they think they deserve 30% of any subscription type service sold through an application just because its sold in their store! They are going so far as to refuse apps if they do not use "their" subscription services. This is not happening across the board just yet but it is a sign of things to come.

GE's Ecomagination

GE is currently running what they call the "Ecomagination Challenge" and I Challenge you to check it out and submit your own ideas.

What I find interesting is browsing through some of the ideas and seeing things I have thought about in the past, like why can't we generate power every time we flush the toilet (in my house we could at least power the TV as often as ours is used)?

When you look around your house and really think about it you might be amazed at the amount of wasted energy and how much could be saved if someone looked at things with a more open mind..

Solar Framework Shorts - Future release looks promising

A lot of cool features are being hatched in branches that should hit trunk in the near future!

Jeff Moore is working on a revamped Auth stack that allows multiple adapters to be run in parallel, This means for example you can run your Facebook login right along side your standard Auth out of the box.

Speaking of Facebook, an Auth module for Facebook will be included in the new Auth stack that uses the official Facebook PHP library so setting up a Facebook login is a breeze.

Solar Framework manual is coming along

The 2 biggest complaints about Solar have been it being in "beta" and lack of good docs.. Well its been out of beta and in release for a few months now so that should no longer be a concern.

As for docs you can find the new and improved manual Here

Granted its not 100% complete yet but it goes a long way to helping you get started with the Solar Framework.

iPhone 4 reception trial transcription

Just got hold of a recent transcription from the trial against Apple due to the loss of signal when the phone is held in various manners..

Judge: When did you notice you had this problem?
Plaintiff: Right away I noticed every time I touched the lower left corner my reception dropped
Judge: And what did you do to solve this problem?
Plaintiff: I tried Apple but they wouldn't do anything, I even sent a pissed off email to Steve Jobs himself?
Judge: Did they do anything?
Plaintiff: No, Steve Jobs even told me to "retire, relax, enjoy your family"

2 features I want in the next iOS release

These ideas are patent pending, if you want to use them please contact me (hahaha).

Both of these ideas come down to extending the life of my battery...

1. Location aware config... I use wifi at home, so no need for 3G and when I travel I avoid free wifi spots for the sake of security, My phone knows were I am, why can't it change settings based on that.. I should be able to have config profiles based on location.

Intel Turbo Boost for dummies

My macbook pro processor has the ability to change its core speed, this is Intels "Turbo Boost" technology in action but what does it really do? Why can't my processor always run at that speed? And what does it provide me?

Syndicate content (C01 _th3me_)