<?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>iohelix &#187; geek</title>
	<atom:link href="http://iohelix.net/blog/category/play/geek/feed/" rel="self" type="application/rss+xml" />
	<link>http://iohelix.net/blog</link>
	<description>the blog with the best tagline ever</description>
	<lastBuildDate>Thu, 29 Jul 2010 19:09:39 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=abc</generator>
		<item>
		<title>hacking iTunes paths</title>
		<link>http://iohelix.net/blog/2009/04/hacking-itunes-paths/</link>
		<comments>http://iohelix.net/blog/2009/04/hacking-itunes-paths/#comments</comments>
		<pubDate>Thu, 23 Apr 2009 23:57:05 +0000</pubDate>
		<dc:creator>benjam</dc:creator>
				<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://iohelix.net/blog/?p=1838</guid>
		<description><![CDATA[so unless you&#8217;ve been living under a rock, you know that we&#8217;ve moved to Slovakia.  during the move, I was unable and unwilling to pack my computer up to bring with us. it was just too large to be feasible. the next best thing was to backup my digital life onto an external hard drive&#8211;which [...]]]></description>
			<content:encoded><![CDATA[<p>so unless you&#8217;ve been living under a rock, you know that we&#8217;ve moved to Slovakia.  during the move, I was unable and unwilling to pack my computer up to bring with us. it was just too large to be feasible. the next best thing was to backup my digital life onto an external hard drive&#8211;which chelsea so conveniently gave me for christmas&#8211;and bring that with us instead. one problem with this is that, as with every other time that I had to wipe my hard drive, I would be forced to re-import my entire iTunes library into iTunes, and if you&#8217;ve ever tried to import an iTunes library, it&#8217;s better than starting from scratch, but it sucks. playlists don&#8217;t sync properly, especially if they are based on other playlists. and the add date for all your songs becomes the same date, which I use in many of my playlists (recently added, etc.) but I think I found a solution to my problems&#8230;</p>
<p><span id="more-1838"></span>my parents were in a situation where they were using several user accounts on the computer, but wanted to share the iTunes library across all the accounts. this posed some problems, and I hacked in a workaround, where iTunes stored all the music in the same folder, but it wasn&#8217;t elegant, and it didn&#8217;t work quite right.</p>
<p>they recently had some computer issues which forced them to reformat their hard drive (ok, fine, forced ME to reformat their hard drive), and they again wanted to share the same iTunes library. so while thinking over how I could more easily get their iTunes library to work across multiple accounts, and be more elegant than the solution I tried last time, I realized that the same solution could possibly work for me.</p>
<p>the solution that I realized for my parents computer and their multiple accounts is as follows: &nbsp;on a *nix system, there is a thing you can do called a link (more precisely, a <a href="http://en.wikipedia.org/wiki/Symbolic_link">symbolic link</a>), where one location actually points to another location. for instance if I had a directory at /bin which has a symlink pointing to it at /home/usr/bin, when I go to /home/usr/bin, I&#8217;m actually getting the contents of /bin, but the computer thinks I&#8217;m getting /home/usr/bin. a bit confusing i know, but trust me, it&#8217;s cool and extremely useful.</p>
<p>if you are using windows, windows doesn&#8217;t have symlinks per se, but if you&#8217;re using the NTFS file system (and if you&#8217;re on anything above win 2000, you should be), there is an almost identical thing you can do called a junction. and it&#8217;s made easier by downloading a small utility called <a href="http://elsdoerfer.name/=ntfslink">NTFS Link</a>. &nbsp;with this, you can point any empty folder to any other folder on the computer, and when you navigate to that folder, the contents inside are actually in another location on the computer. this gave me an idea&#8230;</p>
<p>iTunes has a horrible habit of wanting to store it&#8217;s data files in the documents folder of the user. this poses a problem for trying to use the same library for multiple accounts, as each account has it&#8217;s own documents folder. what I did, was created a new folder in the root of the C: drive called &#8220;iTunes&#8221;, and created another folder inside that folder called &#8220;__iTunes Data&#8221; (the underscores are to keep it near the top of the folder when sorted). &nbsp;I then opened iTunes with one of the accounts on the computer, which created the folder \My Documents\My Music\iTunes. I then closed iTunes, and moved the contents of that folder into the __iTunes Data folder I just created. after that, I right clicked on the now empty \My Music\iTunes folder and symlinked it to the __iTunes Data folder. now, iTunes goes looking for it&#8217;s data in the \My Documents\My Music\iTunes folder, but it&#8217;s actually looking in the C:\iTunes\__iTunes Data folder, but it has no idea. I then get into iTunes, and set the advanced preferences and change my iTunes Music Folder location to C:\iTunes.</p>
<p>mission accomplished. iTunes now thinks that it&#8217;s accessing it&#8217;s data in the documents folder, when really it&#8217;s in a different location (__iTunes Data), which can easily be linked to from all the other iTunes &#8220;accounts&#8221;. &nbsp;just do the same thing for the other accounts, make a junction from \My Documents\My Music\iTunes to C:\iTunes\__iTunes Data, and set your library location in iTunes to point to C:\iTunes, and everybody is now using the same library. one thing to make sure you set, is while you&#8217;re setting the Music Library location, also check &#8220;Keep iTunes Music folder organized&#8221; and &#8220;Copy files to iTunes Music folder when adding to library&#8221; this keeps everything nice and tidy, and when one account adds music, it gets copied into the iTunes music folder, and all the other accounts can access it as well.</p>
<p>now on to how this helped me&#8230; &nbsp;I realized that, while this works perfectly for multiple accounts on the same computer, my problem is a bit different. I have only one account, and all of my data is on an external hard drive, including my library data files. so what did I do? &nbsp;I set up iTunes exactly as I had set up the iTunes for my parents, except that I then emptied out and linked the C:\iTunes folder to the location of my external hard drive library (which is at G:\Music\Benjam&#8217;s Music). &nbsp;so now I have a perfectly functioning iTunes library, with no import required, and to top it off, when I need to wipe my hard drive again, I just set this up as it is now on the &#8220;new&#8221; computer, and it will behave as if it had never changed. all I might have to change is where C:\iTunes is pointing to.</p>
<p>here are those instructions again, in a nice easy-to-follow list (this only works with NTFS on XP, although if you have another method of creating symlinks in your system (which Vista does, google &#8220;mklink&#8221;), that would work as well):</p>
<ol>
<li>download and install <a href="http://elsdoerfer.name/=ntfslink">NTFS Link</a></li>
<li>download and install, or update iTunes</li>
<li>create a folder in the root of your C drive called iTunes (or whatever)</li>
<li>[Optional step] right click on your new folder and link to the location of your iTunes music</li>
<li>create a folder inside C:\iTunes called __iTunes (or whatever)</li>
<li>[Skip this step if you have an existing library] open iTunes once (this creates the \My Music\iTunes directory and creates some initial files in there)</li>
<li>go to the iTunes preferences, and the Advanced tab, and set the location for the iTunes Music Library to C:\iTunes</li>
<li>check both of the boxes below that, save, and close iTunes</li>
<li>move all the files in \My Music\iTunes into C:\iTunes\__iTunes</li>
<li>alt click on \My Music\iTunes and NTFS link that to C:\iTunes\__iTunes</li>
<li>open iTunes, add your music, enjoy</li>
</ol>
<p>(this also works with pre-existing libraries, just move your music into the C:\iTunes folder, and move your \My Music\iTunes data into the __iTunes folder, and iTunes will see it like nothing changed)</p>]]></content:encoded>
			<wfw:commentRss>http://iohelix.net/blog/2009/04/hacking-itunes-paths/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>leap second added at end of 2008</title>
		<link>http://iohelix.net/blog/2008/12/leap-second-added-at-end-of-2008/</link>
		<comments>http://iohelix.net/blog/2008/12/leap-second-added-at-end-of-2008/#comments</comments>
		<pubDate>Mon, 29 Dec 2008 15:41:47 +0000</pubDate>
		<dc:creator>benjam</dc:creator>
				<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://iohelix.net/blog/?p=1066</guid>
		<description><![CDATA[for everybody who will be celebrating the coming new year, make sure you don&#8217;t start (or end) your new year&#8217;s countdown early. the international earth rotation and reference systems service (IERS) has announced that a leap second will be added at the end of 2008, making 2008 one second longer than it should be. so [...]]]></description>
			<content:encoded><![CDATA[<p>for everybody who will be celebrating the coming new year, make sure you don&#8217;t start (or end) your new year&#8217;s countdown early.</p>
<p>the international earth rotation and reference systems service (IERS) <a href="http://hpiers.obspm.fr/iers/bul/bulc/bulletinc.dat">has announced</a> that a <a href="http://en.wikipedia.org/wiki/Leap_second">leap second</a> will be added at the end of 2008, making 2008 one second longer than it should be.</p>
<p>so either start your countdown at 11, or end your countdown at -1, either way&#8230;</p>
<p>enjoy the extra long year! &nbsp;(it has both a leap day, and a leap second)</p>]]></content:encoded>
			<wfw:commentRss>http://iohelix.net/blog/2008/12/leap-second-added-at-end-of-2008/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>thoughts on proprietary file formats</title>
		<link>http://iohelix.net/blog/2008/12/thoughts-on-proprietary-file-formats/</link>
		<comments>http://iohelix.net/blog/2008/12/thoughts-on-proprietary-file-formats/#comments</comments>
		<pubDate>Sat, 27 Dec 2008 06:19:35 +0000</pubDate>
		<dc:creator>benjam</dc:creator>
				<category><![CDATA[rant]]></category>
		<category><![CDATA[technology]]></category>

		<guid isPermaLink="false">http://iohelix.net/blog/?p=1058</guid>
		<description><![CDATA[so we got a new camcorder for christmas (mrs. claus was nice enough to bring one by for us), and I broke it out, started using it, got it home, and tried to hook it up to the computer&#8230; &#160;well, that failed with a cryptic error message, but no big deal, the memory card is [...]]]></description>
			<content:encoded><![CDATA[<p>so we got a new camcorder for christmas (mrs. claus was nice enough to bring one by for us), and I broke it out, started using it, got it home, and tried to hook it up to the computer&#8230; &nbsp;well, that failed with a cryptic error message, but no big deal, the memory card is easily removed, and the camcorder conveniently came with a <acronym title="Universal Serial Bus">USB</acronym> card reader. so i plugged that in, attached it to the comp, and tried to open the files with my favorite in-a-hurry audio/video player, <a href="http://www.videolan.org/vlc/">VLC</a>&#8230;</p>
<p>nope. try again.</p>
<p><span id="more-1058"></span>I begin to look up information on the file format that the camera uses to record the movies (<a href="http://en.wikipedia.org/wiki/MOD_and_TOD_%28video_format%29">.MOD</a>), and apparently, nobody supports it. so now, in order to use the file (and subsequently, the camera), I have to either A. use the crappy software that came with the camera (which is slow and difficult), or B. buy some other software (also from the camcorder company, how convenient) that will allow me to convert the movie to some other easier-to-use format.</p>
<p>well, that does it, I&#8217;m thoroughly pissed at all software and hardware designers that decide that it&#8217;s okay to nickel and dime us by using proprietary file formats that are impossible to use otherwise. even if they don&#8217;t want to nickel and dime us, it still sucks when a company tries to &#8220;better&#8221; the current standards by creating a new format that only their software or hardware uses, and then fail to release the format details so others can use it as well (think <acronym title="Microsoft">MS</acronym> Word 2007 and the .docx format). &nbsp;well, at least with that one, OpenOffice.org finally supports it in v3.0, but .odt already existed and is more openly adopted by other word processing software anyway.</p>
<p>anywho&#8230;</p>
<p>point is, I doubt seriously that .MOD (which, I found out, is just .MPG with a different extension and some other <a href="http://en.wikipedia.org/wiki/MOI_%28file_format%29">.MOI</a> files to go with it) was really necessary. why not just use one of the other formats that are already out there and more widely used, why must you create your own? &nbsp;and if it&#8217;s absolutely necessary to create your own, at least release the details so that others may take advantage of your apparent excellence (think .7z files).</p>
<p>and if not, just use a format already available. my current camera records movies in .mov format, and everything I use can read an .mov file, and the pictures are .jpg&#8230; easy.</p>
<p>new camcorder&#8230; .MOD files&#8230; not so much.</p>
<p>NOTE: I finally found a small simple utility to convert my .MOD files to .MPG and set my widescreen marker at the same time: <a href="http://zyvid.com/smf/index.php?action=dlattach;topic=280.0;id=153">SDCopy</a></p>]]></content:encoded>
			<wfw:commentRss>http://iohelix.net/blog/2008/12/thoughts-on-proprietary-file-formats/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>&#8220;i told you so&#8221; just doesn&#8217;t sound strong enough&#8230;</title>
		<link>http://iohelix.net/blog/2008/12/i-told-you-so-just-doesnt-sound-strong-enough/</link>
		<comments>http://iohelix.net/blog/2008/12/i-told-you-so-just-doesnt-sound-strong-enough/#comments</comments>
		<pubDate>Tue, 16 Dec 2008 17:30:23 +0000</pubDate>
		<dc:creator>benjam</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[ie]]></category>
		<category><![CDATA[security]]></category>

		<guid isPermaLink="false">http://iohelix.net/blog/?p=991</guid>
		<description><![CDATA[Microsoft Internet Explorer is about to ruin your day.  Read the story for more info: http://news.bbc.co.uk/2/hi/technology/7784908.stm Done reading? Now, do yourself a favor and grab one of these: Windows Firefox (Highly Recommended) Google Chrome (Also Recommended) Apple Safari Opera Mac Firefox (Highly Recommended) Apple Safari Opera Linux You&#8217;re good, no worries But grab Firefox, just [...]]]></description>
			<content:encoded><![CDATA[<p>Microsoft Internet Explorer is about to ruin your day.  Read the story for more info:</p>
<p><a href="http://news.bbc.co.uk/2/hi/technology/7784908.stm">http://news.bbc.co.uk/2/hi/technology/7784908.stm</a></p>
<p>Done reading?</p>
<p>Now, do yourself a favor and grab one of these:</p>
<ul>
<li>Windows
<ul>
<li><a href="http://www.mozilla.com/en-US/firefox/all.html">Firefox</a> (Highly Recommended)</li>
<li><a href="http://www.google.com/chrome">Google Chrome</a> (Also Recommended)</li>
<li><a href="http://www.apple.com/safari/">Apple Safari</a></li>
<li><a href="http://www.opera.com/">Opera</a></li>
</ul>
</li>
<li>Mac
<ul>
<li><a href="http://www.mozilla.com/en-US/firefox/all.html">Firefox</a> (Highly Recommended)</li>
<li><a href="http://www.apple.com/safari/">Apple Safari</a></li>
<li><a href="http://www.opera.com/">Opera</a></li>
</ul>
</li>
<li>Linux
<ul>
<li>You&#8217;re good, no worries</li>
<li>But grab <a href="http://www.mozilla.com/en-US/firefox/all.html">Firefox</a>, just for the heck of it</li>
<li>You can also grab <a href="http://www.opera.com/">Opera</a>, if you want</li>
</ul>
</li>
</ul>]]></content:encoded>
			<wfw:commentRss>http://iohelix.net/blog/2008/12/i-told-you-so-just-doesnt-sound-strong-enough/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linking to specific moments in a YouTube video</title>
		<link>http://iohelix.net/blog/2008/10/linking-to-specific-moments-in-a-youtube-video/</link>
		<comments>http://iohelix.net/blog/2008/10/linking-to-specific-moments-in-a-youtube-video/#comments</comments>
		<pubDate>Mon, 27 Oct 2008 19:22:50 +0000</pubDate>
		<dc:creator>benjam</dc:creator>
				<category><![CDATA[internet]]></category>
		<category><![CDATA[youtube]]></category>

		<guid isPermaLink="false">http://www.iohelix.net/blog/?p=798</guid>
		<description><![CDATA[A co-worker of mine pointed me towards this entry in a blog. It talks about linking to a specific time in a YouTube video. I&#8217;ll repeat here in case you don&#8217;t want to link offsite. Have you ever recieved links to videos that say something like &#8220;It gets really good around 1:47&#8243;, or something similar? [...]]]></description>
			<content:encoded><![CDATA[<p>A co-worker of mine pointed me towards <a href="http://www.seroundtable.com/archives/018548.html">this entry</a> in a blog.</p>
<p>It talks about linking to a specific time in a YouTube video. I&#8217;ll repeat here in case you don&#8217;t want to link offsite.</p>
<p>Have you ever recieved links to videos that say something like &#8220;It gets really good around 1:47&#8243;, or something similar?</p>
<p>Now you can link to a specific moment in that video by putting the time as follows in your link: <code>#t=1m47s</code></p>
<p>What this does, is when somebody goes to that link, it not only starts at the given time, but it doesn&#8217;t buffer all the stuff that comes before it, so you don&#8217;t have to wait for the part you&#8217;re interested in.</p>
<p>For instance, try the following link:<br />
<a href="http://www.youtube.com/watch?v=OP1-5uxZffE#t=5m45s">http://www.youtube.com/watch?v=OP1-5uxZffE#t=5m45s</a> (<acronym title="Safe For Work">SFW</acronym>)</p>
<p>That&#8217;s just awesome.</p>]]></content:encoded>
			<wfw:commentRss>http://iohelix.net/blog/2008/10/linking-to-specific-moments-in-a-youtube-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>new browser</title>
		<link>http://iohelix.net/blog/2008/09/new-browser/</link>
		<comments>http://iohelix.net/blog/2008/09/new-browser/#comments</comments>
		<pubDate>Tue, 02 Sep 2008 20:11:52 +0000</pubDate>
		<dc:creator>benjam</dc:creator>
				<category><![CDATA[web development]]></category>
		<category><![CDATA[browser]]></category>
		<category><![CDATA[google]]></category>

		<guid isPermaLink="false">http://www.iohelix.net/blog/?p=409</guid>
		<description><![CDATA[being a web developer, i try to keep up with what&#8217;s going on in the browser realm of the interwebs. today saw the release of the new Google browser: Chrome.  a new browser release is nothing new, but the fact that Google has, for quite some time, been the main &#8216;internet&#8217; company, providing everything from [...]]]></description>
			<content:encoded><![CDATA[<p>being a web developer, i try to keep up with what&#8217;s going on in the browser realm of the interwebs. today saw the release of the new <a href="http://www.google.com/chrome">Google browser: Chrome</a>.  a new browser release is nothing new, but the fact that Google has, for quite some time, been the main &#8216;internet&#8217; company, providing everything from search engine and page cache, to email, web documents, and calendar, all online, makes this browser release something to look at.</p>
<p><span id="more-409"></span></p>
<p>i downloaded my copy, started it up, and was immediately impressed, and being somewhat of a Firefox fanatic, that&#8217;s saying a lot.</p>
<p>it takes no time at all to load, and after reviewing the comic that was released (by accident) a few days ago, it&#8217;s easy to see why: every page is it&#8217;s own process.  for those of you who don&#8217;t know what a &#8216;process&#8217; is, it&#8217;s basically it&#8217;s own running copy of the program.  each page is it&#8217;s own entity on the computer, so if one page crashes, you don&#8217;t have to take down the whole browser to fix it, just close that one tab.  but Google being Google, took it one step further, and made every portion of the webpage rendering it&#8217;s own process.  so basically, if you have javascript running on the page you are viewing&#8211;it&#8217;s in it&#8217;s own process; flash running? it&#8217;s it&#8217;s own process;  quicktime?  own process;  any other plugin? own process.  so if at any time, any of these pieces crashes or slows way down while working on something, it doesn&#8217;t freeze the whole system.</p>
<p>this way of doing things also makes it really easy to block malware from infecting your computer.</p>
<p>Google Chrome was basically built for the internet as it stands today, in all it&#8217;s multi-media, web 2.0, watch-your-back-for-malware goodness.</p>
<p>the only thing missing from Google Chrome is a Firefox-esque plugin architecture&#8230;</p>
<p>because in order for me to switch from Firefox, I&#8217;m gonna need to take my Web Developer toolbar and mouse gestures with me.</p>
<p>but if you spend any decent amount of time on the internet, and do most of your browsing in the more modern web 2.0 sites: give Google Chrome a try.</p>
<p>the only thing that sucks about it is that it&#8217;s yet another browser that web developers have to code workarounds for.</p>]]></content:encoded>
			<wfw:commentRss>http://iohelix.net/blog/2008/09/new-browser/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>site backups</title>
		<link>http://iohelix.net/blog/2008/08/site-backups/</link>
		<comments>http://iohelix.net/blog/2008/08/site-backups/#comments</comments>
		<pubDate>Fri, 08 Aug 2008 04:54:57 +0000</pubDate>
		<dc:creator>benjam</dc:creator>
				<category><![CDATA[iohelix]]></category>

		<guid isPermaLink="false">http://www.iohelix.net/blog/?p=249</guid>
		<description><![CDATA[Since my wife and I started using a blog again, I was thinking it would be cool to go back in my archives and grab the old posts I had on here years ago, and try to find a way to import them back into the blog. So I started looking in my backups folder [...]]]></description>
			<content:encoded><![CDATA[<p>Since my wife and I started using a blog again, I was thinking it would be cool to go back in my archives and grab the old posts I had on here years ago, and try to find a way to import them back into the blog.</p>
<p>So I started looking in my backups folder for a database dump that would have the blog posts in it, and I searched and searched, but could not find the most recent version of it.  I have a coupe older ones, and some really old ones, but not any that were from right before I deleted the blogs.</p>
<p>I don&#8217;t know why I didn&#8217;t make a backup of them, or if I did, I don&#8217;t know why I didn&#8217;t keep it in a safe place, but I didn&#8217;t.</p>
<p>So I jumped on the <a href="http://www.archive.org/web/web.php">wayback machine</a>, and found one more post that I didn&#8217;t have in my backup.  I imported the backup into my database at home, installed the version of WordPress I had when the posts were made (also via the wayback machine), and posted that last one that was missing.  Then I installed the latest version of WordPress, made an export file, and imported them into this incarnation.</p>
<p>So now I have posts that go back about 5 years (albeit very sporadically), with the possibility of a few missing that are probably gone for good, unless I happen to find an old dump somewhere that I didn&#8217;t know about, but I doubt it&#8230;   oh well.</p>
<p>I&#8217;m off to make a backup of my site right now, and I&#8217;ll label it &#8216;Keep&#8217;, because obviously, the method I have now doesn&#8217;t work.</p>
<p>Maybe I should start putting my site backups in Subversion&#8230;</p>
<p>Anywho&#8230; enjoy the old posts.</p>]]></content:encoded>
			<wfw:commentRss>http://iohelix.net/blog/2008/08/site-backups/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>webhost issues</title>
		<link>http://iohelix.net/blog/2006/09/webhost-issues/</link>
		<comments>http://iohelix.net/blog/2006/09/webhost-issues/#comments</comments>
		<pubDate>Thu, 07 Sep 2006 04:44:18 +0000</pubDate>
		<dc:creator>benjam</dc:creator>
				<category><![CDATA[web development]]></category>

		<guid isPermaLink="false">http://www.iohelix.com/wordpress/?p=77</guid>
		<description><![CDATA[my site went down about a week and a bit ago, so i tried to contact my hosting company and find out what was going on. I went to the website, no notices there, went to the forum which has been removed, tried to submit a service ticket which i couldn&#8217;t do due to lack [...]]]></description>
			<content:encoded><![CDATA[<p>my site went down about a week and a bit ago, so i tried to contact my hosting company and find out what was going on.<br />
I went to the website, no notices there, went to the forum which has been removed, tried to submit a service ticket which i couldn&#8217;t do due to lack of a password for the system, and finally tried to call the 800 number which was blocked from my area code. all this took about 2-3 days, all of which saw no return of my website.</p>
<p>i finally found a regular number that i called and got in touch with an actual person and found out that 16 of the servers that this company owned got hacked and had all the data erased. no backups, no data, no nothing.</p>
<p>they finally got in touch with us (4 days later) and let us know what had happened.</p>
<p>i finally got a password for the support ticket system and submitted a support ticket for my website to be reinstated.<br />
i must admit it was a very prompt reply, but the information they had given me was completely wrong, it was for another user and another site. I let them know they had messed up and they never replied. i told them again&#8230; &nbsp; nothing. i finally wrote them a nasty little note and they promptly responded in kind.</p>
<p>i finally got my corrected information and got my site uploaded, but whenever i tried ta access it it would redirect to another website totally unrelated to my own.</p>
<p>it is still having issues, but my site is back up (thanks to backups i had made a week before the attack), my mail is finally working, but there are still some small issues with the site.</p>
<p>so&#8230; &nbsp;long story short&#8230; &nbsp; don&#8217;t host your site through webhostplus. their service sucks.</p>]]></content:encoded>
			<wfw:commentRss>http://iohelix.net/blog/2006/09/webhost-issues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>damn my a.d.d.</title>
		<link>http://iohelix.net/blog/2006/08/damn-my-add/</link>
		<comments>http://iohelix.net/blog/2006/08/damn-my-add/#comments</comments>
		<pubDate>Fri, 18 Aug 2006 20:57:19 +0000</pubDate>
		<dc:creator>benjam</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.iohelix.com/wordpress/?p=76</guid>
		<description><![CDATA[so i&#8217;m trying to make a php game (commanders) from scratch and it&#8217;s not going quite as fast or as easy as i&#8217;d hoped. there are a lot of little things that you have to plan for when coding an application from scratch, no matter what it is, that will bite you in the ass. [...]]]></description>
			<content:encoded><![CDATA[<p>so i&#8217;m trying to make a php game (commanders) from scratch and it&#8217;s not going quite as fast or as easy as i&#8217;d hoped. there are a lot of little things that you have to plan for when coding an application from scratch, no matter what it is, that will bite you in the ass.</p>
<p>when i first got the idea for this game, i thought &#8220;i&#8217;ll get the game part of the script working and the rest will be easy&#8221;. &nbsp;nope. first off, i have to get the game part working&#8230; &nbsp;it&#8217;s not. not quite. secondly, i get distracted by other things <em>WAY</em> too easily. and thirdly, i really have no idea where i&#8217;m trying to take this.</p>
<p>i started off with an overly simplistic plan. not on purpose, but because i have no experience coding anything from scratch, after writing a preliminary few hundred lines of code, and trying to test that code, i began to realize that my storage methods (both within the database, and during code execution) were grossly underestimated. it took an almost complete rewrite of the existing methods and all the code that goes with it to get to a point where the game will actually progress the way that i want it to.</p>
<p>but now that i&#8217;ve got the game almost working, there are other issues that are creeping in that i wasn&#8217;t ready for. for instance, the game that i am creating is actually a port from a real life board game (Power). &nbsp;the trouble with this is that issues that are trivially easy for a person to deal with are intricately difficult for a computer to deal with. i&#8217;ll spare you the details, sufice to say that my code is becoming much longer than i had planned. porting form a real board game also has the added benefit of having the rules already written, or at least most of them, but the ones that aren&#8217;t written are the ones giving me the troubles. what should i do if this situation happens? &nbsp;what about this other situation?</p>
<p>another issue i have to deal with is myself. when i get in one of those moods, as i&#8217;m sure most of you have, where the juices just aren&#8217;t flowing, we&#8217;ll call it &#8220;coders block&#8221;, i turn to other items that may not be necessary to the project. i&#8217;ve also started another (albeit much smaller, simpler) game (battleship) from scratch which is progressing much faster and therefore holds my interest better. this is bad. even though the new project is nearing completion, i know that i am the type of person who will never think of anything as &#8220;completed&#8221;.</p>
<p>and on top of all this i am still working on webchess 2.0 (which finally had a beta release not too long ago).</p>
<p>so i now have three projects i&#8217;m actively working on, my job, and a freaking network+ test to take on monday.</p>
<p>and i have to spend more time with my wife, who is probably feeling pretty left out at the moment.</p>
<p>so here&#8217;s my time division:</p>
<ul>
<li>my job (30%)</li>
<li>my projects (30%)</li>
<li>eating and sleeping (30%)</li>
<li>studying (10%)</li>
<li>my wife (110%)</li>
</ul>
<p>if it weren&#8217;t for my a.d.d., i&#8217;d think i have a real problem.</p>
<p>(note: i&#8217;m not officially diagnosed with a.d.d., but most everybody i know would love some ritalin)</p>]]></content:encoded>
			<wfw:commentRss>http://iohelix.net/blog/2006/08/damn-my-add/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PHP scripts and games</title>
		<link>http://iohelix.net/blog/2006/06/php-scripts-and-games/</link>
		<comments>http://iohelix.net/blog/2006/06/php-scripts-and-games/#comments</comments>
		<pubDate>Mon, 19 Jun 2006 17:52:59 +0000</pubDate>
		<dc:creator>benjam</dc:creator>
				<category><![CDATA[programming]]></category>

		<guid isPermaLink="false">http://www.iohelix.com/wordpress/?p=75</guid>
		<description><![CDATA[So I&#8217;ve been adding a few RPGs and other games to the site and have had to edit those scripts quite a lot more than I should have to to get them to work on my site. Don&#8217;t get me wrong (especially if you happen to be a creator of one of those scripts), I [...]]]></description>
			<content:encoded><![CDATA[<p>So I&#8217;ve been adding a few <acronym title="Role Playing Game">RPG</acronym>s and other games to the site and have had to edit those scripts quite a lot more than I should have to to get them to work on my site. Don&#8217;t get me wrong (especially if you happen to be a creator of one of those scripts), I love the games, and they have MANY good features in them, but it amazes me how much people code to their own setup. One example (and the most annoying because it breaks the script immediately), is the use of <acronym title="PHP: Hypertext Preprocessor">PHP</acronym> short tags ( <code>&lt;?</code> ). These little things are the bane of my existance.</p>
<p>There are four ways that you can let the server know that you are about to use <acronym title="Pre-Hypertext Processing">PHP</acronym>.</p>
<ul>
<li><acronym title="Pre-Hypertext Processing">PHP</acronym> Long tags ( <code>&lt;?php ...code... ?&gt;</code> )</li>
<li><acronym title="Pre-Hypertext Processing">PHP</acronym> Short tags ( <code>&lt;? ...code... ?&gt;</code> )</li>
<li><acronym title="Active Server Pages">ASP</acronym> style tags ( <code>&lt;% ...code... %&gt;</code> )</li>
<li>Script tags ( <code>&lt;script language="text/php"&gt; ...code... &lt;/script&gt;</code> )</li>
</ul>
<p>Lucky for me, I&#8217;ve never seen the <acronym title="Active Server Pages">ASP</acronym> tags, and have only rarely seen the Script tag, but the short tags are almost as popular as the long tags. Especially when using the shorthand notation for the echo command ( <code>&lt;?=</code> ).</p>
<p>My server at home is set up to be very strict in it&#8217;s handling of tags, it only allows the <acronym title="Pre-Hypertext Processing">PHP</acronym> long tags, and for good reason. When using a <acronym title="Pre-Hypertext Processing">PHP</acronym> script with <acronym title="eXtesible Markup Language">XML</acronym>, the <acronym title="eXtensible Markup Language">XML</acronym> tag ( <code>&lt;?xml</code> ) confuses the <acronym title="Pre-Hypertext Processing">PHP</acronym> parser into thinking it&#8217;s a <acronym title="Pre-Hypertext Processing">PHP</acronym> short tag with the unknown entity &#8216;xml&#8217; following it.</p>
<p>Another thing I see people use often, is Registered Globals. These are extremely handy at saving yourself some keystrokes, but that&#8217;s about the only thing they are good for. Registered Globals take variables from a SuperGlobal and place it in the normal variable scope. An example would be an <acronym title="HyperText Markup Language">HTML</acronym> form with a field called &#8216;name&#8217;. &nbsp;When you send this form, a variable in <acronym title="Pre-Hypertext Processing">PHP</acronym> called either _POST or _GET is created based on which method is used to send the data. To get at the data the user sent, one must call <code>$_POST['name']</code>. &nbsp;If Registered Globals is turned on, all one needs to do is call the variable <code>$name</code> and there ya go. This practice is not very safe and causes more headaches then they save in keystrokes.</p>
<p>All of these issues, plus some more obscure ones, are why people should not code to their own particular setup, but should code with certain standards that are applicable everywhere.</p>
<ul>
<li><acronym title="Pre-Hypertext Processing">PHP</acronym> Long tags are ALWAYS accepted by the server.</li>
<li>The _POST and _GET variables are ALWAYS available to the script.</li>
<li>The HTTP_XXXXX_VARS are NOT always available, as of PHP5 they can be disabled.</li>
<li>Even the _ENV and _SERVER vars are not always enabled.</li>
</ul>
<p>So when you go out to write your first bit of code, or even continue work on a project you&#8217;ve been working on for years, think of the other people who may be using your script who may not have the same setup as you, and they may not have access to their php.ini file to change those settings. And don&#8217;t try to skirt your way around it by running the ini_set function either. That&#8217;s almost like putting a virus on someone else&#8217;s computer. Just don&#8217;t do it.</p>]]></content:encoded>
			<wfw:commentRss>http://iohelix.net/blog/2006/06/php-scripts-and-games/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
