/*************************************************************************************
 * javascript.php
 * --------------
 * Author: Ben Keen (ben.keen@gmail.com)
 * Copyright: (c) 2004 Ben Keen (ben.keen@gmail.com), Nigel McNie (http://qbnz.com/highlighter)
 * Release Version: 1.0.8.1
 * Date Started: 2004/06/20
 *
 * JavaScript language file for GeSHi.
 *
 * CHANGES
 * -------
 * 2008/05/23 (1.0.7.22)
 *  -  Added description of extra language features (SF#1970248)
 * 2004/11/27 (1.0.1)
 *  -  Added support for multiple object splitters
 * 2004/10/27 (1.0.0)
 *  -  First Release
 *
 * TODO (updated 2004/11/27)
 * -------------------------
 *
 *************************************************************************************
 *
 *     This file is part of GeSHi.
 *
 *   GeSHi is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   GeSHi is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with GeSHi; if not, write to the Free Software
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 ************************************************************************************/

$language_data = array (
    'LANG_NAME' => 'Javascript',
    'COMMENT_SINGLE' => array(1 => '//'),
    'COMMENT_MULTI' => array('/*' => '*/'),
    //Regular Expressions
    'COMMENT_REGEXP' => array(2 => "/(?<=[\\s^])s\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/[gimsu]*(?=[\\s$\\.\\;])|(?<=[\\s^(=])m?\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/[gimsu]*(?=[\\s$\\.\\,\\;\\)])/iU"),
    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
    'QUOTEMARKS' => array("'", '"'),
    'ESCAPE_CHAR' => '\\',
    'KEYWORDS' => array(
        1 => array(
            'as', 'break', 'case', 'catch', 'continue', 'decodeURI', 'delete', 'do',
            'else', 'encodeURI', 'eval', 'finally', 'for', 'if', 'in', 'is', 'item',
            'instanceof', 'return', 'switch', 'this', 'throw', 'try', 'typeof', 'void',
            'while', 'write', 'with'
            ),
        2 => array(
            'class', 'const', 'default', 'debugger', 'export', 'extends', 'false',
            'function', 'import', 'namespace', 'new', 'null', 'package', 'private',
            'protected', 'public', 'super', 'true', 'use', 'var'
            ),
        3 => array(
            // common functions for Window object
            'alert', 'back', 'blur', 'close', 'confirm', 'focus', 'forward', 'home',
            'name', 'navigate', 'onblur', 'onerror', 'onfocus', 'onload', 'onmove',
            'onresize', 'onunload', 'open', 'print', 'prompt', 'scroll', 'status',
            'stop',
            )
        ),
    'SYMBOLS' => array(
        '(', ')', '[', ']', '{', '}',
        '+', '-', '*', '/', '%',
        '!', '@', '&', '|', '^',
        '<', '>', '=',
        ',', ';', '?', ':'
        ),
    'CASE_SENSITIVE' => array(
        GESHI_COMMENTS => false,
        1 => false,
        2 => false,
        3 => false
        ),
    'STYLES' => array(
        'KEYWORDS' => array(
            1 => 'color: #000066; font-weight: bold;',
            2 => 'color: #003366; font-weight: bold;',
            3 => 'color: #000066;'
            ),
        'COMMENTS' => array(
            1 => 'color: #006600; font-style: italic;',
            2 => 'color: #009966; font-style: italic;',
            'MULTI' => 'color: #006600; font-style: italic;'
            ),
        'ESCAPE_CHAR' => array(
            0 => 'color: #000099; font-weight: bold;'
            ),
        'BRACKETS' => array(
            0 => 'color: #009900;'
            ),
        'STRINGS' => array(
            0 => 'color: #3366CC;'
            ),
        'NUMBERS' => array(
            0 => 'color: #CC0000;'
            ),
        'METHODS' => array(
            1 => 'color: #660066;'
            ),
        'SYMBOLS' => array(
            0 => 'color: #339933;'
            ),
        'REGEXPS' => array(
            ),
        'SCRIPT' => array(
            0 => '',
            1 => '',
            2 => '',
            3 => ''
            )
        ),
    'URLS' => array(
        1 => '',
        2 => '',
        3 => ''
        ),
    'OOLANG' => true,
    'OBJECT_SPLITTERS' => array(
        1 => '.'
        ),
    'REGEXPS' => array(
        ),
    'STRICT_MODE_APPLIES' => GESHI_MAYBE,
    'SCRIPT_DELIMITERS' => array(
        0 => array(
            '<script type="text/javascript">' => '</script>'
            ),
        1 => array(
            '<script language="javascript">' => '</script>'
            )
        ),
    'HIGHLIGHT_STRICT_BLOCK' => array(
        0 => true,
        1 => true
        )
);

?>
/*************************************************************************************
 * javascript.php
 * --------------
 * Author: Ben Keen (ben.keen@gmail.com)
 * Copyright: (c) 2004 Ben Keen (ben.keen@gmail.com), Nigel McNie (http://qbnz.com/highlighter)
 * Release Version: 1.0.8.1
 * Date Started: 2004/06/20
 *
 * JavaScript language file for GeSHi.
 *
 * CHANGES
 * -------
 * 2008/05/23 (1.0.7.22)
 *  -  Added description of extra language features (SF#1970248)
 * 2004/11/27 (1.0.1)
 *  -  Added support for multiple object splitters
 * 2004/10/27 (1.0.0)
 *  -  First Release
 *
 * TODO (updated 2004/11/27)
 * -------------------------
 *
 *************************************************************************************
 *
 *     This file is part of GeSHi.
 *
 *   GeSHi is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   GeSHi is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with GeSHi; if not, write to the Free Software
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 ************************************************************************************/

$language_data = array (
    'LANG_NAME' => 'Javascript',
    'COMMENT_SINGLE' => array(1 => '//'),
    'COMMENT_MULTI' => array('/*' => '*/'),
    //Regular Expressions
    'COMMENT_REGEXP' => array(2 => "/(?<=[\\s^])s\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/[gimsu]*(?=[\\s$\\.\\;])|(?<=[\\s^(=])m?\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/[gimsu]*(?=[\\s$\\.\\,\\;\\)])/iU"),
    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
    'QUOTEMARKS' => array("'", '"'),
    'ESCAPE_CHAR' => '\\',
    'KEYWORDS' => array(
        1 => array(
            'as', 'break', 'case', 'catch', 'continue', 'decodeURI', 'delete', 'do',
            'else', 'encodeURI', 'eval', 'finally', 'for', 'if', 'in', 'is', 'item',
            'instanceof', 'return', 'switch', 'this', 'throw', 'try', 'typeof', 'void',
            'while', 'write', 'with'
            ),
        2 => array(
            'class', 'const', 'default', 'debugger', 'export', 'extends', 'false',
            'function', 'import', 'namespace', 'new', 'null', 'package', 'private',
            'protected', 'public', 'super', 'true', 'use', 'var'
            ),
        3 => array(
            // common functions for Window object
            'alert', 'back', 'blur', 'close', 'confirm', 'focus', 'forward', 'home',
            'name', 'navigate', 'onblur', 'onerror', 'onfocus', 'onload', 'onmove',
            'onresize', 'onunload', 'open', 'print', 'prompt', 'scroll', 'status',
            'stop',
            )
        ),
    'SYMBOLS' => array(
        '(', ')', '[', ']', '{', '}',
        '+', '-', '*', '/', '%',
        '!', '@', '&', '|', '^',
        '<', '>', '=',
        ',', ';', '?', ':'
        ),
    'CASE_SENSITIVE' => array(
        GESHI_COMMENTS => false,
        1 => false,
        2 => false,
        3 => false
        ),
    'STYLES' => array(
        'KEYWORDS' => array(
            1 => 'color: #000066; font-weight: bold;',
            2 => 'color: #003366; font-weight: bold;',
            3 => 'color: #000066;'
            ),
        'COMMENTS' => array(
            1 => 'color: #006600; font-style: italic;',
            2 => 'color: #009966; font-style: italic;',
            'MULTI' => 'color: #006600; font-style: italic;'
            ),
        'ESCAPE_CHAR' => array(
            0 => 'color: #000099; font-weight: bold;'
            ),
        'BRACKETS' => array(
            0 => 'color: #009900;'
            ),
        'STRINGS' => array(
            0 => 'color: #3366CC;'
            ),
        'NUMBERS' => array(
            0 => 'color: #CC0000;'
            ),
        'METHODS' => array(
            1 => 'color: #660066;'
            ),
        'SYMBOLS' => array(
            0 => 'color: #339933;'
            ),
        'REGEXPS' => array(
            ),
        'SCRIPT' => array(
            0 => '',
            1 => '',
            2 => '',
            3 => ''
            )
        ),
    'URLS' => array(
        1 => '',
        2 => '',
        3 => ''
        ),
    'OOLANG' => true,
    'OBJECT_SPLITTERS' => array(
        1 => '.'
        ),
    'REGEXPS' => array(
        ),
    'STRICT_MODE_APPLIES' => GESHI_MAYBE,
    'SCRIPT_DELIMITERS' => array(
        0 => array(
            '<script type="text/javascript">' => '</script>'
            ),
        1 => array(
            '<script language="javascript">' => '</script>'
            )
        ),
    'HIGHLIGHT_STRICT_BLOCK' => array(
        0 => true,
        1 => true
        )
);

