<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:sy="http://purl.org/rss/1.0/modules/syndication/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" version="2.0">

<channel>
	<title>Chris Novoa's</title>
	
	<link>http://www.chrisnovoa.com</link>
	<description>Most Shallow Depths</description>
	<lastBuildDate>Fri, 18 May 2012 02:09:20 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.2</generator>
		<atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.feedburner.com/MostShallowDepths" /><feedburner:info uri="mostshallowdepths" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item>
		<title>OS X (Lion) .DS_Store disabling</title>
		<link>http://feedproxy.google.com/~r/MostShallowDepths/~3/ZzwYzmOLvw0/</link>
		<comments>http://www.chrisnovoa.com/os-x-lion-ds_store-disabling/#comments</comments>
		<pubDate>Fri, 18 May 2012 01:55:10 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.chrisnovoa.com/?p=458</guid>
		<description><![CDATA[How to handle .DS_Store files on Mac OS X 10.6+]]></description>
			<content:encoded><![CDATA[<p>Because we show hidden files in finder, primarily for the reason of being able to see/edit profile settings, git, and htaccess files, a problem that has just been silently bothering me for years has just reached a fever pitch as I&#8217;m trying to finalize a directory structure to upload. Sure, most programs worth their salt have an option to ignore files to upload/sync but it goes deeper than this &#8211; I JUST DON&#8217;T WANT THEM THERE.</p>
<p>I think anyone who argues about the utility of controlling files that are silently placed/replaced in potentially sensitive dirs (i.e. source code) doesn&#8217;t have enough experience to provide an opinion, even windows gives you the option to disable thumbnail caching (thumbs.db). The argument of &#8220;This is the way apple did it, therefore, obviously it&#8217;s a good design, you&#8217;re the one doing it wrong&#8221; is lacking substance.</p>
<p>In searching for potential solutions to disable the creation of .DS_Store files in EVERY. SINGLE. DIR. I offer the following solutions.</p>
<h3>Cleanup</h3>
<p>This will recursively clean up the offending files within whatever directory you point it. In Terminal (/Applications/Utilities/Terminal.app) &#8211; you may have to <em>sudo</em> depending on your target directory.</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> <span style="color: #000000; font-weight: bold;">/</span>Volumes<span style="color: #000000; font-weight: bold;">/</span>Dev <span style="color: #7a0874; font-weight: bold;">&#91;</span>change to whatever <span style="color: #c20cb9; font-weight: bold;">dir</span> you want to clean<span style="color: #7a0874; font-weight: bold;">&#93;</span>
<span style="color: #c20cb9; font-weight: bold;">find</span> . <span style="color: #660033;">-name</span> <span style="color: #ff0000;">'*.DS_Store'</span> <span style="color: #660033;">-type</span> f <span style="color: #660033;">-delete</span></pre></div></div>

<h3>Solution #1: Brute Force</h3>
<p>After having deleted the .DS_STORE files, I came across this solution and have been running it with success on Lion <a title="Death to DS Store" href="http://www.aorensoftware.com/blog/2011/12/24/death-to-ds_store/" rel="external">http://www.aorensoftware.com/blog/2011/12/24/death-to-ds_store/</a> it does a live patch on Finder to simply replace the function responsible for creating these files thus they simply Won&#8217;t be created. It includes a Launchd agent for setting this up at every reboot (Finder is not physically modified). <strong>This method completely disables Finder&#8217;s ability to remember view settings on folders that don&#8217;t already have them</strong> such as which view mode &#8211; Icon/Column/List, Window Size, Sorting, etc. are customized.<strong></strong></p>
<h3>Solution #2: Redirection</h3>
<p>Asepsis by BinaryAge (maker of TotalFinder and TotalTerminal &#8211; my fave) <a href="http://asepsis.binaryage.com/" rel="external">http://asepsis.binaryage.com/</a>  is a cleaner solution in that it preserves the expected functionality which is ideal. Only drawback is it seems to break on every OS X version update.  The author is very diligent however so it usually stays current.</p>
<p>While the first solution simply disables .DS_Store creation altogether &#8211; which will have the effect of folders not remembering their setting &#8211; this solution, re-routes the process of .DS_Store creation to a unified cache directory for all folders (rather than storing it in each one) hence maintaining the correct functionality while keeping everything clean.</p>
<h3>Other Solutions</h3>
<p><strong>Cleanup on External drives:</strong> <a href="http://www.zeroonetwenty.com/blueharvest4/" rel="external">http://www.zeroonetwenty.com/blueharvest4/</a> (not free) provides an easy way to clean up external drives so they may be shared on other systems without showing evidence of their having been used on a mac (i.e. .Trashes, .FSEvent stores, Spotlight stores, etc.)</p>
<p><strong>Prevention on Network Shares: </strong>(<a href="http://support.apple.com/kb/HT1629">Apple KB</a>)<strong><br />
</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">defaults <span style="color: #c20cb9; font-weight: bold;">write</span> com.apple.desktopservices DSDontWriteNetworkStores <span style="color: #c20cb9; font-weight: bold;">true</span></pre></div></div>

<p>Thanks to <a href="http://danilo.ariadoss.com/how-to-recursively-remove-ds_store-files-on-mac-os-x/" rel="external">http://danilo.ariadoss.com/how-to-recursively-remove-ds_store-files-on-mac-os-x/</a>  and many others for the cleanup step</p>
<p>For more info <a href="http://en.wikipedia.org/wiki/.ds_store" rel="external">http://en.wikipedia.org/wiki/.ds_store</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisnovoa.com/os-x-lion-ds_store-disabling/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chrisnovoa.com/os-x-lion-ds_store-disabling/</feedburner:origLink></item>
		<item>
		<title />
		<link>http://feedproxy.google.com/~r/MostShallowDepths/~3/khfCVuYP2zY/</link>
		<comments>http://www.chrisnovoa.com/photo/451/#comments</comments>
		<pubDate>Thu, 17 May 2012 13:57:02 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
		
		<guid isPermaLink="false">http://www.chrisnovoa.com/?post_type=photo&amp;p=451</guid>
		<description />
			<content:encoded><![CDATA[<p style="text-align: center;"><a rel="lightbox" href="http://www.chrisnovoa.com/wp-content/uploads/toilet-paper-20111130-130920.jpg"><img class="size-medium wp-image-452 aligncenter" title="toilet-paper-20111130-130920" src="http://www.chrisnovoa.com/wp-content/uploads/toilet-paper-20111130-130920-197x300.jpg" alt="" width="197" height="300" /></a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisnovoa.com/photo/451/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chrisnovoa.com/photo/451/</feedburner:origLink></item>
		<item>
		<title>OS X Mountain Lion – Disable Notification Center</title>
		<link>http://feedproxy.google.com/~r/MostShallowDepths/~3/NEusTqYkxsU/</link>
		<comments>http://www.chrisnovoa.com/os-x-mountain-lion-disable-notification-center/#comments</comments>
		<pubDate>Tue, 01 May 2012 13:24:36 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[Tech]]></category>

		<guid isPermaLink="false">http://www.chrisnovoa.com/?p=436</guid>
		<description><![CDATA[If you&#8217;re like me and don&#8217;t really make use of the features the new Notification Center offers, there&#8217;s an easy way to disable it and remove the its icon in the menu bar. To permanently remove the notification center, In terminal (/Applications/Utilities/Terminal &#8211; or press CMD+SPACE and type &#8220;Terminal&#8221;, hit ENTER) sudo launchctl remove com.apple.notificationcenterui.agent [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me and don&#8217;t really make use of the features the new Notification Center offers, there&#8217;s an easy way to disable it and remove the its icon in the menu bar.</p>
<p><strong>To permanently remove the notification center</strong>,<br />
In terminal (/Applications/Utilities/Terminal &#8211; or press CMD+SPACE and type &#8220;Terminal&#8221;, hit ENTER)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> launchctl remove com.apple.notificationcenterui.agent
launchctl remove com.apple.notificationcenterui.agent</pre></div></div>

<p>It will ask you for your login password, presumably, your account is an administrator. One of those commands may output &#8220;launchctl remove error: No such process&#8221;, this is normal. The Notification center agent may or may not run as a system service, or a user service.</p>
<p>Contrary to changing the application&#8217;s  file permissions (which will revert if you ever need to repair the permissions for the disk), This will prevent it from launching in the first place &#8211; since setting the permission to make it unavailable pollutes the syslog as the launchd process attempts to load the notification center continuously.</p>
<p><strong>To Restore the Notification Center,</strong></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">sudo</span> launchctl submit <span style="color: #660033;">-l</span> com.apple.notificationcenterui.agent <span style="color: #660033;">-p</span> <span style="color: #000000; font-weight: bold;">/</span>System<span style="color: #000000; font-weight: bold;">/</span>Library<span style="color: #000000; font-weight: bold;">/</span>CoreServices<span style="color: #000000; font-weight: bold;">/</span>NotificationCenter.app<span style="color: #000000; font-weight: bold;">/</span>Contents<span style="color: #000000; font-weight: bold;">/</span>MacOS<span style="color: #000000; font-weight: bold;">/</span>NotificationCenter</pre></div></div>

<p>no fuss no muss, no permissions to set/reset.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisnovoa.com/os-x-mountain-lion-disable-notification-center/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.chrisnovoa.com/os-x-mountain-lion-disable-notification-center/</feedburner:origLink></item>
		<item>
		<title>Install Fuppes (0.661+) on Ubuntu 9.10 Karmic x64</title>
		<link>http://feedproxy.google.com/~r/MostShallowDepths/~3/7HMgH6ha7SM/</link>
		<comments>http://www.chrisnovoa.com/install-fuppes-0-661-on-ubuntu-9-10-karmic-x64/#comments</comments>
		<pubDate>Tue, 19 Jan 2010 08:46:57 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[freeware]]></category>
		<category><![CDATA[fuppes]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[media server]]></category>
		<category><![CDATA[open source]]></category>
		<category><![CDATA[ps3]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[tutorial]]></category>
		<category><![CDATA[ubuntu]]></category>
		<category><![CDATA[xbox]]></category>

		<guid isPermaLink="false">http://www.chrisnovoa.com/?p=364</guid>
		<description><![CDATA[I was having a tough time finding thorough, up to date instructions not requiring any compiler hacks on setting up a good well rounded fuppes media server with transcoding/thumbnailing support for my PS3. What you see here are corrected instructions put together from various forums and web posts and the Fuppes wiki (links to follow) [...]]]></description>
			<content:encoded><![CDATA[<p>I was having a tough time finding thorough, up to date instructions not requiring any compiler hacks on setting up a good well rounded fuppes media server with transcoding/thumbnailing support for my PS3.</p>
<p>What you see here are corrected instructions put together from various forums and web posts and the Fuppes wiki (links to follow)</p>
<h3>FUPPES .661+ INSTALL INSTRUCTIONS FOR UBUNTU (Debian) 9.10 Karmic 64 bit<span id="more-364"></span></h3>
<p>1. become root</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">su</span></pre></div></div>

<p>2. remove build tools</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> remove <span style="color: #c20cb9; font-weight: bold;">autoconf</span> <span style="color: #c20cb9; font-weight: bold;">automake</span> <span style="color: #c20cb9; font-weight: bold;">gettext</span>
<span style="color: #c20cb9; font-weight: bold;">apt-get</span> update</pre></div></div>

<p>3. install latest build tools</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> <span style="color: #c20cb9; font-weight: bold;">autoconf</span> <span style="color: #c20cb9; font-weight: bold;">automake</span> <span style="color: #c20cb9; font-weight: bold;">gettext</span></pre></div></div>

<p>4. install dependencies</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">apt-get</span> <span style="color: #c20cb9; font-weight: bold;">install</span> build-essential libpcre3-dev libpcre++-dev libpcre-ocaml libpcre-ocaml-dev libxml2-dev sqlite3 libuuid-perl libuuidm-ocaml-dev libuuidm-ocaml-dev libtaglib-ocaml-dev libiconv-hook-dev imagemagick libavutil-dev libavformat-dev libavcodec-dev libfaad-dev libgsm1-dev libogg-dev libschroedinger-dev libspeex-dev libtheora-dev libvorbis-dev libx11-dev libxext-dev libraw1394-dev libdc1394-<span style="color: #000000;">22</span>-dev libmpeg4ip-dev libmp3lame-dev libtwolame-dev libmpcdec-dev libflac-dev libmp4v2-dev libmad0-dev libmad-ocaml-dev <span style="color: #c20cb9; font-weight: bold;">ffmpeg</span> libswscale-dev libffmpegthumbnailer-dev libsqlite3-dev uuid-dev libpanel-applet2-dev libpanelappletmm-<span style="color: #000000;">2.6</span>-dev libnotify-dev libmagick++-dev libsvn1 subversion libtool</pre></div></div>

<p>5. get latest Fuppes source from subversion repository</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">svn</span> <span style="color: #c20cb9; font-weight: bold;">co</span> https:<span style="color: #000000; font-weight: bold;">//</span>fuppes.svn.sourceforge.net<span style="color: #000000; font-weight: bold;">/</span>svnroot<span style="color: #000000; font-weight: bold;">/</span>fuppes<span style="color: #000000; font-weight: bold;">/</span>trunk fuppes</pre></div></div>

<p>6. go to Fuppes directory</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #7a0874; font-weight: bold;">cd</span> fuppes</pre></div></div>

<p>7.a. create configuration</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">autoreconf <span style="color: #660033;">-vfi</span></pre></div></div>

<p>7.b. configure the fuppes install (this will enable transcoding and all plugins/codecs)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">.<span style="color: #000000; font-weight: bold;">/</span>configure <span style="color: #660033;">--prefix</span>=<span style="color: #000000; font-weight: bold;">/</span>usr <span style="color: #660033;">--enable-transcoder-ffmpeg</span> <span style="color: #660033;">--enable-lame</span> <span style="color: #660033;">--enable-twolame</span> <span style="color: #660033;">--enable-vorbis</span> <span style="color: #660033;">--enable-ImageMagick</span> <span style="color: #660033;">--enable-mad</span> <span style="color: #660033;">--enable-faad</span></pre></div></div>

<p>7.c. summary should show as below (Once you have ran the above command, the output should be similar to the summary below. If you are missing any codecs or plugins simply re run the autoreconf -vfi command, then re run ./configure command using the &#8211;enable-plugin/codec option. For instance ./configure &#8211;enable-twolame):</p>
<blockquote><p>CONFIGURATION SUMMARY</p>
<p>audio transcoding plugins<br />
encoder:<br />
lame       : yes<br />
twolame    : yes<br />
pcm/wav    : yes<br />
decoder:<br />
vorbis     : yes (libvorbisfile)<br />
mpc        : yes<br />
flac       : yes<br />
faad       : yes (aac/mp4/m4a)<br />
mad        : yes (mpeg Layer I, II &amp; III)</p>
<p>video transcoding plugins<br />
ffmpeg             : enabled</p>
<p>image conversion/rescaling plugins<br />
ImageMagick        : enabled  (Wand C-API)</p>
<p>audio metadata extraction plugins<br />
taglib             : enabled  (mp3, ogg, flac &amp; mpc)<br />
mpeg4ip/mp4v2      : enabled  (mp4/m4a)</p>
<p>image metadata extraction plugins<br />
Exiv2              : disabled<br />
ImageMagick        : enabled  (Wand C-API)<br />
simage             : disabled (jpeg, png, gif, tiff, rgb, pic, tga, eps)</p>
<p>video metadata extraction plugins<br />
libavformat        : enabled<br />
ffmpegthumbnailer  : enabled</p>
<p>miscellaneous<br />
iconv              : enabled (charset conversion)<br />
uuid               : enabled<br />
inotify            : enabled</p></blockquote>
<p>8. Make/Install into Ubuntu 9.10 Karmic server/desktop</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span>
ldconfig
<span style="color: #c20cb9; font-weight: bold;">make</span> distclean</pre></div></div>

<p>9.a. start fuppes (currently as root) to initially generate the db and configuration files</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">fuppes</pre></div></div>

<p>9.b. will show:</p>
<blockquote><p>FUPPES &#8211; 0.646</p>
<p>the Free UPnP Entertainment Service</p>
<p>http://fuppes.ulrich-voelkel.de</p>
<p>== lib/ContentDirectory/VirtualContainerMgr.cpp (56) :: Mon Nov 2 14:35:40 2009 ==<br />
no vfolder.cfg file available</p>
<p>webinterface: http://10.0.0.1:53938<br />
r = rebuild database<br />
u = update database<br />
i = print system info<br />
h = print help</p>
<p>press ctrl-c or q to quit</p>
<p>Press CTRL + C to stop Fuppes.</p></blockquote>
<p>10. see: http://server-servers.com/ubuntu-9-10-karmic-configure-and-tweak-fuppes-media-server for customizing the config, edit the config files &#8212; this configuration will enable PS3 and XBOX usage, and present the web GUI on port 9137 at whatever IP Address is assigned to the eth0 interface</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.fuppes<span style="color: #000000; font-weight: bold;">/</span>fuppes.cfg</pre></div></div>

<p><a title="fuppes.cfg" href="/wp-content/uploads/2010/02/fuppes.cfg.txt" rel="external">see sample contents (my config)</a></p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>root<span style="color: #000000; font-weight: bold;">/</span>.fuppes<span style="color: #000000; font-weight: bold;">/</span>vfolder.cfg</pre></div></div>

<p><a title="vfolder.cfg" href="/wp-content/uploads/2010/02/vfolder.cfg.txt" rel="external">see sample contents (my config)</a><br />
11.a. prepare the permanent configuration dir for the fuppes daemon and copy the configs to it</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fuppes
<span style="color: #c20cb9; font-weight: bold;">mkdir</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>fuppes
<span style="color: #c20cb9; font-weight: bold;">cp</span> ~<span style="color: #000000; font-weight: bold;">/</span>.fuppes<span style="color: #000000; font-weight: bold;">/</span>fuppes.cfg <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fuppes
<span style="color: #c20cb9; font-weight: bold;">cp</span> ~<span style="color: #000000; font-weight: bold;">/</span>.fuppes<span style="color: #000000; font-weight: bold;">/</span>vfolder.cfg <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fuppes
<span style="color: #c20cb9; font-weight: bold;">cp</span> ~<span style="color: #000000; font-weight: bold;">/</span>.fuppes<span style="color: #000000; font-weight: bold;">/</span>fuppes.db <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>fuppes</pre></div></div>

<p>11.b. prepare security settings for the daemon (don&#8217;t run as root), create &#8220;fuppes&#8221; user and group and take ownership of the config dirs</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;">adduser <span style="color: #660033;">--system</span> <span style="color: #660033;">--home</span> <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>fuppes <span style="color: #660033;">--shell</span> <span style="color: #000000; font-weight: bold;">/</span>bin<span style="color: #000000; font-weight: bold;">/</span><span style="color: #c20cb9; font-weight: bold;">sh</span> <span style="color: #660033;">--group</span> <span style="color: #660033;">--no-create-home</span> fuppes
<span style="color: #c20cb9; font-weight: bold;">chown</span> fuppes:fuppes <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>fuppes<span style="color: #000000; font-weight: bold;">/*</span>
<span style="color: #c20cb9; font-weight: bold;">chown</span> <span style="color: #660033;">-R</span> fuppes:fuppes <span style="color: #000000; font-weight: bold;">/</span>var<span style="color: #000000; font-weight: bold;">/</span>lib<span style="color: #000000; font-weight: bold;">/</span>fuppes</pre></div></div>

<p>12.a. set up the daemon startup (http://server-servers.com/Source-Code/Fuppes-Ubuntu-Linux/fuppesd.txt from the Fuppes wiki http://fuppes.ulrich-voelkel.de/wiki/index.php?title=Startup_with_Init.d)</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">nano</span> <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>fuppesd</pre></div></div>

<p>12.b. initialize the startup daemon</p>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">chmod</span> +x <span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>fuppesd
update-rc.d fuppesd defaults <span style="color: #000000;">60</span>
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>fuppesd stop
<span style="color: #000000; font-weight: bold;">/</span>etc<span style="color: #000000; font-weight: bold;">/</span>init.d<span style="color: #000000; font-weight: bold;">/</span>fuppesd start</pre></div></div>

<h3>TO UPGRADE FUPPES, simply run:</h3>

<div class="wp_syntax"><div class="code"><pre class="bash" style="font-family:monospace;"><span style="color: #c20cb9; font-weight: bold;">su</span>
<span style="color: #7a0874; font-weight: bold;">cd</span> fuppes<span style="color: #000000; font-weight: bold;">/</span>
<span style="color: #c20cb9; font-weight: bold;">svn</span> update
<span style="color: #c20cb9; font-weight: bold;">make</span>
<span style="color: #c20cb9; font-weight: bold;">make</span> <span style="color: #c20cb9; font-weight: bold;">install</span></pre></div></div>

<p>(if adding more dependencies/codecs/plugins, need to autoreconfigure, and set the ./configure parameters again (from earlier PLUS any new ones)</p>
<p>LINKS:</p>
<p><a title="Ubuntu Fuppes HowTo" href="http://ubuntuforums.org/showthread.php?t=1310511" rel="external">Ubuntu Forums &#8211; HOWTO</a> (accurate but not complete for my needs)</p>
<p><a title="Server Servers blog HowTo" href="http://server-servers.com/ubuntu-9-10-karmic-compile-fuppes-media-server-from-source/" rel="external">Server Servers blog &#8211; HOWTO</a> (complete options but outdated and some corrections)</p>
<p><a title="Fuppes Wiki instructions" href="http://fuppes.ulrich-voelkel.de/wiki/index.php?title=Compiling_on_Linux" rel="external">Fuppes Wiki</a> (base compile instructions, not complete for my needs)</p>
<p>UPDATE: note sure if this works the same in Ubuntu Lucid&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisnovoa.com/install-fuppes-0-661-on-ubuntu-9-10-karmic-x64/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chrisnovoa.com/install-fuppes-0-661-on-ubuntu-9-10-karmic-x64/</feedburner:origLink></item>
		<item>
		<title>MySQL – Excellent performance with good planning</title>
		<link>http://feedproxy.google.com/~r/MostShallowDepths/~3/peEg2HrBEdo/</link>
		<comments>http://www.chrisnovoa.com/mysql-excellent-performance-with-good-planning/#comments</comments>
		<pubDate>Fri, 31 Jul 2009 10:36:50 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[efficiency]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[scripting]]></category>

		<guid isPermaLink="false">http://www.chrisnovoa.com/?p=347</guid>
		<description><![CDATA[This is nothing new to add to the world of comparisons, but I felt it worth clarifying a few points that I &#8211; someone who&#8217;s not a complete pro, yet not a novice &#8212; I&#8217;d say intermediate developer &#8211; have learned about working with MySQL in terms of when to use what and improving efficiency [...]]]></description>
			<content:encoded><![CDATA[<p>This is nothing new to add to the world of comparisons, but I felt it worth clarifying a few points that I &#8211; someone who&#8217;s not a complete pro, yet not a novice &#8212; I&#8217;d say intermediate developer &#8211; have learned about working with MySQL in terms of when to use what and improving efficiency based on an average of all information researched, and the results I achieved.</p>
<p>Normally, most of my work has been with small low traffic websites for various small businesses where efficiency planning was mostly too time consuming for the cost. Recently have been working on higher traffic applications and after running into a &#8220;too many connections&#8221; issue during peak hours tried many initial steps at alleviating the problem, such as increasing efficiency in my database abstraction class (starting with lazy loading), and releasing result sets asap among a few others. Each step added a performance gain, but not until all matters were taken into account did it make a difference.</p>
<p>These changes quickly formed into my personal list of best practices and good habits to get into.</p>
<p>A few  rules of thumb that have served me well: <span id="more-347"></span></p>
<ul>
<li><strong>Choose your tools, learn them well</strong>
<ul>
<li>For managing MySQL databases, I have found no other tool as indispensible as the community edition <strong>MySQL Query Browser</strong> and <strong>MySQL Administrator</strong> bundle. I prefer this to phpMyAdmin. <a href="http://dev.mysql.com/downloads/gui-tools/5.0.html">MySQL GUI tools</a>, for OS X <a href="http://www.sequelpro.com/">Sequel Pro</a>
<ul>
<li>Building and testing queries</li>
<li>writing, editing, automatically output table create/alter scripts</li>
<li>manually editing/manipulating data in tables directly in the results view</li>
<li>visually editing tables and schemas</li>
</ul>
</li>
<li>For creating complex schemas, reverse engineering existing schemas and much more, the <strong>MySQL Workbench<br />
</strong></li>
</ul>
</li>
<li><strong>Use the right database engine for the right task&#8230; Namely: InnoDB vs MyIsam</strong>
<ul>
<li>While the latest MySQL default of MyIsam truly is usually the best option, there are times when others have advantages.<br />
It	took	a lot of research to build a clear answer of which is appropriate when, since they both have their advantages.</p>
<ul>
<li>InnoDB should be used when your application is going to be writing to a table more than reading &#8211; reading can sometimes be substantially slower than MyIsam</li>
<li>MyIsam should be used when your application will be reading from a table more than writing. Reading is extremely fast using this engine.</li>
<li>For situations of high concurrency, that is, a close ratio of reads to writes such as in an application that writes to a log and uses that log during normal operation it is necessary to think ahead. Depending on how the logs will later be used on the back end, it is wise to keep a table of live log data, and then periodically, say once a night, dump those logs into a concise snapshot for reading stats, then archive the logs to another table if they must be kept. This way, your live table never has to go through thousands if not millions more records as the days pass.</li>
</ul>
</li>
<li>MyIsam is usually the winner in high concurrency situations (with proper table planning), because generally actively seeking records takes importance over writing/updating a record so it can be slightly lazier about writing &#8211; particularly if you need to do frequent COUNTS() and <strong>In such a situation, I usually end up with the following schema outline:</strong>
<ul>
<li><strong>logs_live </strong>- MyIsam<br />
used actively by the application for normal operations and to read out live stats. Some identifying information be it an IP or userid &#8212; Always stored as long/unsigned int to be used for maintaining a longer record of users</li>
<li><strong>logs_archive</strong> &#8211; InnoDB<br />
if necessary to maintain logs, this table gets all the log records for the day during the nightly dump, InnoDB allows it to be written to fast</li>
<li><strong>logs_checks </strong>- MyIsam<br />
This is a table that is used for normal operation but stores abridged and longer-lived list of records derived from or  written simultaneously as the live log &#8211; for verification checks for a user against the log, this table is used instead of the live log. Any necessary counts are stored and incremented in this table. This table serves as a stripped down memory for the log that lasts beyond nightly archival.</li>
<li><strong>logs_snapshots</strong> &#8211; MyIsamthis table contains a prepared enumeration of daily stats with required counts and evaluations grouped by date and data set. used only by the statistics portion of the application, it leaves the logging tables free to do their job while reading out stats during program operation. If more stats are later needed, they can be compiled incrementally from the archives</li>
</ul>
</li>
</ul>
</li>
<li><strong>There is a time and a place for Normalization</strong>
<ul>
<li>Proper normalization is very important but doesn&#8217;t always have to add unnecessary complexity to a simple application. I have seen some instances of over-normalization where data was actually too abstracted which resulted in far slower (both to build and run) queries  to pull the data together and actually proved detrimental while providing no additional flexibility to the application. This is where the KISS (keep it simple, stupid!) principle definitely applies &#8212; Your application flow will dictate what needs to be normalized. If you must, start with big  tables containing the data as it will be needed, and break off columns to new tables as required; when you start dealing with duplicate records, evaluate if there should actually be many records to one (i.e. one user may have many entries in a program, but you wouldn&#8217;t store all of the user&#8217;s details in all of the entry tables &#8211; imagine updating the user details later!)</li>
<li>- it may prove useful later to see the original complete table layout when building your JOIN statements, so work on your efficiency/flexibility, but keep a record of your original plans to avoid over-complicating your work.</li>
</ul>
</li>
<li><strong>Connections to your DB: Be lazy; Open late, open sparingly and close early</strong>
<ul>
<li>Generally, script execution is so fast that database connections are opened and closed (as PHP closes the connection at the end of script execution) almost instantly after working with your records but as your traffic starts to increase, queries start to get queued and table/row locking becomes a problem as it will start to keep connections open until the query completes.</li>
<li> Many people make the mistake either in a database abstraction layer or in their script of opening a connection to the db at the start of execution which will be reused throughout. In low traffic situations, this is fine, and makes development easier in general, but when traffic picks up, those few milliseconds that each connection is opened earlier than needed start to add up &#8211; exponentially as query processes start to queue up, eventually reaching the point where even a server configured to allow unlimited connections will result in an error of too many connections, and PHP will complain with a &#8220;Too many connections&#8221; error creating an intermittent failure point.</li>
<li>NOTE:  In general, when allowing unlimited connections, the reality is that it is limited to the number of threads the server can support for that process &#8211; usually 500-1000 for linux (more likely 500 simultaneous connections)</li>
<li>Open the connection ONLY on your first query and reuse it thereafter, clearing the result set as soon as possible.</li>
<li>Always explicitly reference the connection resource in your script&#8217;s query function if potentially working with different schemas in one script to ensure that you are working with the right connection. Don&#8217;t rely on PHP to figure it out for you.</li>
</ul>
</li>
<li><strong>Be picky. ONLY retrieve necessary columns</strong>
<ul>
<li>Make a practice out of this and if at all possible, try to use numeric indexes for those columns in your script &#8211; set them to variables if you must. but be selective regardless.</li>
<li>On a highly active table it makes no sense to issue a SELECT * FROM query on a table with say 10 columns, when you only need to retrieve 2 for your result set. while it may be faster while writing your code, you&#8217;ll pay for it in performance, especially when running COUNT(*) queries &#8211; choose one column to count such as a primary key column, and remember that NULL values don&#8217;t get counted.</li>
<li>It will save time and memory in MySQL having to return every field from the rows, and in your PHP script having to store (even if only for an instant) the extra unnecessary data in your results array.</li>
</ul>
</li>
<li><strong>Sometimes fetching many records is just as fast as fetching just one</strong>
<ul>
<li>When your application must loop through a list of records from one or many tables, it often ends  up being relatively faster to retrieve a resultset for expected records and manipulating the resulting array in PHP rather than retrieving one record at a time in the loop &#8211; at the cost of memory/processor usage, but as long as you&#8217;re unsetting your variables as you go, PHP should handle the memory well.</li>
</ul>
</li>
</ul>
<p>I have found that there is RARELY ever a reason under normal circumstances that there should be a &#8220;long running query&#8221; on a decent production grade server if you have planned your tables, sql queries, and application logic to work together efficiently for the flow of work and workload necessary &#8211; until the physical resource limitations on the server are reached.</p>
<p>The application should deal with manipulating and presenting data, MySQL should obviously deal with storing and retrieving that data but it sometimes helps to prepare data as it&#8217;s stored/retrieved (such as dates) when the actual data is not stored in the same format as it will be used and the more you can help either do their job the better your outcome.</p>
<p>While it always helps to have separate physical machines in a cluster for the database hosting and the web server, not taking into account any future need for database replication or other ways of dealing with higher traffic levels, most developers I have encountered start off constrained to a shared hosting environment or a dedicated server which hosts all services and only when there is a major issue is scalability addressed, so it&#8217;s essential to work smart before needing additional hardware to make the most of what&#8217;s already there and build a reputation of fast, responsive applications.</p>
<p><strong>Eventually there should be balance of proper table/schema construction along with matching efficiency in the strengths of each db engine and query building. </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisnovoa.com/mysql-excellent-performance-with-good-planning/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		<feedburner:origLink>http://www.chrisnovoa.com/mysql-excellent-performance-with-good-planning/</feedburner:origLink></item>
		<item>
		<title>Brandie’s Baby Shower and New Orleans with Devin &amp; Chad</title>
		<link>http://feedproxy.google.com/~r/MostShallowDepths/~3/z9q1ss9kw-s/</link>
		<comments>http://www.chrisnovoa.com/brandies-baby-shower-and-new-orleans-with-devin-chad/#comments</comments>
		<pubDate>Sat, 18 Jul 2009 07:21:14 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[My Life]]></category>
		<category><![CDATA[Brandie]]></category>
		<category><![CDATA[Chad]]></category>
		<category><![CDATA[Devin]]></category>
		<category><![CDATA[good times]]></category>
		<category><![CDATA[New-Orleans]]></category>
		<category><![CDATA[Tanya and Dorise]]></category>

		<guid isPermaLink="false">http://www.chrisnovoa.com/?p=340</guid>
		<description><![CDATA[To recap with the bad first, during my trip through Houston, Baton Rouge and New Orleans, I accumulated two speeding tickets worth $450 total, neither of which ended up on my driving record thankfully. Everything else was great! Would also mark my meeting of Chad. After spending a good amount of time at Bush Intercontinental [...]]]></description>
			<content:encoded><![CDATA[<p>To recap with the bad first, during my trip through Houston, Baton Rouge and New Orleans, I accumulated two speeding tickets worth $450 total, neither of which ended up on my driving record thankfully. Everything else was great! Would also mark my meeting of Chad.</p>
<p>After spending a good amount of time at Bush Intercontinental figuring out which rental place was best suited to our rental situation, we left with a Pontiac G6 with terrible alignment. Car was decent, steering on acceleration, however, was dangerous.</p>
<p>We drove into Baton Rouge from Houston around 4am without having researched much in the way of lodging. Ended up at the Ramada Inn on Airline Hwy. Not a very impressive stay but for the price and timing, it had to do.</p>
<p>We got the keycard to our room. Much to our shock on walking in sleepy heads popped up in alarm. NOT vacant. For this error, we got two rooms for the price of one. Didn&#8217;t really matter the rooms were pretty dingy &#8211; namely the bathrooms &#8211; Sleep is sleep [as long as no strangers walk in to startle you].</p>
<p>The reunion at Brandie&#8217;s baby shower was a nice reunion of friends spanning the past 13 years. The blend of all personalities now more mature and remembering years ago &#8211; crises and fun times. We spent latter part of the day enjoying familiar company and catching up. It&#8217;s been a while.</p>
<p>We stayed the night in Kenner at the Airport Motel 6. Affordable and decent accommodations. Sleep once again came easily. I ate a Sonic Burger and an ocean splash from Sonic which I believe gave me a stomach virus or some other related malady which lasted for several days. Devin and Chad had wendys and a chili frito something from sonic washed down with Coconut Vanilla Cokes spiked with Bacardi Malibu, pretty good combination for the drink might I add.</p>
<p>An ordinary Sunday in New Orleans, but the best day in the quarter I&#8217;ve had in a lifetime of going, and one of the best days I&#8217;ve had in a while in general.</p>
<p>Started with some walking around and a lot of picture taking. Of course, the only way I can start my day in the quarter is with a morning daiquiri &#8211; not that I really ever drink but, it&#8217;s refreshing. $9 daiquiris is a bit excessive as a start, totally worth it. I got Vampire Blood (strawberry, grape, everclear and vodka) delish. Devin got an awesome Absinthe daiquiri and Chad mango.</p>
<p>Next stop, Cafe Du Monde, of course for greasy breakfast beignet goodness.</p>
<p>The weather was perfect, sunny, cool breeze (though still a cause for sweating, it wasn&#8217;t sweltering as it can be most of the time).</p>
<p>Finding a table, daunting as always but a good one we did find. Apparently this spot with the nearby entertainment amounted to a time warp, where the passage of time slowed.</p>
<p>Talking, listening to the amazing sound of acoustic guitar and violin of� <a href="http://www.tanyahuang.com/" rel="external">Tanya &amp; Dorise</a>.</p>
<p>There was something that had to be done to make them play some famous Nintendo song &#8211; Devin was DIEING to hear it. Eventually Chad stepped up to the plate, jumping over the seating area railing (splashing us with New Orleans muck from under a lose slate tile on the sidewalk) and asking them. He also purchased a CD. The Super Mario theme on violin played Perfectly and impromptu. I think Devin&#8217;s life up to that point was validated immediately.</p>
<p>They played so passionately, most who passed went on with a smile. It was moving, and captivating.</p>
<p>After that was hanging out with Brandie again before heading home. We wandered around downtown Baton Rouge for a little while before heading off to eat at brewbachers and then to visit Jason&#8217;s house as I&#8217;d not yet been. Had to stop and get another round of daiquiri first. This time it was Jungle Juice for me, Fudgesicle for Chad and Devin as usual being adventurous got a smoothie daiquiri comprised of� fudgesicle, banana and white russian mixture (kahlua / cream).</p>
<p>No trouble sleeping after the drive back to Houston. Crashed at Devin&#8217;s, pretty good sleep.</p>
<p>Woke up at 10am on Monday morning, got ready for the day and headed out to return the car and pick up my own.</p>
<p>Went out to eat with Andrea, Devin and Chad, and walked around Hong Kong city mall for a few hours. Then it was back to Austin for me.</p>
<p>What a great weekend.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisnovoa.com/brandies-baby-shower-and-new-orleans-with-devin-chad/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chrisnovoa.com/brandies-baby-shower-and-new-orleans-with-devin-chad/</feedburner:origLink></item>
		<item>
		<title>__PHP_Incomplete_Class as array</title>
		<link>http://feedproxy.google.com/~r/MostShallowDepths/~3/Fuz425YciSs/</link>
		<comments>http://www.chrisnovoa.com/__php_incomplete_class-as-array/#comments</comments>
		<pubDate>Wed, 03 Jun 2009 19:34:31 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[error]]></category>
		<category><![CDATA[fatal error]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[scripting]]></category>
		<category><![CDATA[solutions]]></category>

		<guid isPermaLink="false">http://www.chrisnovoa.com/?p=334</guid>
		<description><![CDATA[Regarding something to which I found no straight answer in 8 pages of google results: &#8220;Fatal error: Cannot use object of type __PHP_Incomplete_Class as array in&#8221; The offending line was the first instance of a session variable with a certain key name: if (!isset($_SESSION['user'][0])) { $_SESSION['user'][0] = 0; } On the development server there were [...]]]></description>
			<content:encoded><![CDATA[<p>Regarding something to which I found no straight answer in 8 pages of google results:</p>
<p><strong>&#8220;Fatal error: Cannot use object of type __PHP_Incomplete_Class as array in&#8221;</strong></p>
<p>The offending line was the first instance of a session variable with a certain key name:</p>
<pre>if (!isset($_SESSION['<strong>user</strong>'][0])) { $_SESSION['<strong>user</strong>'][0] = 0; }</pre>
<p>On the development server there were no problems, but put on the demo shared server over which I have no control, the error appeared. I scoured the internet for the solution but it seems anyone who has this problem never really gets a straight answer &#8211; and it seems to come up a fair bit. Incidentally, it seems to be related usually to login/user/session management scripts since certain keywords are fairly common in those situations.</p>
<p>Frustrated, as a last ditch attempt I changed it to:</p>
<pre>if (!isset($_SESSION['<strong>usrinf</strong>'][0])) { $_SESSION['<strong>usrinf</strong>'][0] = 0; }</pre>
<p>The problem was solved instantly.</p>
<p>Turns out it was the key &#8220;user&#8221; which was the problem in the hosting environment.<strong> </strong></p>
<p><strong>So if anyone has this issue, do a find/replace of all instances of the session variable </strong><strong>key</strong><strong> located in the line indicated by the error </strong><strong> to something more unique </strong><strong>.</strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisnovoa.com/__php_incomplete_class-as-array/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chrisnovoa.com/__php_incomplete_class-as-array/</feedburner:origLink></item>
		<item>
		<title>The audacity!</title>
		<link>http://feedproxy.google.com/~r/MostShallowDepths/~3/8g1-4POtYQY/</link>
		<comments>http://www.chrisnovoa.com/the-audacity/#comments</comments>
		<pubDate>Sun, 31 May 2009 05:39:08 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[shallow]]></category>
		<category><![CDATA[Bush]]></category>
		<category><![CDATA[Obama]]></category>
		<category><![CDATA[Politics]]></category>
		<category><![CDATA[rant]]></category>

		<guid isPermaLink="false">http://www.chrisnovoa.com/?p=318</guid>
		<description><![CDATA[I usually could care less about any politics but this really made my blood boil for a moment. In regards to President Obama fulfilling a pre-election promise to take wife to broadway show in New York: &#8220;Republicans characterised the trip as insensitive and wasteful against the backdrop of US car giant General Motors preparing for [...]]]></description>
			<content:encoded><![CDATA[<p>I usually could care less about any politics but this really made my blood boil for a moment.</p>
<p>In regards to President Obama fulfilling a pre-election promise to take wife to broadway show in New York:</p>
<blockquote><p><strong>&#8220;Republicans characterised the trip as insensitive and wasteful against the backdrop of US car giant General Motors preparing for an expected bankruptcy. </strong></p>
<p>White House aides and media accompanied the first couple on their private date.</p>
<p><!-- E SF -->The president and first lady travelled to New York in a smaller plane than the regular Air Force One 747.<strong>&#8221; <em>- BBC News</em></strong></p>
<p><strong><em>&#8212;<br />
</em></strong></p>
<p>&#8220;The White House declined to say how much the trip was costing taxpayers, and even before the smaller jet left Washington, the there-and-back trip drew criticism from the Republican National Committee. The RNC issued a news release that chastised Obama for saying he understands American&#8217;s troubles, but then hopping up to New York for &#8220;a night on the town.&#8221;</p>
<p>Noting that General Motors is expected to file for Chapter 11 protection on Monday, the news release said: &#8216;Putting on a show: Obamas wing into the city for an evening out while another iconic American company prepares for bankruptcy.&#8217;&#8221;<em>- <strong>Washington Post</strong></em></p>
<p><em>&#8212;<br />
</em></p>
<p>&#8220;While the Obamas� visit to New York was considered private, there was some very public criticism of the trip. In a press release that was issued on Saturday afternoon with the headline �Putting on a Show,� the Republican National Committee suggested that the outing was inappropriate and that Mr. Obama <em><strong>was out of touch</strong></em>, especially given the looming bankruptcy of General Motors.&#8221; <em>- <strong>NY Times</strong></em></p></blockquote>
<p>Quite frankly, I&#8217;m appalled� yet not very impressed with the hypocrisy. Those republicans never really seem to have something worth talking about unless it&#8217;s profitable &#8212; It wasn&#8217;t even a private date! Nor did they take the big plane! <span id="more-318"></span></p>
<p>True the bankruptcy of any of the major car manufacturers is an acute systemic calamity and requires close attention.<strong> But let&#8217;s be fair!</strong> Need we recall the delay in response during a major natural catastrophe and humanitarian crisis in 2005 in the south east U.S., against the backdrop of former President W. Bush&#8217;s excessively frequent and lengthy month+ long vacations to their ranch in Crawford, TX &#8211; in wartime, during the greatest fiscal malfunctions in decades.</p>
<p>I would be so bold to say that while I was skeptical at first, I&#8217;ve been impressed with President Obama&#8217;s fervor and direct approach. I would almost be led to believe he&#8217;s so far done more useful work in his first 5 months than W. Bush did in his entire tenure, but then considering that out of 8 years in office he spent <strong>well over a year on vacation</strong> &#8211; we should all be so lucky to have so much vacation time! Now I&#8217;ll be fair and say it&#8217;s easy to focus the blame on one figurehead when really the whole party and then some are to blame but all in all that&#8217;s what it seemed to end on &#8211; just being a puppet with a misguided and poorly worded agenda.</p>
<p>I seem to remember so many instances of hearing &#8220;The president has returned from his vacation home in Crawford, TX to address the situation.&#8221; &#8230; <strong>I think one night on the town is OK.</strong></p>
<p>What trite, divisive, opinionated, childish and primitive people the republican party. For being such avidly self professed and devout Christians by statement, they sure do have a penchant to criticize before minding their own follies. They truly do build their own case against themselves.</p>
<p><a href="http://news.bbc.co.uk/2/hi/americas/8075618.stm" rel="external">BBC News &#8211; Obamas enjoy a date on broadway </a></p>
<p><a href="http://www.washingtonpost.com/wp-dyn/content/article/2009/05/30/AR2009053000919.html">Washington Post</a></p>
<p><a href="http://www.nytimes.com/2009/05/31/nyregion/31obama.html">New York Times </a></p>
<p><a href="http://thinkprogress.org/2008/03/03/452/" rel="external">452 days in Crawford Texas</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisnovoa.com/the-audacity/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chrisnovoa.com/the-audacity/</feedburner:origLink></item>
		<item>
		<title>How i get to work when excuses to not abound…</title>
		<link>http://feedproxy.google.com/~r/MostShallowDepths/~3/U5c7VJZ2NMM/</link>
		<comments>http://www.chrisnovoa.com/how-i-get-to-work-when-excuses-to-not-abound/#comments</comments>
		<pubDate>Mon, 18 May 2009 11:13:14 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[anxiety]]></category>
		<category><![CDATA[caffeine]]></category>
		<category><![CDATA[inspirational]]></category>
		<category><![CDATA[job]]></category>
		<category><![CDATA[life]]></category>
		<category><![CDATA[neurosis]]></category>
		<category><![CDATA[procrastination]]></category>
		<category><![CDATA[sleep]]></category>
		<category><![CDATA[stress]]></category>
		<category><![CDATA[sugar]]></category>
		<category><![CDATA[tactics]]></category>
		<category><![CDATA[tired]]></category>
		<category><![CDATA[work]]></category>

		<guid isPermaLink="false">http://www.chrisnovoa.com/317_how-i-get-to-work-when-excuses-to-not-abound</guid>
		<description><![CDATA[Or: how an avid procrastinator finally gets to work. Often severe spells of procrastination are spurred on by a feeling of being overwhelmed by a project, disorganized and generally making a mountain out of a molehill, even if it is a big project. This isn&#8217;t even addressing any tendencies to simply be lazy which ultimately [...]]]></description>
			<content:encoded><![CDATA[<h3><strong>Or: how an avid procrastinator finally gets to work. </strong></h3>
<p>Often severe spells of procrastination are spurred on by a feeling of being overwhelmed by a project, disorganized and generally making a mountain out of a molehill, even if it <em>is</em> a big project.</p>
<p>This isn&#8217;t even addressing any tendencies to simply be lazy which ultimately must be overcome at ones own expense. My trick to this is to brainstorm on something that will motivate me to complete the job &#8211; typically the reward at the end but more often than not it isn&#8217;t the reward that is more motivating but the &#8216;hunger&#8217; in the meantime &#8212; rent/bills are due, something important needs to be taken care of, etc. This is not even taking into account any actual deadlines.</p>
<p>As far as I know, the greatest motivators in the world are hunger and ego. Hunger is a metaphor for any immediate need but can be taken literally in certain circumstances and ego expresses the need to prove ones worth and place in the world. These are, however, only a motivating factors when working out of a rut or starting from the bottom. <strong>Motivation becomes increasingly difficult as NEEDS become WANTS and WANTS are more easily attained </strong>at which time incessant boredom sets in and once frivolous or extraneous ordeals become the primary focus.</p>
<h3><strong>Too much stress, not enough being done about it </strong></h3>
<p>One of my greatest problems comes in feeling overwhelmed because of the project at hand PLUS a looming responsibility such as debt and other such things. This paralyzing combination have to be separated and dealt with in turn otherwise they will create a complete creative blockage wherein a feedback loop ensues &#8211; <strong>can&#8217;t work cause I&#8217;m stressed, stressed cause I&#8217;m not working and things are due</strong>.</p>
<h3><strong>There are 5 conditions under which I do not function well: </strong></h3>
<ol>
<li>tired</li>
<li>hungry</li>
<li>sexually frustrated</li>
<li>temperature discomfort (too cold / too hot)</li>
<li>constipated/bloated &#8211; laugh if you must but it&#8217;s a real problem for many</li>
</ol>
<p>the third item may seem a vulgar and exaggerated issue and for some people may not ever be an issue (i am a man after all, let&#8217;s be honest), but in reality these concerns are primal needs and when unsatisfied will forcefully and involuntarily take precedence over intellectual endeavors, &#8212; this is to say it&#8217;s entirely possible to get the job done, but coming back later under different circumstances to look over my work, I find I either did not work efficiently and could have worked faster having made poor structural choices when scripting or programming, or poor design/layout choices.</p>
<p>The worse part is that these issues compound and affect each other. That is, tired produces crankiness and a sense of discouragement. Sexually frustrated makes one tense disagreeable and easily distracted (which is actually the lesser of the 5 issues)� plus if you take care of that, you could then be tired. Uncomfortable temperature and being tired will cause internal temperature fluctuations and ultimately make me feel sick and worn out. Too cold makes me sleepy and lethargic &#8211; OR frisky and restless, too hot makes me irritable and tense. Add hunger to any of these and we have a situation where all basic needs are unfulfilled and the body can only focus on attending to them.</p>
<p><em>So, the solutions?</em></p>
<h3><strong>Caffeine.</strong></h3>
<p>A special note needs to be made about caffeine. While I LOVE coffee, when I have to work, I avoid it like the plague. Instead choosing a good black or green tea which rather than specifically containing caffeine, through the action of theophylline will gradually raise alertness. An energy drink with supplemental additives such as taurine, guarana, ginseng, vitamin B6, protein, vitamin c, and natural sugar or sucralose (my preference over acesulfame K or aspartame). The sugar is an important issue even with tea. I find that high fructose corn syrup in certain energy drinks eliminates the energy boost the caffeine induces by causing a sudden spike in blood glucose levels &#8211; making me feel even more drained than before &#8211; yet restless and unable to nap if I so choose.</p>
<p>So far I have found a preference for the new Jolt (as in Jolt Cola) formulations &#8211; personally I like them all except for grape, but that&#8217;s personal preference. A major issue beyond the sugar that I&#8217;ve had with energy drinks is the medicinal aftertaste. The Jolts taste great while containing a pretty well balanced set of ingredients. A 23.5oz can lasts me all night &#8211; if I&#8217;m more thirsty than usual I have water along side it because even to consume that large can quickly would definitely create some attention difficulties while trying to concentrate.</p>
<h3><strong>Food</strong></h3>
<p>While I work, I am constantly hungry &#8211; whether my body uses this as an excuse to create a distraction is to be examined but the bottom line is that if I don&#8217;t eat about once an hour and wait until my stomach growls when doing heavy thinking I start to bog down and things get ugly. This is an apparent consequence of having a very fast metabolism and being accustomed to large amounts of carbohydrates. I get restless, then I get tired, then I start to get cold regardless of the ambient temperature and at this point any efforts to do good work are going to be in vain.</p>
<p>The problem comes about in the choice of intake while working. My persistent inclination is always candy and other sweet things &#8211; OR a big meal to satisfy the craving for-good but in my experience, the empty calories of candy will destroy my ability to concentrate and a big or heavy meal will punctuate my attempt at doing anything for at least 4 hours.</p>
<p>My favorite thing to do is to have 2 half sandwiches, specifically tuna sandwiches any time I get a craving &#8211; around every hour to hour and a half.</p>
<p>Why two half sandwiches and not one whole? Because eating two halves fools me into thinking that I&#8217;m eating more than I actually am while not getting too full as result, thereby addressing my latent gluttony.</p>
<p>If for example, my issue is that I&#8217;m hungry but I feel full &#8211; a strange feeling but it happens (usually if I haven&#8217;t made a regular bowel movement),� I may choose to eat a bowl of frosted mini wheats or cheerios (i use soy milk to avoid feeling bloated- this is another issue altogether) or any other high fiber moderately sweet cereal or make a bowl of oatmeal depending on the climate or immediate preference. Wash it down with water and two problems will soon be solved.</p>
<h3><strong>Sleep</strong></h3>
<p>When I&#8217;m working and tired, my want for sleep will invariably win &#8212; I will rationalize and convince myself that after a certain amount of work, I DESERVE to sleep which usually amounts to committing a very small amount of work before getting frustrated and going to sleep.</p>
<p>Instead� what I usually find will work, given that I for my whole life have never had a set steady sleep schedule is that <strong>rather than fight the sleep and waste time trying to work</strong>, I&#8217;ll:</p>
<ol>
<li>have a small but satisfying meal</li>
<li>drink a small cup of black or green tea</li>
<li>chase those with water</li>
<li>set an alarm clock for one and a half hours to 3 hours</li>
<li>doze off while organizing my thoughts on where to start and the step immediately following, with the mindset that when the alarm goes off, I will wake, and do nothing but that one first step and take it from there.</li>
</ol>
<p>Usually this works. If for any reason it does not, there is something else amiss and really needs to be evaluated.</p>
<p>Once the ball gets rolling and I achieve the first immediate milestone, such as getting past the starting point and laying down an initial plan PLUS an initial structure the rest comes easily and naturally up to reaching a stopping point. <strong>Once the motivation finally hits, I just let it pull me as far as I can physically manage.</strong> Sometimes working for 72 hours straight with only 2 or 3 hour naps every 18 hours.</p>
<p>&#8211;Always stop all caffeine consumption at least 4 hours before attempting to go to sleep or else <strong>just like trying to work while tired, trying to sleep while wired is counterproductive. </strong></p>
<p>After which I will probably feel ragged and may then sleep a whole day &#8211; well, maybe 12 hours straight and another few hours after waking up, potty break, and drinking a bunch of water/eating until I feel refreshed and bright eyed (in other words, sleep until my eyes just PING open) &#8212; this sleep diet usually addresses the issue of caffeine tolerance which happens quickly as it will all work its way out of my system.</p>
<p><strong>Wake up, shower, shave, eat, take care of any pending real-world matters then the whole process can repeat. </strong></p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisnovoa.com/how-i-get-to-work-when-excuses-to-not-abound/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chrisnovoa.com/how-i-get-to-work-when-excuses-to-not-abound/</feedburner:origLink></item>
		<item>
		<title>WinSCP Ftp for windows</title>
		<link>http://feedproxy.google.com/~r/MostShallowDepths/~3/re3IaGtT2rE/</link>
		<comments>http://www.chrisnovoa.com/winscp-ftp-for-windows/#comments</comments>
		<pubDate>Tue, 05 May 2009 16:05:40 +0000</pubDate>
		<dc:creator>Topher</dc:creator>
				<category><![CDATA[General]]></category>
		<category><![CDATA[freeware]]></category>
		<category><![CDATA[ftp]]></category>
		<category><![CDATA[review]]></category>
		<category><![CDATA[Software]]></category>
		<category><![CDATA[WinSCP]]></category>

		<guid isPermaLink="false">http://www.chrisnovoa.com/315_winscp-ftp-for-windows</guid>
		<description><![CDATA[If you like to be able to simply drag and drop between windows explorer folders and programs WinSCP is the program to have. In fact, even if you like the standard dual pane local &#124; remote setup it&#8217;s there as well. A Must Have for anyone who goes back and forth between Mac (and is [...]]]></description>
			<content:encoded><![CDATA[<p>If you like to be able to simply drag and drop between windows explorer folders and programs <a href="http://winscp.net" title="Go to WinSCP">WinSCP</a> is the program to have.</p>
<p>In fact, even if you like the standard dual pane local | remote setup it&#8217;s there as well.</p>
<p>A Must Have for anyone who goes back and forth between Mac (and is used to the simplicity of Cyberduck)and PC. The security connectivity features which it is named for are excellent.</p>
<p>Best of all, it can easily be used as a portable ftp client.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.chrisnovoa.com/winscp-ftp-for-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		<feedburner:origLink>http://www.chrisnovoa.com/winscp-ftp-for-windows/</feedburner:origLink></item>
	</channel>
</rss>

