<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-8010254895780061626</atom:id><lastBuildDate>Tue, 22 Jan 2008 20:22:50 +0000</lastBuildDate><title>lifeofbrian.org</title><description/><link>http://www.lifeofbrian.org/blog/</link><managingEditor>Brian Mansell</managingEditor><generator>Blogger</generator><openSearch:totalResults>12</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8010254895780061626.post-1599842898222380947</guid><pubDate>Tue, 22 Jan 2008 20:00:00 +0000</pubDate><atom:updated>2008-01-22T12:22:37.113-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>macbook</category><category domain='http://www.blogger.com/atom/ns#'>gtd</category><category domain='http://www.blogger.com/atom/ns#'>apple</category><title>Patience is a virtue</title><atom:summary type='text'> Here's hoping that Apple decides to ship my new laptop sooner rather than later. This 'secondary machine' as I've coined it, will be useful in the daily migration of projects between work, school, and home. Also, the ability to watch movies on occasion is an added benefit.</atom:summary><link>http://www.lifeofbrian.org/blog/2008/01/patience-is-virtue.html</link><author>Brian Mansell</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8010254895780061626.post-5085512164607329821</guid><pubDate>Fri, 18 Jan 2008 17:49:00 +0000</pubDate><atom:updated>2008-01-18T09:53:03.659-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>postgres mysql</category><title>MySQL to Postgres: SHOW FULL PROCESSLIST</title><atom:summary type='text'>Over the next few weeks, I'll make an attempt to share a few tips on learning PostgreSQL from a MySQL user's prospective

SHOW FULL PROCESSLIST / SHOW PROCESSLIST

Start up the Postgres shell  (psql)
select * from pg_stat_activity;

From here you will see the client details, query, the state of the query, and the timestamp from when it was executed.</atom:summary><link>http://www.lifeofbrian.org/blog/2008/01/mysql-to-postgres-show-full-processlist.html</link><author>Brian Mansell</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8010254895780061626.post-5137193491939096348</guid><pubDate>Fri, 07 Dec 2007 16:32:00 +0000</pubDate><atom:updated>2007-12-07T08:35:43.312-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>php</category><title>T_PAAMAYIM_NEKUDOTAYIM</title><atom:summary type='text'>aka... Scope Resolution Operator (::) in PHP.

From Wikipedia:
Paamayim Nekudotayim (IPA: [paʔamajim nəkudotajim]) is the official name for the Scope Resolution Operator (::) in PHP. It means "twice colon" or "double colon" in Hebrew.
Nekudotayim (נקודתיים) means 'colon'; it comes from nekuda (IPA: [nəkuda]), 'point' or 'dot', and the dual suffix ayim (יים-), hence 'two points'. Similarly, the </atom:summary><link>http://www.lifeofbrian.org/blog/2007/12/tpaamayimnekudotayim.html</link><author>Brian Mansell</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8010254895780061626.post-504425107244205393</guid><pubDate>Thu, 08 Nov 2007 16:39:00 +0000</pubDate><atom:updated>2007-11-08T08:42:23.804-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>mysql</category><title>MySQL:  EXPLAIN EXTENDED</title><atom:summary type='text'>In this older article, Peter Zaitsev (a MySQL guru) explains a somewhat rarely discussed feature introduced in MySQL 4.1 known as the Extended Explain. 

One nice feature added for EXPLAIN statement in MySQL 4.1 is EXTENDED keyword which provides you with some helpful additional information on query optimization. It should be used together with SHOW WARNINGS to get information about how query </atom:summary><link>http://www.lifeofbrian.org/blog/2007/11/mysql-explain-extended.html</link><author>Brian Mansell</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8010254895780061626.post-2856318563240501969</guid><pubDate>Wed, 31 Oct 2007 17:40:00 +0000</pubDate><atom:updated>2007-10-31T11:11:16.545-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>halloween</category><category domain='http://www.blogger.com/atom/ns#'>costume</category><category domain='http://www.blogger.com/atom/ns#'>humor</category><title>BREAKING NEWS: Beware of fake Halloween teeth</title><atom:summary type='text'>From our friends at the Associated Press:
WASHINGTON - The Consumer Product Safety Commission announced an 11th-hour recall Wednesday to warn consumers that fake Halloween teeth sold by the tens of thousands since last year contain excessive amounts of lead.

I'm glad I left my fake Halloween teeth at home on this Halloween day.</atom:summary><link>http://www.lifeofbrian.org/blog/2007/10/breaking-news-beware-of-fake-halloween.html</link><author>Brian Mansell</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8010254895780061626.post-1107425859037358029</guid><pubDate>Wed, 24 Oct 2007 21:54:00 +0000</pubDate><atom:updated>2008-01-22T12:22:50.696-08:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>email</category><category domain='http://www.blogger.com/atom/ns#'>gtd</category><category domain='http://www.blogger.com/atom/ns#'>apple</category><title>Basic Task Management with Apple Mail</title><atom:summary type='text'>I've found that one of the easiest ways to keep up with task requests from others is to simply flag the messages and then make an effort to review the flagged messages queue twice a day.

