<?xml version="1.0" encoding="UTF-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://kisoku.net/</id>
  <title>Learning to Breathe</title>
  <updated>2010-04-16T15:38:22Z</updated>
  <link rel="alternate" href="http://kisoku.net"/>
  <link rel="self" href="http://kisoku.net/feed/atom.xml"/>
  <author>
    <name>Mathieu Sauve-Frankel</name>
    <uri>http://kisoku.net/about.html</uri>
  </author>
  <entry>
    <id>tag:kisoku.net,2010-04-17:/articles/upstart_serial_console.html</id>
    <title type="html">Serial consoles with Ubuntu Lucid and upstart</title>
    <published>2010-04-16T15:38:22Z</published>
    <updated>2010-04-16T15:52:06Z</updated>
    <link rel="alternate" href="http://kisoku.net/articles/upstart_serial_console.html"/>
    <content type="html">&lt;p&gt;
  I've working quite a bit with Ubuntu recently at
  &lt;a href='http://opensource.qualcomm.com'&gt;
    work
  &lt;/a&gt;
  . Which is a bit of change from the RHEL environments I've used in the past.
&lt;/p&gt;
&lt;p&gt;
  The new lucid release uses
  &lt;a href='http://upstart.ubuntu.com'&gt;
    upstart
  &lt;/a&gt;
  instead of the more traditional SysV init. Unfortunately, this means that
  the tried and true way of starting a getty process on a serial port via
  inittab(5) no longer works.
&lt;/p&gt;
&lt;p&gt;
  After a bit of poking around in /etc/init, I managed to whip a very simple
  upstart job to start an instance of mgetty on ttyS0
&lt;/p&gt;
&lt;p&gt;
  /etc/init/ttyS0.conf
&lt;/p&gt;
&lt;pre&gt;# ttyS0 - getty
#
# This service maintains a getty on ttyS0 from the point the system is
# started until it is shut down again.
#
start on stopped rc RUNLEVEL=[2345]
stop on runlevel [!2345]

respawn
exec /sbin/getty -8 9600 ttyS0&lt;/pre&gt;
&lt;p&gt;
  All you need to do is kick off the upstart job
&lt;/p&gt;
&lt;pre&gt;# start ttyS0&lt;/pre&gt;
</content>
  </entry>
  <entry>
    <id>tag:kisoku.net,2009-10-12:/articles/disqus.html</id>
    <title type="html">Disqus comment system</title>
    <published>2009-10-12T04:38:12Z</published>
    <updated>2009-10-12T04:43:11Z</updated>
    <link rel="alternate" href="http://kisoku.net/articles/disqus.html"/>
    <content type="html">&lt;p&gt;
  I just spent a small amount of my sunday morning figuring out how to shoehorn disqus comments into nanoc site. I had to juggle my layouts a little bit to only have the comments appear on the individual article pages, as I didn't want the articles to appear on the index page.
&lt;/p&gt;
&lt;p&gt;
  Luckily for me
  &lt;a href="http://starrhorne.com/posts/howto_build_a_blog_with_nanoc/"&gt;Starr Horne&lt;/a&gt;
  had already figured out the zomgmagix required to do roughly want I wanted, so it was mostly a matter of shuffling some code around to be able to make the changes I wanted. A big thank you to Starr for writing a blog post about it.
&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>tag:kisoku.net,2009-10-11:/articles/quote_kanban_human_touch.html</id>
    <title type="html">Great quote from the Kanban book</title>
    <published>2009-10-11T06:14:49Z</published>
    <updated>2009-10-12T21:59:48Z</updated>
    <link rel="alternate" href="http://kisoku.net/articles/quote_kanban_human_touch.html"/>
    <content type="html">&lt;p&gt;
  I lucked out the other day and came across a copy of
  &lt;a href="http://www.amazon.com/Kanban-Just-Time-Toyota-Management/dp/0915299488/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1255326818&amp;sr=8-1"&gt;Kanban: Just-in-time at Toyota&lt;/a&gt; at the &lt;a href="http://www.aoyamabc.co.jp/43/"&gt;Aoyama Book Center&lt;/a&gt; clearing sale. As I had already recently started reading the Poppendieck's first book on &lt;a href="http://www.amazon.com/Lean-Software-Development-Agile-Toolkit/dp/0321150783/ref=sr_1_1?ie=UTF8&amp;s=books&amp;qid=1255330610&amp;sr=8-1"&gt;Lean Software Development&lt;/a&gt;, and it was massively discounted, I snapped it up for a cool 1700yen.
