<?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>Jay's Realm &#187; Computerisms</title>
	<atom:link href="http://www.wardtek.ca/category/computers/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.wardtek.ca</link>
	<description>Ramblings and Revelations</description>
	<lastBuildDate>Wed, 16 Jul 2008 04:22:02 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0-beta2-14550</generator>
		<item>
		<title>OS X Memtest</title>
		<link>http://www.wardtek.ca/2007/05/os-x-memtest/</link>
		<comments>http://www.wardtek.ca/2007/05/os-x-memtest/#comments</comments>
		<pubDate>Fri, 25 May 2007 20:13:05 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Computerisms]]></category>

		<guid isPermaLink="false">http://www.wardtek.ca/2007/05/os-x-memtest/</guid>
		<description><![CDATA[ I had to search high and low to find an older free version of memtest for os x. Apparently the guy who maintains it decided to start charging for it. That&#8217;s fine and all, but when you really need memtest and it is free for every single other platform this just feels morally wrong and [...] ]]></description>
			<content:encoded><![CDATA[<p> I had to search high and low to find an older free version of memtest for os x.  Apparently the guy who maintains it decided to start charging for it.  That&#8217;s fine and all, but when you really need memtest and it is free for every single other platform this just feels morally wrong and a kick in the nuts.  The buck forty he charges is another kick in the nuts as well.</p>
<p>After much searching I found a graphical front end that is downloadable and free called <A HREF="http://www.kelleycomputing.net:16080/rember/">Remember</A> that has the memtest binary inside the package.  I ripped out the <A HREF="http://www.wardtek.ca/files/memtest">os x memtest</A> because I like command line tools better than the GUI.  He made a nice gui and all, but it&#8217;s not my style. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.wardtek.ca/2007/05/os-x-memtest/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Haskell Update</title>
		<link>http://www.wardtek.ca/2007/05/haskell-update/</link>
		<comments>http://www.wardtek.ca/2007/05/haskell-update/#comments</comments>
		<pubDate>Tue, 08 May 2007 04:19:33 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Computerisms]]></category>

		<guid isPermaLink="false">http://www.wardtek.ca/2007/05/haskell-update/</guid>
		<description><![CDATA[ The good news is I think I grok monads. They make sense now. What was holding me back for so long was the syntactic sugar that masked what they were actually doing. It supplied an aura of magic which was really hard to cut through. Once I saw how the monad value was passed transparently [...] ]]></description>
			<content:encoded><![CDATA[<p> The good news is I think I grok monads.  They make sense now.  What was holding me back for so long was the syntactic sugar that masked what they were actually doing.  It supplied an aura of magic which was really hard to cut through.  Once I saw how the monad value was passed transparently in a sequence in a do construct it clicked.</p>
<p>The bad news is I still can&#8217;t get ghc for freebsd on amd64.  I found some mailing list posts from mid/end of April on the topic.  It looks like work is being done.  It feels like it will be done quickly.  But I hope I still have ambition to work in Haskell by the time that rolls around.  It feels very much like a neat and powerful language with a lot of personality.</p>
<p>But I can actually do things in Python. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.wardtek.ca/2007/05/haskell-update/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Haskell Code Number One</title>
		<link>http://www.wardtek.ca/2007/04/haskell-code-number-one/</link>
		<comments>http://www.wardtek.ca/2007/04/haskell-code-number-one/#comments</comments>
		<pubDate>Mon, 23 Apr 2007 02:25:09 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Computerisms]]></category>

		<guid isPermaLink="false">http://www.wardtek.ca/2007/04/haskell-code-number-one/</guid>
		<description><![CDATA[ So I decided to stop reading tutorials and actually try to apply some of what I&#8217;ve been learning and write my own program. I&#8217;ve been musing about doing a massively multiplayer online space strategy game so I decided to start defining simple base for that and build from there. Functional programming is&#8230; well it&#8217;s neat. [...] ]]></description>
			<content:encoded><![CDATA[<p> So I decided to stop reading tutorials and actually try to apply some of what I&#8217;ve been learning and write my own program.  I&#8217;ve been musing about doing a massively multiplayer online space strategy game so I decided to start defining simple base for that and build from there.</p>
<p>Functional programming is&#8230; well it&#8217;s neat.  And different.  I fought for a long time with almost every data definition and function I wrote, but as the hours wore on it started to feel more and more natural and I went back and re-factored a bunch of my code.  In no time flat I had everything up and working great.  One little problem.  Something felt wrong.  I wrote a function to recursively blast alterations into my list and when I checked it out it looked like it wasn&#8217;t freeing memory and keeping a copy of each list ever touched.  Bummer.</p>
<p>I dropped into #haskell and asked for advice.  Man.  I got so many things I didn&#8217;t understand thrown at me, also a few compliments.  Apparently for a first solo Haskell project, my code was far more Haskell like than expected.  Anyways, I had a bunch of things pointed out to me to fix or improve and was introduced to the concept of thunks.  Haskell has lazy computation which means it only evaluates things when it needs to.  Thunks as I understand are partially evaluated computations which sit around taking up ram waiting to be useful again.</p>
<p>Pretty sure I have to go back to trying to learn monads better to fix it though.</p>
<p>Code: <A HREF="http://hpaste.org/1525">here</A><br />
Executable: <A HREF="http://www.wardtek.ca/files/space.exe">here</A> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.wardtek.ca/2007/04/haskell-code-number-one/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>First Haskell Tutorial Finished</title>
		<link>http://www.wardtek.ca/2007/04/first-haskell-tutorial-finished/</link>
		<comments>http://www.wardtek.ca/2007/04/first-haskell-tutorial-finished/#comments</comments>
		<pubDate>Thu, 19 Apr 2007 10:21:46 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Computerisms]]></category>

		<guid isPermaLink="false">http://www.wardtek.ca/2007/04/first-haskell-tutorial-finished/</guid>
		<description><![CDATA[ I just finished off the Haskell tutorial I was running through and I feel slightly enlightened and also disappointed. My expectations were fairly simple. By the end of a 150 page introduction to a language I should feel like I can do something interesting with it. Interesting being defined by me in any way I [...] ]]></description>
			<content:encoded><![CDATA[<p> I just finished off the Haskell tutorial I was running through and I feel slightly enlightened and also disappointed.  My expectations were fairly simple.  By the end of a 150 page introduction to a language I should feel like I can do something interesting with it.  Interesting being defined by me in any way I like.  I didn&#8217;t get that feeling with <A HREF="http://www.cs.ou.edu/~rlpage/fpclassCurrent/textbook/haskell.shtml">Two Dozen Short Lessons</A>.</p>
<p>The entire body was overly technical and I spent more time beating my head against understanding the content of the examples than I did trying to grok the actual Haskell lessons.  I found it very neat to be walked through building a DES cryptography system, but I don&#8217;t feel it made me understand Haskell better.</p>
<p>On the upside, I can now look at Haskell code and generally work out what&#8217;s going on.  The syntax mostly makes sense to me, though the typing of functions still messes with my head from time to time.  Some of the random code flying past on #haskell is becoming less alien.  I&#8217;ve written a few small proof of concept tools and am gaining more confidence and comfort with the language.  </p>
<p>However I don&#8217;t feel ready to set out on my own and write something real world that solves a problem yet.  I don&#8217;t think I have enough of a grounding in Haskell and its workings.  So I&#8217;m off to find another online tutorial to work through! </p>
]]></content:encoded>
			<wfw:commentRss>http://www.wardtek.ca/2007/04/first-haskell-tutorial-finished/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Haskell Stuff</title>
		<link>http://www.wardtek.ca/2007/04/haskell-stuff/</link>
		<comments>http://www.wardtek.ca/2007/04/haskell-stuff/#comments</comments>
		<pubDate>Mon, 16 Apr 2007 03:03:55 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Computerisms]]></category>

		<guid isPermaLink="false">http://www.wardtek.ca/2007/04/19/</guid>
		<description><![CDATA[ While working through the haskell tutorial I came to a point where they&#8217;re teaching about modules. Basically how to load up and import libraries. Fairly standard stuff. The haskell way to do this makes sense and I have no issues with&#8230; but the chapter teaches it by getting me to build DES encryption. Seriously. My [...] ]]></description>
			<content:encoded><![CDATA[<p> While working through the <A HREF="http://www.cs.ou.edu/~rlpage/fpclassCurrent/textbook/haskell.shtml">haskell</A> tutorial I came to a point where they&#8217;re teaching about modules.  Basically how to load up and import libraries.  Fairly standard stuff.  The haskell way to do this makes sense and I have no issues with&#8230; but the chapter teaches it by getting me to build DES encryption.</p>
<p>Seriously.  My brain hurts from the concepts and math of the encryption, not from the programming logic.  Also of annoyance is the so called helpful library they have in the appendix which you can download from their website.  For non standard definitions of can that is.  I could be retarded, it has happened to me before.  However, I could not find it, nor could Google .</p>
<p>I&#8217;ve gone and formatted it all pretty like and put it on the web:<br />
  <A HREF="http://www.wardtek.ca/files/SequenceUtilities.lhs">SequenceUtilities.lhs</A> </p>
]]></content:encoded>
			<wfw:commentRss>http://www.wardtek.ca/2007/04/haskell-stuff/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Adventures In Haskell &#8211; Part I</title>
		<link>http://www.wardtek.ca/2007/04/adventures-in-haskell-part-i/</link>
		<comments>http://www.wardtek.ca/2007/04/adventures-in-haskell-part-i/#comments</comments>
		<pubDate>Wed, 11 Apr 2007 00:12:41 +0000</pubDate>
		<dc:creator>Jay</dc:creator>
				<category><![CDATA[Computerisms]]></category>

		<guid isPermaLink="false">http://www.wardtek.ca/2007/04/adventures-in-haskell-part-i/</guid>
		<description><![CDATA[ I decided I should expand my computeristic knowledge and pick up a new language. Up for consideration were: lisp, haskell, and flash (action script). Lisp I have a strong interest in, but not strong enough to overcome my aversion to something that you pay for. Action script would probably be the most useful, in a [...] ]]></description>
			<content:encoded><![CDATA[<p> I decided I should expand my computeristic knowledge and pick up a new language.  Up for consideration were: lisp, haskell, and flash (action script).  Lisp I have a strong interest in, but not strong enough to overcome my aversion to something that you pay for.  Action script would probably be the most useful, in a directly relevant to my life way, to learn.  In the end I settled for haskell.  It is supposed to blow my mind and be a zen like experience that will take me to the next level of programming gurudom.</p>
<p>I googled for &#8216;learning haskell&#8217; and ended up at the <A HREF="http://www.haskell.org/learning.html">official</A> haskell learning page.  After browsing the options I decided to go for the tutorial called, &#8216;<A HREF="http://www.cs.ou.edu/~rlpage/fpclassCurrent/textbook/haskell.shtml">Two dozen short lessons</A>&#8216;, and download <A HREF="http://www.haskell.org/hugs/">hugs</A> as my haskell environment.  So far so good.</p>
<p>I&#8217;ve never done any functional programming of any kind, so I had no idea what to expect.  Erik has tried to show me a few things, but I&#8217;m the type of person who learns to do by doing.  Most of the things he showed me I thought were neat conceptual tricks with no real reason for existing.  I&#8217;m a good little sheep, so when the tutorial told me to forget everything I know about functional and object oriented programming I did so.  With great ease and joy for the object stuff as well.</p>
<p>I&#8217;m on page 70 of the tutorial and so far I have found one main thing that annoys me.  The way haskell is set up means that I can&#8217;t just write definitions (raw code) into the interpreter like I would Python.  I have to do that in a text file and then load it.  From there I can run commands on the code.  So I can use the functions I define, but I can&#8217;t define them in the interpreter for a quick putter.  Annoying, but not nearly as annoying as the fact that I can&#8217;t declare variables in the interpreter as well.  I&#8217;m learning the way and the why of haskell so it makes sense to do it this way, but I&#8217;m lazy and it&#8217;d just be easier  to write it right in.</p>
<p>I&#8217;m understanding how things work, and I&#8217;ve taken their examples and mashed them up to do my own thing differently, but I&#8217;m not sure I grok it yet.  Most other coding tutorials I&#8217;ve done have started out with a hello world program.  Haskell has dived right into sets, list comprehension, reductions and infinite iterations while briefly stopping to talk about the nature of numbers.  It&#8217;s not making my head hurt as much as I thought it might, but there is still some pain.</p>
<p>So far I&#8217;m not seeing any real advantage to haskell as a language, but I&#8217;ve only started scratching the surface and the syntax.  I&#8217;m seeing it more as a tool for doing computations like statistics than as a general language useful for everything.  I&#8217;m going to keep at it and see if I can&#8217;t think up a project to do in haskell that solves a real problem. </p>
]]></content:encoded>
			<wfw:commentRss>http://www.wardtek.ca/2007/04/adventures-in-haskell-part-i/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>
