<?xml version="1.0" encoding="UTF-8"?><?xml-stylesheet href="/assets/rss.xsl" type="text/xsl"?><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>Sacha Chua - tag - lego</title>
	<atom:link href="https://sachachua.com/blog/tag/lego/feed/index.xml" rel="self" type="application/rss+xml" />
	<atom:link href="https://sachachua.com/blog/tag/lego" rel="alternate" type="text/html" />
	<link>https://sachachua.com/blog/tag/lego/feed/index.xml</link>
	<description>Emacs, sketches, and life</description>
  
	<lastBuildDate>Wed, 13 May 2026 14:32:18 GMT</lastBuildDate>
	<language>en-US</language>
	<sy:updatePeriod>daily</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>11ty</generator>
  <item>
		<title>LEGO</title>
		<link>https://sachachua.com/blog/2006/03/lego/</link>
		<dc:creator><![CDATA[Sacha Chua]]></dc:creator>
		<pubDate>Sun, 05 Mar 2006 04:09:00 GMT</pubDate>
    
		<guid isPermaLink="false">https://sachachua.com/blog/?p=3297</guid>
		<description><![CDATA[<p>I got the robot to do what I wanted to. It was a nifty program. Didn't<br>
work in the real world, but well, that's life.</p>
<p>I don't feel like much of a computer scientist, though. I'm supposed<br>
to be thrilled that I got it to work, but now that it's done, I find<br>
that I don't care about the program itself. I don't care that I got it<br>
to work. It exercised my brain, but so many things do&#8230;</p>
<p>Open source has gotten me hooked on making people happy. As a CS<br>
person, I'm probably not even supposed to care about making people<br>
happy, but I do. Hacking on the LEGO code was fun, but it wasn't<br>
something I would do by myself. I did it because it was fun to hang<br>
out. I enjoyed the stories, the banter, the demonstrations of<br>
particularly nifty things we'd gotten to work. I'm glad I had the<br>
opportunity to help Calum breathe life into his machine. I'm glad I<br>
got to meet Iain, Derek, Sandy, and the others.</p>
<p>Those who have known me since childhood know how far I've come. I find<br>
it scary sometimes. Do I need people too much, now? But I do&#8230; I'm<br>
glad that my friends at Graduate House now feel comfortable enough to<br>
give me a hug without anyone worrying about improper intentions. I'm<br>
glad that I can do nice things for people and make their day better.<br>
I'm glad that I have the warmth and love of friends and family to keep<br>
me going.</p>
<p>I've given myself enough time for fun. Tomorrow: work on my FIS paper.<br>
If I need an emergency shot of warm-and-fuzzies, I've got my<br>
collection of letters and good karma&#8230;</p>

<p>Random Japanese sentence:</p>


<p>You can <a href="mailto:sacha@sachachua.com?subject=Comment%20on%20https%3A%2F%2Fsachachua.com%2Fblog%2F2006%2F03%2Flego%2F&body=Name%20you%20want%20to%20be%20credited%20by%20(if%20any)%3A%20%0AMessage%3A%20%0ACan%20I%20share%20your%20comment%20so%20other%20people%20can%20learn%20from%20it%3F%20Yes%2FNo%0A">e-mail me at sacha@sachachua.com</a>.</p>]]></description>
		</item><item>
		<title>It's alive!</title>
		<link>https://sachachua.com/blog/2006/03/its-alive/</link>
		<dc:creator><![CDATA[Sacha Chua]]></dc:creator>
		<pubDate>Sat, 04 Mar 2006 06:37:00 GMT</pubDate>
    
		<guid isPermaLink="false">https://sachachua.com/blog/?p=3295</guid>
		<description><![CDATA[<p>Today we finished the code for Calum's robot. The robot's job is to<br>
give blocks to other robots, and it scores points based on the unique<br>
colors of blocks it collects and the number of unique robots it gives<br>
blocks to.</p>
<p>I'm proud of the robot because it's pretty smart. It's smart enough<br>
not to shoot multiple blocks at the same robot unless desperation mode<br>
kicks in. Quite slick, as Calum said.</p>
<p>Calum will no doubt post wonderful pictures on his blog sometime. I'll<br>
ask him for a copy of the source code and I'll post it here. Whee!</p>

<p>Random Japanese sentence:</p>


<p>You can <a href="mailto:sacha@sachachua.com?subject=Comment%20on%20https%3A%2F%2Fsachachua.com%2Fblog%2F2006%2F03%2Fits-alive%2F&body=Name%20you%20want%20to%20be%20credited%20by%20(if%20any)%3A%20%0AMessage%3A%20%0ACan%20I%20share%20your%20comment%20so%20other%20people%20can%20learn%20from%20it%3F%20Yes%2FNo%0A">e-mail me at sacha@sachachua.com</a>.</p>]]></description>
		</item><item>
		<title>Working with LEGO</title>
		<link>https://sachachua.com/blog/2006/03/working-with-lego/</link>
		<dc:creator><![CDATA[Sacha Chua]]></dc:creator>
		<pubDate>Thu, 02 Mar 2006 06:41:00 GMT</pubDate>
    
		<guid isPermaLink="false">https://sachachua.com/blog/?p=3292</guid>
		<description><![CDATA[<p>Thanks to Calum Tsang, I've been able to play around with the LEGO<br>
Mindstorms robotics kit without actually having to mess around with<br>
anything that requires spatial visualization. I've never really gotten<br>
the hang of getting gears and whatnot to work together. Fortunately,<br>
Calum is absolutely brilliant when it comes to that sort of stuff, so<br>
all I really need to worry about is just making sure that I produce<br>
the right output given the input.</p>
<p>LEGO presents quite a challenge. We use Not Quite C (nqc) to program<br>
the robot, and it _really_ is not quite C. I've run into the parser's<br>
limitations a gazillion times, from wondering why on earth some of the<br>
binary operators don't accept variables to wishing I could define a<br>
function that returns a value instead of having to pass everything<br>
around in global variables. It's fun working within those constraints,<br>
though.</p>
<p>Debugging is a mission, too. No println debugging here! Numbers and<br>
beeps are all I have, and the compile-download-run cycle can be a bit<br>
slow. We're still having problems with the infrared communication<br>
between two of the control modules, but Calum thinks it's because I'm<br>
flooding the communication buffer. We'll try twiddling that on Friday<br>
to see if we can get it to work before the competition on Saturday.</p>
<p>Maybe he can teach me how to put together some of the really simple<br>
assemblies &#8211; the bumper, perhaps? I'm completely pfft when it comes to<br>
spatial things, but that could be a way for me to ease into it. Just<br>
as Kathy's circus stuff helped me learn coordination and rhythm, maybe<br>
LEGO can help me learn how to hold spatial structures in my head. In<br>
the meantime, I actually enjoy working within the constraints of the<br>
system.</p>
<p>It's also a refreshing break from the kind of programming work I<br>
normally like doing. As Calum pointed out earlier, I'm one of the<br>
near-mythical programmers who actually prefers maintaining other<br>
people's code and (gasp) writing a little documentation here and<br>
there. For these little LEGO contests, all I need to do is hack<br>
together some code that will be thrown away afterwards. It feels more<br>
like a logic puzzle than a proper program. I don't have the feeling of<br>
working on something that makes someone's life easier and better, but<br>
I do feel that it exercises my brain and keeps me limber.</p>
<p>So, yeah. LEGO is fun. =)</p>


<p>You can <a href="mailto:sacha@sachachua.com?subject=Comment%20on%20https%3A%2F%2Fsachachua.com%2Fblog%2F2006%2F03%2Fworking-with-lego%2F&body=Name%20you%20want%20to%20be%20credited%20by%20(if%20any)%3A%20%0AMessage%3A%20%0ACan%20I%20share%20your%20comment%20so%20other%20people%20can%20learn%20from%20it%3F%20Yes%2FNo%0A">e-mail me at sacha@sachachua.com</a>.</p>]]></description>
		</item>
	</channel>
</rss>