?>
/*************************************************************************************
 * javascript.php
 * --------------
 * Author: Ben Keen (ben.keen@gmail.com)
 * Copyright: (c) 2004 Ben Keen (ben.keen@gmail.com), Nigel McNie (http://qbnz.com/highlighter)
 * Release Version: 1.0.8.1
 * Date Started: 2004/06/20
 *
 * JavaScript language file for GeSHi.
 *
 * CHANGES
 * -------
 * 2008/05/23 (1.0.7.22)
 *  -  Added description of extra language features (SF#1970248)
 * 2004/11/27 (1.0.1)
 *  -  Added support for multiple object splitters
 * 2004/10/27 (1.0.0)
 *  -  First Release
 *
 * TODO (updated 2004/11/27)
 * -------------------------
 *
 *************************************************************************************
 *
 *     This file is part of GeSHi.
 *
 *   GeSHi is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   GeSHi is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with GeSHi; if not, write to the Free Software
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 ************************************************************************************/

$language_data = array (
    'LANG_NAME' => 'Javascript',
    'COMMENT_SINGLE' => array(1 => '//'),
    'COMMENT_MULTI' => array('/*' => '*/'),
    //Regular Expressions
    'COMMENT_REGEXP' => array(2 => "/(?<=[\\s^])s\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/[gimsu]*(?=[\\s$\\.\\;])|(?<=[\\s^(=])m?\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/[gimsu]*(?=[\\s$\\.\\,\\;\\)])/iU"),
    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
    'QUOTEMARKS' => array("'", '"'),
    'ESCAPE_CHAR' => '\\',
    'KEYWORDS' => array(
        1 => array(
            'as', 'break', 'case', 'catch', 'continue', 'decodeURI', 'delete', 'do',
            'else', 'encodeURI', 'eval', 'finally', 'for', 'if', 'in', 'is', 'item',
            'instanceof', 'return', 'switch', 'this', 'throw', 'try', 'typeof', 'void',
            'while', 'write', 'with'
            ),
        2 => array(
            'class', 'const', 'default', 'debugger', 'export', 'extends', 'false',
            'function', 'import', 'namespace', 'new', 'null', 'package', 'private',
            'protected', 'public', 'super', 'true', 'use', 'var'
            ),
        3 => array(
            // common functions for Window object
            'alert', 'back', 'blur', 'close', 'confirm', 'focus', 'forward', 'home',
            'name', 'navigate', 'onblur', 'onerror', 'onfocus', 'onload', 'onmove',
            'onresize', 'onunload', 'open', 'print', 'prompt', 'scroll', 'status',
            'stop',
            )
        ),
    'SYMBOLS' => array(
        '(', ')', '[', ']', '{', '}',
        '+', '-', '*', '/', '%',
        '!', '@', '&', '|', '^',
        '<', '>', '=',
        ',', ';', '?', ':'
        ),
    'CASE_SENSITIVE' => array(
        GESHI_COMMENTS => false,
        1 => false,
        2 => false,
        3 => false
        ),
    'STYLES' => array(
        'KEYWORDS' => array(
            1 => 'color: #000066; font-weight: bold;',
            2 => 'color: #003366; font-weight: bold;',
            3 => 'color: #000066;'
            ),
        'COMMENTS' => array(
            1 => 'color: #006600; font-style: italic;',
            2 => 'color: #009966; font-style: italic;',
            'MULTI' => 'color: #006600; font-style: italic;'
            ),
        'ESCAPE_CHAR' => array(
            0 => 'color: #000099; font-weight: bold;'
            ),
        'BRACKETS' => array(
            0 => 'color: #009900;'
            ),
        'STRINGS' => array(
            0 => 'color: #3366CC;'
            ),
        'NUMBERS' => array(
            0 => 'color: #CC0000;'
            ),
        'METHODS' => array(
            1 => 'color: #660066;'
            ),
        'SYMBOLS' => array(
            0 => 'color: #339933;'
            ),
        'REGEXPS' => array(
            ),
        'SCRIPT' => array(
            0 => '',
            1 => '',
            2 => '',
            3 => ''
            )
        ),
    'URLS' => array(
        1 => '',
        2 => '',
        3 => ''
        ),
    'OOLANG' => true,
    'OBJECT_SPLITTERS' => array(
        1 => '.'
        ),
    'REGEXPS' => array(
        ),
    'STRICT_MODE_APPLIES' => GESHI_MAYBE,
    'SCRIPT_DELIMITERS' => array(
        0 => array(
            '<script type="text/javascript">' => '</script>'
            ),
        1 => array(
            '<script language="javascript">' => '</script>'
            )
        ),
    'HIGHLIGHT_STRICT_BLOCK' => array(
        0 => true,
        1 => true
        )
);

?>
/*************************************************************************************
 * javascript.php
 * --------------
 * Author: Ben Keen (ben.keen@gmail.com)
 * Copyright: (c) 2004 Ben Keen (ben.keen@gmail.com), Nigel McNie (http://qbnz.com/highlighter)
 * Release Version: 1.0.8.1
 * Date Started: 2004/06/20
 *
 * JavaScript language file for GeSHi.
 *
 * CHANGES
 * -------
 * 2008/05/23 (1.0.7.22)
 *  -  Added description of extra language features (SF#1970248)
 * 2004/11/27 (1.0.1)
 *  -  Added support for multiple object splitters
 * 2004/10/27 (1.0.0)
 *  -  First Release
 *
 * TODO (updated 2004/11/27)
 * -------------------------
 *
 *************************************************************************************
 *
 *     This file is part of GeSHi.
 *
 *   GeSHi is free software; you can redistribute it and/or modify
 *   it under the terms of the GNU General Public License as published by
 *   the Free Software Foundation; either version 2 of the License, or
 *   (at your option) any later version.
 *
 *   GeSHi is distributed in the hope that it will be useful,
 *   but WITHOUT ANY WARRANTY; without even the implied warranty of
 *   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *   GNU General Public License for more details.
 *
 *   You should have received a copy of the GNU General Public License
 *   along with GeSHi; if not, write to the Free Software
 *   Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
 *
 ************************************************************************************/

