Archive

Archive for April, 2010

pidgin.im msn protocol alternative: msn-pecan [update]

April 8th, 2010 Lloyd Leung 2 comments

Discovered that is crashes a lot, on ubuntu.  Pretty stable (haven’t noticed it crashed yet) on windows.

Verdict thus far: good on windows.  Horrible on ubuntu.

Categories: Technology Tags:

pidgin.im msn protocol alternative: msn-pecan

April 2nd, 2010 Lloyd Leung No comments

Day 1

I decided to try a new msn protocol for pidgin.im today.  Why? Was just browsing the list of plugins, and saw the alternative…

http://code.google.com/p/msn-pecan

Looked at the list of added benefits, and decided to give it a try… lets see if I stick with it.  So far, it is fast on start up.  Interesting to see that it picked up a ton of friend requests, that I didn’t see before.

Categories: General Tags:

Debugging a segfault in PHP

April 1st, 2010 Lloyd Leung No comments

debugging segfaults is not fun.

My low key technique:

  1. place a printf(“made it here: %s, %s+ %s\n”, __METHOD__, __LINE__, __FILE__); everywhere…
  2. put “DIE(‘something’);” to figure out the exact line that fails.  If dies, good.  move it further down.  If it segfaults, move the die statement up.  Until you’ve found the exact line that fails.
  3. Figure out why it’s segfaulting…  uh… good luck with that.  Google, and look at the changelog in PHP to see if it’s been fixed.

An easier option, if I were the one controlling the box — Update to the latest PHP.

Categories: Programming Tags: