Archive for the ‘My Life’ Category

A Little Catching up to Do

July 13th, 2009 by ScottK | No Comments | Filed in For Fun, My Life, PHPDbMigrate

So it’s been a couple of months since I posted last. I’ve really been heads down on coding at both work and home. Things are starting to lighten up in both areas and I’m ready to start a new project, PHPDbMigrate.

At work I’ve been setting up a lot of sites using CodeIgniter. It’s not a bad framework and since I’ve been away from PHP for a while it’s nice to be coding in PHP again. Not much really exciting going on at work, just setting up websites and modifications to existing code.

At home though is entirely different. For thre months now I’ve been developing Value Target. Launched it June 7. It’s definately a labor of love and still have lot’s to do on it. It’s a rails app and I’ve really fallen in love with the framework. So much so that I am going to port PyMigrate to PHP.

PHPDbMigrate is the name of the port. Yes there are “some” attempts out there to create an ActiveMigration library. I find that they are limited to MySql, not complete, or do not run code blocks. Since I’ve already accomplished that in Python, it’ll be easy for me to port to PHP. Although I won’t have the luxury of db connector library like I did with SQLAlchemy in Python.

I’ve set up the Google code project and will announce all my updates to the repository.

After I finally release a stable version of PHPDbMigrate my plan is to create a CodeIgniter library so I can develop sites even faster. So thanks for checking in and stay tunes.

Tags: , ,

Back in the Blogger Saddle Again

September 16th, 2008 by ScottK | 1 Comment | Filed in My Life

Not that I was ever far from the computer mind you. In fact I’ve been sitting right here watching you hit my site, rather trying to see if you were a search engine. The past four months I have been coding every day and ngiht including weekends to deliver some projects.

Recently envieled at IZEAFest was the introduction to the Affiliate Program for SocialSpark. That was me. Four months ago it was kicked off; originally starting in Pylons. Roughly a week after starting it I had to break off and help out with the solutions center stuff for about a month. Working only in the evening/weekends on how to best build an affiliate program.

You’re sure to notice all the posts about CherryPy, that’s because the decision was made to go with that for the affiliate server since I didn’t need a true Python framework for tracking. I’m glad I did since CherryPy proved to much faster, and I was able to build a mini-framework out of it using Cheetah. Each controller is RESTFul, and the folder hierarchy is along the lines of Ruby on Rails.

It has been a long four months, even if some at work don’t appreciate it or even recognize it. However I am proud of my work and have lot’s of great things to present to you about my working with CherryPy 3.1.0.

The CherryPy script is a really simple deploy script and daemonizing CherryPy has so much more performance.

Using CherryPy under mod_python breaks the cherrypy dispatcher.

I know I spoke of similar things in other posts but I’ll get there. :)

Tags: ,

This hijacking is getting stupid!

April 19th, 2008 by ScottK | 8 Comments | Filed in My Life

I want to shout out Mouseclone for letting me know there was a problem with this site. I was contacted on Friday about an alert that was raised to him that I had a possible iframe hijack on my site. Not really knowing what he was talking about I quickly scanned my source code for the exact iframe source that he provided. Not finding anything I dismissed it as many users of SocialSpark visit me and he possibly confused me with someone else.

 I did find today that in fact a database injection had been done and the iframe was there. My mistake was that I only hit the home page and the iframe was on the previous page. The iframe source refers to 61.155.8.157 and after some examination of the obfuscated JavaScript, redirections were discovered. I’ve contacted the server abuse department and will follow up if these people are not shut-down.

Welcome to the interwebs. This is the second time I have been hijacked in the same way. This is a new theme that I have gone through and can not find malicious php code, and since it’s in the admin section I can only assume that it’s a Wordpress security problem. This however is the second time I’ve found hijacked stuff in my database!

While I have gone through every line of code in both this theme and the access logs for this site I can not find how this is happening. Which make me very cranky as it’s happening.

My apologies to anyone who has gotten alerts. Systems are in place to track and prevent these from happening anymore. I hate Wordpress 2.5 (I just set up a site using it) but if it’s a 2.3 problem I’ll have to upgrade.

Tags: , ,