<?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>Dan Klassen &#187; tech</title>
	<atom:link href="http://danklassen.com/wordpress/category/tech/feed/" rel="self" type="application/rss+xml" />
	<link>http://danklassen.com/wordpress</link>
	<description>Apps, tech-news, and other interesting stuff.</description>
	<lastBuildDate>Wed, 06 May 2009 17:44:25 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=abc</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Create a csv from MySQL output</title>
		<link>http://danklassen.com/wordpress/2008/12/create-a-csv-from-mysql-output/</link>
		<comments>http://danklassen.com/wordpress/2008/12/create-a-csv-from-mysql-output/#comments</comments>
		<pubDate>Thu, 11 Dec 2008 04:30:45 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[mysql]]></category>

		<guid isPermaLink="false">http://danklassen.com/wordpress/?p=61</guid>
		<description><![CDATA[Today I got asked to pull some information from a mysql database. Pretty simple, but the one minor catch was that the person asking wanted it in a spreadsheet. Thankfully this is pretty easy with mysql&#8217;s built in &#8216;INTO OUTFILE&#8217; functionality.

select * from users where last_name LIKE &#34;%smith%&#34; order by first_name
INTO OUTFILE '/tmp/result.csv'
FIELDS TERMINATED BY [...]]]></description>
			<content:encoded><![CDATA[<p>Today I got asked to pull some information from a mysql database. Pretty simple, but the one minor catch was that the person asking wanted it in a spreadsheet. Thankfully this is pretty easy with mysql&#8217;s built in &#8216;INTO OUTFILE&#8217; functionality.</p>

<div class="wp_codebox"><table width="100%" ><tr id="p612"><td class="code" id="p61code2"><pre class="sql" style="font-family:monospace;"><span style="color: #993333; font-weight: bold;">select</span> <span style="color: #66cc66;">*</span> <span style="color: #993333; font-weight: bold;">from</span> users <span style="color: #993333; font-weight: bold;">where</span> last_name <span style="color: #993333; font-weight: bold;">LIKE</span> <span style="color: #ff0000;">&quot;%smith%&quot;</span> <span style="color: #993333; font-weight: bold;">order</span> <span style="color: #993333; font-weight: bold;">by</span> first_name
<span style="color: #993333; font-weight: bold;">INTO</span> <span style="color: #993333; font-weight: bold;">OUTFILE</span> <span style="color: #ff0000;">'/tmp/result.csv'</span>
<span style="color: #993333; font-weight: bold;">FIELDS</span> TERMINATED <span style="color: #993333; font-weight: bold;">BY</span> <span style="color: #ff0000;">','</span> <span style="color: #993333; font-weight: bold;">OPTIONALLY</span> <span style="color: #993333; font-weight: bold;">ENCLOSED</span> <span style="color: #993333; font-weight: bold;">BY</span> <span style="color: #ff0000;">'&quot;'</span>
<span style="color: #993333; font-weight: bold;">LINES</span> TERMINATED <span style="color: #993333; font-weight: bold;">BY</span> <span style="color: #ff0000;">'<span style="color: #000099; font-weight: bold;">\n</span>'</span>;</pre></td></tr></table></div>

<p>This will write the file /tmp/result.csv in a format that is readable by pretty much any spreadsheet program (Excel, OpenOffice, etc). If you have any specific requirements for your file format (say you want tab separate) play around with the options until you get it just right. As you can see you can do anything you would regularly do in a sql query (joins, where clauses, ordering, etc).</p>
<p>And there you have it, one happy person who can access their data in their favourite program</p>
]]></content:encoded>
			<wfw:commentRss>http://danklassen.com/wordpress/2008/12/create-a-csv-from-mysql-output/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>BambooInvoice &#8211; Free Online Invoicing software</title>
		<link>http://danklassen.com/wordpress/2008/06/bambooinvoice-free-online-invoicing-software/</link>
		<comments>http://danklassen.com/wordpress/2008/06/bambooinvoice-free-online-invoicing-software/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 05:51:37 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[contracting tools]]></category>
		<category><![CDATA[finance]]></category>
		<category><![CDATA[web service]]></category>

		<guid isPermaLink="false">http://danklassen.ca/wordpress/?p=25</guid>
		<description><![CDATA[If you do any contract work, you&#8217;ve probably had the joy of tracking your hours (if you&#8217;re still trying to solve that issue, check out my Project Hamster post) and then creating an invoice of some sort for the client. In the past I have tried a couple of solutions such as a creative Excel [...]]]></description>
			<content:encoded><![CDATA[<p>If you do any contract work, you&#8217;ve probably had the joy of tracking your hours (if you&#8217;re still trying to solve that issue, check out my <a title="Simple Time Tracking with Project Hamster" href="/wordpress/2008/06/simple-time-tracking-with-project-hamster/">Project Hamster</a> post) and then creating an invoice of some sort for the client. In the past I have tried a couple of solutions such as a creative Excel spreadsheet or creating a new email from scratch each time. I&#8217;ve also checked out the online service <a title="Blink Sale online invoicing" href="http://www.blinksale.com/home" target="_blank">Blink Sale</a>, but, never really liked the thought of some other company knowing how much I&#8217;m billing my clients and making each month. That, and there was the 3 invoices per month limit for the free version.</p>
<p>This is where <a title="BambooInvoice - Open Source Billing System" href="http://www.bambooinvoice.org/" target="_blank">BambooInvoice</a> steps in. It&#8217;s a <abbr title="Free Open Source Software">FOSS</abbr> solution that you host on your own server. The interface is great, and installation is simple.</p>
<p><span id="more-25"></span></p>
<p>One of the main draws for me was having the data sit on my own server. It&#8217;s nice to know it&#8217;s securely kept and backed up when I choose. (okay, maybe I&#8217;m a control freak?). After poking around the <a title="Bamboo Invoice Sample" href="http://www.bambooinvoice.org/" target="_blank">online demo</a> that Derek has so kindly put online, you&#8217;ll get a good idea of whether or not this is a good system for you.</p>
<p>The interface is very slick and easy to use. Ajax is incorporated where it make sense and keeps things loading quickly. You can do basic things like creating create a new client, set their taxable status, add contacts etc.</p>
<p>The main meat of the system is adding invoices and line items. Keeping consistent with the rest of the system, this is a very easy process. It increments your last invoice number automatically and gives you a text box to add a line item, quantity, dollar amount, and taxable status. There&#8217;s an option to keep adding new line items as needed on this same page as well. After you&#8217;ve created your invoice, you can edit it, add notes, export it as a PDF, or email it to any of the contacts for the company.</p>
<p>When you&#8217;ve received payment, it&#8217;s just as easy to add that, as well as any notes to go along (cheque number for example). There&#8217;s also a handy reporting feature that&#8217;ll give you a quick overview on how much you have billed out each month, and if you have any invoices that are over due.</p>
<p>One thing that really stands outs for me is how streamline and consistent the interface is. Everything is nice &amp; clean and simple. There aren&#8217;t a tonne of extra options that you don&#8217;t really need on any of the pages.</p>
<p>As an added bonus, this software is in active development and continues to get new features on a regular basis. Be sure to check in to the main site every now and then to see if anything new has been added.</p>
<p>Installation is also as straight forward as you can expect to set up a web app. If you can set up a wordpress blog on a server, you&#8217;ll have no problem getting this going at all. Requirements are PHP5 and a database of some sort (typically MySQL or Postgre). Create the database, and visit the install link and, and the system will walk you through the rest of the process. Then you&#8217;re up &amp; running.</p>
<p>Check it out, you really have nothing to lose, and organization to gain.</p>
]]></content:encoded>
			<wfw:commentRss>http://danklassen.com/wordpress/2008/06/bambooinvoice-free-online-invoicing-software/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Simple Time Tracking with Project Hamster</title>
		<link>http://danklassen.com/wordpress/2008/06/simple-time-tracking-with-project-hamster/</link>
		<comments>http://danklassen.com/wordpress/2008/06/simple-time-tracking-with-project-hamster/#comments</comments>
		<pubDate>Sat, 07 Jun 2008 06:48:39 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[contracting tools]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://danklassen.ca/wordpress/?p=24</guid>
		<description><![CDATA[If you&#8217;re like me, you frequently need to be able to tell people how long a project took, how much time some bug fixes ate out of the day, or what you worked on the past day. I&#8217;ve looked around for a quick &#38; simple app to track my time usage and hadn&#8217;t come up [...]]]></description>
			<content:encoded><![CDATA[<p>If you&#8217;re like me, you frequently need to be able to tell people how long a project took, how much time some bug fixes ate out of the day, or what you worked on the past day. I&#8217;ve looked around for a quick &amp; simple app to track my time usage and hadn&#8217;t come up with a good match until I recently found <a title="Project Hamster - time tracking tool" href="http://projecthamster.wordpress.com/" target="_blank">Project Hamster</a>. My previous main barrier to usage was laziness and wanting a lightweight program to do this simple task. Hamster makes it dead easy to enter time, add new categories / activities and view simple reports.</p>
<p><span id="more-24"></span></p>
<p style="text-align: center;"><img src="http://projecthamster.files.wordpress.com/2008/03/menu.png" alt="" /></p>
<p>The main window where you enter your time sits in your app bar which you can access with either a single click, or a hot key combination. Here you see a breakdown of the current days activities so far, as well as a drop box to choose any previously entered activities, or to add a new one. You can also edit any of the day&#8217;s entries from this quick list as well.</p>
<p>Hitting the &#8217;show overview&#8217; button will take you to a nice pretty graph of your past week / month. This can be quite handy to see how long you&#8217;ve worked on a project or contact in the current month. You&#8217;re also able to categorize related activities so that they group together in a graph.</p>
<p><img class="aligncenter" src="http://projecthamster.files.wordpress.com/2008/04/antialiasing1.png" alt="" /></p>
<p>If you think this would be handy for you, grab the .deb or the source from the <a title="Download Project Hamster" href="http://code.google.com/p/projecthamster/downloads/list" target="_blank">Google Project</a><span> page (you are using <span>linux</span> right?). It&#8217;s under active development, so be sure to check the Project Hamster </span><a title="Project Hamster updates" href="http://projecthamster.wordpress.com/category/news/" target="_blank">news section</a> every now and then to see if there&#8217;s some new feature you&#8217;ve been waiting for.</p>
]]></content:encoded>
			<wfw:commentRss>http://danklassen.com/wordpress/2008/06/simple-time-tracking-with-project-hamster/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>RSS: Really Simple What?</title>
		<link>http://danklassen.com/wordpress/2008/05/rss-really-simple-what/</link>
		<comments>http://danklassen.com/wordpress/2008/05/rss-really-simple-what/#comments</comments>
		<pubDate>Tue, 27 May 2008 06:17:20 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[rss]]></category>
		<category><![CDATA[web service]]></category>

		<guid isPermaLink="false">http://danklassen.ca/wordpress/?p=11</guid>
		<description><![CDATA[So, I&#8217;m sure many of you have heard of RSS before, but may not know the benefits, or if you do, how to set it up. Yet another acronym, RSS stands for Really Simple Syndication and basically what it will do is allow you to subscribe to the content of a website that has a [...]]]></description>
			<content:encoded><![CDATA[<p><img class="alignright alignnone size-thumbnail wp-image-12" style="float: right;" title="RSS Icon" src="http://danklassen.ca/wordpress/wp-content/uploads/2008/05/rss2-150x150.jpg" alt="" width="150" height="150" />So, I&#8217;m sure many of you have heard of <abbr title="Really Simple Syndication">RSS</abbr> before, but may not know the benefits, or if you do, how to set it up. Yet another acronym, RSS stands for Really Simple Syndication and basically what it will do is allow you to subscribe to the content of a website that has a &#8216;feed&#8217;. Then, whenever this site is updated with new content, you will know right away. Most current browsers (Firefox, and Internet Explorer 7) have built in RSS reading capabilities under names such as Live Bookmarks or something similar. In the top right corner of the address bar you will see an icon similar to the one to the right. Clicking on this will walk you through the process of setting up an RSS feed right in your browser.</p>
<p>There are also many programs that you can download for free to read RSS Feeds. If you are using Firefox (which I highly recommend&#8230; I&#8217;ll write about this another time), there is a great plugin called <a title="Sage Firefox Plugin" href="https://addons.mozilla.org/en-US/firefox/addon/77" target="_blank">Sage</a> that I have used previously. Sage will let you categorize and search through your feeds on your computer nicely. If you are looking for a stand-alone application, something like <a title="Sharp Reader" href="http://www.sharpreader.net/" target="_blank">SharpReader</a> will do well for you. If you are using Linux, I&#8217;ve heard that <a title="Liferea" href="http://liferea.sourceforge.net/" target="_self">Liferea</a> is a great gtk application with all the basic features you&#8217;ll need.</p>
<p><a href="http://danklassen.ca/wordpress/wp-content/uploads/2008/05/rss3.png"><img class="alignleft size-medium wp-image-13" title="Google Reader" src="http://danklassen.ca/wordpress/wp-content/uploads/2008/05/rss3-300x130.png" alt="" width="300" height="130" /></a>After using numerous applications, I have ended up using <a title="Google Reader" href="http://www.google.com/reader/" target="_blank">Google Reader</a>. Now, you&#8217;ll need a Google Account (yup, it&#8217;s free) to use their RSS reader, but I&#8217;ve found that it is worth it. It&#8217;s very quick to process lots of data (on an average day, I&#8217;ll read at least 120 headlines, and that number keeps climbing). One major benefit of using Google Reader for me was the fact that since the data is not stored on a computer, you can log in from anywhere and pick up exactly where you left off. So, it doesn&#8217;t matter if I&#8217;m at work, on my laptop, desktop, or on the other side of the World.</p>
<p>All in all, RSS is a great way to keep tabs on dozens of sites without spending hours clicking through to each one. Most of my family and friends blog or run websites of some sort and it&#8217;s great to keep tabs on all of them <img src='http://danklassen.com/wordpress/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' />  If this has inspired you, feel free to add me to your RSS to stay up to date on the lastest posts here!</p>
]]></content:encoded>
			<wfw:commentRss>http://danklassen.com/wordpress/2008/05/rss-really-simple-what/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Keeping Track of Finances</title>
		<link>http://danklassen.com/wordpress/2008/05/keeping-track-of-finances/</link>
		<comments>http://danklassen.com/wordpress/2008/05/keeping-track-of-finances/#comments</comments>
		<pubDate>Mon, 26 May 2008 00:27:10 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[finance]]></category>

		<guid isPermaLink="false">http://danklassen.ca/wordpress/?p=5</guid>
		<description><![CDATA[Quite a while back, my wife (who happens to run the blog, www.gardentrends.ca) and I were trying to find a good way to keep track of our savings / chequing accounts. I know there had to be a FOSS program out there that would do the trick. We tried out a number of different options [...]]]></description>
			<content:encoded><![CDATA[<p>Quite a while back, my wife (who happens to run the blog, <a title="Garden Trends" href="http://www.gardentrends.ca" target="_blank">www.gardentrends.ca</a>) and I were trying to find a good way to keep track of our savings / chequing accounts. I know there had to be a <abbr title="Free Open Source Software">FOSS</abbr> program out there that would do the trick. We tried out a number of different options before finally deciding on <a title="Money Manager EX" href="http://www.thezeal.com/software/index.php?Money_Manager_Ex" target="_blank">Money Manager EX</a>.</p>
<p>Some of the criteria we used to end up with our choice:</p>
<ul>
<li>Free</li>
<li>Easy to use</li>
<li>Handle multiple accounts</li>
<li>Graphical reporting</li>
<li>Able to outline a budget</li>
<li>Categorize line items</li>
<li>Not online (for some reason I don&#8217;t trust many people with my financial data, let alone some random website)</li>
</ul>
<p>Here are a couple of screen shots I borrowed from the source forge project page to give you an idea as to what the interface looks like.</p>
<p><strong>Reports:</strong></p>
<p><a href="http://danklassen.ca/wordpress/wp-content/uploads/2008/05/moneymanager1.jpg"><img class="aligncenter size-medium wp-image-6" title="Money Manager: Report Screen" src="http://danklassen.ca/wordpress/wp-content/uploads/2008/05/moneymanager1-300x287.jpg" alt="Money Manager: Report Screen" width="300" height="287" /></a></p>
<p><strong>Budget Setup</strong></p>
<p><strong></strong><a href="http://danklassen.ca/wordpress/wp-content/uploads/2008/05/moneymanager2.png"><img class="aligncenter size-medium wp-image-7" title="Money Manager: Account Screen" src="http://danklassen.ca/wordpress/wp-content/uploads/2008/05/moneymanager2-300x227.png" alt="Money Manager: Account Screen" width="300" height="227" /></a></p>
<p><strong>Creating an Entry</strong></p>
<p><a href="http://danklassen.ca/wordpress/wp-content/uploads/2008/05/moneymanger3.png"><img class="aligncenter size-medium wp-image-8" title="Money Manager: Entering a line item" src="http://danklassen.ca/wordpress/wp-content/uploads/2008/05/moneymanger3-300x227.png" alt="" width="300" height="227" /></a></p>
<p>We have found it quite valuable to have a running tally of where we are at, what cheques we have written that we haven&#8217;t accounted for (there is a &#8216;reconciled&#8217; status), and how we&#8217;re doing on our budget (how much do I spend on fast food? oh my&#8230;.).</p>
<p>Unfortunately, it seems like the project is no longer under active development. But, since it meets all of our needs that hasn&#8217;t posed an issue yet. There are a couple of odd interface quirks that would be nice if they were sorted out, but nothing that is a deal breaker.</p>
<p>If your looking for something similar, be sure to give Money Manager EX a chance. You may be pleasantly surprised.</p>
]]></content:encoded>
			<wfw:commentRss>http://danklassen.com/wordpress/2008/05/keeping-track-of-finances/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Twittering</title>
		<link>http://danklassen.com/wordpress/2008/05/twittering/</link>
		<comments>http://danklassen.com/wordpress/2008/05/twittering/#comments</comments>
		<pubDate>Sun, 25 May 2008 04:17:59 +0000</pubDate>
		<dc:creator>Dan</dc:creator>
				<category><![CDATA[tech]]></category>
		<category><![CDATA[apps]]></category>
		<category><![CDATA[twitter]]></category>
		<category><![CDATA[web service]]></category>

		<guid isPermaLink="false">http://danklassen.ca/wordpress/?p=3</guid>
		<description><![CDATA[As some of you may have noticed, there&#8217;s a &#8220;What am I doing?&#8221; list of mini-posts on the left part of the blog. These are coming from a web-serivce called Twitter. There are a number of ways you can use their service to keep your friends udpated with what you&#8217;re up to right now.  [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Twitter Home Page" href="http://www.twitter.com" target="_blank"><img class="alignright" style="float: right;" src="http://danklassen.ca/wordpress/wp-content/uploads/2008/05/twitter.png" alt="" width="210" height="49" /></a>As some of you may have noticed, there&#8217;s a &#8220;What am I doing?&#8221; list of mini-posts on the left part of the blog. These are coming from a web-serivce called <a title="Twitter Home Page" href="http://www.twitter.com" target="_blank">Twitter</a>. There are a number of ways you can use their service to keep your friends udpated with what you&#8217;re up to right now.  First, you can use their form on the website, but that would mean you would have to log into the site each time for just a quick update. Another option is to get a Twitter client (I&#8217;m using <a title="gTwitter Project page" href="http://code.google.com/p/gtwitter/" target="_blank">gtwitter</a> on Ubuntu, but there are clients windows, linux and Mac OS-x) for quick posts, and to keep tabs on your friends. You can also set up twitter as an IM friend, so you just msn, or gTalk their address and it updates your status. Apparently you can also text from your cell phone to update as well. That makes it pretty slick to be able to update on the go wherever you happen to be!  Lastly, they have an API that you can tie into if you feel like doing a bit of coding. I&#8217;ve heard of people writing server-monitoring apps that will post to twitter on certain events. The server admin then adds the server as a friend (wow, that sounds lame) to stay up to date on what&#8217;s going on. Some other trendy, web 2.0 sites use twitter as well. Remeber the milk, an online To-Do list will tweet you when you have items that are coming up as due. It&#8217;s pretty neat to see sites tieing together like this to provide added value.  It&#8217;s not all roses though. I&#8217;ve just started using the service recently, and have experience a fair bit of down time. Hopefully they are working on this at the moment, and trying to make things more stable. Also, you&#8217;re limited to 140 characters. This keeps your messages short &amp; sweet, so I haven&#8217;t noticed this as a major limitation yet.  Check it out, and let me know if you start tweeting!</p>
]]></content:encoded>
			<wfw:commentRss>http://danklassen.com/wordpress/2008/05/twittering/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
	</channel>
</rss>