$language_data = array (
    'LANG_NAME' => 'Javascript',
    'COMMENT_SINGLE' => array(1 => '//'),
    'COMMENT_MULTI' => array('/*' => '*/'),
    //Regular Expressions
    'COMMENT_REGEXP' => array(2 => "/(?<=[\\s^])s\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/[gimsu]*(?=[\\s$\\.\\;])|(?<=[\\s^(=])m?\\/(?:\\\\.|(?!\n)[^\\/\\\\])+\\/[gimsu]*(?=[\\s$\\.\\,\\;\\)])/iU"),
    'CASE_KEYWORDS' => GESHI_CAPS_NO_CHANGE,
    'QUOTEMARKS' => array("'", '"'),
    'ESCAPE_CHAR' => '\\',
    'KEYWORDS' => array(
        1 => array(
            'as', 'break', 'case', 'catch', 'continue', 'decodeURI', 'delete', 'do',
            'else', 'encodeURI', 'eval', 'finally', 'for', 'if', 'in', 'is', 'item',
            'instanceof', 'return', 'switch', 'this', 'throw', 'try', 'typeof', 'void',
            'while', 'write', 'with'
            ),
        2 => array(
            'class', 'const', 'default', 'debugger', 'export', 'extends', 'false',
            'function', 'import', 'namespace', 'new', 'null', 'package', 'private',
            'protected', 'public', 'super', 'true', 'use', 'var'
            ),
        3 => array(
            // common functions for Window object
            'alert', 'back', 'blur', 'close', 'confirm', 'focus', 'forward', 'home',
            'name', 'navigate', 'onblur', 'onerror', 'onfocus', 'onload', 'onmove',
            'onresize', 'onunload', 'open', 'print', 'prompt', 'scroll', 'status',
            'stop',
            )
        ),
    'SYMBOLS' => array(
        '(', ')', '[', ']', '{', '}',
        '+', '-', '*', '/', '%',
        '!', '@', '&', '|', '^',
        '<', '>', '=',
        ',', ';', '?', ':'
        ),
    'CASE_SENSITIVE' => array(
        GESHI_COMMENTS => false,
        1 => false,
        2 => false,
        3 => false
        ),
    'STYLES' => array(
        'KEYWORDS' => array(
            1 => 'color: #000066; font-weight: bold;',
            2 => 'color: #003366; font-weight: bold;',
            3 => 'color: #000066;'
            ),
        'COMMENTS' => array(
            1 => 'color: #006600; font-style: italic;',
            2 => 'color: #009966; font-style: italic;',
            'MULTI' => 'color: #006600; font-style: italic;'
            ),
        'ESCAPE_CHAR' => array(
            0 => 'color: #000099; font-weight: bold;'
            ),
        'BRACKETS' => array(
            0 => 'color: #009900;'
            ),
        'STRINGS' => array(
            0 => 'color: #3366CC;'
            ),
        'NUMBERS' => array(
            0 => 'color: #CC0000;'
            ),
        'METHODS' => array(
            1 => 'color: #660066;'
            ),
        'SYMBOLS' => array(
            0 => 'color: #339933;'
            ),
        'REGEXPS' => array(
            ),
        'SCRIPT' => array(
            0 => '',
            1 => '',
            2 => '',
            3 => ''
            )
        ),
    'URLS' => array(
        1 => '',
        2 => '',
        3 => ''
        ),
    'OOLANG' => true,
    'OBJECT_SPLITTERS' => array(
        1 => '.'
        ),
    'REGEXPS' => array(
        ),
    'STRICT_MODE_APPLIES' => GESHI_MAYBE,
    'SCRIPT_DELIMITERS' => array(
        0 => array(
            '<script type="text/javascript">' => '</script>'
            ),
        1 => array(
            '<script language="javascript">' => '</script>'
            )
        ),
    'HIGHLIGHT_STRICT_BLOCK' => array(
        0 => true,
        1 => true
        )
);

?>
<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet href="/blog/templates/default/atom.css" type="text/css" ?>

<feed 
   xmlns="http://www.w3.org/2005/Atom"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:admin="http://webns.net/mvcb/"
   xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
   xmlns:wfw="http://wellformedweb.org/CommentAPI/">
    
    <link href="http://www.gizmola.com/blog/feeds/atom.xml" rel="self" title="GizmoLA.com" type="application/atom+xml" />
    <link href="http://www.gizmola.com/blog/"                        rel="alternate"    title="GizmoLA.com" type="text/html" />
    <link href="http://www.gizmola.com/blog/rss.php?version=2.0"     rel="alternate"    title="GizmoLA.com" type="application/rss+xml" />
    <title type="html">GizmoLA.com</title>
    <subtitle type="html"></subtitle>
    <icon>http://www.gizmola.com/blog/templates/default/img/s9y_banner_small.png</icon>
    <id>http://www.gizmola.com/blog/</id>
    <updated>2012-02-01T08:18:13Z</updated>
    <generator uri="http://www.s9y.org/" version="1.5.5">Serendipity 1.5.5 - http://www.s9y.org/</generator>
    <dc:language>en</dc:language>

    <entry>
        <link href="http://www.gizmola.com/blog/archives/109-Centos,-Amazon-Linux,-NFS-and-the-dreaded-nobody-problem.html" rel="alternate" title="Centos, Amazon Linux, NFS and the dreaded &quot;nobody&quot; problem" />
        <author>
            <name>David Rolston</name>
                    </author>
    
        <published>2012-02-01T07:34:34Z</published>
        <updated>2012-02-01T08:18:13Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=109</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=109</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/10-Linux" label="Linux" term="Linux" />
    
        <id>http://www.gizmola.com/blog/archives/109-guid.html</id>
        <title type="html">Centos, Amazon Linux, NFS and the dreaded &quot;nobody&quot; problem</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I have been fighting a problem with mounting volumes from an NFS Server in AWS for a few days.  With more pressing issues at hand, I had to try and google for solutions for an hour or so before bed, and nothing I was doing was having any effect.  Curiously, an Ubuntu based machine that was mounting the drive using NFS3 was not having the same problem.  Only the Amazon Linux servers that were using NFS4 were having the issue, and were showing all files and directories as being owned by nobody:nobody.<br />
