13 August, 2008
Troubleshooting connection problems with memcached
I was noticing today many apache segfaults on this server, and pretty high traffic loads at times. I haven't pinpointed the exact cause of high traffic, there are a couple candidates, but the apache segfaults seem to accompanied by the following PHP errors:
...click to continue reading.11 July, 2008
HOWTO: Use the find command to list symbolic links to a target
The following will list all the symbolic links pointing to a file within the same directory.
find /my/dir -lname my_linked_dir -maxdepth 1
You could search the whole but it could take some time:
find / -lname my_linked_dir...click to continue reading.
8 January, 2008
Linux Package management overview
I have to confess that delegating software installation to Debian and Ubuntu's apt command is what finally converted me to Linux. I stillhave a bias against .rpms and building from source based on disastrous experiences hunting down obscure .rpms or figuring out why make would not work. If you're trying out Ubuntu or another Linux distribution, you should stop and read download squad's
...click to continue reading.12 September, 2007
Mail Log Funnies
(02:04:27 PM) Mike Shade: Sep 10 05:04:55 www sendmail[7421]: l8A94tTP007419: to=< ...click to continue reading.
8 August, 2007
Filter mail log for bounces
I needed a simple way to find hard bounces from a mail log yesterday. Usually, you hook up a script to listen for bounced messages at an email address like "list-bounces@example.com". The script receives an email message and parses it to figure out if and why it bounced. I decided to take the opposite approach, and look for email addresses causing bounces in postfix's mail log.
...click to continue reading.5 July, 2007
Open source helps Nokia cut development costs
Nokia's N770 and N800 tablet PCs were developed with a conscious decision to use as much open source software as feasible. This decision had tremendous benefits in cost savings, code quality, flexibilty, and zero licensing costs. You can read the white paper HT:
...click to continue reading.15 June, 2007
Check out Tip o' the Day
If you need help with *nix stuff, and who doesn't, then my friend Mike's site is worth bookmarking and/or adding to your feed aggregator: Tip o'the Day.
...click to continue reading.
5 June, 2007
HOWTO: Convert mysql data to UTF-8 quickly
I've been revamping my Bolivian soccer blog, which I finally updated and made live tonight. In doing so, I needed to convert the data from ISO-8859-1 (back when I didn't know better about how to setup a database) to UTF-8. I was fearing the process would be complicated and tedious, involving some script to read the data and use PHP's mbstring or iconv extensions to do the work.
...click to continue reading.8 March, 2007
Why Linux?
The 3 practical reasons I use linux - the $200-400 i don't have to give to Microsoft are used to get better hardware, more secure without blaming the user, all the Free software available for it (see the first reason again), and not HAVING to reinstall the OS quarterly. In case that doesn't convince you, a cavalcade of links work investigating follows.
...click to continue reading.14 February, 2007
Fixing Subversion Propfind 403 errors
I've been using Subversion heavily lately to keep my live and development sites synchronized and its been a huge productivity booster. I had to move some code over to a lite site for work this evening and it was such a pain, because I had to go through and figure out the files I needed to copy.
...click to continue reading.