&lt;/p&gt;
&lt;p&gt;
  I've spent the last few days reading it on my commute to the office and have been trying to approach the lessons within the book with the perspective of applying the ideas to Systems and Network Administration. Here's a quote that stood out for me.
&lt;/p&gt;
&lt;div class='quote'&gt;
  &lt;p&gt;
    "You have just bought these machines, and they still do not have the human touch. That human touch must be provided by you. By human touch we mean that we want you to impute your knowledge to the machines you handle. If you simply just operate the machines you bought, you do not show any particular ingenuity. To make your daily work worthy of you, put your touch to the automated machine" -- &lt;a href="http://en.wikipedia.org/wiki/Sakichi_Toyoda"&gt;Sakichi Toyoda&lt;/a&gt;
  &lt;/p&gt;
&lt;/div&gt;
&lt;p&gt;
  This very eloquently sums up the point of using tools like &lt;a href="http://www.opscode.com/chef/"&gt;Chef&lt;/a&gt; or &lt;a href="http://reductivelabs.com/products/puppet"&gt;Puppet&lt;/a&gt; in the systems space. Highly recommended read.
&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>tag:kisoku.net,2009-09-08:/articles/concept-ships.html</id>
    <title type="html">Futuristic visions at the Concept Ships Blog</title>
    <published>2009-09-08T05:36:00Z</published>
    <updated>2009-10-12T04:28:27Z</updated>
    <link rel="alternate" href="http://kisoku.net/articles/concept-ships.html"/>
    <content type="html">&lt;p&gt;
  I've been a huge fan of science fiction ever since I can remember. I
  guess I can blame my parents for dragging me to see Star Wars on the
  silver screen at the tender age of three.
&lt;/p&gt;
&lt;p&gt;
  Growing up in an artistic, book-loving household that was crammed to the
  rafters with various books, I wound up growing an appreciation for
  science fiction themed technical drawings. I remember having a copy of
  &lt;a href='http://starwars.wikia.com/wiki/The_Star_Wars_Sketchbook'&gt;
    The Star Wars Sketchbook
  &lt;/a&gt;
  very early on. Over the years this gave me a huge affinity for glimpses
  of the future, I've been a fan of futuristic art of any form.
&lt;/p&gt;
&lt;p&gt;
  &lt;a href='http://conceptships.blogspot.com/2009/07/francis-tsai-concept-ships.html'&gt;
    &lt;img alt='orbital stations by Francis Tsai' src='/img/orbital_station.png' /&gt;
    Orbital Station by Francis Tsai
  &lt;/a&gt;
&lt;/p&gt;
&lt;p&gt;
  I came across the
  &lt;a href='http://conceptships.blogspot.com'&gt;
    Concept Ships Blog
  &lt;/a&gt;
  just a few days ago and must have spent the better part of an hour
  looking at the amazing art on display there before my wife woke me
  out of my day dreams. Suffice to say I'm now following this my reader,
  despite the fact the site is occasionally flash-heavy at times.
&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>tag:kisoku.net,2009-09-02:/articles/refresh.html</id>
    <title type="html">Fresh new look</title>
    <published>2009-09-02T14:30:45Z</published>
    <updated>2009-10-12T04:28:27Z</updated>
    <link rel="alternate" href="http://kisoku.net/articles/refresh.html"/>
    <content type="html">&lt;p&gt;
  After many many years of avoiding doing anything with this blog, I've
  finally taken the time to convert my old system to something a little
  newer and shinier. I've brought some of the old posts along with me
  as well as most of the old static content.
&lt;/p&gt;
&lt;p&gt;
  I used a number of promising ruby projects for the new site and I thought
  I would link to them here out of appreciation.
&lt;/p&gt;
&lt;ul&gt;
  &lt;li&gt;
    &lt;a href='http://nanoc.stoneship.org/'&gt;
      nanoc
    &lt;/a&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href='http://haml-lang.com/'&gt;
      haml
    &lt;/a&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href='http://sass-lang.com/'&gt;
      sass
    &lt;/a&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href='http://compass-style.org/'&gt;
      compass
    &lt;/a&gt;
  &lt;/li&gt;
  &lt;li&gt;
    &lt;a href='http://www.oddbird.net/susy'&gt;
      susy
    &lt;/a&gt;
  &lt;/li&gt;
