<?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>ancientpc.net &#187; coding</title>
	<atom:link href="http://www.ancientpc.net/category/software/coding/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ancientpc.net</link>
	<description>my brute force approach to life</description>
	<lastBuildDate>Wed, 04 Mar 2009 08:56:38 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>ExifEdit Launch!</title>
		<link>http://www.ancientpc.net/2009/02/23/exifedit-launch/</link>
		<comments>http://www.ancientpc.net/2009/02/23/exifedit-launch/#comments</comments>
		<pubDate>Mon, 23 Feb 2009 20:04:41 +0000</pubDate>
		<dc:creator>Ting</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[photography]]></category>
		<category><![CDATA[batch]]></category>
		<category><![CDATA[EXIF]]></category>
		<category><![CDATA[pictures]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[renaming]]></category>
		<category><![CDATA[Sourceforge]]></category>

		<guid isPermaLink="false">http://www.ancientpc.net/?p=204</guid>
		<description><![CDATA[Recently I&#8217;ve been working on a program to solve a nuisance of mine, why do digital cameras label pictures arbitrarily as DSC_1234.JPG?  It&#8217;s a meaningless naming convention and makes it difficult later to go through all your pictures to find that one you took last week.
Failing to find any tool on the web that does [...]]]></description>
			<content:encoded><![CDATA[<p>Recently I&#8217;ve been working on a program to solve a nuisance of mine, why do digital cameras label pictures arbitrarily as DSC_1234.JPG?  It&#8217;s a meaningless naming convention and makes it difficult later to go through all your pictures to find that one you took last week.</p>
<p>Failing to find any tool on the web that does what I need I set out to write my own.  Put very simply, at this point it copies all the files from one directory to another while moving and renaming the file based on the EXIF metadata timestamp stored within each digital photo.  From My Documents\My Pictures\DSC_1234.JPG to 2009\02\23\2009-02-23_16.28.45.jpg.  The new name and directory structure makes it easier to find &#8220;those Hawaii pics I took last summer.&#8221;</p>
<p>I developed the program in Python with the aim of keeping the utility platform-independent and later building a front-end GUI for it.</p>
<p>You can currently find the program and source code on <a href="https://sourceforge.net/projects/exifedit/">Sourceforge</a> (released under GPL3).  I compiled an .exe binary as well for Window users who do not have Python installed.  It currently is in beta stage and supports basic functionality.  For example: renaming based off custom template, simulating the actions, and controlling the verbosity of output.</p>
<p>Planned features include moving the original file, checking for duplicate pictures, and renaming RAW files as well.</p>
<p>Please post any comments or bugs to the Sourceforge discussion forums or bug tracker!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ancientpc.net/2009/02/23/exifedit-launch/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Process wait script</title>
		<link>http://www.ancientpc.net/2008/11/11/process-wait-script/</link>
		<comments>http://www.ancientpc.net/2008/11/11/process-wait-script/#comments</comments>
		<pubDate>Wed, 12 Nov 2008 00:30:29 +0000</pubDate>
		<dc:creator>Ting</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[bash]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[script]]></category>

		<guid isPermaLink="false">http://www.ancientpc.net/?p=149</guid>
		<description><![CDATA[ 
Often times I would run commands that depended on processes to finish on another tab within a screen session.  Unfortunately, bash&#8217;s wait command only works within the existing shell, so I came up with a quick script to check versus executable name.
#!/bin/bash
 
if [ $# -ne 0 ]; then
    while pgrep ^$1 &#38;gt; /dev/null; do sleep [...]]]></description>
			<content:encoded><![CDATA[<p> </p>
<p>Often times I would run commands that depended on processes to finish on another tab within a screen session.  Unfortunately, bash&#8217;s <a href="http://www.linuxmanpages.com/man1/wait.1.php">wait</a> command only works within the existing shell, so I came up with a quick script to check versus executable name.</p>
<p><code>#!/bin/bash</code></p>
<p><code> </code></p>
<p><code>if [ $# -ne 0 ]; then<br />
    while pgrep ^$1 &amp;gt; /dev/null; do sleep 1; done;<br />
else<br />
    echo "Invalid Arguments"<br />
    exit 1<br />
fi</code></p>
<p>Obviously it&#8217;s a pretty simple script, and currently only matches commands at the beginning.  A simple modification to check for pids instead would be fairly simple.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ancientpc.net/2008/11/11/process-wait-script/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Game Creation</title>
		<link>http://www.ancientpc.net/2008/05/06/game-creation/</link>
		<comments>http://www.ancientpc.net/2008/05/06/game-creation/#comments</comments>
		<pubDate>Tue, 06 May 2008 19:28:24 +0000</pubDate>
		<dc:creator>Ting</dc:creator>
				<category><![CDATA[coding]]></category>
		<category><![CDATA[software]]></category>
		<category><![CDATA[cmu]]></category>
		<category><![CDATA[egads]]></category>
		<category><![CDATA[games]]></category>

		<guid isPermaLink="false">http://www.ancientpc.net/?p=15</guid>
		<description><![CDATA[I&#8217;ve just been bitten by the video game creation bug again.  I think at one point in time all gamers thought, &#8220;I could make a better game than this!&#8221; but inevitably being gamers, we go back to our unproductive selves by throwing that thought aside and playing more games.
There was a recent article posted on [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;ve just been bitten by the video game creation bug again.  I think at one point in time all gamers thought, &#8220;I could make a better game than this!&#8221; but inevitably being gamers, we go back to our unproductive selves by throwing that thought aside and playing more games.</p>
<p>There was a recent article posted on <a href="http://developers.slashdot.org/article.pl?sid=08/05/06/1516228&amp;from=rss">/.</a> about <a href="http://www.experimentalgameplay.com">Experimental Gameplay</a>.  They&#8217;re probably most famous for <a href="http://en.wikipedia.org/wiki/Crayon_Physics">Crayon Physics</a> (arguably better Flash knock-off <a href="http://www.bubblebox.com/play/puzzle/975.htm">here</a>).  In short, Experimental Gameplay started out with 4 grad students making 50 games in a single semester as an experiment, aka the shotgun approach.</p>
<p><span id="more-15"></span></p>
<p>Doing a little more digging, I&#8217;ve found similar programs at <a href="http://gamedev.cs.cmu.edu/spring2004/">CMU</a> (where the Experimental Gameplay group came from), <a href="http://graphics.stanford.edu.nyud.net:8090/courses/cs248-videogame-competition/"></a><span style="position: absolute; overflow: hidden; height: 0; width: 0;"><a href="http://www.videnov.com/"></a><span style="position: absolute; overflow: hidden; height: 0; width: 0;"><a href="http://kvantservice.com/">компютри втора употреба</a></span>??????</span>Stanford, and <a href="http://pisa.ucsd.edu/cse125/">UCSD</a>.  Sadly, I haven&#8217;t found anything similar here at UT Austin with the exception of <a href="http://www.cs.utexas.edu/~okan/courses/cs378_games/web/">CS 378</a>, but that class  isn&#8217;t offered every semester.  <a href="http://studentorgs.utexas.edu/egads/">EGaDS</a> is a student org here on campus that tries to fill in that niche, but I really haven&#8217;t found time or motivation to go to any of their meetings.</p>
<p>Either way, I&#8217;ve really wanted to get into games programming as a hobby but still need to learn all the technical aspects first.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ancientpc.net/2008/05/06/game-creation/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
