Ranking Items in a Database

Programming 5 September 2009 | Comments

At work recently, I was tasked to create a system that ranked items in a database, from least to greatest based on time. Originally I was quite blinded by the original code, which had used three nested queries, and a dozen variables of impenetrable names, a set of code I won’t be posting. Now, [...]

Forcing SSL and HTTPS with Redirects on Symfony 1.2

Programming, symfony 1 September 2009 | Comments

Forcing SSL on certain modules and actions used to be pretty simple with Symfony’s sfSslRequirementPlugin, however since Symfony 1.2 came out – it isn’t necessarily compatible. I took a look around the internet for options, however I was rather unsatisfied with the options. Because I need to be able to secure modules and actions, I [...]

What Are Your Basic Living Needs?

Philanthropy 30 August 2009 | Comments

In my goal to help people who are truly in need, I’d like to explore basic living needs. I don’t mean absolute bare minimums, but necessities to live respectably. I’ve compiled a basic list here, but I would love to hear your suggestions. I’m thinking about the existing institutions in place that may or may [...]

Tagged in , , , ,

Sane Pre-Commit Hooks for Symfony + Git

Programming, symfony 24 August 2009 | Comments

Throughout my history of working with Symfony, I’ve noticed a trend that I’ll make a minor edit in a database configuration file, forget to actually regenerate the models and forms, commit the edit, and then find several days later (when I do want to regenerate the models) that they’re breaking. I then do this little dance of going through the history finding out where exactly I went wrong.

Tagged in , , , , , , , , ,

Business: What to do, and what not to do

Business 21 July 2009 | Comments

When I was working for Easily Amused, Inc. they started a blog named What Not To Do, Ever. Of course, this didn’t work out as planned. Yadda yadda. Typical stuff for working at Easily Amused.

Anywho, when I quit I wrote myself a list – things not to do… ever… because I saw “boss” try to do them, and he ended up owing me over $5,000.

Tagged in , , ,