<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Tigwyk&#8217;s Blog</title>
	<atom:link href="https://tigwyk.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>https://tigwyk.wordpress.com</link>
	<description>Eat. Sleep. Work. Code. Game.</description>
	<lastBuildDate>Thu, 28 Feb 2013 01:41:15 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='tigwyk.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>https://s0.wp.com/i/buttonw-com.png</url>
		<title>Tigwyk&#8217;s Blog</title>
		<link>https://tigwyk.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="https://tigwyk.wordpress.com/osd.xml" title="Tigwyk&#039;s Blog" />
	<atom:link rel='hub' href='https://tigwyk.wordpress.com/?pushpress=hub'/>
	<item>
		<title>Quiet time</title>
		<link>https://tigwyk.wordpress.com/2013/02/27/quiet-time/</link>
					<comments>https://tigwyk.wordpress.com/2013/02/27/quiet-time/#respond</comments>
		
		<dc:creator><![CDATA[tigwyk]]></dc:creator>
		<pubDate>Thu, 28 Feb 2013 01:36:49 +0000</pubDate>
				<category><![CDATA[devlog]]></category>
		<guid isPermaLink="false">http://tigwyk.wordpress.com/?p=86</guid>

					<description><![CDATA[There&#8217;s a bit of downtime right now as I&#8217;m again reading and researching new ideas and ways to implement things. I should really be working on animating sprites in the game engine, but I already know I can do that with little effort so I feel like working on things I haven&#8217;t actually hashed out [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>There&#8217;s a bit of downtime right now as I&#8217;m again reading and researching new ideas and ways to implement things. I should really be working on animating sprites in the game engine, but I already know I can do that with little effort so I feel like working on things I haven&#8217;t actually hashed out yet. That and it gives me some time to play Eve Online and explore their economy system and such. Some of these meta-elements of games in general really interest me, I can&#8217;t get enough of ludology!</p>
<p>Speaking of which, check this out if you like meta-game discussion:<br />
<a href="http://reddit.com/r/ludology">/r/ludology</a></p>
<p>I&#8217;ll post some of the latest screenshots when I get home. They&#8217;re similar to what you&#8217;ve already seen but there&#8217;s been a bit of progress.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tigwyk.wordpress.com/2013/02/27/quiet-time/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://1.gravatar.com/avatar/7ef47cc8d6250f68c5f9a5d0c08cf819e5a575489e011cd706c08aa33f7b1705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tigwyk</media:title>
		</media:content>
	</item>
		<item>
		<title>All quiet on the western front</title>
		<link>https://tigwyk.wordpress.com/2013/02/13/all-quiet-on-the-western-front/</link>
					<comments>https://tigwyk.wordpress.com/2013/02/13/all-quiet-on-the-western-front/#respond</comments>
		
		<dc:creator><![CDATA[tigwyk]]></dc:creator>
		<pubDate>Thu, 14 Feb 2013 03:33:39 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://tigwyk.wordpress.com/?p=84</guid>

					<description><![CDATA[Just a quick post to say it&#8217;ll be quiet until the weekend since Valentine&#8217;s Day is tomorrow and I&#8217;ve gotta take care of my romantic life in order to continue happily working on the game. 😉]]></description>
										<content:encoded><![CDATA[<p>Just a quick post to say it&#8217;ll be quiet until the weekend since Valentine&#8217;s Day is tomorrow and I&#8217;ve gotta take care of my romantic life in order to continue happily working on the game. <img src="https://s0.wp.com/wp-content/mu-plugins/wpcom-smileys/twemoji/2/72x72/1f609.png" alt="😉" class="wp-smiley" style="height: 1em; max-height: 1em;" /></p>
]]></content:encoded>
					
					<wfw:commentRss>https://tigwyk.wordpress.com/2013/02/13/all-quiet-on-the-western-front/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://1.gravatar.com/avatar/7ef47cc8d6250f68c5f9a5d0c08cf819e5a575489e011cd706c08aa33f7b1705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tigwyk</media:title>
		</media:content>
	</item>
		<item>
		<title>cityscape</title>
		<link>https://tigwyk.wordpress.com/2013/02/11/cityscape/</link>
					<comments>https://tigwyk.wordpress.com/2013/02/11/cityscape/#respond</comments>
		
		<dc:creator><![CDATA[tigwyk]]></dc:creator>
		<pubDate>Mon, 11 Feb 2013 17:52:06 +0000</pubDate>
				<category><![CDATA[devlog]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Tiny Ghost Town]]></category>
		<category><![CDATA[video game]]></category>
		<guid isPermaLink="false">http://tigwyk.wordpress.com/2013/02/11/cityscape/</guid>

					<description><![CDATA[A bit of colour and then a city skyline for a backdrop really adds something!]]></description>
										<content:encoded><![CDATA[<p><img src="https://tigwyk.wordpress.com/wp-content/uploads/2013/02/cityscape.png?w=460" class="size-full" alt="cityscape" /></p>
<p>A bit of colour and then a city skyline for a backdrop really adds something!</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tigwyk.wordpress.com/2013/02/11/cityscape/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://1.gravatar.com/avatar/7ef47cc8d6250f68c5f9a5d0c08cf819e5a575489e011cd706c08aa33f7b1705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tigwyk</media:title>
		</media:content>

		<media:content url="https://tigwyk.wordpress.com/wp-content/uploads/2013/02/cityscape.png" medium="image">
			<media:title type="html">cityscape</media:title>
		</media:content>
	</item>
		<item>
		<title>Clouds!</title>
		<link>https://tigwyk.wordpress.com/2013/02/11/clouds/</link>
					<comments>https://tigwyk.wordpress.com/2013/02/11/clouds/#respond</comments>
		
		<dc:creator><![CDATA[tigwyk]]></dc:creator>
		<pubDate>Mon, 11 Feb 2013 17:40:04 +0000</pubDate>
				<category><![CDATA[devlog]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Tiny Ghost Town]]></category>
		<category><![CDATA[video game]]></category>
		<guid isPermaLink="false">http://tigwyk.wordpress.com/?p=76</guid>

					<description><![CDATA[Adding clouds immediately made my game world feel that much more immersive.]]></description>
										<content:encoded><![CDATA[<p><img src="https://tigwyk.wordpress.com/wp-content/uploads/2013/02/clouds.png?w=460" class="size-full" alt="Clouds!" /></p>
<p>Adding clouds immediately made my game world feel that much more immersive.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tigwyk.wordpress.com/2013/02/11/clouds/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://1.gravatar.com/avatar/7ef47cc8d6250f68c5f9a5d0c08cf819e5a575489e011cd706c08aa33f7b1705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tigwyk</media:title>
		</media:content>

		<media:content url="https://tigwyk.wordpress.com/wp-content/uploads/2013/02/clouds.png" medium="image">
			<media:title type="html">Clouds!</media:title>
		</media:content>
	</item>
		<item>
		<title>And now for something completely different&#8230;</title>
		<link>https://tigwyk.wordpress.com/2013/02/10/and-now-for-something-completely-different/</link>
					<comments>https://tigwyk.wordpress.com/2013/02/10/and-now-for-something-completely-different/#respond</comments>
		
		<dc:creator><![CDATA[tigwyk]]></dc:creator>
		<pubDate>Sun, 10 Feb 2013 20:54:30 +0000</pubDate>
				<category><![CDATA[devlog]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[Tiny Ghost Town]]></category>
		<category><![CDATA[video game]]></category>
		<category><![CDATA[video game developers]]></category>
		<category><![CDATA[yoyogames]]></category>
		<guid isPermaLink="false">http://tigwyk.wordpress.com/?p=68</guid>

					<description><![CDATA[As of a few months ago I decided I was going to make a video game that I could actually finish and release. I&#8217;ve been coding game-like things for aeons now in various languages, but mostly just to see what&#8217;s possible in that coding language. Recently I bought GameMaker Studio Pro from YoYoGames, and although [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>As of a few months ago I decided I was going to make a video game that I could actually finish and release. I&#8217;ve been coding game-like things for aeons now in various languages, but mostly just to see what&#8217;s possible in that coding language. Recently I bought GameMaker Studio Pro from YoYoGames, and although it&#8217;s not the most well-laid-out piece of software, it&#8217;s quite powerful. More powerful than I originally thought, in fact. If you&#8217;ve ever played Hotline Miami, or the original Spelunky flash game, those were both made in GameMaker. Hotline Miami grabbed my attention and wouldn&#8217;t let go for months. To hear that a game like that was created in GameMaker really inspired me to get off my duff and do something, rather than read about more and more ways to do it. It&#8217;s easy to keep reading, keep asking questions, keep claiming that you haven&#8217;t found the right engine yet. The number of people I see asking these same questions over and over on the <a href="http://reddit.com/r/GameDev" target="_blank">GameDev reddit</a> is discouraging. It&#8217;s almost like half of the potential video game developers out there have stopped before they&#8217;ve started!</p>
<p>The project I&#8217;m starting is quaintly called <em>Tiny Ghost Town</em> as a working title. It&#8217;s the story of a Tiny Tower &#8220;Bitizen&#8221; who, after a year of seeing Tiny Towers fall into disrepair as people stopped maintaining them, decides to take matters into his own hands. He sets off on a mission to find out what&#8217;s going on, and along the way he&#8217;ll encounter all sorts of obstacles and enemies who&#8217;ve been allowed to run rampant in the many towers. Armed with whatever he can get his tiny hands on, he&#8217;ll advance through floor after floor of each tower, clearing out the baddies and discovering the truth. It&#8217;s a side-scrolling, action platformer inspired by the original <a href="http://en.wikipedia.org/wiki/Tiny_Tower" target="_blank">Tiny Tower</a> mobile game by the lovely folks over at <a href="http://www.nimblebit.com/" target="_blank">NimbleBit</a>.</p>
<p>I&#8217;ve already hired an amazing pixel artist, here&#8217;s some of the stuff he&#8217;s done!</p>
<p><a href="https://tigwyk.wordpress.com/wp-content/uploads/2013/02/bitizen.png"><img data-attachment-id="70" data-permalink="https://tigwyk.wordpress.com/2013/02/10/and-now-for-something-completely-different/bitizen/" data-orig-file="https://tigwyk.wordpress.com/wp-content/uploads/2013/02/bitizen.png" data-orig-size="251,866" data-comments-opened="1" data-image-meta="{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;}" data-image-title="bitizen" data-image-description="" data-image-caption="" data-medium-file="https://tigwyk.wordpress.com/wp-content/uploads/2013/02/bitizen.png?w=87" data-large-file="https://tigwyk.wordpress.com/wp-content/uploads/2013/02/bitizen.png?w=251" class="alignnone size-medium wp-image-70" alt="bitizen" src="https://tigwyk.wordpress.com/wp-content/uploads/2013/02/bitizen.png?w=86&#038;h=300" width="86" height="300" /></a></p>
<p>Pretty fantastic, no?</p>
<p>And a screenshot of the AK-47 prototyped: <a href="http://puu.sh/20vWI" target="_blank">http://puu.sh/20vWI</a></p>
<p>&nbsp;</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tigwyk.wordpress.com/2013/02/10/and-now-for-something-completely-different/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://1.gravatar.com/avatar/7ef47cc8d6250f68c5f9a5d0c08cf819e5a575489e011cd706c08aa33f7b1705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tigwyk</media:title>
		</media:content>

		<media:content url="https://tigwyk.wordpress.com/wp-content/uploads/2013/02/bitizen.png?w=86" medium="image">
			<media:title type="html">bitizen</media:title>
		</media:content>
	</item>
		<item>
		<title>A change of pace</title>
		<link>https://tigwyk.wordpress.com/2012/06/26/a-change-of-pace/</link>
					<comments>https://tigwyk.wordpress.com/2012/06/26/a-change-of-pace/#respond</comments>
		
		<dc:creator><![CDATA[tigwyk]]></dc:creator>
		<pubDate>Wed, 27 Jun 2012 01:42:49 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[gaming]]></category>
		<category><![CDATA[software-development]]></category>
		<category><![CDATA[technology]]></category>
		<guid isPermaLink="false">http://tigwyk.wordpress.com/?p=64</guid>

					<description><![CDATA[So recently I&#8217;ve been doing a lot of MOO coding. It&#8217;s a little different, but very similar to LPC in many ways. The structure of MOO code is such that verbs on objects are both commands you enter, and functions that get called. There&#8217;s some voodoo involved, I&#8217;m sure of it, but at the end [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>So recently I&#8217;ve been doing a lot of MOO coding. It&#8217;s a little different, but very similar to LPC in many ways. The structure of MOO code is such that verbs on objects are both commands you enter, and functions that get called. There&#8217;s some voodoo involved, I&#8217;m sure of it, but at the end of the day the MOO coding language offers a lot of flexibility and power. Anyways, that&#8217;s enough of me. I just wanted to mention that I happened across a very cool way of disabling your code in a MOO verb without having to laboriously comment it all out manually or delete it entirely.</p>
<pre style="padding-left:30px;"><strong>if(0)</strong></pre>
<pre style="padding-left:30px;"><em>your MOO code goes here</em></pre>
<pre style="padding-left:30px;"><strong>endif</strong></pre>
<p>Bam, that&#8217;s all there is to it! I can&#8217;t take credit for this, though. It may be obvious to some that this code works (programmers of other languages, for instance) but it hadn&#8217;t crossed my mind.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tigwyk.wordpress.com/2012/06/26/a-change-of-pace/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://1.gravatar.com/avatar/7ef47cc8d6250f68c5f9a5d0c08cf819e5a575489e011cd706c08aa33f7b1705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tigwyk</media:title>
		</media:content>
	</item>
		<item>
		<title>Static vs Dynamic</title>
		<link>https://tigwyk.wordpress.com/2009/09/28/static-vs-dynamic/</link>
					<comments>https://tigwyk.wordpress.com/2009/09/28/static-vs-dynamic/#comments</comments>
		
		<dc:creator><![CDATA[tigwyk]]></dc:creator>
		<pubDate>Tue, 29 Sep 2009 01:20:10 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://tigwyk.wordpress.com/2009/09/28/static-vs-dynamic/</guid>

					<description><![CDATA[Since I’m now officially a wizard (Immortal/coder) on SWMud, I figured I’d share some LPC knowledge. I’m constantly improving and optimizing my own code based on looking at code belonging to so called ‘experts’. Along the way, I’ve learned a few things. For this entry, we’re simply going to compare two types of coding. And [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>Since I’m now officially a wizard (Immortal/coder) on SWMud, I figured I’d share some LPC knowledge. I’m constantly improving and optimizing my own code based on looking at code belonging to so called ‘experts’. Along the way, I’ve learned a few things.</p>
<p>For this entry, we’re simply going to compare two types of coding. And in this particular case, I only have one really good example. I’m sure you could think up hundreds more once you put your mind to it.</p>
<p>Below is an example of code I see all the time:</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:97.5%;font-family:&#39;direction:ltr;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> <span style="color:#0000ff;">switch</span>(random(2)){ </pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum2">   2:</span> <span style="color:#0000ff;">case</span> 0: write(“Random thing 1.”); </pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   3:</span> <span style="color:#0000ff;">break</span>; </pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum4">   4:</span> <span style="color:#0000ff;">case</span> 1: write(“Random thing 2.”); </pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum5">   5:</span> <span style="color:#0000ff;">break</span>; </pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum6">   6:</span> <span style="color:#0000ff;">case</span> 2: write(“Random thing 3.”); </pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum7">   7:</span> <span style="color:#0000ff;">break</span>; </pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum8">   8:</span> <span style="color:#0000ff;">default</span>: write(“Random broke.”); </pre>
<p><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum9">   9:</span> }</pre>
<p><!--CRLF--></div>
</div>
</p>
<p>First things first, remember that random() ranges from 0 (zero) to the integer you specify. People often forget this and don’t include a case for 0 in their switch statements.</p>
<p>The above code is not very dynamic. It’s written easily, with beginner skills (not to say that some experts wouldn’t use it, it has its uses). The trick to this code is that every time you want to add a new random thing, you have to edit your switch statement to increase random(), AND add another case. This code is static. It’s not meant to be easily updated, it’s meant to do its job.</p>
<p>What about this code?</p>
<div style="border-bottom:silver 1px solid;text-align:left;border-left:silver 1px solid;line-height:12pt;background-color:#f4f4f4;width:106.55%;font-family:&#39;direction:ltr;height:72px;max-height:200px;font-size:8pt;overflow:auto;border-top:silver 1px solid;cursor:text;border-right:silver 1px solid;margin:20px 0 10px;padding:4px;" id="codeSnippetWrapper">
<div style="text-align:left;line-height:12pt;background-color:#f4f4f4;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;padding:0;" id="codeSnippet">
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum1">   1:</span> string *things;</pre>
<p><!--CRLF--><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum3">   2:</span> things = ({ <span style="color:#006080;">&quot;Random Thing 1.&quot;</span>, <span style="color:#006080;">&quot;Random Thing 2.&quot;</span>, <span style="color:#006080;">&quot;Random Thing 3.&quot;</span> }) ;</pre>
<p><!--CRLF--><!--CRLF--></p>
<pre style="text-align:left;line-height:12pt;background-color:white;width:100%;font-family:&#39;direction:ltr;color:black;font-size:8pt;overflow:visible;border-style:none;margin:0;padding:0;"><span style="color:#606060;" id="lnum5">   3:</span> write(things[random(<span style="color:#0000ff;">sizeof</span>(things))]);</pre>
<p><!--CRLF--></div>
</div>
<p>This code is much more dynamic. We’re providing the exact same end result, but now the code is smart enough to know how many items it has to iterate through randomly, without having you add more cases to a switch statement.</p>
<p>We define things as an array of strings. An array is just a collection of stuff, remember. Then we set ‘things’ to be a collection of three strings, the same strings we would’ve used previously. Finally, we write a random member of the things array to the user. sizeof() is used to get the absolute size of an array, so that number will always be the exact number of members in your array, no matter how many things you add to it. You should already know that you can refer to members of an array by their index in that array, so things[0] would return the first member of things. This works to our advantage here, where we pull that number using random() and sizeof() combined. So randomly, things[0], things[1], or things[2] will be written to the user.</p>
<p>Pretty nifty, eh?</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tigwyk.wordpress.com/2009/09/28/static-vs-dynamic/feed/</wfw:commentRss>
			<slash:comments>2</slash:comments>
		
		
		
		<media:content url="https://1.gravatar.com/avatar/7ef47cc8d6250f68c5f9a5d0c08cf819e5a575489e011cd706c08aa33f7b1705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tigwyk</media:title>
		</media:content>
	</item>
		<item>
		<title>Spring Desktop Cleaning in July</title>
		<link>https://tigwyk.wordpress.com/2008/07/22/spring-desktop-cleaning-in-july/</link>
					<comments>https://tigwyk.wordpress.com/2008/07/22/spring-desktop-cleaning-in-july/#respond</comments>
		
		<dc:creator><![CDATA[tigwyk]]></dc:creator>
		<pubDate>Tue, 22 Jul 2008 23:38:26 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://tigwyk.wordpress.com/2008/07/22/spring-desktop-cleaning-in-july/</guid>

					<description><![CDATA[I decided to rearrange my laptop’s desktop. I saw these sweet desktop backgrounds on Lifehacker and I figured “Why not?” As you can see, my icons aren’t organized in any particular fashion that you might recognize… they’re arranged according to how often I use ‘em. Often-used programs go on the sticky. “Work” and other things [&#8230;]]]></description>
										<content:encoded><![CDATA[</p>
<p><a href="https://tigwyk.wordpress.com/wp-content/uploads/2008/07/image2.png"><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;margin:0 0 0 10px;" height="205" alt="image" src="https://tigwyk.wordpress.com/wp-content/uploads/2008/07/image-thumb2.png?w=278&#038;h=205" width="278" align="right" border="0" /></a> I decided to rearrange my laptop’s desktop. I saw these sweet desktop backgrounds on <a href="http://lifehacker.com/399021/layered-desktop-wallpaper-organizes-your-icons" target="_blank">Lifehacker</a> and I figured “Why not?”</p>
<p>As you can see, my icons aren’t organized in any particular fashion that <em>you</em> might recognize… they’re arranged according to how often I use ‘em.</p>
<p>Often-used programs go on the sticky.</p>
<p>“Work” and other things I access fairly often go onto the file folder or the cubicle wall. (What exactly <em>is</em> that anyway?)</p>
<p>Everything else goes around the outer edges of the screen. A digital no-man’s-land of icons. Those who didn’t make the cut, per se.</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
</p>
<p>Now if only it was this easy to organize my house.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tigwyk.wordpress.com/2008/07/22/spring-desktop-cleaning-in-july/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
		
		<media:content url="https://1.gravatar.com/avatar/7ef47cc8d6250f68c5f9a5d0c08cf819e5a575489e011cd706c08aa33f7b1705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tigwyk</media:title>
		</media:content>

		<media:content url="https://tigwyk.wordpress.com/wp-content/uploads/2008/07/image-thumb2.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Evernote = EverLove</title>
		<link>https://tigwyk.wordpress.com/2008/07/18/evernote-everlove/</link>
					<comments>https://tigwyk.wordpress.com/2008/07/18/evernote-everlove/#comments</comments>
		
		<dc:creator><![CDATA[tigwyk]]></dc:creator>
		<pubDate>Fri, 18 Jul 2008 23:28:51 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://tigwyk.wordpress.com/2008/07/18/evernote-everlove/</guid>

					<description><![CDATA[I’m hooked! I recently checked out Evernote and I think I’m in love. This awesome app is basically a mega-clipboard. You can copy screenshots, formatted text, images, even insert audio and video. It’s got a very cool windows client, and the best part is that it has an iPhone/iPod Touch client, so those people can [&#8230;]]]></description>
										<content:encoded><![CDATA[<p><a href="https://tigwyk.wordpress.com/wp-content/uploads/2008/07/image1.png"><img style="border-right:0;border-top:0;border-left:0;border-bottom:0;margin:0 0 0 10px;" height="223" alt="image" src="https://tigwyk.wordpress.com/wp-content/uploads/2008/07/image-thumb1.png?w=220&#038;h=223" width="220" align="right" border="0" /></a>I’m hooked! I recently checked out <a href="http://www.evernote.com" target="_blank">Evernote</a> and I think I’m in love. This <em>awesome</em> app is basically a mega-clipboard. You can copy screenshots, formatted text, images, even insert audio and video. It’s got a very cool windows client, and the best part is that it has an iPhone/iPod Touch client, so those people can quickly and easily collect digital scraps of whatever!</p>
<p>I used to use <a href="http://www.jingproject.com/" target="_blank">Jing</a> for my screenshotting, and I probably still will use it for a bit longer because I like to be able to save my screenshots immediately, etc. Though I’m sure if I hunt around in Evernote I’ll find all those features that I like about Jing. I already like how Evernote takes over the Print Screen key and makes it a shortcut to Evernote’s screenshotter. One press of “Print Screen” opens an Evernote screenshot box that you can place on your screen somewhere, resize, and more. If you hit “Print Screen” again, you can now add overlays to the screenshot (such as arrows, or handwritten text), finally hit “Enter” and your screenshot is now in Evernote. Cool, huh?!</p>
<p>Man, I can’t wait to paste in some formatted text and collaborate with people on how it <em>should</em> look. </p>
]]></content:encoded>
					
					<wfw:commentRss>https://tigwyk.wordpress.com/2008/07/18/evernote-everlove/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		
		<media:content url="https://1.gravatar.com/avatar/7ef47cc8d6250f68c5f9a5d0c08cf819e5a575489e011cd706c08aa33f7b1705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tigwyk</media:title>
		</media:content>

		<media:content url="https://tigwyk.wordpress.com/wp-content/uploads/2008/07/image-thumb1.png" medium="image">
			<media:title type="html">image</media:title>
		</media:content>
	</item>
		<item>
		<title>Spam Spam Spam Spammity Spam</title>
		<link>https://tigwyk.wordpress.com/2008/05/02/spam-spam-spam-spammity-spam/</link>
					<comments>https://tigwyk.wordpress.com/2008/05/02/spam-spam-spam-spammity-spam/#comments</comments>
		
		<dc:creator><![CDATA[tigwyk]]></dc:creator>
		<pubDate>Fri, 02 May 2008 18:47:57 +0000</pubDate>
				<category><![CDATA[Uncategorized]]></category>
		<guid isPermaLink="false">http://tigwyk.wordpress.com/2008/05/02/spam-spam-spam-spammity-spam/</guid>

					<description><![CDATA[At my place of work we use a highly sophisticated spam filter to sift out all the crap emails we receive daily. It&#8217;s extremely effective, but since we can&#8217;t be sure we haven&#8217;t missed any legitimate emails&#8230; we have our receptionist look through the spam emails daily. After a week of doing this I can [&#8230;]]]></description>
										<content:encoded><![CDATA[<p>At my place of work we use a highly sophisticated spam filter to sift out all the crap emails we receive daily. It&#8217;s extremely effective, but since we can&#8217;t be sure we haven&#8217;t missed any legitimate emails&#8230; we have our receptionist look through the spam emails daily. After a week of doing this I can surely tell you that it&#8217;s definitely one of the dirtiest, unrewarding, grating jobs you can ever do. Here are some statistics:</p>
<ul>
<li>On a daily basis we receive anywhere from two to three thousand spam emails.</li>
<li>Of these 2-3,000 spam emails, one or two (per day) are legitimate.</li>
<li>Every minute (on average) we receive 10 to 20 spam emails.</li>
<li>Most of the spam (~80%) is legitimate bounce-back emails from mailservers stating that spam <em>we</em> sent couldn&#8217;t be delivered. This is because spammers harvest email addresses and forge spam emails using them.</li>
</ul>
<p>All in all this adds up to a lot of crap. This entire week I have yet to reduce the unread spam emails to zero. Every day I might read through a few thousand, only for that few thousand to be replenished the next day. Currently the spam inbox is sitting at 5604 and counting (I&#8217;m watching more trickle in right now). Luckily at night we employ a much more strict ruleset so that the spam is reduced to a few hundred, but just think if we didn&#8217;t have that option&#8230; we&#8217;d have seven or eight thousand spam emails to sift through per day.</p>
<p>If you know someone who has to look through spam daily to retrieve legitimate emails, pat them on the back. Tell them you understand and sympathize with them. In fact, tell <em>me</em> that before I tear my hair out.</p>
]]></content:encoded>
					
					<wfw:commentRss>https://tigwyk.wordpress.com/2008/05/02/spam-spam-spam-spammity-spam/feed/</wfw:commentRss>
			<slash:comments>1</slash:comments>
		
		
		
		<media:content url="https://1.gravatar.com/avatar/7ef47cc8d6250f68c5f9a5d0c08cf819e5a575489e011cd706c08aa33f7b1705?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">Tigwyk</media:title>
		</media:content>
	</item>
	</channel>
</rss>
