The Importance of Sleep

A short zine on the importance of sleep by Lauren Hodge.

How to build and install plugins for kdevelop

Partially taken from:
Thank you for the information. The font is a little hard to read though. That said I was beating my head against the wall until I found your post.

Kdevelop is a great IDE for C, C++, PHP, Python as well as many other languages. Kdevelop uses kdetext so it includes all of the syntax highlighting support that kate does.
If you used quanta plus in the past, the new KDE4 version is essentially kdevelop with php support and some additional plugins.

Install kdevelop

Regular Expression Documentaion

Regular Expressions are super powerful, and are included in most programming languages.
Regardless of what programming language you use, regular expressions will make certain text processing tasks a breeze.
If you have ever looped through every character in a string of text searching for specific characters just stop and learn regular expressions.
You will be so glad you did.


Ubuntu / Kubuntu 13.04 Amazon Prime Flash Video Fix

Amazon Prime is one of the best options for legally watching movies on Linux.
After upgrading to Kubuntu 13.04 (Raring Ringtail), Amazon Prime video would no longer play back in Chrome or Firefox.
I tried all the usual fixes: Install hal, libhal, make sure I had the latest flash player, etc. but nothing seemed to work.
As it turns out hal was not working out of the box.

Awesome BF3 system

Case $129.99 Motherboard $122.58

KD3 Fatal error during recording:input/output - Fixed

I recently purchased a Lite-On IHBS112-04 12X Internal Blu-ray Writer from Amazon. After installing the dive I booted into Linux (Kubuntu 12.04 LTS) and tried to burn a blue ray disc using K3b. K3B recognized the drive and the blue ray media no problem so I proceeded to burn some system backups to a new data project as a test. Everything went fine until the very end. After reaching 99% I would get the following error: KD3 Fatal error during recording:input/output So I tried to burn the same project again at a lower speed. Same thing.

SugarCRM White Screen of Death

I recently installed Sugar CRM CE 6.5 on a clients dedicated server only to be greeted by the infamous WSOD. Apparently this is a common issue with Sugar CRM but unfortunately this was a special case so none of my google searches yielded a solution for my conundrum. Which is why I am posting this here :) My clients server is running php under mod_suphp so this post was helpful in solving some sugarcrm permissions issues when running under this configuration. The important bits being:

AT&T vs Sprint

AT&T does not know anything about customer service. When I was on AT&T anytime I had an issue or told them I was thinking about switching providers they would threaten with early termination fees. They recently did this to my parents who have since switched to Verizon. The reason they switched was because they could not get any service on AT&T anywhere near their home. When they called AT&T to complain they were given the run around. My parent have high speed internet and there is a simple solution to this problem.

Drupal Fatal Error: Unsupported operand types in on line 2984

After updating a Drupal site to version 6.24 from 6.22 I started receiving this error during cron runs: Fatal Error: Unsupported operand types in on line 2984 I added the following debug text to to track down the error:
  if (!is_array($elements)) {
    print "\n--------------\n";
    $backtrace = debug_backtrace();
Looking at the stack trace I could see that the issue was with the search module indexing the site.

Search Drupal User Profiles

It is difficult to search for users (in code) based on profile information in Drupal 6 due to the flexible nature in which the profiles module stores information. Basically profiles are stored in 2 tables.
mysql> select * from profile_fields;
| fid | title      | name              | explanation | category            | page | type      | weight | required | register | visibility | autocomplete | options |