To take advantage of this feature, make sure that the flag icon column appears in your mail listing.</atom:summary><link>http://www.lifeofbrian.org/blog/2007/10/basic-task-management-with-apple-mail.html</link><author>Brian Mansell</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8010254895780061626.post-8079116094150728477</guid><pubDate>Mon, 08 Oct 2007 16:29:00 +0000</pubDate><atom:updated>2007-10-08T09:36:27.863-07:00</atom:updated><title>Project vs. Process</title><atom:summary type='text'>From Wikipedia: A project is a temporary and one-time endeavor undertaken to create a unique product or service, which brings about beneficial change or added value. This property of being a temporary and one-time undertaking contrasts with processes, or operations, which are permanent or semi-permanent ongoing functional work to create the same product or service over and over again. 
By </atom:summary><link>http://www.lifeofbrian.org/blog/2007/10/project-vs-process.html</link><author>Brian Mansell</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8010254895780061626.post-806480195546612377</guid><pubDate>Fri, 05 Oct 2007 22:29:00 +0000</pubDate><atom:updated>2007-10-05T15:41:22.436-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>sql</category><category domain='http://www.blogger.com/atom/ns#'>databases</category><category domain='http://www.blogger.com/atom/ns#'>mysql</category><title>It's all in the name</title><atom:summary type='text'>When designing a schema for a database, always remember to be consistent with naming conventions, especially:Primary KeysForeign KeysBoolean fieldsDate fieldsAdditionally, consider using join tables or enums rather than char fields if there are very few options which may pertain to a given column.

Lastly, keep your names case consistent. Databases you may be working with are most likely case </atom:summary><link>http://www.lifeofbrian.org/blog/2007/10/its-all-in-name.html</link><author>Brian Mansell</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8010254895780061626.post-3347273100853215589</guid><pubDate>Wed, 08 Aug 2007 19:31:00 +0000</pubDate><atom:updated>2007-10-05T15:43:42.653-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>email</category><category domain='http://www.blogger.com/atom/ns#'>gmail</category><category domain='http://www.blogger.com/atom/ns#'>organization</category><category domain='http://www.blogger.com/atom/ns#'>gtd</category><title>Gmail Spring Cleaning</title><atom:summary type='text'>Here are a few tips on cleaning up your GmailDelete your spam
Gmail deletes spam automatically, but if you're wanting to clean the slate completely, then this is the first step to take.Delete the oldest unread messages first
Query for the oldest unread messages by entering the following in the search box:
is:unread before:2007/07/01(In this example I want to see all unread messages sent to me </atom:summary><link>http://www.lifeofbrian.org/blog/2007/08/gmail-spring-cleaning.html</link><author>Brian Mansell</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8010254895780061626.post-3829019256375601840</guid><pubDate>Wed, 09 May 2007 01:51:00 +0000</pubDate><atom:updated>2007-10-05T15:42:13.254-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>sql</category><category domain='http://www.blogger.com/atom/ns#'>databases</category><category domain='http://www.blogger.com/atom/ns#'>mysql</category><category domain='http://www.blogger.com/atom/ns#'>innodb</category><category domain='http://www.blogger.com/atom/ns#'>optimization</category><title>MySQL Tip: Using BETWEEN rather than LIMIT</title><atom:summary type='text'>I've found that when working with a large data set in MySQL (InnoDB) that uses an integer primary key, it can be easier to query a batch of rows from the set using the BETWEEN comparison rather than the LIMIT clause.

The LIMIT clause is helpful in selecting the first X number of rows from within a table, but when selecting X number of rows after Y number rows (e.g. LIMIT 4000000,20000) it can </atom:summary><link>http://www.lifeofbrian.org/blog/2007/05/mysql-tip-using-between-rather-than.html</link><author>Brian Mansell</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8010254895780061626.post-3677890279617288523</guid><pubDate>Tue, 08 May 2007 19:13:00 +0000</pubDate><atom:updated>2007-10-05T15:43:08.877-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>iterm</category><category domain='http://www.blogger.com/atom/ns#'>mac os x</category><category domain='http://www.blogger.com/atom/ns#'>cd</category><category domain='http://www.blogger.com/atom/ns#'>ssh</category><category domain='http://www.blogger.com/atom/ns#'>iso</category><category domain='http://www.blogger.com/atom/ns#'>ubuntu</category><title>Easiest way to burn ISOs under Mac OS X</title><atom:summary type='text'>This morning, after downloading Ubuntu 7.04's ISO, I discovered a very easy method for burning an ISO file to a CDR. 

Start Terminal (or ITerm)
Execute the following command (Note: In this example I'm using the Ubuntu 7.04 ISO)

hdiutil burn ubuntu-7.04-desktop-i386.iso



Within a few minutes your ISO will be ready to boot. Apparently, this method also works with .DMG files.</atom:summary><link>http://www.lifeofbrian.org/blog/2007/05/easiest-way-to-burn-isos-under-mac-os-x.html</link><author>Brian Mansell</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8010254895780061626.post-7664274780151959400</guid><pubDate>Wed, 02 May 2007 03:29:00 +0000</pubDate><atom:updated>2007-05-02T14:04:00.413-07:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>vi</category><category domain='http://www.blogger.com/atom/ns#'>code</category><title>Global search and replace with Vi/Vim</title><atom:summary type='text'>Vi provides a few great shortcuts for handling search and replace of text within a file. On occasion, I've ran into situations where I've wanted to rename variables within a file while editting it in Vi.

First of all in order to indicate the entire file as the range of your change: utilize the '%' wildcard. In the example below, all references to 'foo' will be replaced with 'variable'. The 'g' </atom:summary><link>http://www.lifeofbrian.org/blog/2007/05/global-search-and-replace-with-vivim.html</link><author>Brian Mansell</author></item></channel></rss>