<br />
<div class="bash geshi" style="text-align: left"><br />drwxr-xr-x &#160; &#160;<span style="color: #000000;">2</span> nobody nobody &#160; <span style="color: #000000;">22</span> Jan &#160;<span style="color: #000000;">9</span> <span style="color: #000000;">19</span>:<span style="color: #000000;">58</span> installervc<br />drwxr-xr-x &#160; &#160;<span style="color: #000000;">2</span> nobody nobody 4.0K Jan &#160;<span style="color: #000000;">9</span> <span style="color: #000000;">19</span>:<span style="color: #000000;">56</span> avatar<br />drwxr-xr-x &#160; &#160;<span style="color: #000000;">2</span> nobody nobody 4.0K Jan &#160;<span style="color: #000000;">9</span> <span style="color: #000000;">19</span>:<span style="color: #000000;">56</span> accessories<br />&#160;</div><br />
<br />
I had previously insured that the user UID and group GID for the user that would be writing files (in my case "apache" was the same (with the same UID and GID) on the NFS server and the servers mounting the nfs volume.<br />
<br />
As it turned out the problem was with the configuration (or lack thereof) of the rpcidmapd service.  NFS4 relies on this service to map users between machines.  The "idmapd" requires that the domain of both the client and server should match for the UID/GID mapping to work, and in my case it wasn't.  Probably many people with proper DNS configuration don't hit this problem, but we did not have a proper DNS setup, as these machines are part of a growing cluster.  Compounding the problem I had set the configuration files to have meaningless host names rather than a domain.<br />
<br />
You can tweak this setup by editing the: <strong>/etc/idmapd.conf</strong> file, and find the "Domain" variable:<br />
<br />
<div class="bash geshi" style="text-align: left"><br />Domain = &#160;yourdomain.com<br />&#160;</div><br />
<br />
Set these to be the same for the server and all the clients.<br />
<br />
The last problem was that I had to restart the idmapd process, which has an /etc/init.d control script named  /etc/rpcidmapd<br />
<br />
<div class="bash geshi" style="text-align: left"><br /><span style="color: #7a0874; font-weight: bold;">&#91;</span>root<span style="color: #000000; font-weight: bold;">@</span>web1 init.d<span style="color: #7a0874; font-weight: bold;">&#93;</span><span style="color: #666666; font-style: italic;"># ls -lath | grep rpcid</span><br /><span style="color: #660033;">-rwxr-xr-x</span> &#160;<span style="color: #000000;">1</span> root root 2.7K Jul <span style="color: #000000;">28</span> &#160;<span style="color: #000000;">2011</span> rpcidmapd<br />&#160;</div><br />
<br />
Restart the process on both the nfs server and any nfs clients.  If the source of your problem is the same as mine, your user &amp; group mapping problems should be solved:<br />
<br />
<div class="bash geshi" style="text-align: left"><br /><span style="color: #c20cb9; font-weight: bold;">sudo</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>inti.d<span style="color: #000000; font-weight: bold;">/</span>rpcidmapd restart<br />&#160;</div><br />
<br />
Finally!!!!<br />
<br />
<div class="bash geshi" style="text-align: left"><br />drwxr-xr-x &#160; &#160;<span style="color: #000000;">2</span> apache apache &#160; <span style="color: #000000;">22</span> Jan &#160;<span style="color: #000000;">9</span> <span style="color: #000000;">19</span>:<span style="color: #000000;">58</span> installervc<br />drwxr-xr-x &#160; &#160;<span style="color: #000000;">2</span> apache apache 4.0K Jan &#160;<span style="color: #000000;">9</span> <span style="color: #000000;">19</span>:<span style="color: #000000;">56</span> avatar<br />drwxr-xr-x &#160; &#160;<span style="color: #000000;">2</span> apache apache 4.0K Jan &#160;<span style="color: #000000;">9</span> <span style="color: #000000;">19</span>:<span style="color: #000000;">56</span> accessories<br />&#160;</div><br />
 
            </div>
        </content>
        <dc:subject>Amazon Linux</dc:subject>
<dc:subject>Centos</dc:subject>
<dc:subject>IDMAPD</dc:subject>
<dc:subject>Linux</dc:subject>
<dc:subject>NFS</dc:subject>
<dc:subject>NFS Nobody</dc:subject>
<dc:subject>NFS4</dc:subject>
<dc:subject>Redhat</dc:subject>
<dc:subject>RPCIDMAPD</dc:subject>

    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/81-Free-Apple-Mac-style-Dock-with-Windows-Vista-and-RocketDock.html" rel="alternate" title="Free Apple Mac style Dock with Windows Vista and RocketDock" />
        <author>
            <name>David Rolston</name>
                    </author>
    
        <published>2008-02-10T22:32:25Z</published>
        <updated>2011-12-26T22:25:50Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=81</wfw:comment>
    
        <slash:comments>30</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=81</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/1-Tech" label="Tech" term="Tech" />
    
        <id>http://www.gizmola.com/blog/archives/81-guid.html</id>
        <title type="html">Free Apple Mac style Dock with Windows Vista and RocketDock</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <!-- s9ymdb:146 --><img width='115' height='79' style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://www.gizmola.com/blog/uploads/images/rocketdocklogo.jpg" alt="" />One of the distinctive features of Apple computers is a piece of software called "<a href="http://www.gizmola.com/blog/exit.php?url_id=1030&amp;entry_id=81"  onmouseover="window.status='http://docs.info.apple.com/article.html?artnum=304728';return true;" onmouseout="window.status='';return true;"  title="Mac 101: The Dock">The Dock</a>".  The Dock is sort of an always there menu with big icons that spawn your most frequently used programs.  Docks also can run small programs or docklets that can do things like display a clock or show you the weather.  Docks also can be configured to display running programs that have been minimized in a mini window.  You bring a running program to the front, or launch a program by hovering over the dock with your mouse, and clicking on the icon.<br />
<br />
<!-- s9ymdb:149 --><img width='600' height='76' style="border: 0px; padding-left: 5px; padding-right: 5px;" src="http://www.gizmola.com/blog/uploads/images/rocketdockdock.jpg" alt="" />   <br />
<br />
I suppose that people who don't know any better might think that this is something you can only get from Apple, but as it turns out there are docks for Linux and Windows.  At home I have a Gateway computer running Windows Vista business, and I wanted to add a Dock.  After a bit of hunting, I found some recommendations and settled upon <a href="http://www.gizmola.com/blog/exit.php?url_id=1031&amp;entry_id=81"  onmouseover="window.status='http://rocketdock.com/';return true;" onmouseout="window.status='';return true;"  title="RocketDock">RocketDock</a> from <a href="http://www.gizmola.com/blog/exit.php?url_id=1032&amp;entry_id=81"  onmouseover="window.status='http://punklabs.com/';return true;" onmouseout="window.status='';return true;"  title="Punk Labs">Punk Labs</a>.  Punk Labs as it turns out is really a couple (he's a programmer, she's a designer) who go by the pseudonyms of PolyVector and Skunkie respectively.  The about screen describes RocketDock tongue in cheek as a "peace offering" from the pair of self admitted Apple fans to Windows users everywhere.  <br />
<br />
The RocketDock website provides links to the various versions and a <a href="http://www.gizmola.com/blog/exit.php?url_id=1033&amp;entry_id=81"  onmouseover="window.status='http://rocketdock.com/Help/English/';return true;" onmouseout="window.status='';return true;"  title="RocketDock online manual">straightforward online manual.</a>  You get most of the features of the Apple Dock program, and it's very easy to work with.  Once installed and running, the RocketDock appears at the top of the screen, with a set of default icons.  Right click on the RocketDock and you get a menu that lets you adjust Dock settings.  There are various themes that will style the look and feel of the RocketDock, and the RocketDock site offers an Extra's link with downloads to styles and docklet programs other people have contributed.  While it's just a quibble with this otherwise great program, there's not much in the way of Docklets available, but I found it hard to resist adding on the simple analog style clock. <br /><a href="http://www.gizmola.com/blog/archives/81-Free-Apple-Mac-style-Dock-with-Windows-Vista-and-RocketDock.html#extended">Continue reading "Free Apple Mac style Dock with Windows Vista and RocketDock"</a>
            </div>
        </content>
        <dc:subject>apple</dc:subject>
<dc:subject>dock</dc:subject>
<dc:subject>rocketdock</dc:subject>
<dc:subject>vista</dc:subject>
<dc:subject>windows</dc:subject>

    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/108-Calculate-a-persons-age-in-a-MySQL-query-continued.html" rel="alternate" title="Calculate a person's age in a MySQL query -- continued" />
        <author>
            <name>David Rolston</name>
                    </author>
    
        <published>2011-08-19T22:07:24Z</published>
        <updated>2011-08-20T01:54:45Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=108</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=108</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/108-guid.html</id>
        <title type="html">Calculate a person's age in a MySQL query -- continued</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <em>The serendipity cache blew up on me for this article so I had to split it into 2 parts.</em><br />
<br />
<h2>DATE_ADD to the rescue</h2><br />
MySQL knows how to work with the Gregorian calender, and I believe it is easier to let MySQL do the work, rather than trying to figure out how to implement the different cases.  I chose to implement the "last day of the month" technique.  In this case, we'll do this by creating a mysql date based on March 1st of the current year, and subtract one day from it to get to the last day of February.<br />
<br />
If you read my article on <a href="http://www.gizmola.com/blog/archives/99-Finding-Next-Monday-using-MySQL-Dates.html" title="Calculating week start using MySQL">"Finding next monday" using mysql date functions</a>, you would have seen how DATE_ADD() can be used to help solve a lot of problems, even though the name can be misleading when you are actually using it to subtract. Using it with the following test dates proves that mysql has fully implemented the leap year logic accurately:<br />
<br />
 <br /><a href="http://www.gizmola.com/blog/archives/108-Calculate-a-persons-age-in-a-MySQL-query-continued.html#extended">Continue reading "Calculate a person's age in a MySQL query -- continued"</a>
            </div>
        </content>
        <dc:subject>concat</dc:subject>
<dc:subject>curdate</dc:subject>
<dc:subject>date_add</dc:subject>
<dc:subject>day</dc:subject>
<dc:subject>month</dc:subject>
<dc:subject>mysql</dc:subject>
<dc:subject>mysql if()</dc:subject>
<dc:subject>sql</dc:subject>
<dc:subject>str_to_date</dc:subject>
<dc:subject>year</dc:subject>

    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/107-Calculate-a-persons-age-in-a-MySQL-query.html" rel="alternate" title="Calculate a person's age in a MySQL query" />
        <author>
            <name>David Rolston</name>
                    </author>
    
        <published>2011-08-12T07:40:29Z</published>
        <updated>2011-08-19T22:14:39Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=107</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=107</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/107-guid.html</id>
        <title type="html">Calculate a person's age in a MySQL query</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Recently a question was posed on the <a href="http://www.gizmola.com/blog/exit.php?url_id=1371&amp;entry_id=107"  onmouseover="window.status='http://www.phpfreaks.com/forums/';return true;" onmouseout="window.status='';return true;" title="Phpfreaks.com forums">Phpfreaks.com forums</a>, as to the best way for someone to store a user's birth date using the MySQL database.  One person suggested using a varchar as they were most familiar with string functions.  My answer was to use the MySQL date type.  <br />
<br />
I provided a quick "advantages of using date" comparison list:<br />
<strong>Storing as a DATE</strong><br />
&bull;A MySQL Date requires 3 Bytes of storage<br />
&bull;You can do Date arithmetic inside mysql (search for dates within ranges) and use mysql functions to calculate values directly in a query<br />
&bull;It intrinsically will only store valid dates<br />
&bull;You can format it in numerous ways<br />
<br />
<strong>Storing as a Varchar</strong><br />
&bull;A string will require minimum 8 bytes, or 10 with separators<br />
&bull;can't do any form of efficient native range queries<br />
&bull;can't reformat it easily in SQL<br />
&bull;will allow completely invalid dates<br />
<br />
I thought a great proof of the benefit of this approach was to show that you could have MySQL calculate the person's current age in a query, using their birthday.  Certainly with a string, using PHP for example, you would typically query the database to pull out the string and for each row, turn it into a PHP date and do some calculations in your code, and you'd arrive at the same place, but I wanted to show just how capable SQL -- and in this case MySQL can be especially when you use the native data types and some functions.<br />
 <br /><a href="http://www.gizmola.com/blog/archives/107-Calculate-a-persons-age-in-a-MySQL-query.html#extended">Continue reading "Calculate a person's age in a MySQL query"</a>
            </div>
        </content>
        <dc:subject>concat</dc:subject>
<dc:subject>curdate</dc:subject>
<dc:subject>date_add</dc:subject>
<dc:subject>day</dc:subject>
<dc:subject>month</dc:subject>
<dc:subject>mysql</dc:subject>
<dc:subject>mysql if()</dc:subject>
<dc:subject>sql</dc:subject>
<dc:subject>str_to_date</dc:subject>
<dc:subject>year</dc:subject>

    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/51-Exploring-Mysql-CURDATE-and-NOW.-The-same-but-different..html" rel="alternate" title="Exploring Mysql CURDATE and NOW.  The same but different." />
        <author>
            <name>David Rolston</name>
                    </author>
    
        <published>2004-12-01T02:17:19Z</published>
        <updated>2011-08-12T08:02:39Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=51</wfw:comment>
    
        <slash:comments>16</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=51</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/51-guid.html</id>
        <title type="html">Exploring Mysql CURDATE and NOW.  The same but different.</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                Sometimes I see people attempting to use VARCHARS or CHARS to store dates in their MySQL database application.  This is really fighting against MySQL, which has a variety of interchangeable date types. Internally MySQL is storing dates as numbers, which allows it to do all sorts of nice arithmetic and comparisons with very little effort on your part.  For example, when you use a mysql DATE column to store a date, you don't have to worry about sortation, or comparing that date to another DATE, because MySQL already understands how to do those things internally.  A lot of people also don't realize that they can output a DATE column in just about any way they choose using the DATE_FORMAT function.  This causes people to shy away from using DATE, DATETIME, TIME, or TIMESTAMP columns, when they really should.<br />
<br />
 <br /><a href="http://www.gizmola.com/blog/archives/51-Exploring-Mysql-CURDATE-and-NOW.-The-same-but-different..html#extended">Continue reading "Exploring Mysql CURDATE and NOW.  The same but different."</a>
            </div>
        </content>
        <dc:subject>CURDATE</dc:subject>
<dc:subject>Database</dc:subject>
<dc:subject>DATETIME</dc:subject>
<dc:subject>DATE_ADD</dc:subject>
<dc:subject>MySQL</dc:subject>
<dc:subject>NOW</dc:subject>
<dc:subject>SQL</dc:subject>
<dc:subject>TIMESTAMP</dc:subject>
<dc:subject>Web Development</dc:subject>
<dc:subject>Web Tech</dc:subject>

    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/106-SQL-UPDATE-for-strings-in-MongoDB.html" rel="alternate" title="SQL UPDATE for strings in MongoDB" />
        <author>
            <name>David Rolston</name>
                    </author>
    
        <published>2011-05-20T08:01:53Z</published>
        <updated>2011-05-20T08:36:01Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=106</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=106</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/106-guid.html</id>
        <title type="html">SQL UPDATE for strings in MongoDB</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                MongoDB currently does not offer the equivalent of a SQL Update statement when you want to change the value of a string to something that is based on the current value.  In my case I needed to find spaces and change them to underscores -- something done easily in php with str_replace(), and in MySQL with REPLACE.<br />
<br />
If you had a table named foo with a column named "mystr" you could do this sort of update like this:<br />
<br />
<div class="sql geshi" style="text-align: left"><br /><span style="color: #993333; font-weight: bold;">UPDATE</span> foo <span style="color: #993333; font-weight: bold;">SET</span> mystr <span style="color: #66cc66;">=</span> <span style="color: #993333; font-weight: bold;">REPLACE</span><span style="color: #66cc66;">&#40;</span>mystr<span style="color: #66cc66;">,</span> <span style="color: #ff0000;">' '</span><span style="color: #66cc66;">,</span> <span style="color: #ff0000;">'_'</span><span style="color: #66cc66;">&#41;</span>;<br />&#160;</div><br />
<br />
MongoDB does have collection.update() that works with a series of "modifier" operations, but none of them are useful for doing modifications to the current value of a document field when that field is a string.<br />
<br />
MongoDB does however support javascript, and the javascript replace() function implements a regular expression search and replace.  I was able to accomplish the update using the forEach() method to process the resulting documents one at a time.  While not as efficient as having mongo do this internally with a specially built update modifier, at least this method only needs to operate on documents that are known to require modifications, and could be run in the mongo interactive client easily.<br />
<br />
Again, assuming the collection is named "foo" and the document field is named "mystr"<br />
<br />
<div class="javascript geshi" style="text-align: left"><br />db.foo.find<span class="br0">&#40;</span><span class="br0">&#123;</span> mystr: /<span class="br0">&#91;</span> <span class="br0">&#93;</span>+/ <span class="br0">&#125;</span><span class="br0">&#41;</span>.forEach<span class="br0">&#40;</span> function<span class="br0">&#40;</span>u<span class="br0">&#41;</span> <span class="br0">&#123;</span> u.mystr = u.mystr.replace<span class="br0">&#40;</span>/<span class="br0">&#91;</span> <span class="br0">&#93;</span>/g, &quot;_&quot;<span class="br0">&#41;</span>; db.foo.save<span class="br0">&#40;</span>u<span class="br0">&#41;</span>; <span class="br0">&#125;</span> <span class="br0">&#41;</span>;<br />&#160;</div><br />
<br />
An existing patch promises to add a new update() modifier but until such a time as it exists, this approach can be used when you need to update strings in a collection, referencing the existing values in the transformation. 
            </div>
        </content>
        <dc:subject>javascript</dc:subject>
<dc:subject>mongodb</dc:subject>
<dc:subject>MySQL</dc:subject>
<dc:subject>nosql</dc:subject>
<dc:subject>SQL</dc:subject>
<dc:subject>update</dc:subject>
<dc:subject>web development</dc:subject>

    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/105-Load-the-Url-symfony-helper-in-a-model-or-form-class.html" rel="alternate" title="Load the Url symfony helper in a model or form class " />
        <author>
            <name>David Rolston</name>
                    </author>
    
        <published>2011-01-18T22:01:38Z</published>
        <updated>2011-01-18T22:01:38Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=105</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=105</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/105-guid.html</id>
        <title type="html">Load the Url symfony helper in a model or form class </title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I'm doing some symfony work and needed to use the Url helper in a form class to return an error message that included a link.  I would consider this one of those exceptions where you really need to be able to have markup in a class rather than in a template.  <br />
<br />
I should probably mention that this is the way that works in version 1.4.3, and that the method that works in actions will not work in a form class. That method is:<br />
<br />
<div class="php geshi" style="text-align: left"><br />sfContext<span style="color: #339933;">::</span><span style="color: #004000;">getInstance</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">getConfiguration</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">loadHelpers</span><span style="color: #009900;">&#40;</span><span style="color: #339933;">...</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br />&#160;</div><br />
<br />
That method was deprecated and there is also <a href="http://www.gizmola.com/blog/exit.php?url_id=1369&amp;entry_id=105"  onmouseover="window.status='http://webmozarts.com/2009/07/01/why-sfcontextgetinstance-is-bad/';return true;" onmouseout="window.status='';return true;" title="problems with sfContext">this article to consider</a>.<br />
<br />
In this case, the solution was to access the sfApplicationConfiguration object.  In order to use the Url helper so you can call link_to() you need to also include the 'Tag' helper.  <br />
<br />
<div class="php geshi" style="text-align: left"><br />sfApplicationConfiguration<span style="color: #339933;">::</span><span style="color: #004000;">getActive</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">-&gt;</span><span style="color: #004000;">loadHelpers</span><span style="color: #009900;">&#40;</span><a href="http://www.gizmola.com/blog/exit.php?url_id=1370&amp;entry_id=105" title="http://www.php.net/array"  onmouseover="window.status='http://www.php.net/array';return true;" onmouseout="window.status='';return true;"><span style="color: #990000;">array</span></a><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">'Url'</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">'Tag'</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span><br /><br /><span style="color: #666666; font-style: italic;">// now you can use link_to(...)</span><br />&#160;</div><br />
<br />
Obviously this would allow you to load other helpers in the same way ... i18n for example.<br />
<br />
<br />
 
            </div>
        </content>
        
    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/61-RegEx-and-the-Mod_rewrite-reference-sheet.html" rel="alternate" title="RegEx and the Mod_rewrite reference sheet" />
        <author>
            <name>David Rolston</name>
                    </author>
    
        <published>2005-09-09T20:12:11Z</published>
        <updated>2010-10-14T04:04:56Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=61</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=61</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/61-guid.html</id>
        <title type="html">RegEx and the Mod_rewrite reference sheet</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <p><br />
<a href="http://www.gizmola.com/blog/exit.php?url_id=1363&amp;entry_id=61" title="http://www.addedbytes.com/cheat-sheets/mod_rewrite-cheat-sheet/"  onmouseover="window.status='http://www.addedbytes.com/cheat-sheets/mod_rewrite-cheat-sheet/';return true;" onmouseout="window.status='';return true;"><img width='150' height='203' border='0' hspace='5' align='left' src='http://www.gizmola.com/blog/uploads/images/mod_rewrite_cheat_sheet_thm.gif' alt='' /></a><a href="http://www.gizmola.com/blog/exit.php?url_id=1368&amp;entry_id=61" title="http://www.addedbytes.com/"  onmouseover="window.status='http://www.addedbytes.com/';return true;" onmouseout="window.status='';return true;">Dave Child</a>, a Brighton UK based Web developer offers a series of free Reference/Cheat sheets that I think most web developers will find of value.  He obviously invested a lot of time and effort into them and it shows.  <a href="http://www.gizmola.com/blog/exit.php?url_id=1368&amp;entry_id=61" title="http://www.addedbytes.com/"  onmouseover="window.status='http://www.addedbytes.com/';return true;" onmouseout="window.status='';return true;">He's created free cheat sheets</a> for MySQL, Javascript, PHP, RGB colors and the subject of today's Gizmola.com entry, <a href="http://www.gizmola.com/blog/exit.php?url_id=1082&amp;entry_id=61" title="http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html"  onmouseover="window.status='http://httpd.apache.org/docs/2.0/mod/mod_rewrite.html';return true;" onmouseout="window.status='';return true;">Apache mod_rewrite</a>.  If you've used Apache there's a good chance you've heard of mod_rewrite, although you might not understand what it can do for you.  Lately, a lot of PHP scripts are including functionality that will create mod_rewrite rules and add them to a .htaccess file to support "SEO friendly" url's.  Serendipity, which runs my blog, and the popular PHP Content Management System <a href="http://www.gizmola.com/blog/exit.php?url_id=1083&amp;entry_id=61" title="http://www.joomla.org"  onmouseover="window.status='http://www.joomla.org';return true;" onmouseout="window.status='';return true;">Mambo/Joomla</a> are just two examples of packages that can do this for you.<br />
  <br />
For example, if your script uses a parameter like this: <b>http://www.yoursite.com/home.php?id=5</b><br />
<br />
A mod rewrite rule can allow users to use: <b>http://www.yoursite.com/home/5/</b><br />
<br />
Many search engines seem to penalize sites that use URL parameters, and are more likely to index and value the non-parameter version.  Of course, that's not all that mod_rewrite can do.  Many people use it for its ability to offer at least a layer of Hotlink protection, or to handle things like forwarding visitors from obsolete pages that might exist in a search engine to the new ones.<br />
<br />
Using and understanding the<i> black magic</i> of mod_rewrite requires a basic understanding of Regular Expressions or as they are typically known: RegEx.  If you're new to RegEx, think of them as wildcards on steroids.  The October Lampsig meeting will present RegEx basics, and if you're in Los Angeles, definately try and attend the presentation, which will be given by Peter Benjamin.  Check out Dave Child's <a href="http://www.gizmola.com/blog/exit.php?url_id=1084&amp;entry_id=61" title="http://www.ilovejackdaniels.com/cheat-sheets/mod_rewrite-cheat-sheet/"  onmouseover="window.status='http://www.ilovejackdaniels.com/cheat-sheets/mod_rewrite-cheat-sheet/';return true;" onmouseout="window.status='';return true;">succint reference for this powerful module</a> whether or not you plan to attend Pete's presentation.</p> <br /><a href="http://www.gizmola.com/blog/archives/61-RegEx-and-the-Mod_rewrite-reference-sheet.html#extended">Continue reading "RegEx and the Mod_rewrite reference sheet"</a>
            </div>
        </content>
        <dc:subject>cheat sheets</dc:subject>
<dc:subject>dave child</dc:subject>
<dc:subject>regex</dc:subject>
<dc:subject>web development</dc:subject>

    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/103-How-to-configure-AVReloaded-to-work-with-Longtails-JW-Player-Google-Analytics-Pro-plugin.html" rel="alternate" title="How to configure AVReloaded to work with Longtail's JW Player Google Analytics Pro plugin" />
        <author>
            <name>David Rolston</name>
                    </author>
    
        <published>2010-09-14T07:37:49Z</published>
        <updated>2010-09-14T21:03:41Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=103</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=103</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/103-guid.html</id>
        <title type="html">How to configure AVReloaded to work with Longtail's JW Player Google Analytics Pro plugin</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <a href="http://www.gizmola.com/blog/exit.php?url_id=1359&amp;entry_id=103" title="http://allvideos.fritz-elfert.de/"  onmouseover="window.status='http://allvideos.fritz-elfert.de/';return true;" onmouseout="window.status='';return true;" >Allvideos Reloaded  (AVReloaded)</a> is a really nice piece of software engineering from Fritz Elfert.  Rather than hardcode for all the individual players out there, Fritz created a macro system that allows you describe the parameters for any player, so it can be configured and updated.<br />
<br />
<div class="serendipity_imageComment_left" style="width: 110px"><div class="serendipity_imageComment_img"><a class='serendipity_image_link' href='http://www.gizmola.com/blog/uploads/images/gap_scrn.png'><!-- s9ymdb:241 --><img width='110' height='20'  src="http://www.gizmola.com/blog/uploads/images/gap_scrn.tn.png" alt="" /></a></div><div class="serendipity_imageComment_txt">Click for screenshot of Google Analytics Event categories, generated by the Longtail GA Pro plugin</div></div>Like the Allvideos plugin, AVReloaded comes bundled with the ubiquitous <a href="http://www.gizmola.com/blog/exit.php?url_id=1361&amp;entry_id=103" title="http://www.longtailvideo.com/players/"  onmouseover="window.status='http://www.longtailvideo.com/players/';return true;" onmouseout="window.status='';return true;" >JW Player for Flash</a>.  If you are streaming flash movies from your website, one <a href="http://www.gizmola.com/blog/exit.php?url_id=1362&amp;entry_id=103" title="http://www.longtailvideo.com/addons/plugins/107/Google-Analytics-Pro?q="  onmouseover="window.status='http://www.longtailvideo.com/addons/plugins/107/Google-Analytics-Pro?q=';return true;" onmouseout="window.status='';return true;" >worthwhile plugin is longtail's Google Analytics Pro</a>.  The current license price for the plugin is $19 from longtail's site.  If you're already using Google Analytics, the plugin feeds "Content" events from the player to Google Analytics which will show up under the "Event Tracking" menu.  Ever have questions like:  "I wonder what videos people are actually watching on my site" or "for this new video, how many seconds do they watch before they get bored and close it?"  If so, then this plugin is for you.   The player will generate events that GA groups into 3 categories: "Video Plays", "Percentage Played" and "Seconds Played".  Drilling down you get a nice list of the Videos on your site.   For example, finding out that people only watch on average 10% of that promotional video for your product is probably a sign that you may need some better material. <br /><a href="http://www.gizmola.com/blog/archives/103-How-to-configure-AVReloaded-to-work-with-Longtails-JW-Player-Google-Analytics-Pro-plugin.html#extended">Continue reading "How to configure AVReloaded to work with Longtail's JW Player Google Analytics Pro plugin"</a>
            </div>
        </content>
        <dc:subject>AllVideos Reloaded</dc:subject>
<dc:subject>AVReloaded</dc:subject>
<dc:subject>Event Tracking</dc:subject>
<dc:subject>Flash</dc:subject>
<dc:subject>Flash Video</dc:subject>
<dc:subject>Google Analytics</dc:subject>
<dc:subject>Google Analytics Pro</dc:subject>
<dc:subject>Joomla</dc:subject>
<dc:subject>JW Player</dc:subject>
<dc:subject>Longtail</dc:subject>

    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/62-Joomla-Mambo-Core-ERD-diagrams.html" rel="alternate" title="Joomla (Mambo) Core ERD diagrams" />
        <author>
            <name>David Rolston</name>
                    </author>
    
        <published>2005-09-23T20:28:46Z</published>
        <updated>2010-09-09T20:07:35Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=62</wfw:comment>
    
        <slash:comments>2</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=62</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/62-guid.html</id>
        <title type="html">Joomla (Mambo) Core ERD diagrams</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                I have a small project that involves an implementation of Joomla (a fork of the popular PHP/Mysql based content management system Mambo).  I started with Mambo and during the time I was configuring the site, the core developers of Mambo left to create the Joomla project.  The reasons for this are discussed on their <a href="http://www.opensourcematters.org/"  class="bb-url"> OpenSourceMatters</a> website.  <br />
<br />
Suffice it to say, I find an Entity Relationships diagram to be very helpful in understanding the architecture of a database driven application like Joomla.  There wasn't one available, so I decided to reverse engineer the database, and created these diagrams, which break the core database down into a few functional areas.<br />
<br />
<strong>UPDATED</strong>  At one time my pdf version of this was hosted by Joomla, but in one of the many moves of source code, the links to it were broken.  <a href="http://www.gizmola.com/blog/exit.php?url_id=1333&amp;entry_id=62"  onmouseover="window.status='http://www.gizmola.com/blog/index.php?serendipity[subpage]=downloads&amp;thiscat=4&amp;file=12';return true;" onmouseout="window.status='';return true;"  title="Joomla 1.0 ERD pdf">You can get the pdf with all the views here</a>.<br />
<br />
<b>User and Security Subsystem</b><br />
<a href='http://www.gizmola.com/blog/uploads/images/joomlaerd_users.jpg'><img width='110' height='68' border='0' hspace='5' src='http://www.gizmola.com/blog/uploads/images/joomlaerd_users.tn.jpg' alt='' /></a><br />
<br />
<b>Backend (modularity and extensibility) Subsystem</b><br />
<a href='http://www.gizmola.com/blog/uploads/images/joomlaerd_backend.jpg'><img width='110' height='68' border='0' hspace='5' src='http://www.gizmola.com/blog/uploads/images/joomlaerd_backend.tn.jpg' alt='' /></a><br />
<br />
<b>Content and Presentation Subsystem</b><br />
<a href='http://www.gizmola.com/blog/uploads/images/joomlaerd_content.jpg'><img width='110' height='85' border='0' hspace='5' src='http://www.gizmola.com/blog/uploads/images/joomlaerd_content.tn.jpg' alt='' /></a><br />
<br />
<b>Banners</b><br />
<a href='http://www.gizmola.com/blog/uploads/images/joomlaerd_banners.jpg'><img width='110' height='62' border='0' hspace='5' src='http://www.gizmola.com/blog/uploads/images/joomlaerd_banners.tn.jpg' alt='' /></a><br />
<br />
<b>Logging</b><br />
<a href='http://www.gizmola.com/blog/uploads/images/joomlaerd_logging.jpg'><img width='103' height='110' border='0' hspace='5' src='http://www.gizmola.com/blog/uploads/images/joomlaerd_logging.tn.jpg' alt='' /></a> 
            </div>
        </content>
        <dc:subject>Database</dc:subject>
<dc:subject>ERD</dc:subject>
<dc:subject>Joomla</dc:subject>
<dc:subject>PHP</dc:subject>
<dc:subject>Web Development</dc:subject>

    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/102-Joomla-K2-Component-ERD-Schema-and-Tree-traversal-optimization-with-Catalog-Mode.html" rel="alternate" title="Joomla K2 Component ERD Schema and Tree traversal optimization with Catalog Mode" />
        <author>
            <name>David Rolston</name>
                    </author>
    
        <published>2010-09-09T09:30:57Z</published>
        <updated>2010-09-09T12:12:42Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=102</wfw:comment>
    
        <slash:comments>1</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=102</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/8-Web-Tech" label="Web Tech" term="Web Tech" />
    
        <id>http://www.gizmola.com/blog/archives/102-guid.html</id>
        <title type="html">Joomla K2 Component ERD Schema and Tree traversal optimization with Catalog Mode</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <div class="serendipity_imageComment_left" style="width: 300px"><div class="serendipity_imageComment_img"><a class='serendipity_image_link' href='http://www.gizmola.com/blog/uploads/images/k2_schema.png' onclick="F1 = window.open('/blog/uploads/images/k2_schema.png','Zoom','height=1199,width=1263,top=8,left=336,toolbar=no,menubar=no,location=no,resize=1,resizable=1,scrollbars=yes'); return false;"><!-- s9ymdb:234 --><img width='300' height='285'  src="http://www.gizmola.com/blog/uploads/images/k2_schema.tn.png" alt="" /></a></div><div class="serendipity_imageComment_txt">Joomla K2 component Schema in png format</div></div>In the recent profile of GB4K.com, I talked about the use of the K2 component from the Folks at JoomlaWorks.  While doing some customization, I decided to reverse engineer the K2 tables that are created and used by the component.  I provide the diagrams for interested parties and developers looking to understand how K2 is designed.  Keep in mind that these are logical diagrams, since Joomla and K2 have no intrinsic support for MySQL other than using the MyISAM engine, which doesn't support key constraints.  Click on the image to get the .png version, or <a href="http://www.gizmola.com/blog/exit.php?url_id=1331&amp;entry_id=102"  onmouseover="window.status='http://www.gizmola.com/blog/index.php?serendipity[subpage]=downloads&amp;thiscat=4&amp;file=23';return true;" onmouseout="window.status='';return true;"  title="Download the .pdf version of the Schema here">this link for a .pdf</a>.<br />
<br />
One thing I noticed about K2, is that its tree traversal code can require a lot of queries to be run, especially if you have a lot of categories.  Over on the K2 forums, one K2 user with a large number of subcategories was complaining about the substantial overhead involved in displaying the top level Category for their site.  With over 1000 subcategories, the site was being hammered with an equal number of queries.<br />
<br />
This is because by default K2 will do a query for every category to find its child categories and items.  Since this is a recursive problem there's no inherent MySQL solution that would allow the developers to solve this problem in SQL (like the Oracle Start With ... Connect By syntax) so it's somewhat understandable that the JoomlaWorks developers provided a short circuit mechanism into the category configuration they call "Catalog Mode".  The description of this configuration flag, which defaults to "No" is: <br />
<br />
<blockquote>If you select 'yes' then only the items directly belonging to this category will be retrieved. If you select 'no' then items from all sub-categories will be retrieved. Setting this option to 'no' is ideal for news/portal/magazine/blog layouts.</blockquote><br />
<br />
This setting simply shuts off the recursion behavior for the category. 
            </div>
        </content>
        <dc:subject>ERD</dc:subject>
<dc:subject>getK2.org</dc:subject>
<dc:subject>Joomla</dc:subject>
<dc:subject>JoomlaWorks</dc:subject>
<dc:subject>K2</dc:subject>
<dc:subject>Schema</dc:subject>

    </entry>
    <entry>
        <link href="http://www.gizmola.com/blog/archives/101-Profile-of-the-GB4k.com-launch-Joomla-reborn.html" rel="alternate" title="Profile of the GB4k.com launch -- Joomla reborn" />
        <author>
            <name>David Rolston</name>
                    </author>
    
        <published>2010-09-03T02:52:57Z</published>
        <updated>2010-09-03T02:52:57Z</updated>
        <wfw:comment>http://www.gizmola.com/blog/wfwcomment.php?cid=101</wfw:comment>
    
        <slash:comments>0</slash:comments>
        <wfw:commentRss>http://www.gizmola.com/blog/rss.php?version=atom1.0&amp;type=comments&amp;cid=101</wfw:commentRss>
    
            <category scheme="http://www.gizmola.com/blog/categories/7-Website" label="Website" term="Website" />
    
        <id>http://www.gizmola.com/blog/archives/101-guid.html</id>
        <title type="html">Profile of the GB4k.com launch -- Joomla reborn</title>
        <content type="xhtml" xml:base="http://www.gizmola.com/blog/">
            <div xmlns="http://www.w3.org/1999/xhtml">
                <!-- s9ymdb:220 --><a href="http://www.gizmola.com/blog/exit.php?url_id=1327&amp;entry_id=101"  onmouseover="window.status='http://www.gb4k.com/';return true;" onmouseout="window.status='';return true;"  title="Check out the Global Broadcast 4 Kids website."><img width='350' height='239' style="float: left; border: 0px; padding-left: 5px; padding-right: 5px;" src="http://www.gizmola.com/blog/uploads/images/gb4klaunch.png" alt="" /></a>I've been helping out Scott McGinnis with a revamp of his web-videos-for-kids and tweens site, <a href="http://www.gizmola.com/blog/exit.php?url_id=1320&amp;entry_id=101" title="http://www.gb4k.com"  onmouseover="window.status='http://www.gb4k.com';return true;" onmouseout="window.status='';return true;" >Global Broadcast 4 Kids</a>, aka <a href="http://www.gizmola.com/blog/exit.php?url_id=1320&amp;entry_id=101" title="http://www.gb4k.com"  onmouseover="window.status='http://www.gb4k.com';return true;" onmouseout="window.status='';return true;" >GB4K.com</a>.  <br />
<br />
Scott was a pretty successful actor in the 1980's, who transitioned to directing in the 90's, and like a lot of directors in Hollywood, got his first chance behind the camera courtesy of Roger Corman.  After a stint making low budget features, he went on to direct episodes of "Angel" and the TV series "Honey I Shrunk the Kids", and for the last few years, has been producing educational webisodes using Prosumer video equipment, and editing the episodes on a Mac with Final Cut Pro.  <br />
<br />
The subject matter and production values aren't that much different from what you might expect to find on basic cable networks like The History Channel or Disney Channel.  The GB4K "twist" is that all the segments feature kids and teens as the newscasters, reporters and narrators.  GB4K has already proven to be a great training ground for a number of its young "stars", as GB4K alumni have gone on to success at the Disney Channel, and in feature films.  There's lots of material in the archive, and he creates a number of new episodes each week, from sports and entertainment news, movie premier "red carpet" interviews, how-to videos on dancing and skateboarding, history channel-esq features on subjects like Guitars and Merry-go-rounds, and environmental science and the latest in Green living practices and Green news.  The site also includes music videos he directed and produced for Amber Lily and Jadagrace Berry.  A great example of what Scott is able to accomplish as a one-man directing, production and post production crew, is the <a href="http://www.gizmola.com/blog/exit.php?url_id=1321&amp;entry_id=101" title="http://www.gb4k.com/gbk4channels/gb4kentertainment/item/28-express-yourself-jadagrace"  onmouseover="window.status='http://www.gb4k.com/gbk4channels/gb4kentertainment/item/28-express-yourself-jadagrace';return true;" onmouseout="window.status='';return true;" >Jadagrace "Express Yourself" </a>video, which in my opinion compares favorably with music videos costing 10-20x as much.<br />
<br />
Despite having a substantial library of video content, frequent updates, and a clear cut audience, problems with the website had put GB4K into a holding pattern. <br />
<br />
 <br /><a href="http://www.gizmola.com/blog/archives/101-Profile-of-the-GB4k.com-launch-Joomla-reborn.html#extended">Continue reading "Profile of the GB4k.com launch -- Joomla reborn"</a>
            </div>
        </content>
        <dc:subject>AllVideos</dc:subject>
<dc:subject>AVReloaded</dc:subject>
<dc:subject>GB4k.com</dc:subject>
<dc:subject>Joomla</dc:subject>
<dc:subject>JW Player</dc:subject>
<dc:subject>K2</dc:subject>
<dc:subject>PHP</dc:subject>

    </entry>

</feed>
