<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
  <channel>
    <title>Raspberry-Pi on Noetic Nought</title>
    <link>https://punchagan.muse-amuse.in/tags/raspberry-pi/</link>
    <description>Recent content in Raspberry-Pi on Noetic Nought</description>
    <generator>Hugo</generator>
    <language>en-US</language>
    <copyright>© 2006-2026 CC-BY-SA-4.0</copyright>
    <lastBuildDate>Fri, 08 Aug 2014 18:15:09 -0400</lastBuildDate>
    <atom:link href="https://punchagan.muse-amuse.in/tags/raspberry-pi/index.xml" rel="self" type="application/rss+xml" />
    <item>
      <title>Recurse Center, 2014-08-07</title>
      <link>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-08-07/</link>
      <pubDate>Fri, 08 Aug 2014 18:15:09 -0400</pubDate>
      <guid>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-08-07/</guid>
      <description>&lt;h2 id=&#34;c-stuff&#34;&gt;C stuff&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;In the morning I cleaned up the code to open torrent files, and parse them.&lt;/li&gt;&#xA;&lt;li&gt;I worked on a function to do encode text properly, and Sophia helped me&#xA;find out that I had to use unsigned chars in it.&lt;/li&gt;&#xA;&lt;li&gt;I looked at Sophia&amp;rsquo;s threaded ftp server in C, and gave some suggestions on&#xA;how the code could be refactored.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;baking-pi&#34;&gt;Baking Pi&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;We still didn&amp;rsquo;t get to the video stuff, yesterday.  We finished the first 5&#xA;chapters, though, and have a SOS pattern display.&lt;/li&gt;&#xA;&lt;li&gt;I&amp;rsquo;m really looking forward to doing the cool video stuff.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;miscellaneous&#34;&gt;Miscellaneous&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;William Skeith, gave a talk on &lt;a href=&#34;https://github.com/wes1138/webauth-via-ssh&#34;&gt;using SSH keys for web-authentication&lt;/a&gt;, which&#xA;was pretty interesting.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Recurse Center, 2014-08-06</title>
      <link>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-08-06/</link>
      <pubDate>Thu, 07 Aug 2014 10:57:15 -0400</pubDate>
      <guid>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-08-06/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;Finished working through the first 5 chapters of the baking pi course, and am&#xA;excited to start working on the video stuff, today!&lt;/li&gt;&#xA;&lt;li&gt;Spent some time pairing with Sindhu on her url checker, and later in the&#xA;night helped her out with a small bug in her GitHub activity leaderboard&#xA;script.&lt;/li&gt;&#xA;&lt;li&gt;I spent some time adding dict parsing support to the bencode parser.&lt;/li&gt;&#xA;&lt;li&gt;And also cleaned up the tests.&lt;/li&gt;&#xA;&lt;li&gt;The electronics hobbyists were doing some cool stuff, and I joined them for a&#xA;bit. We tried some cheap motion sensors, but they didn&amp;rsquo;t work very well, and&#xA;probably need to be calibrated.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Recurse Center, 2014-08-05</title>
      <link>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-08-05/</link>
      <pubDate>Tue, 05 Aug 2014 23:44:33 -0400</pubDate>
      <guid>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-08-05/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;Spent a couple of hours in the morning, trying to revive a html template for&#xA;blaggregator, that I missed out on committing previously, and wiped out due&#xA;to negligence in using `git clean`.&lt;/li&gt;&#xA;&lt;li&gt;Spent time post lunch working through the first two chapters of the baking pi&#xA;course, by myself, reading up different references, and finally getting how&#xA;I/O is mapped to the memory in ARM.&lt;/li&gt;&#xA;&lt;li&gt;Actually, almost.  A variant of the example that I thought should work,&#xA;doesn&amp;rsquo;t.  So, I need to think/talk about it today.&lt;/li&gt;&#xA;&lt;li&gt;I sent a patch to Nikola for the lastdeploy timestamp being UTC.  I was&#xA;hoping to work around an &lt;a href=&#34;https://github.com/sursh/blaggregator/issues/56&#34;&gt;issue&lt;/a&gt; with Blaggregator, by somehow fixing it on the&#xA;client side, but that&amp;rsquo;s probably not the right way to go about it.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Recurse Center, 2014-08-04</title>
      <link>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-08-04/</link>
      <pubDate>Mon, 04 Aug 2014 16:19:59 -0400</pubDate>
      <guid>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-08-04/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;A bunch of worked on getting LEDs to blink, by writing some assembly code.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I goofed off post-lunch, and cleaned up the code for the Google Translate&#xA;based TTS client.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I tried to continue working on the bencode parser, to add support for&#xA;dictionaries, but I couldn&amp;rsquo;t get much work done before it was time for the&#xA;Monday talk.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Recurse Center, 2014-08-03</title>
      <link>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-08-03/</link>
      <pubDate>Mon, 04 Aug 2014 16:10:41 -0400</pubDate>
      <guid>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-08-03/</guid>
      <description>&lt;h2 id=&#34;friday&#34;&gt;Friday&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;On Friday, I didn&amp;rsquo;t do the exercises that everyone else doing job prep were&#xA;doing.  I wanted to continue writing C code, and continued to work on the&#xA;&lt;code&gt;bencode&lt;/code&gt; parser in C.  I barely was able to finish adding support for lists.&lt;/li&gt;&#xA;&lt;li&gt;I got comfortable using Valgrind, in the process of debugging a stupidity of&#xA;not using &lt;code&gt;realloc&lt;/code&gt; correctly.&lt;/li&gt;&#xA;&lt;li&gt;What I was able to write with Python in an hour or so, I have been writing&#xA;for about a day, in C, and haven&amp;rsquo;t yet finished it!  It definitely doesn&amp;rsquo;t&#xA;help that my C is very rusty&amp;hellip;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;saturday-and-sunday&#34;&gt;Saturday &amp;amp; Sunday&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I didn&amp;rsquo;t work much, and went around New York with Madhu.  We went to quite&#xA;a few places around here, the highlight being, the view of Manhattan&amp;rsquo;s&#xA;skyline from the Staten Island Ferry.&lt;/li&gt;&#xA;&lt;li&gt;NYC&amp;rsquo;s library also had an interesting exhibhition on the history of&#xA;America, just before and during WW-I.&lt;/li&gt;&#xA;&lt;li&gt;On Sunday, I tried out Mary TTS on the raspberry pi, and it is simply&#xA;unusable.&lt;/li&gt;&#xA;&lt;li&gt;I then, started writing a simple wrapper around Google&amp;rsquo;s tts that is used&#xA;by Google translate.&lt;/li&gt;&#xA;&lt;li&gt;The TTS part is more or less working right now, the next step would be to&#xA;deploy it on the RaspberryPi and start using it as a radio, to see what my&#xA;needs are like. Hooking it up to &lt;a href=&#34;https://github.com/jasperproject/jasper-client&#34;&gt;Jasper client&lt;/a&gt; seems like a good idea,&#xA;right now&amp;hellip; though I&amp;rsquo;m not sure if it would work very well, with the pi&amp;rsquo;s&#xA;audio output drowning out the voice commands.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Recurse Center, 2014-07-29</title>
      <link>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-07-29/</link>
      <pubDate>Tue, 29 Jul 2014 11:20:24 -0400</pubDate>
      <guid>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-07-29/</guid>
      <description>&lt;h2 id=&#34;hacking-learning-by-breaking-stuff&#34;&gt;Hacking: learning by breaking stuff&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Post lunch, I started pairing with Stephanie on the exercises in the &lt;a href=&#34;http://www.nostarch.com/hacking2.htm&#34;&gt;Hacking&lt;/a&gt;&#xA;book, and that turned out to be super fun!&lt;/li&gt;&#xA;&lt;li&gt;We got through the chapter on exploitation, which focussed on stack&#xA;overflows, heap overflows, overflows in function pointers, and string&#xA;formatting exploits.  It acted as more than a gentle refresher for C, and was&#xA;super fun!&lt;/li&gt;&#xA;&lt;li&gt;Running the examples on a 64bit system, added an additional amount of&#xA;thinking required, and was good, IMO.&lt;/li&gt;&#xA;&lt;li&gt;I hadn&amp;rsquo;t worked along with Stephanie on the material in the first two&#xA;chapters.  So, I went back home and tried to catch up, but couldn&amp;rsquo;t get all&#xA;of it done.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;miscellaneous&#34;&gt;Miscellaneous&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I spent part of the morning wrapping up the install script for the raspberry&#xA;project, and cleaning up the repository.  &lt;a href=&#34;https://github.com/kbeyer/RPi-LED-SpectrumAnalyzer&#34;&gt;It looks reasonable now&lt;/a&gt;, and I&#xA;think I&amp;rsquo;m done with it until the end of HackerSchool.&lt;/li&gt;&#xA;&lt;li&gt;I also tried to look for &amp;ldquo;easy&amp;rdquo; python issues that would involve me writing&#xA;some C code, but didn&amp;rsquo;t really find anything other than documentation&amp;hellip; I&#xA;guess, I should pick a module and look for bugs in it, instead.&lt;/li&gt;&#xA;&lt;li&gt;Also, while chatting with a friend, I had to explain that I don&amp;rsquo;t mention the&#xA;last names of people or link to them, for privacy reasons.  Hacker School is&#xA;particularly careful about not divulging information about who are at Hacker&#xA;School each batch, and I want to keep that tradition.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Recurse Center, 2014-07-24</title>
      <link>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-07-24/</link>
      <pubDate>Thu, 24 Jul 2014 09:53:03 -0400</pubDate>
      <guid>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-07-24/</guid>
      <description>&lt;h2 id=&#34;glowing-leds-and-me&#34;&gt;Glowing LEDs and me&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;It turned out that the SPI driver exposed a faster way to write bits, writing&#xA;to all the LEDs at once, instead of one at a time, and this was sufficient to&#xA;get things working!&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Kyle and I started to have enough, of the glowing LEDs and decided to wrap up&#xA;the project, but, Nick had different ideas for us! We had talked about having&#xA;the music stream via airplay, but Nick got his DJing tools, and it would be&#xA;too bad to not use it for the party, but doing that meant Airplay&amp;rsquo;s delay&#xA;wouldn&amp;rsquo;t help the DJ. So, we connected a line-in, and thought we&amp;rsquo;d be done if&#xA;we just read the input and used that data. But, it turns out that&amp;rsquo;s not so&#xA;simple because sending data over the wire, added noise to it, and in a whole&#xA;range of frequencies! I tried removing all the fourier coefficients which&#xA;were lower than a threshold, but I felt like it didn&amp;rsquo;t work very well, until&#xA;Nick reduced the gain of this output on the amp to the very minimum. Finally,&#xA;Kyle and I decided that this was good enough for the party!&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I also hacked up a quick script to read a font file, and use the grey values&#xA;to get ascii characters to show up on the LED strip.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;miscellaneous&#34;&gt;Miscellaneous&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;While trying to find the RPi on the network, I learnt that &lt;code&gt;sudo nmap -sP 10.0.1.*&lt;/code&gt; gives us the hostname as well, instead of just IPs.  &lt;code&gt;sudo&lt;/code&gt; being&#xA;the key, here.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Kyle and I went and grabbed dinner in a restaurant in west village. It was&#xA;good to sit down and talk about various things, and eat. The glowing LEDs&#xA;were totally out of my mind for that period, and the break was good!&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;There were a bunch of HSers doing mock-interviews and it was fun to watch, so&#xA;I stayed on until quite late, when all of us headed out together.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;today&#34;&gt;Today&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I&amp;rsquo;m excited about trying to build a small version control system from&#xA;scratch today!&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Though I have had quite a bit of glowing LEDs in my face for the past week,&#xA;I may suck up to it, and figure out how to do scrolling text on the&#xA;display.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Also, excited to see how all the cool projects will come together in the&#xA;party tonight!&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Recurse Center, 2014-07-23</title>
      <link>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-07-23/</link>
      <pubDate>Wed, 23 Jul 2014 10:51:51 -0400</pubDate>
      <guid>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-07-23/</guid>
      <description>&lt;h2 id=&#34;shairplay-and-ws2801&#34;&gt;Shairplay and WS2801&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Kyle mounted the LEDs onto a cardboard, and packaged it to look cool.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;We thought we were done with the project, until we found out we weren&amp;rsquo;t!  The&#xA;LEDs all lighted up correctly, when we played the audio from a file on disk,&#xA;but streaming messed something up!  Only the first few columns lighted up,&#xA;when we were listening on the stream.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;We spent the whole evening trying to debug the issue, and eliminated quite a&#xA;few hypothesis, but weren&amp;rsquo;t able to fix it, yet.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;miscellaneous&#34;&gt;Miscellaneous&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;rntz live coded a parser for us yesterday, and I learnt a few things about&#xA;parsers.  I&amp;rsquo;m glad I went to the discussion/talk.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I started working through the videos of Anatomy of Matplotlib, and hope to&#xA;get new insights into how it works.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;today&#34;&gt;Today&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Today will be spent mostly trying to get streaming audio working.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I feel like debugging this, will take my understanding of the&#xA;hardware-software interface to a new level.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Recurse Center, 2014-07-22</title>
      <link>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-07-22/</link>
      <pubDate>Tue, 22 Jul 2014 10:46:36 -0400</pubDate>
      <guid>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-07-22/</guid>
      <description>&lt;h2 id=&#34;mel-s-talks&#34;&gt;Mel&amp;rsquo;s talks&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Mel&amp;rsquo;s talk in the morning was brilliant!  I wonder why it&amp;rsquo;s not a part of&#xA;recommended reading for Hacker Schoolers, or referred to, in the manual.&lt;/li&gt;&#xA;&lt;li&gt;Logically, it makes sense that Mel came now, so that she didn&amp;rsquo;t have to come&#xA;twice to talk to the firsts and seconds, but it would have been great to have&#xA;had this talk in the first week of Hacker School!&lt;/li&gt;&#xA;&lt;li&gt;Mel gave us a lot of new information and insights into education and learning&#xA;styles. I also like the fact that she gave us all a good vocabulary to think&#xA;about and discuss stuff related to learning. I will try to think, and apply&#xA;as much of this as I can, for the rest of my time here.&lt;/li&gt;&#xA;&lt;li&gt;She talked about &lt;a href=&#34;http://blog.melchua.com/2014/02/10/test-driven-learning-setting-learning-goals-for-yourself-software-engineering-edition/&#34;&gt;test driven learning&lt;/a&gt; which seemed very interesting. Instead&#xA;of just saying, &amp;ldquo;wow that would be an interesting thing to do&amp;rdquo;, stop for a&#xA;moment, think about what you are trying to learn, and how you will assess if&#xA;you have learnt what you wanted to, and then dive into the project.&lt;/li&gt;&#xA;&lt;li&gt;The &lt;a href=&#34;http://www.engr.ncsu.edu/learningstyles/ilsweb.html&#34;&gt;learning styles&lt;/a&gt; workshop was pretty good too, though I feel like I don&amp;rsquo;t&#xA;know myself well enough, and I unable to properly &amp;ldquo;bucket&amp;rdquo; myself.  Later, I&#xA;took a &lt;a href=&#34;http://www.engr.ncsu.edu/learningstyles/ilsweb.html&#34;&gt;quiz&lt;/a&gt;, and ended up fairly close to the middle, in all the dimensions.&lt;/li&gt;&#xA;&lt;li&gt;Mel introduced us to the idea of &lt;a href=&#34;http://www.scribd.com/doc/201816780/A-Cognitive-Apprenticeship-Primer&#34;&gt;cognitive apprenticeship&lt;/a&gt;, and encouraged us&#xA;to try out the different modes when pairing. I really liked the idea of &lt;a href=&#34;http://en.wikipedia.org/wiki/Zone_of_proximal_development&#34;&gt;Zone&#xA;of proximal development&lt;/a&gt; and I will try to take the advice of spending most of&#xA;the rest of my time here in this zone.&lt;/li&gt;&#xA;&lt;li&gt;Do I (really) care?  Motivation and mindset, &amp;hellip;&lt;/li&gt;&#xA;&lt;li&gt;Be courageous!&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;airplay-and-raspberry-pi&#34;&gt;Airplay and Raspberry Pi&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I was trying to wrap libshairport and use it on the RPi to be able to listen&#xA;to songs being streamed on Airplay, and use that data to drive the LEDs.&lt;/li&gt;&#xA;&lt;li&gt;Shairport, a tool written in C seemed to work.  My attempts to wrap&#xA;&lt;code&gt;libshairport&lt;/code&gt;, which is a fork of &lt;code&gt;shairport&lt;/code&gt; converting it into a library,&#xA;failed miserably.&lt;/li&gt;&#xA;&lt;li&gt;The trouble was essentially getting Airplay to discover my service.  I tried&#xA;a bunch of things with &lt;code&gt;pybonjour&lt;/code&gt; and &lt;code&gt;avahi&lt;/code&gt;, but wasn&amp;rsquo;t able to get it&#xA;right.&lt;/li&gt;&#xA;&lt;li&gt;Finally, I tried just announcing the service with &lt;code&gt;shairport&lt;/code&gt;, and actually&#xA;running a python script that wraps &lt;code&gt;libshairport&lt;/code&gt; to listen to the data.&#xA;But, this didn&amp;rsquo;t work and iTunes complained that this Airplay device is not&#xA;compatible. Before going much further with this, I found &lt;code&gt;shairplay&lt;/code&gt; which is&#xA;a tool similar to &lt;code&gt;shairport&lt;/code&gt;, but came with a library, and also Python&#xA;bindings!  I happily used this to get stuff working!&lt;/li&gt;&#xA;&lt;li&gt;I&amp;rsquo;m interested to see today, what exactly I was missing yesterday!&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;emacs-club&#34;&gt;Emacs club&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;I demoed org-mode to a bunch of people for about half an hour, and it was&#xA;good to see people being blown away by what it can do, exactly the way I&#xA;was, when I first came across it.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;today&#34;&gt;Today&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;Work on RPi to clean up a few things for the party.&lt;/li&gt;&#xA;&lt;li&gt;Compare &lt;code&gt;libshairplay&lt;/code&gt; and &lt;code&gt;libshairport&lt;/code&gt; to see what I was doing wrong,&#xA;yesterday.&lt;/li&gt;&#xA;&lt;li&gt;May be write up the whole thing, and make the code available.&lt;/li&gt;&#xA;&lt;li&gt;Learn a little bit about Parsers from rntz.&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Recurse Center, 2014-07-21</title>
      <link>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-07-21/</link>
      <pubDate>Tue, 22 Jul 2014 10:46:29 -0400</pubDate>
      <guid>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-07-21/</guid>
      <description>&lt;h2 id=&#34;yesterday&#34;&gt;Yesterday&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;It was exciting to have so many new Hacker Schoolers in the space.  But, the&#xA;excitement was kinda distracting too.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I spent most of the day looking at shairport, and libshairport and trying to&#xA;wrap it, so I can use it to get data for the spectrum analyzer via the&#xA;Air-play protocol.  I was able to call it using &lt;code&gt;ctypes&lt;/code&gt;, but it doesn&amp;rsquo;t seem&#xA;discoverable.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I also briefly looked at Julia and &lt;a href=&#34;http://dwm.suckless.org&#34;&gt;dwm&lt;/a&gt;, to try and port dwm to Julia.  It&#xA;doesn&amp;rsquo;t seem like too much work, but is going to take me a while given how&#xA;comfortable I&amp;rsquo;m with both Julia and C.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Yaron Minsky&amp;rsquo;s talk on distributed systems was a great introduction to&#xA;Distributed systems.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;After the talk, I spent a little time updating my notes from an old org-mode&#xA;workshop to present it at the emacs user group meet up today.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;today&#34;&gt;Today&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I hope to get the spectrum analyzer to use &lt;code&gt;libshairport&lt;/code&gt; and be able to play&#xA;music sent through Air play.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Spend some time talking to the emacs user group about org-mode.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;If I have any time, after getting this to work, I may play around with the&#xA;dwm port.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Recurse Center, 2014-07-20</title>
      <link>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-07-20/</link>
      <pubDate>Mon, 21 Jul 2014 12:13:46 -0400</pubDate>
      <guid>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-07-20/</guid>
      <description>&lt;h2 id=&#34;saturday-and-sunday&#34;&gt;Saturday &amp;amp; Sunday&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;During the weekend, I had this idea of building a personalized &amp;ldquo;radio&amp;rdquo; for&#xA;myself using a Raspberry pi.  The idea is to have a service where all my&#xA;bookmarks, and feeds are accumulated to, instead of eating up valuable&#xA;browser tab real estate.  And then, I could use a Raspberry pi to randomly&#xA;play content off of it, based on a theme.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I worked on getting things together for it, during the weekend.  The project&#xA;is more like a &amp;ldquo;thing that needs to be done&amp;rdquo;, rather than something that puts&#xA;me out of my comfort zone, atleast as far as I can see. So, I&amp;rsquo;m just going to&#xA;work on it as a background thing, between other projects, etc.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Festival seemed OK initially, while I was trying things out, but when I&#xA;actually used it to read me a blog post, it was really terrible!  I tried&#xA;demos of a few commercial tools, and they seem much better than what festival&#xA;had to offer.  I wonder what it would take to get Festival, up there.  I&#xA;tried using Google&amp;rsquo;s translate service&amp;rsquo;s tts (unofficial API) and it seemed&#xA;so good!  But, it limits each request to 100 bytes, and the audio will have&#xA;to be downloaded via the Network.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Madhu pointed me to MaryTTS, which seemed to be an active project and it&#xA;seemed to be much better than Festival, though not as good as Google&amp;rsquo;s tts.&#xA;I&amp;rsquo;m going to try getting it to run on a Pi, next.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;&lt;h2 id=&#34;monday&#34;&gt;Monday&lt;/h2&gt;&#xA;&lt;ul&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I don&amp;rsquo;t really know what I&amp;rsquo;m doing to work on, today.  I have been playing&#xA;around with the Pi, for the past week-ish, and it has been fun!  Kyle and I&#xA;will probably work more on tweaking it, to get it to work the way we want&#xA;it, for the party!&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;I also did a little bit of Julia with Sean, and it was fun.  I may try&#xA;playing around with it, a little bit, but not sure what to work on.  May be&#xA;continue working through the think-complexity book using Julia?&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;Or jump into something I totally don&amp;rsquo;t know about, inspired by listening to&#xA;Julia Evans&amp;rsquo; podcast for Ruby Rogues.  I just got this idea of trying to&#xA;write a window manager to understand how X works, and what wayland is&amp;hellip;  I&#xA;could try porting dwm or i3wm to Julia.&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;li&gt;&#xA;&lt;p&gt;There&amp;rsquo;s a whole new bunch of excited Hacker Schoolers in the space, and its&#xA;very exciting!&lt;/p&gt;&#xA;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
    <item>
      <title>Recurse Center, 2014-07-17</title>
      <link>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-07-17/</link>
      <pubDate>Sat, 19 Jul 2014 16:45:12 -0400</pubDate>
      <guid>https://punchagan.muse-amuse.in/recurse-center/recurse-center-2014-07-17/</guid>
      <description>&lt;ul&gt;&#xA;&lt;li&gt;Kyle and I did a demo of our spectrum analyzer/visualizer during the&#xA;presenations.  It was fun to work on, though we mostly just followed a&#xA;tutorial on the web, and made use of a bunch of libraries.&lt;/li&gt;&#xA;&lt;li&gt;I spent the night in HackerSchool.&lt;/li&gt;&#xA;&lt;li&gt;I was cleaning up the code in the tutorial we were trying to follow.&lt;/li&gt;&#xA;&lt;li&gt;Also, cleaned up the install.sh used by &lt;a href=&#34;https://bitbucket.org/togiles/lightshowpi/src&#34;&gt;lightshowpi&lt;/a&gt; project to not do all the&#xA;ugly sudo setups, and use a Python virtualenv and install into that.&lt;/li&gt;&#xA;&lt;li&gt;Refactored the ugly looking music part of the tutorial into a smaller script&#xA;with only the functionality that we were going to use.&lt;/li&gt;&#xA;&lt;li&gt;We hit an interesting bug that would light up all the LEDs on the strip, once&#xA;in a while.  I didn&amp;rsquo;t notice it during the night, because I had a &amp;ldquo;decay&amp;rdquo;&#xA;factor (the max factor by which the height of the columns should get reduced&#xA;between successive updates) was 0.9, but when the decay factor was reduced to&#xA;a lower value, it would happen quite often.  Also, we didn&amp;rsquo;t see this&#xA;happening before.  So, we thought the bug was in the code I had written, when&#xA;I should have been sleeping. After reading and debugging my code for a bit,&#xA;with Kyle and Sean, I thought it was something hardware related that we were&#xA;doing wrong.  But, it turns out that a library we were using lit-up the whole&#xA;strip, when start and end values were both zero, instead of not lighting up&#xA;anything!&lt;/li&gt;&#xA;&lt;li&gt;Also, we hit another off-by one error, just before the demo. I didn&amp;rsquo;t do the&#xA;math for splitting the strip into columns too carefully, and we hadn&amp;rsquo;t&#xA;noticed the off-by one error until we taped up the strip into different&#xA;columns on a pillar for demo.&lt;/li&gt;&#xA;&lt;li&gt;There were some cool presentations by others.  I&amp;rsquo;ll update the list on&#xA;Monday, since I currently don&amp;rsquo;t remember them all!  Looking at the list of&#xA;names on the registration sheet would help!&lt;/li&gt;&#xA;&lt;li&gt;The cleaned up code is &lt;a href=&#34;https://gist.github.com/punchagan/90a238fedabcd88ba512&#34;&gt;here&lt;/a&gt;&lt;/li&gt;&#xA;&lt;/ul&gt;&#xA;</description>
    </item>
  </channel>
</rss>