&lt;/ul&gt;
</content>
  </entry>
  <entry>
    <id>tag:kisoku.net,2008-06-21:/articles/vimperator.html</id>
    <title type="html">Vim mode for FireFox</title>
    <published>2008-06-21T07:09:29Z</published>
    <updated>2009-10-12T04:28:27Z</updated>
    <link rel="alternate" href="http://kisoku.net/articles/vimperator.html"/>
    <content type="html">&lt;p&gt;
  &lt;a href='http://countersiege.com'&gt;
    Ryan McBride
  &lt;/a&gt;
  turned me on to
  &lt;a href='vimperator.mozdev.org'&gt;
    vimperator
  &lt;/a&gt;
  today, and I have to say after using it for about 15 minutes, that this is going to completely change the way I browse. This is a must have add-on.
&lt;/p&gt;
&lt;p&gt;
  Kudos to the guys who came up with this. It seriously wins.
&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>tag:kisoku.net,2008-06-12:/articles/emobile_config.html</id>
    <title type="html">Emobile DO1HW support in -current</title>
    <published>2008-06-12T07:38:29Z</published>
    <updated>2009-10-12T04:28:27Z</updated>
    <link rel="alternate" href="http://kisoku.net/articles/emobile_config.html"/>
    <content type="html">&lt;p&gt;
  Yoshiro Uo recently fixed support for Emobile UMTS in OpenBSD -current and
  shared the configuration with us.
&lt;/p&gt;
&lt;p&gt;
  /etc/ppp/peers/emobile:
&lt;/p&gt;
&lt;pre&gt;cuaU0 460800 crtscts
lock
#nodetach
#hide-password
local
noauth
#dns routing
#usepeerdns
defaultroute
noipdefault
# disable compressions
novj
noccp
nobsdcomp
# auth
user "em"
# misc? (xxx)
ipcp-restart 8
ipcp-max-configure 50
ipcp-accept-local
:10.0.0.1
ipcp-accept-remote
# connect script
connect '/usr/sbin/chat -v -f /etc/ppp/chat-emobile -T *99***1#'&lt;/pre&gt;
&lt;p&gt;
  /etc/ppp/chat-emobile:
&lt;/p&gt;
&lt;pre&gt;ABORT "NO CARRIER"
ABORT "NO DIALTONE"
ABORT "ERROR"
ABORT "NO ANSWER"
ABORT "BUSY"
ECHO ON
SAY "Connecting"
TIMEOUT 15
"" "\d\d\dat\r\dat"
TIMEOUT 5
"OK-\Kat-OK" "at"
OK "at&amp;amp;FE1V1X1&amp;amp;D2&amp;amp;C1S0=0"
OK "at+ipr=230400"
SAY "Let's go"
OK "atdt\T"
CONNECT ''&lt;/pre&gt;
&lt;p&gt;
  /etc/ppp/chap-secrets:
&lt;/p&gt;
&lt;pre&gt;#	$OpenBSD: chap-secrets,v 1.3 2002/06/09 06:15:15 todd Exp $

# Secrets for authentication using CHAP
# client	server	secret			IP addresses
em		*	em&lt;/pre&gt;
</content>
  </entry>
  <entry>
    <id>tag:kisoku.net,2007-05-31:/articles/uxterm_update.html</id>
    <title type="html">Small fix for UTF-8 support in OpenBSD's uxterm</title>
    <published>2007-05-31T07:28:29Z</published>
    <updated>2009-10-12T04:28:27Z</updated>
    <link rel="alternate" href="http://kisoku.net/articles/uxterm_update.html"/>
    <content type="html">&lt;p&gt;
  Mathieu Herrb sent me the following patch today at the hackathon.
&lt;/p&gt;
&lt;pre&gt;--- /local/OpenBSD/xenocara/app/xterm/uxterm	Wed May 30 11:58:49 2007
+++ ./uxterm	Wed May 30 14:14:21 2007
@@ -79,4 +79,4 @@
# for testing:
#test -f ./xterm &amp;amp;&amp;amp; XTERM_PROGRAM=./xterm

