<?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>Apreche.net &#187; webdev</title>
	<atom:link href="http://www.apreche.net/tag/webdev/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.apreche.net</link>
	<description>One geeks thoughts on the geekeries of the world.</description>
	<lastBuildDate>Fri, 23 Jul 2010 17:03:12 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0</generator>
		<item>
		<title>Django Favicon with Amazon S3</title>
		<link>http://www.apreche.net/django-favicon-with-amazon-s3/</link>
		<comments>http://www.apreche.net/django-favicon-with-amazon-s3/#comments</comments>
		<pubDate>Sun, 15 Mar 2009 21:38:20 +0000</pubDate>
		<dc:creator>Apreche</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Django]]></category>
		<category><![CDATA[howto]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.apreche.net/?p=774</guid>
		<description><![CDATA[I had a little trouble today trying to get a favicon for my django site. I found some solutions online, but they assumed that you were serving your media statically through your apache server. I&#8217;m serving all my static files &#8230; <a href="http://www.apreche.net/django-favicon-with-amazon-s3/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I had a little trouble today trying to get a favicon for my django site. I found some solutions online, but they assumed that you were serving your media statically through your apache server. I&#8217;m serving all my static files through Amazon S3, so those techniques didn&#8217;t work for me. Here&#8217;s how I did it instead.</p>
<p><span id="more-774"></span></p>
<p>First, I copied my favicon.ico to my S3 bucket. It&#8217;s just a 16&#215;16 png file that I renamed.</p>
<p>In my settings file I made sure the MEDIA_URL was set to my S3 URL.</p>
<p>Then I made sure these things were imported in my urls.py</p>
<pre>from django.conf import settings
from django.views.generic.simple import redirect_to</pre>
<p>Lastly, I added this rule to my urls.py</p>
<pre>(r'^favicon.ico$', redirect_to, {'url':settings.MEDIA_URL+'favicon.ico'}),</pre>
<p>That&#8217;s it!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.apreche.net/django-favicon-with-amazon-s3/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upgrade Hosting means Clean URLs Are No More</title>
		<link>http://www.apreche.net/upgrade-hosting-means-clean-urls-are-no-more/</link>
		<comments>http://www.apreche.net/upgrade-hosting-means-clean-urls-are-no-more/#comments</comments>
		<pubDate>Mon, 05 Nov 2007 15:36:17 +0000</pubDate>
		<dc:creator>Apreche</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.apreche.net/?p=539</guid>
		<description><![CDATA[I use Linode for web hosting. I like it because from an administration perspective, I effectively have a dedicated Linux box. In reality it is shared, so I pay a lot less than the cost of dedicated with the same &#8230; <a href="http://www.apreche.net/upgrade-hosting-means-clean-urls-are-no-more/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I use <a href="http://www.linode.com">Linode</a> for web hosting. I like it because from an administration perspective, I effectively have a dedicated Linux box. In reality it is shared, so I pay a lot less than the cost of dedicated with the same amount of freedom. Up until Saturday, this server was running a very old Gentoo build that I never bothered to update. Performing this update was good, but had unforeseen consequences.<span id="more-539"></span></p>
<p>Before the update, the server was running a build of Gentoo from 2005. It was also running PHP4, a very old MySQL version, and a very old Apache 2. Now I have it running a new Ubuntu, lighttpd, PHP5 and new MySQL. All in all, there isn&#8217;t a noticeable change in how fast the server loads pages. However, there is a huge increase in security, ease of administration. I&#8217;m also sure the server can now perform much better under a heavy load than before, although the old build did handle quite a Digging without a hiccup.</p>
<p>Also, before performing the upgraded, I assumed it was a project that would take a day or two. Mostly thanks to the awesomeness of Ubuntu and Linode, porting all the web apps over took only a handful of hours. Completely rebuilding a web server from scratch and restoring all existing services in just a few hours, without any data loss, is pretty amazing. The only hitch I ran into was when I couldn&#8217;t finish a MySQL dump because the partition with the old build ran out of space.</p>
<p>Despite all this good news, there was one hitch. You see, this blog actually started running on a perl-based CMS known as blosxom. It&#8217;s still around, but nowadays it has a hard time competing with the likes of WordPress or Drupal. Anyway, Blosxom had a very elegant URL structure. When I originally switched to WordPress, I had to create an htaccess file and use mod_rewrite to keep that existing URL structure and not break every link to my blog.</p>
<p>Now that I have switched from apache2 to lighttpd, htaccess is no more. All the clean URLs for this blog are gone in favor of the ugly WordPress defaults. Every link to a specific article on this blog, including all the ones from my recent Digging, are broken. I could, if I wanted to, recreate the functionality of the mod_rewrite htaccess in a lighttpd configuration, but I just don&#8217;t care. I added a configuration to set the WordPress 404s to work, and that&#8217;s it.</p>
<p>This does bring up an interesting point though. URLs are largely determined by the web application and the web server working in tandem. If you want to move your site to a different platform, its a huge pain in the ass to keep the same URLs. This problem is largely unsolved. You&#8217;re pretty much either going to write lots of regex rewrite instructions to always keep your old schema, or you&#8217;re going to make broken links all across the web.</p>
<p>All in all, I think its best to just change and move on. The sooner you give up on the old, the sooner links will right themselves. If anyone out there has permalinks to any stuff on this site, feel free to update them.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.apreche.net/upgrade-hosting-means-clean-urls-are-no-more/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What it&#8217;s Like Being On Digg&#8217;s Front Page</title>
		<link>http://www.apreche.net/what-its-like-being-on-diggs-front-page/</link>
		<comments>http://www.apreche.net/what-its-like-being-on-diggs-front-page/#comments</comments>
		<pubDate>Mon, 29 Oct 2007 20:06:01 +0000</pubDate>
		<dc:creator>Apreche</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Digg]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.apreche.net/2007/10/29/what-its-like-being-on-diggs-front-page/</guid>
		<description><![CDATA[I learned a lot from having my story on Digg's front page. <a href="http://www.apreche.net/what-its-like-being-on-diggs-front-page/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I wrote an article about how Linux&#8217;s lack of complete support for most hardware is a bigger problem now than its total lack of support for a relatively smaller amount of hardware. This article really felt like Digg material when I wrote it. I was saying something that had not really been said in the past, and I spent a lot of time writing it. I decided to go against the stigma of Digging your own content, and I put it up there. I would not be writing this article if I didn&#8217;t make the front page. Let me share with you what I have learned from this experience.<span id="more-534"></span></p>
<p>I&#8217;ve learned that in order to get Dugg up, the headline is everything. Because it is my article, I actually bothered to read comments about it on multiple sites. The vast majority of people did not read the article. That may be because it was a wall of text, but I doubt it. People might read your headline, click your link, and skim your article, but that&#8217;s it. All you need to do to get a few thousand hits from a site like Digg is the headline.</p>
<p>Some people, including myself, attach some stigma to the idea of submitting content you have created to sites like Digg. I have abandoned this stigma. Even if you submit your own thing, the most that gives it is one vote. As of me typing this, my story has 1161 Diggs. No one has any motive for increasing exposure to my blog, with no advertisements on it, other than myself. Apparently 1160 people think my blog post is worth clicking. I do not feel bad for Digging it once. This is a stigma that should go away.</p>
<p>The most important thing I&#8217;ve learned is that sites being unable to handle large amounts of traffic are just poorly administered. Sure, my blog completely lacks graphics, and that helps. However, it also runs WordPress, which is infamous for not being able to withstand heavy traffic. Because I have the server properly configured, it was able to perform perfectly under heavy load. I don&#8217;t even do any weird caching or anything. It&#8217;s just a basic LAMP setup. I think what helps is that we pay $80 a month for hosting from Linode. Most people have these shared hosts for five bucks a month. Listen people, that isn&#8217;t going to work if you actually get significant traffic. You get what you pay for.</p>
<p>Also interesting was that I got a significant amount of non-Digg traffic. It should have been obvious, but I didn&#8217;t expect it. If thousands of people see and like my story on Digg, obviously they are going to link to it from other sites such as Reddit, but also on relevant news sites. Quite a few Linux or technology news sites around the world picked up the story, or it showed up in their news feed sidebars. Digg might be able to provide the initial exposure for your link, but the link will quickly fall off to the second page. Meanwhile, other sites that pick up your link will have you on the front page for quite awhile longer.</p>
<p>All in all, I think this was a valuable learning experience. I&#8217;ll probably be Digging a lot more of the content I create, especially if I have a feeling it is going to be popular. It helps a lot that my fears of having our server cave in have been eliminated.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.apreche.net/what-its-like-being-on-diggs-front-page/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Stalker Feed</title>
		<link>http://www.apreche.net/stalker-feed/</link>
		<comments>http://www.apreche.net/stalker-feed/#comments</comments>
		<pubDate>Wed, 06 Sep 2006 20:40:14 +0000</pubDate>
		<dc:creator>Apreche</dc:creator>
				<category><![CDATA[Personal]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.apreche.net/2006/09/06/stalker-feed/</guid>
		<description><![CDATA[You may notice a new link on the side of the blog to my new stalker feed. This feed is an RSS feed which combines all the items from all of my websites. So if you want to watch my &#8230; <a href="http://www.apreche.net/stalker-feed/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You may notice a new link on the side of the blog to my new <a title="stalker feed" href="http://feeds.feedburner.com/apreche">stalker feed</a>. This feed is an RSS feed which combines all the items from all of my websites. So if you want to watch my blog, <a title="GeekNights" href="http://www.frontrowcrew.com">podcast</a>, <a href="http://apreche.listal.com">listal</a>, <a href="http://del.icio.us/apreche">del.icio.us</a>, <a href="http://www.digg.com/users/Apreche">digg</a>, <a href="http://flickr.com/photos/apreche">Flickr</a>, <a href="http://www.last.fm/user/Apreche">Last.fm</a> and all that other stuff bunched into one feed, you&#8217;ve got it. Now you can monitor pretty much all of my Internet activities in one place.</p>
<p><span id="more-247"></span>I first attempted to find a free program I could download to run this on my own web server. That doesn&#8217;t seem to exist in any good and usable form. So I tried to write my own. This proved to be more difficult than I first realized. Since nobody seemed to format their feeds in a standard way, it was turning out to be a daunting adventure in XML parsing.</p>
<p>So in the end I combined two different services to perform the task. The first service is <a title="feed jumbler" href="http://www.feedjumbler.com">FeedJumbler</a> which does a serviceable job of combining feeds. My only complaint is that it destroys a great deal of the extra data in the feed items. The other service is, of course, <a title="feeds a flaming" href="http://www.feedburner.com">FeedBurner</a>. It does a good job of taking the jumbled feed and making it a feed that is useable. It also adds in my del.icio.us feed and my flickr feed without killing the extra data.</p>
<p>I hope one day soon I will be able to use FeedBurner for this entire operation. So many people want to combine many RSS feeds into one, but most services that perform this function are meant for people who read rss rather than those who publish it. Not only that, but so few of them actually parse all of the XML properly causing the inevitable loss of useful tags.</p>
<p>I know from coding a solution why this is. RSS sucks. From the user perspective it&#8217;s great because programs that automatically create RSS, like WordPress, and programs that read RSS, like Firefox, already exist and work great. From a developer&#8217;s perspective it is a nightmare. I was not able to find a single RSS library in existence that actually handles anything that might be in a feed. No matter what tags from whatever XML namespaces appear in a feed, it should not be ignored or removed. People obviously are pretty good at coding software that writes RSS which is chock-full of semantic web happiness, but nobody has written anything that can make use of all of it let alone just hold onto it. Every library took the RSS data and destroyed at least some of it to make it easier for developers to handle it programatically. Then they made it incredibly difficult to re-write a new RSS feed.</p>
<p>I&#8217;m obviously a big fan of the uses of RSS, but not until we have intelligent RSS handling libraries which can actually make use of the full potential of RSS will we see more new and exciting things like podcasting.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.apreche.net/stalker-feed/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Cleaner Looks</title>
		<link>http://www.apreche.net/cleaner-looks/</link>
		<comments>http://www.apreche.net/cleaner-looks/#comments</comments>
		<pubDate>Tue, 14 Feb 2006 17:46:55 +0000</pubDate>
		<dc:creator>Apreche</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[RSS]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.apreche.net/2006/02/14/cleaner-looks/</guid>
		<description><![CDATA[Lots of updates about my websites. <a href="http://www.apreche.net/cleaner-looks/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>OK, I&#8217;ve got quite a few updates about this site here. First off, there&#8217;s a problem with running out of RAM on our hosting. I&#8217;ve fixed it by adding more swap space, but that is far from an ideal solution. There might be a short downtime between now and the end of March when I upgrade to a better hosting package.</p>
<p><span id="more-135"></span>Secondly, you might notice some nice changes to the CSS here. I&#8217;ve been working on a new theme for <a title="Front Row Crew" href="http://www.frontrowcrew.com">the podcast site</a> lately. While I was doing that I learned some stuff about web 2.0 style and typography. That made me realize the fonts on this site were small and ugly. You should notice I&#8217;ve already made changes to the style that should make this page more pleasant to look at.</p>
<p>Another change you will notice is that I have removed the automatic del.icio.us cross posts from the front page and the RSS feed. You can still check them out by going to the actual del.icio.us category however. I liked the fact that I could backup my del.icio.us links to my blog, but I didn&#8217;t like the clutter they created. I finally found a technological solution to create a happy medium. I also have changed the arrangement of links on the right side of the page.<br />
If I had a penny for every time a content creator on the web asked forgiveness for not creating content reguarly enough I could buy and sell the Sultan of Brunai. So I&#8217;ll let the sultan breath a sigh of relief and skip it. But I would just like to let you know that more awesome stuff will be appearing here soon. I&#8217;m doing a pretty good job of getting my affairs in order, and in the coming spring and summer months I have more energy to get things done.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.apreche.net/cleaner-looks/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>WordPress 2.0</title>
		<link>http://www.apreche.net/wordpress-20/</link>
		<comments>http://www.apreche.net/wordpress-20/#comments</comments>
		<pubDate>Sun, 08 Jan 2006 04:18:57 +0000</pubDate>
		<dc:creator>Apreche</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.apreche.net/2006/01/07/wordpress-20/</guid>
		<description><![CDATA[Upgraded to WordPress 2.0 just now. <a href="http://www.apreche.net/wordpress-20/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I upgraded this blog software up to WordPress 2.0. What does this mean for you? Absolutely nothing unless you happened to visit during the 30 seconds of downtime. Perhaps the site might be a little faster, but I don&#8217;t notice it. What does it mean for me? It means that blogging is ten thousand times more awesome.</p>
<p>Carry on.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.apreche.net/wordpress-20/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>AJAX + Canvas = Awesome + Games</title>
		<link>http://www.apreche.net/ajax-canvas-awesome-games/</link>
		<comments>http://www.apreche.net/ajax-canvas-awesome-games/#comments</comments>
		<pubDate>Mon, 05 Dec 2005 22:04:41 +0000</pubDate>
		<dc:creator>Apreche</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Video Games]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[canvas]]></category>
		<category><![CDATA[projects]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.apreche.net/?p=68</guid>
		<description><![CDATA[...you can make a massive multiplayer online game in a web browser that requires very little loading time, no installation and no plugins. <a href="http://www.apreche.net/ajax-canvas-awesome-games/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>You may recall a previous blog post I made about <a href="http://www.apreche.net/2005/06/11/ajax-games/">games using AJAX</a>. Web pages with the ability to read and write to databases via XML and update the display without reloading allow for the possibility of games that work in any web browser without plug-ins or large bandwidth consumption. But the games would still be limited to what you can draw using CSS and HTML. Thanks to the new <a href="http://developer.mozilla.org/en/docs/Canvas_tutorial">canvas element</a> in the newest versions of <a href="http://www.getfirefox.com">Firefox</a> and <a href="http://www.apple.com/macosx/features/safari/">Safari</a> this is no longer a limitation.</p>
<p><span id="more-68"></span></p>
<p>When I saw <a href="http://www.abrahamjoffe.com.au/ben/canvascape/">this fps</a> implemented using the canvas element last week I knew gold had been struck. With the canvas you have the ability to create a real-time drawing surface with JavaScript. With the XMLHttpRequest you have the ability to get and send data to a web application which can read and write to a database. If you add these two things together you can make a massive multiplayer online game in a web browser that requires very little loading time, no installation and no plugins. This is the hotness. If games like <a href="http://www.kingdomofloathing.com">Kingdom of Loathing</a> pick up on this technology they can do some really revolutionary stuff.</p>
<p>As a proof of concept for this idea I have created a <a href="http://www.apreche.net/~apreche/canvasdemo/canvastest.html">terrible terrible demo</a>. It&#8217;s really simple and almost embarassing, but that&#8217;s what you get with less than an hour of work. I only tested it in Firefox 1.5, but it should theoretically work in any browser that supports XMLHttpRequest and canvas. There are two links and a canvas. If you click a link, the square with the coordinates it represents will turn black. This isn&#8217;t anything new, except that behind the scenes those coordinates are being read from XML data. If you replace that static XML data with a web application and a relational database then you&#8217;re playing with power.</p>
<p>Maybe the demo will be better by the time you read this. I&#8217;m going to keep working on it as a platform for creating games that utilize grids. Tile-laying games like <a href="http://www.boardgamegeek.com/game/42">Tigris and Euphrates</a> and strategy games like Dungeons and Dragons combat are top contenders. All that we have to do now is expand the canvas to have real 3d drawing power with the help of the GPU.</p>
<p>What are the long term implications of this technology? The most obvious thing I see is another nail in the coffin of Microsoft. Looking for the reason? PC Gaming is one of the main reasons pepople still run Windows. If all the software is web-based then Firefox becomes the OS and Linux/OSX/Windows doesn&#8217;t matter. If we can make a 3d, or even a 2d MMO that works in Firefox regardless of platform we can make a killing. Even people running old versions of BSD would be able to play the game just fine. There are more PCs than consoles out there. Firefox&#8217;s popularity is growing daily. A quality game built on this platform could easily overtake the great World of Warcraft because the barrier to entry is so small. To get into most MMOs you have to install software and have sufficient 3d hardware. Signing up for this MMO would be no harder than registering for a forum on the web.</p>
<p>I&#8217;m going to talk about this tonight on <a href="http://www.frontrowcrew.com/?cat=27">GeekNights</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.apreche.net/ajax-canvas-awesome-games/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>AJAX Games</title>
		<link>http://www.apreche.net/ajax-games/</link>
		<comments>http://www.apreche.net/ajax-games/#comments</comments>
		<pubDate>Sat, 11 Jun 2005 15:24:24 +0000</pubDate>
		<dc:creator>Apreche</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[Video Games]]></category>
		<category><![CDATA[AJAX]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.apreche.net/?p=45</guid>
		<description><![CDATA[The day when 5 people can play the same game of Puerto Rico on a phone, palm, blackberry, PC and PSP in different parts of the world will be a very good day. <a href="http://www.apreche.net/ajax-games/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>I made a comment recently on <a href="http://ejohn.org/blog/streaming-http-server-push/">a blog</a> that was talking about streaming HTTP, AJAX and other hot web technologies. I realized that as far as Google and del.icio.us know, nobody has made a game using these technologies. I hope that this post will help me to find, create or inspire games that do so.</p>
<p><span id="more-45"></span></p>
<p>I remember back in the 90&#8242;s there were JavaScript games. Java and Flash were big and slow to download over dial-up connections. Yet people wanted to play games in the web browser. People created a bunch of CGI and JavaScript based games using form elements and gifs to create poor renditions of classic turn based games. Mostly card games IIRC. But as technology advanced we got Director, Flash and Java to provide the browser embedded games we desired.</p>
<p>Recently there have been advances in web technology like AJAX, SVG, XmlHTTPRequest that allow web pages to be more dynamic than ever. Without using iframes we can have pages that both update information in a database and update their display based on information from the database without reloading. I think it&#8217;s freaking obvious that we should make a game based on that architecture. It will load fast, look cool, not require plug-ins, work in any new browser, allow multi-player and just be fun.</p>
<p>My current vision is to recreate versions of European board games such as Puerto Rico, Tigris and Euphrates, St. Petersburg, Carcassone, etc. using this platform. Much like the version of Settlers of Catan made with Java, this would be a huge hit and a great way to kill shit tons of time.</p>
<p>Now, there is more to it than in-browser games that don&#8217;t require a plug-in. ANY modern browser will run the games. That could potentially include browsers on cell phones, Palm devices, Blackberries, etc. Imagine if instead of paying your cellular carrier money to download a shit version of Tetris because they disabled phone functionality you can instead just visit a page and play board games with your friends for your standard data charge. And different style sheets for different media will enable the game to have a proper interface despite your chosen browser, device and network speed. The day when 5 people can play the same game of Puerto Rico on a phone, palm, blackberry, PC and PSP in different parts of the world will be a very good day.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.apreche.net/ajax-games/feed/</wfw:commentRss>
		<slash:comments>12</slash:comments>
		</item>
		<item>
		<title>New Hosting</title>
		<link>http://www.apreche.net/new-hosting/</link>
		<comments>http://www.apreche.net/new-hosting/#comments</comments>
		<pubDate>Fri, 22 Apr 2005 03:47:25 +0000</pubDate>
		<dc:creator>Apreche</dc:creator>
				<category><![CDATA[Site News]]></category>
		<category><![CDATA[Technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.apreche.net/2005/04/21/new-hosting/</guid>
		<description><![CDATA[...what they do is utilize the user mode Linux technology to turn one giant server into 20 or so normal servers. <a href="http://www.apreche.net/new-hosting/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So as you may know this site was hosted on my old Pentium III on the <a href="http://www.rit.edu">RIT</a> campus network. Due to graduation I needed to find new hosting to avoid downtime. Let me tell you, the vast majority of hosting out there sucks. They mostly target the stupid Joe Schmoes, the small businesses and the people who need giant server farms. There isn&#8217;t much outside of co-location that targets technological individuals such as myself.</p>
<p><span id="more-56"></span></p>
<p>I considered some co-location, but I think I&#8217;ll have to set that as a long term goal. I need money now for a security deposit on an apartment, not for another computer. Luckily I found <a href="http://www.linode.com">Linode</a>. Basically what they do is utilize the user mode Linux technology to turn one giant server into 20 or so normal servers. Then they sell each of the 20 servers to people like me. UML is really cool because what it does is virtually turn a single physical hardware computer into as many fully functional Linux machines as you want. It&#8217;s kind of like VMware, but for Linux only and 1000 times more powerful.</p>
<p>Originally I was hesitant about getting it. I was afraid it wouldn&#8217;t be powerful enough. But it was the only place that was providing complete root control of a Linux box for a reasonable price. So I took it and I can say so far I am very pleased. The web interface is especially nice. I can reboot the computer all i want and re-image with any distribution from their image server at the push of a button. I&#8217;m running Gentoo as always and administering it the way I like. And despite being a bit low on RAM I&#8217;m still pulling through quite nicely.</p>
<p>One thing I would especially like to note is that user mode Linux is free like all open source stuff. You can turn your computer into 50 virtual Linux boxes if you want at no cost. No other OS I know of has a freely available and high quality way to run multiple copies of itself on a single piece of hardware simultaneously. I know BSD has the jails, but its not the same. UML rules, this site will be hosted for a long while. Hooray and hooray.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.apreche.net/new-hosting/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Blog Spam</title>
		<link>http://www.apreche.net/blog-spam/</link>
		<comments>http://www.apreche.net/blog-spam/#comments</comments>
		<pubDate>Fri, 12 Nov 2004 23:25:23 +0000</pubDate>
		<dc:creator>Apreche</dc:creator>
				<category><![CDATA[Technology]]></category>
		<category><![CDATA[blogging]]></category>
		<category><![CDATA[webdev]]></category>

		<guid isPermaLink="false">http://www.apreche.net/2004/11/12/blog-spam/</guid>
		<description><![CDATA[I modified the comments plugin to not accept any comment in which the checkbox isn't checked. <a href="http://www.apreche.net/blog-spam/">Continue reading <span class="meta-nav">&#8594;</span></a>]]></description>
			<content:encoded><![CDATA[<p>So I didn&#8217;t even realize that blog spammers existed. But now I do. And they can all go rot in hell. They can rot in a hell ten times lower than the e-mail spammers.</p>
<p><span id="more-24"></span></p>
<p>Anyway, blog spammers are kind of easy to get rid of. You can set up all kinds of stuff like making the user look at an image and then type the number into a box in order to post a message. Or you can do it <a href="http://www.engadget.com">Engadget</a> style and make users confirm by e-mail. But this blog is powered by a small perl script called <a href="http://www.blosxom.com/">blosxom</a>. And the posting of comments is done via a smaller plugin perl script called &#8220;comments&#8221;. So instead of re-doing my entire blog in a different system I modified the comments plugin to not accept any comment in which the checkbox isn&#8217;t checked. My friend <a href="http://www.staticfree.info">Steve</a> came up with this temporary hacky fix. Originally I thought it was a hacky fix, but I eventually caved in and used it because the blog spam was getting exponentially worse. When I figure out a better solution I&#8217;ll do it.</p>
<p>You also might have noticed I upgraded the site in a few ways. I added a way to go through archives at the top there. I didn&#8217;t realize before there was no way to go back in my blog, so I got a blosxom extension for archiving that is extremely simple. It&#8217;s fairly obvious. Also, I moved the RSS link to the top from the bottom where it previously resided. With Firefox 1 RSS is become more popular, so I figure I should put it in a more prominent spot. I also added the appropriate tag in the header of my pages so the RSS feed will appear in the bottom right of firefox and other things that pay attention to that will see it.</p>
<p>Lastly I upgraded the creative commons license to version 2.0 instead of 1.0. I also corrected a few issues to make sure I still validate at XHTML1.0 Strict and the CSS still validates also. Oh yeah, reading my blog in Internet Explorer, which is perfectly standard XHTML and CSS, is worse than ever. Get Firefox, what is wrong with you?! Lastly, I&#8217;m considering adding a new rectangle thingy at the bottom to proclaim the blog is powered by Blosxom. In fact, I&#8217;m doing that this second, so anyone reading this will probably see it.</p>
<p>That should take care of the web design tasks of this blog for quite awhile. I have a predicament though, that in just a little over 10 weeks I graduate college. After that I&#8217;m on co-op. And unless I find a co-op in the Rochester area, I&#8217;m blowing this popsicle stand for good. That means the server isn&#8217;t going to stay in the apartment much longer. So I have to find hosting or get a new place with a domain and a net connection. Hopefully I&#8217;ll be paid enough money and I can co-locate the server cheaply. Maybe I&#8217;ll get www.apreche.net or www.gourmetgeek.com or something. Yeah&#8230; Anyway, watch out for that in the future. I still don&#8217;t know what I&#8217;ll do about my e-mail address.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.apreche.net/blog-spam/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
