Author Archives: mzarate

Changing hostname in postfix config

Setting a proper hostname for mail servers is a small step, but often required, especially you’re looking to do everything possible to avoid spam ratings in your email. Having recently completed a fresh install of postfix on a new mail server, … Continue reading

Posted in General, Linux | Leave a comment

Google Chrome Stuck In Full Screen Fix

If you’re a Google Chrome user you may have encountered a bug where the browser window gets stuck in full screen mode.  In such cases, hitting F-11, or clicking the Exit Full Screen link does nothing. After searching for fixes, … Continue reading

Posted in General | 10 Comments

Merging 2 WordPress Blogs Is Easy

Several months back we made the decision to merge TimePanel’s blog into our company’s blog here at solutionfactor.net.  Fortunately it was a breeze thanks to native support within WordPress to do so. Here’s how we did it; hopefully this saves … Continue reading

Posted in General | Leave a comment

Using Siege and KCacheGrind to Optimize SolutionPHP’s ORM

Some time ago we posted about how to install XDebug and KCacheGrind.  I think anyone serious about PHP performance should keep those tools handy and in regular use. And it just so happens they helped us uncover a huge performance … Continue reading

Posted in Database, General, Performance, PHP | Leave a comment

Ensure Correct Content-type for XHR2 FormData

Just a heads up that if you’re submitting data via FormData with XHR2, you’ll need to ensure the proper Content-type header is set, otherwise request data won’t be sent properly. In my case, an incorrect Content-type header resulted in only … Continue reading

Posted in General | Leave a comment

Adding PHPUnit To LAMP Projects

Since we had a client ask about the effort involved to setup automated testing in their product, and because I mentioned it before in a LAMP Best Practices post, we thought it’d be a great idea to share how easy … Continue reading

Posted in General | 4 Comments

Preload and Async Scripts For Faster Load Times

Keeping our products fast will always be one of our primary goals.  We love fast apps, and keep a lookout for ways to make them even faster.  That goes for initial load times as well as usage while inside the … Continue reading

Posted in General | 4 Comments

7 Best Practices For LAMP Projects

As a consultancy we’ve encountered all kinds of code.  Often times we inherit code from other teams, in which case we always make it a priority to review its style, structure, how it’s been deployed, if any frameworks were used, … Continue reading

Posted in General, Performance, PHP | Leave a comment

NetBeans is Slow on Ubuntu 10.10 – Switch Your JDK

NetBeans can be slow, very slow.  After trying out everything on the NetBeans Performance FAQ to no avail, I finally reached the point where I decided to switch to another IDE instead of trying to manage NetBeans’ performance problems.  Before … Continue reading

Posted in General, Performance | 7 Comments

MySQL – WordPress & Avoiding unneeded Group By clauses

A client recently reached out in regard to a reproducible performance problem on their WordPress site.  The use case and conditions were as follows: Performance was fine until a change happened to the wp_posts or wp_term_relationships tables (i.e. when a … Continue reading

Posted in Database, Performance | 1 Comment