-exec $XTERM_PROGRAM -class UXTerm -title 'uxterm' -u8 "$@"
+exec $XTERM_PROGRAM -class UXTerm -title 'uxterm' -u8 -en UTF-8 "$@"&lt;/pre&gt;
&lt;p&gt;
  it works :-)
&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>tag:kisoku.net,2007-05-27:/articles/vim_and_uxterm.html</id>
    <title type="html">Japanese input with uxterm and uim on OpenBSD</title>
    <published>2007-05-27T07:29:29Z</published>
    <updated>2009-10-12T04:28:27Z</updated>
    <link rel="alternate" href="http://kisoku.net/articles/vim_and_uxterm.html"/>
    <content type="html">&lt;p&gt;
  As the result of a conversation with naddy@ at
  &lt;a href='http://www.openbsd.org/hackathons.html'&gt;
    c2k7
  &lt;/a&gt;
  , I have finally made some progress in getting japanese input and display working in vim and uxterm on OpenBSD.
&lt;/p&gt;
&lt;p&gt;
  First, make sure you have inputmethods/uim, editors/vim and japanese/mplus-ttf installed and run the following commands. Oh yeah, you'll probably want to be running OpenBSD 4.1-current with Xenocara for this to work.
&lt;/p&gt;
&lt;pre&gt;$ env LC_ALL=ja_JP.UTF-8 uim-xim &amp;amp;
$ env LC_ALL=ja_JP.UTF-8 uxterm -fa "Mincho Gothic"&lt;/pre&gt;
&lt;p&gt;
  We've noticed a bug in uxterm in -current, in order for UTF-8 display to work
  you have to control right mouse click the new uxterm window and make sure "UTF-8" is selected in order for vim to display properly. Now that you have done that
  start up vim like this
&lt;/p&gt;
&lt;pre&gt;$ vim "+set encoding=utf-8" test.txt&lt;/pre&gt;
&lt;p&gt;
  You should now be able to input japanese into text mode vim in UTF-8. Now let's see if I can get the japanese mutt patch working.
&lt;/p&gt;
</content>
  </entry>
  <entry>
    <id>tag:kisoku.net,2007-05-21:/articles/casio_exword.html</id>
    <title type="html">My new dictionary arrived yesterday</title>
    <published>2007-05-21T00:56:29Z</published>
    <updated>2009-10-12T04:28:27Z</updated>
    <link rel="alternate" href="http://kisoku.net/articles/casio_exword.html"/>
    <content type="html">&lt;p&gt;
  I just dropped 26,000 yen on a shiny new
  &lt;a href='http://www.whiterabbitpress.com/catalog/Casio-EX-word-XD-SW6400-Japanese-English-Electronic-Dictionary-w-p-16466.html'&gt;
    Casio Ex-Word XD-SW6400
  &lt;/a&gt;
  , just in time for me to return to Canada for this year's
  &lt;a href='http://www.openbsd.org/hackathons.html'&gt;
    hackathon
  &lt;/a&gt;
  . So now I can study in style during my trip.
&lt;/p&gt;
&lt;p&gt;
  I've just spent a bit of time playing around with it and exploring its features, challenging as I can't read the instructions properly. Luckily I came across a free English quick reference
  &lt;a href='http://www.whiterabbitpress.com/downloads/CASIO_XDSW6400.pdf'&gt;
    guide
  &lt;/a&gt;
  made by the nice people over at
  &lt;a href='http://whiterabbitpress.com'&gt;
    White Rabbit Press
  &lt;/a&gt;
  . This makes life a little easier. Kudos to them for making that document free online.
&lt;/p&gt;
&lt;p&gt;
  One of the nice things about this dictionary is that I can load new dictionaries onto it. Some much larger Japanese-English dictionaries are available as well as the Kanji Learners dictionary, although they are quite pricey. The only downside to this is that you currently need windoze to load the new files onto the dictionary, which I find somewhat less than thrilling, as I tend try to avoid windows like the plague. It's dissapointing that Casio doesn't support MacOSX at all, at least then I could use Tomoe's laptop to load the dictionaries.
&lt;/p&gt;
</content>
  </entry>
</feed>

