<?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>hacklab.to &#187; Uncategorized</title>
	<atom:link href="http://hacklab.to/archives/category/uncategorized/feed/" rel="self" type="application/rss+xml" />
	<link>http://hacklab.to</link>
	<description>Toronto&#039;s hacker collective</description>
	<lastBuildDate>Fri, 03 Feb 2012 07:33:27 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Basic Electronics Class: RSVP</title>
		<link>http://hacklab.to/archives/basic-electronics-class-rsvp/</link>
		<comments>http://hacklab.to/archives/basic-electronics-class-rsvp/#comments</comments>
		<pubDate>Mon, 02 Jan 2012 19:26:29 +0000</pubDate>
		<dc:creator>mrericboyd</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hacklab.to/?p=827</guid>
		<description><![CDATA[Due to overwhelming demand for our basic electronics class, we&#8217;ve created an eventbrite RSVP: Hacklab Electronics Class. Dates remain the same &#8211; three Mondays in a row, starting on Jan 16th. If you&#8217;d like to come, sign up and start prepping your questions!]]></description>
			<content:encoded><![CDATA[<p>Due to overwhelming demand for our <A href="http://hacklab.to/archives/basic-electronic-class/">basic electronics class</a>, we&#8217;ve created an eventbrite RSVP: <a href="http://hacklab-electronics1.eventbrite.com/">Hacklab Electronics Class</a>.  Dates remain the same &#8211; three Mondays in a row, starting on Jan 16th.  If you&#8217;d like to come, sign up and start prepping your questions!</p>
]]></content:encoded>
			<wfw:commentRss>http://hacklab.to/archives/basic-electronics-class-rsvp/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Upcoming Workshops: 3D printing, Soldering, Arduino</title>
		<link>http://hacklab.to/archives/upcoming-workshops-3d-printing-soldering-arduino/</link>
		<comments>http://hacklab.to/archives/upcoming-workshops-3d-printing-soldering-arduino/#comments</comments>
		<pubDate>Tue, 15 Nov 2011 23:30:22 +0000</pubDate>
		<dc:creator>mrericboyd</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hacklab.to/?p=806</guid>
		<description><![CDATA[Hacklab is announcing three workshops for the end of 2011: Monday Nov 28th, 7-9pm: RepRap Users Group &#038; Workshop Come to hacklab.to to play with 3D printers! See RepRap.org. We&#8217;ll have our MakerBot Cupcake working, plus a good chance of having a functional RepRap, and several other printers under construction. Bring your own and we&#8217;ll [...]]]></description>
			<content:encoded><![CDATA[<p>Hacklab is announcing three workshops for the end of 2011:</p>
<p>Monday Nov 28th, 7-9pm: RepRap Users Group &#038; Workshop<br />
Come to hacklab.to to play with 3D printers!  See RepRap.org.  We&#8217;ll have our MakerBot Cupcake working, plus a good chance of having a functional RepRap, and several other printers under construction.  Bring your own and we&#8217;ll all help each other!  Newbies welcome, want to come see what a 3D printer looks like and learn how it works?  Maybe even get inspired to build your own? This night is for you!</p>
<p>Monday Dec 5th, 7-9pm: Soldering Workshop #5<br />
<a href="http://hacklab-soldering5.eventbrite.com/">RSVP at Eventbrite</a> (limit 10 people)<br />
For total beginners, or those with some experience. Learn how to solder. Soldering is a method of assembling an electronic circuit using a hot iron and solder, a metal which liquefies at a fairly low temperature. Instruction by Eric is free, and we’ll have a variety of interesting kits on hand for you to purchase as learning templates. You’ll take your kit home at the end of the night, working, guaranteed!  Open to the public &#8211; you do not have to be a member of hacklab to attend.</p>
<p>Monday Dec 12th, 7-9pm: Arduino Total Beginners Workshop<br />
Arduino Beginners Workshop. For total beginners. All are welcome, no RSVP required. Eric will show you how to get started with Arduino, the super-friendly microcontroller platform that even artists love. We’ll cover getting the software installed and going, hooking up the Arduino, and a little bit of basic programming, via explanation of the Examples. You too can cut and paste your way to a working project!  You’ll need to bring your own Arduino (any kind will do) and a laptop on which you can install software. Also please bring any cables required to attach your Arduino to your laptop – typically this means an A to B USB cable. If you do not have an Arduino, you can purchase one at Creatron, only a few blocks away from hacklab at 255 College Street.</p>
<p>All workshops are free and open to the public.</p>
]]></content:encoded>
			<wfw:commentRss>http://hacklab.to/archives/upcoming-workshops-3d-printing-soldering-arduino/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Gamfternoon Today</title>
		<link>http://hacklab.to/archives/gamfternoon-today/</link>
		<comments>http://hacklab.to/archives/gamfternoon-today/#comments</comments>
		<pubDate>Sun, 30 Oct 2011 13:30:22 +0000</pubDate>
		<dc:creator>mrericboyd</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hacklab.to/?p=800</guid>
		<description><![CDATA[We&#8217;re playing board games at hacklab again at 3pm this afternoon (Sunday October 30th)! We&#8217;ve got Dominion and Settlers of Catan, both are award winning super popular games. Or bring your own favorite game! Gamfternoon is free and open to the public!]]></description>
			<content:encoded><![CDATA[<p>We&#8217;re playing board games at hacklab again at 3pm this afternoon (Sunday October 30th)!  We&#8217;ve got <a href="http://en.wikipedia.org/wiki/Dominion_(card_game)<br />
">Dominion</a> and <a href="http://en.wikipedia.org/wiki/The_Settlers_of_Catan<br />
">Settlers of Catan</a>, both are award winning super popular games.  Or bring your own favorite game!</p>
<p>Gamfternoon is free and open to the public!</p>
]]></content:encoded>
			<wfw:commentRss>http://hacklab.to/archives/gamfternoon-today/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Burrito Night a Success</title>
		<link>http://hacklab.to/archives/burrito-night-a-success/</link>
		<comments>http://hacklab.to/archives/burrito-night-a-success/#comments</comments>
		<pubDate>Wed, 28 Sep 2011 03:07:57 +0000</pubDate>
		<dc:creator>Christopher Olah</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hacklab.to/?p=783</guid>
		<description><![CDATA[We just has hacklab&#8217;s first Burrito Night. It was a massive success. I organized vegetarian ingredients, Eric organized chicken, Nick brought Jalapeno peppers and Daniel lent us his grill/press. Our expenses were 40 dollars for generic ingredients and 6 dollars for the chicken. We made 65 dollars, after expense that left us with 19 dollars [...]]]></description>
			<content:encoded><![CDATA[<p>We just has hacklab&#8217;s first Burrito Night. It was a massive success.</p>
<div id="attachment_784" class="wp-caption aligncenter" style="width: 310px"><a href="http://hacklab.to/wp-content/uploads/2011/09/DSCN0668.jpg"><img class="size-medium wp-image-784" title="DSCN0668" src="http://hacklab.to/wp-content/uploads/2011/09/DSCN0668-300x225.jpg" alt="" width="300" height="225" /></a><p class="wp-caption-text">Yay Burritos!</p></div>
<p>I organized vegetarian ingredients, Eric organized chicken, Nick brought Jalapeno peppers and Daniel lent us his grill/press. Our expenses were 40 dollars for generic ingredients and 6 dollars for the chicken. We made 65 dollars, after expense that left us with 19 dollars for hacklab. Yay!</p>
]]></content:encoded>
			<wfw:commentRss>http://hacklab.to/archives/burrito-night-a-success/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Arduino Workshop</title>
		<link>http://hacklab.to/archives/arduino-workshop-sept/</link>
		<comments>http://hacklab.to/archives/arduino-workshop-sept/#comments</comments>
		<pubDate>Wed, 31 Aug 2011 20:52:35 +0000</pubDate>
		<dc:creator>mrericboyd</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hacklab.to/?p=778</guid>
		<description><![CDATA[We&#8217;ve received some queries for further details on the Arduino Workshop. So here&#8217;s some more info for those of you thinking of coming: Arduino Total Beginners Workshop Monday Sept 12th 2011, 7pm-9pm You&#8217;ll need to bring your own Arduino (any kind will do) and a laptop on which you can install software. Also please bring [...]]]></description>
			<content:encoded><![CDATA[<p>We&#8217;ve received some queries for further details on the Arduino Workshop.  So here&#8217;s some more info for those of you thinking of coming:</p>
<p>Arduino Total Beginners Workshop<br />
Monday Sept 12th 2011, 7pm-9pm</p>
<p>You&#8217;ll need to bring your own Arduino (any kind will do) and a laptop on which you can install software.  Also please bring any cables required to attach your Arduino to your laptop &#8211; typically this means an A to B USB cable.  If you do not have an Arduino, you can purchase one at Creatron, only a few blocks away from hacklab at 255 College Street.</p>
<p>As before, all are welcome, no RSVP required. Eric will show you how to get started with Arduino, the super-friendly microcontroller platform that even artists love. We’ll cover getting the software installed and going, hooking up the Arduino, and a little bit of basic programming, via explanation of the Examples. You too can cut and paste your way to a working project!</p>
]]></content:encoded>
			<wfw:commentRss>http://hacklab.to/archives/arduino-workshop-sept/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Fall Workshops: Arduino, Soldering, 3D Printing</title>
		<link>http://hacklab.to/archives/fall-workshops-arduino-soldering-3d-printing/</link>
		<comments>http://hacklab.to/archives/fall-workshops-arduino-soldering-3d-printing/#comments</comments>
		<pubDate>Wed, 24 Aug 2011 20:03:29 +0000</pubDate>
		<dc:creator>mrericboyd</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hacklab.to/?p=774</guid>
		<description><![CDATA[The Hacklab.TO Monday Workshop series is starting again! Each Monday we will be offering a way to get started hacking. Learn some basic skills, meet some friends, and see what hacklab is all about! Monday Sept 12th: Arduino Beginners Workshop. For total beginners. All are welcome, no RSVP required. Eric will show you how to [...]]]></description>
			<content:encoded><![CDATA[<p>The Hacklab.TO Monday Workshop series is starting again!  Each Monday we will be offering a way to get started hacking.  Learn some basic skills, meet some friends, and see what hacklab is all about!</p>
<p>Monday Sept 12th: Arduino Beginners Workshop.  For total beginners.  All are welcome, no RSVP required.  Eric will show you how to get started with Arduino, the super-friendly microcontroller platform that even artists love.  We&#8217;ll cover getting the software installed and going, hooking up the Arduino, and a little bit of basic programming, via explanation of the Examples.  You too can cut and paste your way to a working project!</p>
<p>Monday Sept 19th: Learn how to Solder.  For total beginners, or those with some experience.  Learn how to solder, which is one method of assembling an electronic circuit.  Instruction by Eric is free, and we&#8217;ll have a variety of interesting kits on hand for you to purchase as learning templates.  You&#8217;ll take your kit home at the end of the night, working, guaranteed!  RSVP here: <a href="http://hacklab-soldering.eventbrite.com/">http://hacklab-soldering.eventbrite.com/</a>.</p>
<p>Monday Sept 26th: 3D Printing.  For hacklab members only.  Come learn how to use the makerbot from Christopher.  Note: this is not a modeling workshop, you will not learn how to design 3D parts.  You&#8217;ll learn how to use the Makerbot to actually print them.  RSVP here: <a href="http://hacklab-3d-printing.eventbrite.com/">http://hacklab-3d-printing.eventbrite.com/</a>.</p>
<p>Hope to see you at a workshop soon!</p>
]]></content:encoded>
			<wfw:commentRss>http://hacklab.to/archives/fall-workshops-arduino-soldering-3d-printing/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Train Overlord Hackathon Video</title>
		<link>http://hacklab.to/archives/train-overlord-hackathon-video/</link>
		<comments>http://hacklab.to/archives/train-overlord-hackathon-video/#comments</comments>
		<pubDate>Sat, 13 Aug 2011 21:37:45 +0000</pubDate>
		<dc:creator>Norman Chu</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hacklab.to/?p=768</guid>
		<description><![CDATA[A short clip of  the recent Train Overlord hackaton:]]></description>
			<content:encoded><![CDATA[<p>A short clip of  the recent Train Overlord hackaton:</p>
<p><iframe width="560" height="349" src="http://www.youtube.com/embed/YYwIZdyAO68" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://hacklab.to/archives/train-overlord-hackathon-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Haskell Workshop</title>
		<link>http://hacklab.to/archives/haskell-workshop/</link>
		<comments>http://hacklab.to/archives/haskell-workshop/#comments</comments>
		<pubDate>Sat, 06 Aug 2011 04:27:15 +0000</pubDate>
		<dc:creator>Christopher Olah</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hacklab.to/?p=762</guid>
		<description><![CDATA[Haskell is an awesome purely functional language that I&#8217;ve been becoming more and more obsessed with in recent months. I consider it to be the most elegant language I&#8217;ve ever worked in and want to introduce more people to it! So, on Monday, August the 8th, 7pm/19:00 I&#8217;ll be teaching an introduction to Haskell workshop! [...]]]></description>
			<content:encoded><![CDATA[<p>Haskell is an awesome purely functional language that I&#8217;ve been becoming more and more obsessed with in recent months. I consider it to be the most elegant language I&#8217;ve ever worked in and want to introduce more people to it!</p>
<p>So, on Monday, August the 8th, 7pm/19:00 I&#8217;ll be teaching an introduction to Haskell workshop! Come and learn about laziness, type classes and (the awesome power of) monads!</p>
<p><strong>Please note: This is not an introduction to programming class. </strong>You will not be able to follow along if you don&#8217;t have experience programming. I am planning to do a day long weekend Introduction to</p>
<p>Programming/Python workshop sometime in the near future that would be much more appropriate for you.</p>
<p>(Sorry about the late notice. I posted to discuss and then forgot to put up a blog post.)</p>
<p><strong>Update:</strong> And it went awesome! There was a much bigger turn out than I expected. Here are some notes:</p>
<p><span id="more-762"></span></p>
<p>This is the first file I made as we went along. Unfortunately, we don&#8217;t seem to have syntax highlighting&#8230;</p>
<pre>
import Text.Parsec -- we'll use this later

-- Things that would be good to install
-- ghc
-- cabal

-- also: tryhaskell.org

-- operators are what you would expect, except:
-- doesn't equal is /=
-- concatonate is ++

-- Some operators you may not have seen before
-- $, applies right to left (ie, does nothing) but
--     changes order of operation to get rid of brackets
-- ., compose right function with left

-- Operators are infix, other funcs prefix.
-- eg 1/2 but div 1 2
-- switch back and forth: (/) 1 2 and 1 `div` 2

-- Calculate the fibonacci sequence
fib :: Int -> Int
fib 0 = 1
fib 1 = 1
fib n = fib (n-1) + fib (n-2)

--Using a case
fib2 :: Int -> Int
fib2 n = case n of
	0 -> 1
	1 -> 1
	n -> fib2 (n-1) + fib2 (n-2)

-- calculate points in a Julia set (constant k)
-- notice that Float -> (Float -> Int) is the same
-- as Float -> FLoat -> Int by partial application
julia :: Float -> Float -> Int
julia k x = length $ take 100 $ takeWhile (\z -> abs(z)<2)$
	iterate (\z -> z^2 + k) x

-- Algebraic data types!
data Person = Eric | Jesus| Brian| Jane | John | Mary | Eve 

--To be able to output, we need to make Person an instance of Show
instance Show Person where
	show Eric = "Eric"
	show Jesus = "Jesus"
	show Brian = "Brian"
	show Jane = "Jane"
	show John = "John"
	show Mary = "Mary"
	show Eve  = "Eve"

-- gives you mother of a Person
mother :: Person -> Maybe Person

mother Eric  = Just Mary
mother Jesus = Just Mary
mother Brian = Just Mary
mother John  = Just Mary
mother Mary  = Just Jane
mother Jane = Just Eve
mother Eve = Nothing

-- Why didn't we have to make a show instance for Maybe Person?
-- It already exists, as a general definition, something like:
--data Maybe a = Nothing | Just a
--instance (Show a) => Show Maybe a where
--	show (Just a) = "Just" ++ show a
--	show Nothing = "Nothing"

-- Recursive Algebraic Data Types are possible.
-- List is something like:
-- data [a] = [] | a : [a]
-- data List a = Empty | Item a (List a)

-- What makes a monad a monad? >>= (bind operator)
-- eg. [1,2,3] >>= (\a -> [a^2])
-- eg. Nothing >>= (\a -> Just $ a^2 )

-- We'd like to implement Cartesian Product
-- eg. [1,2] [3,4] -> [(1,3),(1,4), (2,3), (2,4)]
-- [1,2,3] >>= (\a -> ([4,5,6] >>= (\b -> [(a,b)])))

-- Since that is tedious, haskell has do notation
prod as bs = do
	a <- as
	b <- bs
	return (a,b) -- return just monadifies things

greatgrandmother a = case (mother a) of
	Nothing -> Nothing
	Just b -> case (mother b) of
		Nothing -> Nothing
		Just c -> mother c

greatgrandmother2 a = do
	b <- mother a
	c <- mother b
	d <- mother c
	return d

-- see hellowrold.hs

-- Parsec, the best parsing library ever!

element = string "H" <|> string "He"

elmentPair = do
	elem <- element
	num <- digit
	return (elem, num)

-- do {a <- b; return a} = b >>= (\a -> return a)
</pre>
<p>And the second file:</p>
<pre>
-- Haskell handels IO by having main be an object that represents IO
-- It's a monad to make it easy to chain IO actions together :)
main = do
	putStrLn "Hello World!"
	putStrLn "bah sheep!!"
	putStrLn "spit! Camel case! Grunt"
	a <- getLine
	putStrLn a
</pre>
<p>Some great resources are <a href="http://learnyouahaskell.com/">Learn You a Haskell For Great Good</a>, <a href="http://book.realworldhaskell.org/read/">Real World Haskell</a>, and the <a href="https://secure.wikimedia.org/wikibooks/en/wiki/Haskell">Haskell Wikibook</a>. A number of my examples were inspired, by things from these.</p>
<p>We also talked about the library <a href="http://book.realworldhaskell.org/read/using-parsec.html">Parsec</a> a little bit, and looked at some of <a href="https://christopherolah.wordpress.com/2011/07/07/ucalc-a-unicode-calculator/">ucalc</a>'s source code for examples. </p>
]]></content:encoded>
			<wfw:commentRss>http://hacklab.to/archives/haskell-workshop/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Byron is Released on Bail</title>
		<link>http://hacklab.to/archives/byron-is-released-on-bail/</link>
		<comments>http://hacklab.to/archives/byron-is-released-on-bail/#comments</comments>
		<pubDate>Wed, 18 May 2011 22:46:29 +0000</pubDate>
		<dc:creator>elmood</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hacklab.to/?p=741</guid>
		<description><![CDATA[Hacklab.to member Byron Sonne who was arrested June 22, 2010 on charges related to the G20 summit in Toronto was released on bail today. Byron is innocent until proven guilty and continues to be recognized as a full member of Hacklab Toronto. His trial will begin in November 2011. Full information about the case, including [...]]]></description>
			<content:encoded><![CDATA[<p>Hacklab.to member Byron Sonne who was arrested June 22, 2010 on charges related to the G20 summit in Toronto was released on bail today. Byron is innocent until proven guilty and continues to be recognized as a full member of Hacklab Toronto. His trial will begin in November 2011.</p>
<p><img src="http://i.imgur.com/U4hCU.jpg" alt="" title="Hosted by imgur.com" /></p>
<p>Full information about the case, including links to media articles and other information can be found at: <a href="http://www.freebyron.org">http://www.freebyron.org</a></p>
]]></content:encoded>
			<wfw:commentRss>http://hacklab.to/archives/byron-is-released-on-bail/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Toronto Mini Maker Faire Video</title>
		<link>http://hacklab.to/archives/toronto-mini-maker-faire-video/</link>
		<comments>http://hacklab.to/archives/toronto-mini-maker-faire-video/#comments</comments>
		<pubDate>Wed, 18 May 2011 22:41:26 +0000</pubDate>
		<dc:creator>elmood</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://hacklab.to/?p=743</guid>
		<description><![CDATA[Hacklab.to had one of the best booths at the Toronto Mini Maker Faire and our member aonomus made a great video about it! Join us at our open house every Tuesday night at 170A Baldwin Street in Toronto to see some of the projects that were on display at the faire.]]></description>
			<content:encoded><![CDATA[<p>Hacklab.to had one of the best booths at the Toronto Mini Maker Faire and our member aonomus made a great video about it! Join us at our open house every Tuesday night at 170A Baldwin Street in Toronto to see some of the projects that were on display at the faire.</p>
<p><iframe width="560" height="349" src="http://www.youtube.com/embed/0A8aifJ_-9Y" frameborder="0" allowfullscreen></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://hacklab.to/archives/toronto-mini-maker-faire-video/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

