<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	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/"
	>

<channel>
	<title>Narkaleptic Thoughtless &#187; Josh</title>
	<atom:link href="http://josh.mainelan.net/author/admin/feed/" rel="self" type="application/rss+xml" />
	<link>http://josh.mainelan.net</link>
	<description>Random nonsense from the mind of Narkaleptic.</description>
	<lastBuildDate>Wed, 02 Sep 2009 18:29:18 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.8.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>PHP 5.3 symlink() in Windows Vista and Server 2008</title>
		<link>http://josh.mainelan.net/2009/06/php-5-3-symlink-in-windows/</link>
		<comments>http://josh.mainelan.net/2009/06/php-5-3-symlink-in-windows/#comments</comments>
		<pubDate>Wed, 17 Jun 2009 15:22:40 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[mklink]]></category>
		<category><![CDATA[php 5.3]]></category>
		<category><![CDATA[policy]]></category>
		<category><![CDATA[secpol.msc]]></category>
		<category><![CDATA[symlink]]></category>
		<category><![CDATA[windows 7]]></category>
		<category><![CDATA[windows vista]]></category>

		<guid isPermaLink="false">http://josh.mainelan.net/?p=87</guid>
		<description><![CDATA[I just discovered that Vista can create symbolic links via the command mklink!  It performs the same thing as ln in linux with both hard and soft links.  My understanding of links is fairly limited but I use them on my web server to apply seam-less templates.  Until now, this was something [...]]]></description>
			<content:encoded><![CDATA[<p>I just discovered that Vista can create symbolic links via the command <code>mklink</code>!  It performs the same thing as <code>ln</code> in linux with both hard and soft links.  My understanding of links is fairly limited but I use them on my web server to apply seam-less templates.  Until now, this was something that I could only test on my web server and not my Windows 7 development PC.  PHP 5.3 automatically uses the <code>mklink</code> command when you use <code>symlink()</code> but the problem comes with enabling it in Windows Vista or 7.</p>
<p>If you pull up a command prompt and try to use mklink, you&#8217;ll see something like this:<br />
<code><br />
D:\Web>mklink /D nnnnn.com\content templates\bluemoon<br />
You do not have sufficient privilege to perform this operation.<br />
</code><br />
Or PHP will throw this back at you:<br />
<code><br />
Debug Warning: /includes/templates.inc.php line 78 - symlink() [<a href='function.symlink'>function.symlink</a>]: Cannot create symlink, error code(1314)<br />
</code></p>
<p>To fix this:</p>
<ol>
<li>Bring up your run box, type &#8220;<code>secpol.msc</code>&#8221; and click OK.</li>
<li>Navigate under the Security Settings \ Local Policies \ User Rights Assignment folder.</li>
<li>Find &#8220;Create symbolic links&#8221; and add the Users group to it.</li>
</ol>
<p>I think you need to restart your computer or something after doing this.</p>
]]></content:encoded>
			<wfw:commentRss>http://josh.mainelan.net/2009/06/php-5-3-symlink-in-windows/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Install PHP 5.3.0 on CentOS 5 as CGI along side PHP 5.2.9</title>
		<link>http://josh.mainelan.net/2009/06/php-5-3-on-centos-5-as-cgi/</link>
		<comments>http://josh.mainelan.net/2009/06/php-5-3-on-centos-5-as-cgi/#comments</comments>
		<pubDate>Tue, 16 Jun 2009 23:37:35 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[centos 5]]></category>
		<category><![CDATA[php 5.3]]></category>

		<guid isPermaLink="false">http://josh.mainelan.net/?p=74</guid>
		<description><![CDATA[Well, turns out I&#8217;d rather play with just PHP 5.3 RC4 for now.  Here is my guide to installing it onto my CentOS 5 64-bit VPS from 1&#038;1.

Update: PHP 5.3.0 has been released and there are some changes.

It went pretty smoothly.  Here is the guide, minus the hours of trial and error, of [...]]]></description>
			<content:encoded><![CDATA[<p>Well, turns out I&#8217;d rather play with just PHP 5.3 RC4 for now.  Here is my guide to installing it onto my CentOS 5 64-bit <a href="http://en.wikipedia.org/wiki/Virtual_private_server">VPS</a> from <a href="http://order.1and1.com/xml/order/VpsRoot">1&#038;1</a>.<br />
<br />
<strong>Update:</strong> PHP 5.3.0 has been released and there are some changes.<br />
<br />
It went pretty smoothly.  Here is the guide, minus the hours of trial and error, of course:<br />
<br />
<strong>First</strong>, install anything you may need to compile with.<br />
<code><br />
yum install gcc gcc-c++.x86_64</p>
<p>yum install \<br />
&nbsp;	libicu-devel.x86_64 \<br />
&nbsp;	libxml2-devel.x86_64 \<br />
&nbsp;	mysql-devel.x86_64 \<br />
&nbsp;	libpng-devel.x86_64 \<br />
&nbsp;	libjpeg-devel.x86_64 \<br />
&nbsp;	curl-devel.x86_64 \<br />
&nbsp;	bzip2-devel.x86_64 \<br />
&nbsp;	gettext-devel.x86_64 \<br />
&nbsp;	gmp-devel.x86_64 \<br />
&nbsp;	pcre-devel.x86_64 \<br />
&nbsp;	freetype-devel.x86_64 \<br />
&nbsp;	gd-devel.x86_64 \<br />
&nbsp;	aspell-devel.x86_64<br />
</code><br />
<strong>NOTE:</strong> You can copy that entire block and paste it, the backslash (\) will carry the command over to the next line automatically.</p>
<p><strong>Next</strong>, make the folders for the configs and binaries.<br />
<code><br />
mkdir /usr/local/php53 /etc/php53 /etc/php53.d<br />
</code><br />
<br />
<strong>Begin</strong>, by downloading and extracting the latest snapshot.  Don&#8217;t use the file name I have below, get it fresh from <a href="http://snaps.php.net"> snaps.php.net</a>.<br />
<code><br />
cd ~<br />
wget http://us2.php.net/get/php-5.3.0.tar.bz2/from/us.php.net/mirror<br />
tar xjf php-5.3.0.tar.bz2<br />
cd php-5.3.0.tar.bz2</p>
<p># gz: tar xzf php-5.3.0.tar.gz<br />
# bz2: tar xfj php-5.3.0.tar.bz2<br />
# zip: tar xfZ php-5.3.0.zip</code><br />
<br />
<strong>Now</strong>, set up all of your configuration options.  You may want to adjust these.  To see what they mean, type: <code>./configure --help</code><br />
<code><br />
./configure \<br />
&nbsp;	--prefix=/usr/local/php53  \<br />
&nbsp;	--with-libdir=lib64  \<br />
&nbsp;	--with-config-file-path=/etc/php53  \<br />
&nbsp;	--with-config-file-scan-dir=/etc/php53.d  \<br />
&nbsp;	--with-bz2  \<br />
&nbsp;	--with-curl  \<br />
&nbsp;	--with-exec-dir=/usr/bin  \<br />
&nbsp;	--with-freetype-dir=/usr  \<br />
&nbsp;	--with-png-dir=/usr  \<br />
&nbsp;	--enable-gd-native-ttf  \<br />
&nbsp;	--without-gdbm  \<br />
&nbsp;	--with-gettext  \<br />
&nbsp;	--with-gmp  \<br />
&nbsp;	--with-iconv  \<br />
&nbsp;	--with-jpeg-dir=/usr  \<br />
&nbsp;	--with-openssl  \<br />
&nbsp;	--with-png-dir=/usr \<br />
&nbsp;	--with-pspell  \<br />
&nbsp;	--with-libexpat-dir=/usr  \<br />
&nbsp;	--with-pcre-regex=/usr  \<br />
&nbsp;	--with-zlib  \<br />
&nbsp;	--with-layout=GNU  \<br />
&nbsp;	--enable-exif  \<br />
&nbsp;	--enable-ftp  \<br />
&nbsp;	--enable-magic-quotes  \<br />
&nbsp;	--enable-sockets  \<br />
&nbsp;	--enable-sysvsem  \<br />
&nbsp;	--enable-sysvshm  \<br />
&nbsp;	--enable-sysvmsg  \<br />
&nbsp;	--enable-wddx  \<br />
&nbsp;	--with-kerberos  \<br />
&nbsp;	--enable-ucd-snmp-hack  \<br />
&nbsp;	--enable-shmop  \<br />
&nbsp;	--enable-calendar  \<br />
&nbsp;	--with-mysql=mysqlnd \<br />
&nbsp;	--with-mysqli=mysqlnd \<br />
&nbsp;	--with-pdo-mysql=mysqlnd \<br />
&nbsp;	--with-mysql-sock=/var/lib/mysql/mysql.sock \<br />
&nbsp;	--with-libxml-dir=/usr  \<br />
&nbsp;	--without-mysql  \<br />
&nbsp;	--with-gd=/usr<br />
</code><br />
<br />
<strong>Finally</strong>, compile and install!<br />
<code><br />
gmake<br />
gmake install<br />
</code><br />
<br />
<strong>Lastly</strong>, you&#8217;ll likely want to use it in Apache&#8230;  Here is how I set up my domain to use PHP 5.3:<br />
<code><br />
&lt;VirtualHost 74.208.46.111:80&gt;<br />
&nbsp;    ServerName php53.mainelan.com:80<br />
&nbsp;    ServerAlias www.php53.mainelan.com<br />
&nbsp;    UseCanonicalName On<br />
&nbsp;    ServerAdmin "webmaster@mainelan.net"<br />
&nbsp;    DocumentRoot /var/www/vhosts/php53.mainelan.com/httpdocs</p>
<p><strong>&nbsp;    # PHP 5.3<br />
&nbsp;    ScriptAlias    /php53-cgi /usr/local/php53/bin/php-cgi<br />
&nbsp;    Action         application/x-http-php53 /php53-cgi<br />
&nbsp;    AddHandler   application/x-http-php53 .php</strong></p>
<p>&nbsp; . . .<br />
</code></p>
]]></content:encoded>
			<wfw:commentRss>http://josh.mainelan.net/2009/06/php-5-3-on-centos-5-as-cgi/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Installing PHP 6 on CentOS 5</title>
		<link>http://josh.mainelan.net/2009/06/installing-php-6-on-centos-5/</link>
		<comments>http://josh.mainelan.net/2009/06/installing-php-6-on-centos-5/#comments</comments>
		<pubDate>Mon, 15 Jun 2009 12:45:28 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Guides]]></category>
		<category><![CDATA[Web Development]]></category>
		<category><![CDATA[centos 5]]></category>
		<category><![CDATA[icu]]></category>
		<category><![CDATA[libxml2]]></category>
		<category><![CDATA[php 6]]></category>
		<category><![CDATA[php6]]></category>

		<guid isPermaLink="false">http://josh.mainelan.net/?p=61</guid>
		<description><![CDATA[How I installed PHP 6 along side PHP 5.2 on my CentOS 5 VPS web server.]]></description>
			<content:encoded><![CDATA[<p>I started playing in PHP 5.3 with <a href="http://www.zend.com">Zend</a>&#8217;s Early Access 7.0 <a href="http://www.zend.com/en/products/studio/studio-7-early-access">Studio</a> and <a href="http://www.zend.com/en/products/server/downloads-ea">Server CE</a> and wanted to put it on my web server.  Problem: It isn&#8217;t released yet and the library name is &#8220;php5&#8243;, same as PHP 5.2.  I didn&#8217;t want to replace my production-ready PHP installation with a release candidate.  I&#8217;m sure that would make my clients happy about unknown security holes, yadda yadda.  The only solution is to install PHP 6 and enable it by virtual domain or directory.  Please note that it is entirely possible to install PHP 5.3 along side PHP 5.2.9 using the first as CGI, but I want to avoid the confusion.</p>
<p>My CentOS 5 64-bit server is a <a href="http://en.wikipedia.org/wiki/Virtual_private_server">VPS</a> from <a href="http://order.1and1.com/xml/order/VpsRoot">1&#038;1</a>.</p>
<p><strong>Final notes</strong> before we get started.  I did a &#8220;yum update&#8221; to bring my system to the latest everything.  And no, installing libxml2 or icu via yum won&#8217;t help you.  You can skip the gmake test, it is 7180 individual tests that can take a LOT of time on slower servers.  CentOS is based on RedHat, so this will likely work with it as well.</p>
<p><code><br />
# install the stuff you need to compile</p>
<p>yum install gcc gcc-c++.x86_64<br />
yum install mysql-devel.x86_64 libpng-devel.x86_64 libjpeg-devel.x86_64</p>
<p># compile and install icu where php6 can find it</p>
<p>mkdir /usr/local/icu<br />
wget ftp://ftp.software.ibm.com/software/globalization/icu/3.6/icu4c-3_6-src.tgz<br />
tar xkmfz icu4c-3_6-src.tgz<br />
cd icu/source<br />
./configure --prefix=/usr/local/icu<br />
gmake<br />
gmake install<br />
cd ../..</p>
<p># compile and install icu where php6 can find it</p>
<p>mkdir /usr/local/libxml2<br />
wget ftp://xmlsoft.org/libxml2/libxml2-2.7.3.tar.gz<br />
tar xkmfz libxml2-2.7.3.tar.gz<br />
cd libxml2-2.7.3<br />
autoreconf<br />
./configure --prefix=/usr/local/libxml2<br />
gmake<br />
gmake install<br />
cd ..</p>
<p># compile php6 from http://snaps.php.net<br />
# with libxml2, GD (jpeg + png) and MySQL</p>
<p># make the config path<br />
mkdir /etc/php6<br />
mkdir /etc/php6.d</p>
<p># download and extract the latest path, get it from snaps.php.net<br />
wget http://snaps.php.net/php6.0-############<br />
tar xkmfz php6.0-############<br />
cd ~/php6.0-############</p>
<p># refresh the conf<br />
autoconf</p>
<p># paste in this entire block and press enter:<br />
./configure \<br />
 --prefix=/usr/local/php6 \<br />
 --with-config-file-path=/etc/php6 \<br />
 --with-config-file-scan-dir=/etc/php6.d \<br />
 --with-icu-dir=/usr/local/icu \<br />
 --with-libxml-dir=/usr/local/libxml2 \<br />
 --with-gd \<br />
 --with-jpeg-dir=/usr/lib64 \<br />
 --with-png-dir=/usr/lib64 \<br />
 --with-zlib-dir=/usr/lib64 \<br />
 --with-mysql=mysqlnd \<br />
 --with-mysqli=mysqlnd \<br />
 --with-pdo-mysql=mysqlnd \<br />
 --with-mysql-sock=/var/lib/mysql/mysql.sock</p>
<p># alt for mysqli:  --with-mysqli=/usr/bin/mysql_config</p>
<p># compile and install.  you can skip test if you want.<br />
gmake<br />
gmake test<br />
gmake install</p>
<p># prepare configuration<br />
cp php.ini-* /etc/php6</p>
<p># and ONE of the following to set up your php.ini</p>
<p># if you plan to host pages to the outside world<br />
cp php.ini-production /etc/php6/php.ini</p>
<p># if you plan to use this installation as a test site for development<br />
cp php.ini-development /etc/php6 php.ini</p>
<p># if you have issues with mysql:<br />
ln -s /var/lib/mysql/mysql.sock /tmp/mysql.sock</p>
<p></code></p>
<p>Oh yeah, and <strong>running along side PHP 5</strong>?  Toss something like this in a new file: /etc/httpd/conf.d/php6.conf</p>
<p><code><br />
        ScriptAlias /php6-cgi /usr/local/php6/bin/php-cgi<br />
        Action application/x-http-php6 /php6-cgi<br />
        AddHandler application/x-http-php6 .php6<br />
</code></p>
<p>Now anything .php6 will run php6 as cgi.  If you have problems with CGI or MySQL, try nixing SuExec first.  If you want to use it, you&#8217;ll need to be recompile it with a special folder permission for PHP 6.</p>
]]></content:encoded>
			<wfw:commentRss>http://josh.mainelan.net/2009/06/installing-php-6-on-centos-5/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Installing/Updating APKs onto an Android Phone</title>
		<link>http://josh.mainelan.net/2009/06/installing-apks-onto-an-android-phone/</link>
		<comments>http://josh.mainelan.net/2009/06/installing-apks-onto-an-android-phone/#comments</comments>
		<pubDate>Fri, 05 Jun 2009 00:32:04 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Android]]></category>
		<category><![CDATA[adb]]></category>
		<category><![CDATA[apk]]></category>
		<category><![CDATA[batch file]]></category>
		<category><![CDATA[tricks]]></category>

		<guid isPermaLink="false">http://josh.mainelan.net/?p=43</guid>
		<description><![CDATA[While developing for Android, I found myself installing and reinstalling various .apk files.  I use Windows 7, but this applies to Windows in general.  I created a shortcut so that I can just double-click an apk and install it.
If you have the SDK setup and working, skip ahead to step 3.

Download the Android [...]]]></description>
			<content:encoded><![CDATA[<p>While developing for <a title="Official Android Website" href="http://www.android.com/">Android</a>, I found myself installing and reinstalling various <a title="Android Glossary (.apk is the first entry)" href="http://developer.android.com/guide/appendix/glossary.html">.apk</a> files.  I use Windows 7, but this applies to Windows in general.  I created a shortcut so that I can just double-click an apk and install it.</p>
<p><span id="more-43"></span>If you have the SDK setup and working, skip ahead to step 3.</p>
<ol>
<li>Download the <a title="Android 1.5 SDK, Release 2" href="http://developer.android.com/sdk/1.5_r2/index.html">Android SDK Download</a>.</li>
<li>Install using the <a title="Android SDK Install Guide" href="http://developer.android.com/sdk/1.5_r2/installing.html">Android SDK Install Guide</a>.
<ol style="padding-left: 1em;">
<li>In summary:</li>
<li>Pick a place on your HD and extract the folder.</li>
<li>Go into Control Panel \ System \ [Advanced system settings on Sidebar] \ Advanced tab \ Environment Variables \ System variables \ PATH</li>
<li>Append a semicolon (;) followed by where you extracted it to with the tools folder.<br />
IE: Path = &#8230;;&#8230;;C:\android-sdk-1.5\tools</li>
</ol>
</li>
<li>In notepad, paste the text below and save it in that tools folder as &#8220;installapk.bat&#8221;.<br />
<strong>NOTE:</strong> Make sure, in the Save As box, that you change the &#8220;Save as type&#8221;<strong> from</strong> Text Documents <strong>to</strong> All Files.  That way you don&#8217;t get a secret .txt append on there.</li>
<li>Double-click any .apk you have lying around.</li>
<li>Click &#8220;Select a program from a list of install programs&#8221;, then OK.</li>
<li>Check &#8220;Always use the selected program to open this kind of file&#8221;</li>
<li>Click Browse and select the .bat file you created.</li>
<li>Click Open and you are done!</li>
</ol>
<p><strong>Additional tip:</strong> If you always install to the emulator, add -e directly after the &#8220;adb&#8221;.  If you always install to your device, add -d after the &#8220;adb&#8221;.</p>
<pre name="code" class="c-sharp">
@ECHO OFF
ECHO Selected: %*
ECHO.
CHOICE /c:CIR /m "Install, Reinstall or Cancel? "

IF errorlevel 3 GOTO reinstall
IF errorlevel 2 GOTO install
GOTO cancel

:install
adb install %*
GOTO done

:reinstall
adb install -r %*
GOTO done

:cancel
EXIT

:done
PAUSE</pre>
]]></content:encoded>
			<wfw:commentRss>http://josh.mainelan.net/2009/06/installing-apks-onto-an-android-phone/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>JavaScript (V8 Engine) and Source</title>
		<link>http://josh.mainelan.net/2009/02/javascript-v8-engine-and-source/</link>
		<comments>http://josh.mainelan.net/2009/02/javascript-v8-engine-and-source/#comments</comments>
		<pubDate>Tue, 17 Feb 2009 13:27:34 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Game Programming]]></category>

		<guid isPermaLink="false">http://josh.mainelan.net/2009/02/17/javascript-v8-engine-and-source/</guid>
		<description><![CDATA[I decided that I would try implementing V8 with the only game engine I am familiar with: Source.  With no intention to finish the project, it should at least be a good learning experience.  But regardless, I didn&#8217;t foresee such a hindering factor&#8230;  Now, my skills are: BASIC (G/W to .NET 3.5), C/C++ (GNU to [...]]]></description>
			<content:encoded><![CDATA[<p>I decided that I would try implementing V8 with the only game engine I am familiar with: Source.  With no intention to finish the project, it should at least be a good learning experience.  But regardless, I didn&#8217;t foresee such a hindering factor&#8230;  Now, my skills are: BASIC (G/W to .NET 3.5), C/C++ (GNU to .NET), PHP (3, 4 &amp; 5), C#, SQL, HTML/CSS, Java, lua.  With one crucial thing missing&#8230;  You guess it: JavaScript.  I don&#8217;t know hardly anything about the structure of the language.  I can do a document.write like nobody&#8217;s business but beyond that, I&#8217;ve got nothing.  Another project failed before it started&#8230;. Or maybe I&#8217;ll just learn JS.</p>
]]></content:encoded>
			<wfw:commentRss>http://josh.mainelan.net/2009/02/javascript-v8-engine-and-source/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Life happens, when I get around to it.</title>
		<link>http://josh.mainelan.net/2009/02/life-happens-when-i-get-around-to-it/</link>
		<comments>http://josh.mainelan.net/2009/02/life-happens-when-i-get-around-to-it/#comments</comments>
		<pubDate>Thu, 12 Feb 2009 14:42:14 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Daughter]]></category>
		<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://josh.mainelan.net/2009/02/12/life-happens-when-i-get-around-to-it/</guid>
		<description><![CDATA[Wow, it is amazing how many projects a proctrastinator can take on and ever accomplish anything.
Fallout 3, started playing, lost my steam when I have to head across the world to some stupid Vault furthest end of unexplorer territory.  Oblivion has horses, as if nobody can get a car working 200 years after a nuclear [...]]]></description>
			<content:encoded><![CDATA[<p>Wow, it is amazing how many projects a proctrastinator can take on and ever accomplish anything.</p>
<p>Fallout 3, started playing, lost my steam when I have to head across the world to some stupid Vault furthest end of unexplorer territory.  Oblivion has horses, as if nobody can get a car working 200 years after a nuclear apocolypse.</p>
<p>Grand Theft Auto 4.  Both on the PC (runs like poop) and the Xbox (no HD tv), I&#8217;ve gotten nowhere in single player.  I just need ambition to go back to playing it.  Unfortunately I&#8217;ve got too many more important things on my plate than playing games.  Hence why I haven&#8217;t touched my new 360 in a month.  The only thing I play is Garry&#8217;s Mod, probably because I can develop for it.  I&#8217;d love to get into professional game development.  To have artists to actually make something I code pretty would be the difference between abandon project to indie hit.</p>
<p>Waterworld gamemode for Garry&#8217;s Mod.  Flood sucked but the premise was delightful, so I made my own from scratch without a sandbox base.  Now that I have made it a bit past Flood, I don&#8217;t have ambition to go back an add the perks and bonuses.  I have excuses though, no artist to draw my icons and Garry is ignoring my bug reports (nothing new there).</p>
<p>Contracted web development and automated data entry.  Who knew there would be a high demand for this?  I&#8217;ve started two projects and I&#8217;m stuck learning everything Drupal.  For such a smart platform it is a bitch to comprehend the reasoning behind form field names.  Good thing people pay me after the work is complete.</p>
<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Donec augue. Vestibulum sollicitudin. Nulla facilisi. Nam feugiat porttitor neque. Proin neque libero, tempus sit amet, interdum vitae, lacinia vel, elit. Maecenas dictum, lectus fermentum bibendum vulp.  Sorry NDA.</p>
<p>Electrical engineering&#8230; A fantastic hobby but requires a lot of cash to order new toys.  Still need to shell out $80 for a USB AVR programmer because my bloody mobo doesn&#8217;t have a parellel header.  Getting good with soldering though.</p>
<p>Upcoming daughter.  While I&#8217;m extremely excited and distracted by the prospect of my daughter, I just have no ambition to read books about parenting.  Isn&#8217;t that shit supposed to come naturally?Last half year at quarter-century.  While this is my last year at 25 and I&#8217;ll be starting the next quarter century of my life in June, I&#8217;ve accomplished only one life goal (see above) and absolutely nothing else.</p>
]]></content:encoded>
			<wfw:commentRss>http://josh.mainelan.net/2009/02/life-happens-when-i-get-around-to-it/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First sight of my first baby</title>
		<link>http://josh.mainelan.net/2008/12/first-sight-of-my-first-baby/</link>
		<comments>http://josh.mainelan.net/2008/12/first-sight-of-my-first-baby/#comments</comments>
		<pubDate>Thu, 04 Dec 2008 14:55:16 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Daughter]]></category>
		<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://josh.mainelan.net/2008/12/04/first-sight-of-my-first-baby/</guid>
		<description><![CDATA[Here is the ultrasound at 12 weeks, 1 day.  Supposedly closer to 13 weeks according to Liss, but whatever, between 12 weeks and 13 weeks somewhere.  It&#8217;s my baby and it is growing, case closed.

If you can&#8217;t see YouTube, download the low quality abridged (32.8mb) or high quality unabridged (140mb).
]]></description>
			<content:encoded><![CDATA[<p>Here is the ultrasound at 12 weeks, 1 day.  Supposedly closer to 13 weeks according to Liss, but whatever, between 12 weeks and 13 weeks somewhere.  It&#8217;s my baby and it is growing, case closed.<br />
<object width="425" height="344" data="http://www.youtube.com/v/VOr0jRBBqzo&amp;hl=en&amp;fs=1" type="application/x-shockwave-flash"><param name="allowFullScreen" value="true" /><param name="allowscriptaccess" value="always" /><param name="src" value="http://www.youtube.com/v/VOr0jRBBqzo&amp;hl=en&amp;fs=1" /><param name="allowfullscreen" value="true" /></object></p>
<p>If you can&#8217;t see YouTube, download the <a title="Low Quality Ultrasound" href="http://josh.mainelan.net/Larissa%20Ultrasound%202008-12-01.wmv">low quality abridged</a> (32.8mb) or <a title="High Quality Ultrasound" href="http://josh.mainelan.net/Larissa%20Ultrasound%202008-12-01.avi">high quality unabridged</a> (140mb).</p>
]]></content:encoded>
			<wfw:commentRss>http://josh.mainelan.net/2008/12/first-sight-of-my-first-baby/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://josh.mainelan.net/Larissa%20Ultrasound%202008-12-01.avi" length="147027456" type="video/x-msvideo" />
		</item>
		<item>
		<title>My first breadboard</title>
		<link>http://josh.mainelan.net/2008/09/my-first-breadboard/</link>
		<comments>http://josh.mainelan.net/2008/09/my-first-breadboard/#comments</comments>
		<pubDate>Sat, 06 Sep 2008 23:35:09 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Electrical Engineering]]></category>

		<guid isPermaLink="false">http://josh.mainelan.net/2008/09/06/my-first-breadboard/</guid>
		<description><![CDATA[I started getting paid for my last hobby so I had to obtain another one, my pick?  Engineering.
It has always been my dream to create devices and program them.  I really never cared what, whether TV remotes, clock radios or smart phones.  I just always wanted the ability to create but I never had the ambition [...]]]></description>
			<content:encoded><![CDATA[<p>I started getting paid for my last hobby so I had to obtain another one, my pick?  Engineering.</p>
<p>It has always been my dream to create devices <em>and</em> program them.  I really never cared what, whether TV remotes, clock radios or smart phones.  I just always wanted the ability to create but I never had the ambition or money to get started.  I used to break apart my radios and other electronics that I&#8217;d find lying around.  I never fully understood how they worked but I was determined to learn something from them.  I supposed there was one thing, I learned that four 1.5v batteries powering a single led using tinfoil as a conductor could start a cardboard box on fire.  Like I&#8217;d know to use resistors when I was 8 years old.</p>
<p>I came across a website named <a href="http://www.sparkfun.com" target="_blank">Sparkfun</a>.  They sell various &#8220;goodies&#8221; for people that want stuff cheap and in small quantities.  Not to be confused with <a href="http://www.digikey.com/" target="_blank">Digikey</a>, which just supplies components, Sparkfun has layman-termed descriptions, pictures, comments, tutorials and forums.  They also have breakout boards for components too difficult to solder.</p>
<p>After finding a tutorial from Sparkfun named <a href="http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=57">Beginning Embedded Electronics</a>, the dream of starting seemed within reach.  On the second page, it lists the parts I needed, it even added them to my shopping card.  Only delayed by the fact that I forgot to add a breadboard.  With my second order, I nabbed a couple black-light LEDs to play with, neat!</p>
<p><strong>Soldering the Breadboard Power Supply Kit </strong></p>
<p>With my new soldering iron and breadboard power kit, I began my first attempt at soldering.  It seemed to go alright.  I had to reflow some joints and straighten them.  Once it came to testing it, it was a different story.  My multimeter read 3.01V on 3.3V setting and 3.23V on 5V setting.  Not good.  I discovered that the wall wart I purchased wasn&#8217;t within the minimum voltage, 5V and the range is 6V to 12v.  Oops.  So with a 6.5V in one hand and my multimeter in the other I tried again.  15mV on 3.3V and 1.1V on 5V.   My first guess, I didn&#8217;t solder my joints properly.  Under close examination, that was the case.  My solder didn&#8217;t make it all the way though the board in several places.  After reflowing those pads and adding some solder, the final test was very exciting.  Ready?  3.32V and 5.05V!</p>
<p><a title="Breadboard Power Kit (Top)" href="http://josh.mainelan.net/wp-content/uploads/2008/09/power-kit-top.jpg"><img src="http://josh.mainelan.net/wp-content/uploads/2008/09/power-kit-top.thumbnail.jpg" border="0" alt="Breadboard Power Kit (Top)" /></a> <a title="Breadboard Power Kit (Bottom)" href="http://josh.mainelan.net/wp-content/uploads/2008/09/power-kit-bottom.jpg"><img src="http://josh.mainelan.net/wp-content/uploads/2008/09/power-kit-bottom.thumbnail.jpg" border="0" alt="Breadboard Power Kit (Bottom)" /> </a></p>
<p><strong>The First Project</strong></p>
<p>After making a button turn on an LED, it was time to really get my feet wet and touch the breaker box.  Pulling out my ATmega168 (basically a little CPU that runs at 1 or 8MHz by itself, 20MHz with a quartz).  I did Sparkfun&#8217;s little &#8220;make the LED blink&#8221; then &#8220;make it blink faster&#8221; using the quartz.  Well, installing someone else&#8217;s code was boring.  I wanted to interact with my new toy.  How could I make it think?</p>
<p>Since I had a button, three LEDs (well, more LEDs but only three resistors to use them), and elite programming skills, I&#8217;d make a little recording program.  Basically, you enter a pattern using the button and it plays it back after.  It can remember up to 128 button pressed and up to 4.99 seconds per event (a press or release).  The whole process took about two hours to debug, after I released that you have to put a resistor on a button&#8217;s pin, it went a <strong>lot</strong> smoother.</p>
<p><a title="Nark Pattern Record - Version 1" href="http://josh.mainelan.net/wp-content/uploads/2008/09/nark_patrec1.jpg"><img title="Nark Pattern Record - Version 1" src="http://josh.mainelan.net/wp-content/uploads/2008/09/nark_patrec1.thumbnail.jpg" border="0" alt="Nark Pattern Record - Version 1" /></a></p>
<p>That&#8217;s my first completely custom circuit!</p>
<p>On day three with my breadboard, I decided to recode it a bit and make the layout a little prettier.  Here is version two:</p>
<p><a title="Nark Pattern Record (Front) - Version 2" href="http://josh.mainelan.net/wp-content/uploads/2008/09/nark_patrec2f.jpg"><img title="Nark Pattern Record (Front) - Version 2" src="http://josh.mainelan.net/wp-content/uploads/2008/09/nark_patrec2f.thumbnail.jpg" border="0" alt="Nark Pattern Record (Front) - Version 2" /></a> <a title="Nark Pattern Record (Back) - Version 2" href="http://josh.mainelan.net/wp-content/uploads/2008/09/nark_patrec2b.jpg"><img title="Nark Pattern Record (Back) - Version 2" src="http://josh.mainelan.net/wp-content/uploads/2008/09/nark_patrec2b.thumbnail.jpg" border="0" alt="Nark Pattern Record (Back) - Version 2" /></a></p>
<p>Code anyone? <a href="http://josh.mainelan.net/nark_patternrecorder.zip">nark_patternrecorder.zip</a></p>
<p><object width="425" height="350" data="http://www.youtube.com/v/xU8-DATSZvM" type="application/x-shockwave-flash"><param name="src" value="http://www.youtube.com/v/xU8-DATSZvM" /></object></p>
]]></content:encoded>
			<wfw:commentRss>http://josh.mainelan.net/2008/09/my-first-breadboard/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Carnival Valor</title>
		<link>http://josh.mainelan.net/2008/05/carnival-valor-3/</link>
		<comments>http://josh.mainelan.net/2008/05/carnival-valor-3/#comments</comments>
		<pubDate>Mon, 19 May 2008 23:33:32 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Cruise 2008]]></category>
		<category><![CDATA[Carnival]]></category>
		<category><![CDATA[cruise]]></category>
		<category><![CDATA[Valor]]></category>

		<guid isPermaLink="false">http://josh.mainelan.net/2008/05/19/carnival-valor-3/</guid>
		<description><![CDATA[ Well… Today is my second visit to the Carnival Valor.&#160; It certainly didn’t take long to remember the layout of the ship.&#160; My cabin last time (two years ago) was on Deck 7 Forward (front of the ship) with a forward window.&#160; This time I’m near the bottom Deck 2 Forward with no window.
When [...]]]></description>
			<content:encoded><![CDATA[<p><a href="http://josh.mainelan.net/wordpress/wp-content/uploads/2009/09/DSC04295.jpg"><img style="border-right-width: 0px; margin: 0px 10px 5px 0px; display: inline; border-top-width: 0px; border-bottom-width: 0px; border-left-width: 0px" title="Carnival Valor taken at Grand Cayman (by Larissa)" border="0" alt="Carnival Valor taken at Grand Cayman (by Larissa)" align="left" src="http://josh.mainelan.net/wordpress/wp-content/uploads/2009/09/DSC04295_thumb.jpg" width="137" height="104" /></a> Well… Today is my second visit to the Carnival Valor.&#160; It certainly didn’t take long to remember the layout of the ship.&#160; My cabin last time (two years ago) was on Deck 7 Forward (front of the ship) with a forward window.&#160; This time I’m near the bottom Deck 2 Forward with no window.</p>
<p>When you travel with a group, there is always at least one that makes the traveling part tortuous.&#160; Apart from being blatantly unpleasant, everything went smoothly except for the preselect plane seats.&#160; Miami was fun and relaxing for a night but the “travel” wasn’t effectively over until we hit our stateroom.</p>
<p align="center"><a href="http://josh.mainelan.net/wp-content/uploads/2008/05/dsc04222-thumb.jpg"></a></p>
<p><a href="http://josh.mainelan.net/wp-content/uploads/2008/05/dsc04222-thumb.jpg"></a></p>
<p align="center"><a href="http://josh.mainelan.net/wordpress/wp-content/uploads/2009/09/DSC04222.jpg"><img style="border-right-width: 0px; display: block; float: none; border-top-width: 0px; border-bottom-width: 0px; margin-left: auto; border-left-width: 0px; margin-right: auto" title="Doris, Phil Jr, Me, Amanda, Phil 3rd, Tina, Rachel (taken by Larissa)" border="0" alt="Doris, Phil Jr, Me, Amanda, Phil 3rd, Tina, Rachel (taken by Larissa)" src="http://josh.mainelan.net/wordpress/wp-content/uploads/2009/09/DSC04222_thumb.jpg" width="240" height="180" /></a> </p>
<p align="left">Anyway, more tomorrow…</p>
<p class="bjtags">Tags: <a href="http://technorati.com/tag/Cruise" rel="tag">Cruise</a>, <a href="http://technorati.com/tag/Carnival" rel="tag">Carnival</a>, <a href="http://technorati.com/tag/Valor" rel="tag">Valor</a></p>
]]></content:encoded>
			<wfw:commentRss>http://josh.mainelan.net/2008/05/carnival-valor-3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>No choice for you!</title>
		<link>http://josh.mainelan.net/2007/09/no-choice-for-you/</link>
		<comments>http://josh.mainelan.net/2007/09/no-choice-for-you/#comments</comments>
		<pubDate>Thu, 06 Sep 2007 22:29:09 +0000</pubDate>
		<dc:creator>Josh</dc:creator>
				<category><![CDATA[Gaming]]></category>
		<category><![CDATA[Review]]></category>

		<guid isPermaLink="false">http://josh.mainelan.net/2007/09/06/no-choice-for-you/</guid>
		<description><![CDATA[I had higher expectations.  BioShock’s choices in the story are really only one.  How do you want the game to end, obviously the good ending or the bad ending.  The choice is obviously clear once you meet your first Little Sister.  Besides choosing what Plasmids to purchase and weapons to upgrade and where to spend your [...]]]></description>
			<content:encoded><![CDATA[<p>I had higher expectations.  BioShock’s choices in the story are really only one.  How do you want the game to end, obviously the good ending or the bad ending.  The choice is obviously clear once you meet your first Little Sister.  Besides choosing what Plasmids to purchase and weapons to upgrade and where to spend your loot, there isn’t another damn choice to be made.</p>
<p>The story is great and the lack of choices fit in nicely near end game but I was really hoping for more.  It is a kill everything you see that reminds me of the likes of Wolfenstein.  The only difference is you have more combative options available.  Playing on medium difficulty, I found the whole game to be insultingly easy.  Hints pretty much move any element from puzzles.</p>
<p>The graphics and the gameplay is a fresh break from everything else but I would really like to see this revolutionary combination of RPG and FPS that was claimed to rival Deus Ex.  Even the second iteration of Deus Ex has this looking like every other FPS out there with a couple new bells and whistles.</p>
<p>Story and combat still make this a great game, I just feel lied to.</p>
<p class="bjtags">Tags: <a rel="tag" href="http://technorati.com/tag/BioShock">BioShock</a></p>
]]></content:encoded>
			<wfw:commentRss>http://josh.mainelan.net/2007/09/no-choice-for-you/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
