<?xml version='1.0' encoding='UTF-8'?><rss xmlns:atom='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' version='2.0'><channel><atom:id>tag:blogger.com,1999:blog-8845953863970598817</atom:id><lastBuildDate>Thu, 25 Sep 2008 12:55:42 +0000</lastBuildDate><title>YANETUT.</title><description>You are not expected to understand this.</description><link>http://www.violentlyhappy.org/kazuya/yanetut/</link><managingEditor>noreply@blogger.com (kazuya)</managingEditor><generator>Blogger</generator><openSearch:totalResults>17</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-7899120794194339861</guid><pubDate>Sat, 20 Sep 2008 02:54:00 +0000</pubDate><atom:updated>2008-09-25T21:55:42.351+09:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>haskell</category><title>Definition of bind operator for State monad?</title><description>&lt;div style="text-align: left;"&gt;&lt;span class="keyword"&gt;&lt;span style="font-family:times new roman;"&gt;From &lt;a href="http://www.haskell.org/all_about_monads/html/statemonad.html#definition"&gt;All About Monads&lt;/a&gt;:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre  style="font-family:courier new;"&gt;&lt;span class="keyword"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span style="font-family:courier new;"&gt;instance Monad (State s) where &lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    return a        = State $ \s -&gt; (a,s)&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;    (State x) &gt;&gt;= f = State $ \s -&gt; let (v,s') = x s in runState (f v) s'&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style="text-align: left;"&gt;&lt;span class="keyword"&gt;&lt;span style="font-family:times new roman;"&gt;&lt;span&gt;&lt;span&gt;From&lt;/span&gt;&lt;/span&gt; &lt;a href="http://hackage.haskell.org/packages/archive/mtl/1.1.0.1/doc/html/src/Control-Monad-State-Lazy.html#State"&gt;Control.Monad.State.Lazy&lt;/a&gt;:&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;pre  style="font-family:courier new;"&gt;&lt;span class="keyword"&gt;&lt;br /&gt;instance&lt;/span&gt; &lt;span class="conid"&gt;Monad&lt;/span&gt; &lt;span class="layout"&gt;(&lt;/span&gt;&lt;span class="conid"&gt;State&lt;/span&gt; &lt;span class="varid"&gt;s&lt;/span&gt;&lt;span class="layout"&gt;)&lt;/span&gt; &lt;span class="keyword"&gt;where&lt;/span&gt;&lt;br /&gt;&lt;a name="line-103"&gt;&lt;/a&gt;    &lt;span class="varid"&gt;return&lt;/span&gt; &lt;span class="varid"&gt;a&lt;/span&gt; &lt;span class="keyglyph"&gt;=&lt;/span&gt; &lt;span class="conid"&gt;State&lt;/span&gt; &lt;span class="varop"&gt;$&lt;/span&gt; &lt;span class="keyglyph"&gt;\&lt;/span&gt;&lt;span class="varid"&gt;s&lt;/span&gt; &lt;span class="keyglyph"&gt;-&gt;&lt;/span&gt; &lt;span class="layout"&gt;(&lt;/span&gt;&lt;span class="varid"&gt;a&lt;/span&gt;&lt;span class="layout"&gt;,&lt;/span&gt; &lt;span class="varid"&gt;s&lt;/span&gt;&lt;span class="layout"&gt;)&lt;/span&gt;&lt;br /&gt;&lt;a name="line-104"&gt;&lt;/a&gt;    &lt;span class="varid"&gt;m&lt;/span&gt; &lt;span class="varop"&gt;&gt;&gt;=&lt;/span&gt; &lt;span class="varid"&gt;k&lt;/span&gt;  &lt;span class="keyglyph"&gt;=&lt;/span&gt; &lt;span class="conid"&gt;State&lt;/span&gt; &lt;span class="varop"&gt;$&lt;/span&gt; &lt;span class="keyglyph"&gt;\&lt;/span&gt;&lt;span class="varid"&gt;s&lt;/span&gt; &lt;span class="keyglyph"&gt;-&gt;&lt;/span&gt; &lt;span class="keyword"&gt;let&lt;/span&gt;&lt;br /&gt;&lt;a name="line-105"&gt;&lt;/a&gt;        &lt;span class="layout"&gt;(&lt;/span&gt;&lt;span class="varid"&gt;a&lt;/span&gt;&lt;span class="layout"&gt;,&lt;/span&gt; &lt;span class="varid"&gt;s'&lt;/span&gt;&lt;span class="layout"&gt;)&lt;/span&gt; &lt;span class="keyglyph"&gt;=&lt;/span&gt; &lt;span class="varid"&gt;runState&lt;/span&gt; &lt;span class="varid"&gt;m&lt;/span&gt; &lt;span class="varid"&gt;s&lt;/span&gt;&lt;br /&gt;&lt;a name="line-106"&gt;&lt;/a&gt;        &lt;span class="keyword"&gt;in&lt;/span&gt; &lt;span class="varid"&gt;runState&lt;/span&gt; &lt;span class="layout"&gt;(&lt;/span&gt;&lt;span class="varid"&gt;k&lt;/span&gt; &lt;span class="varid"&gt;a&lt;/span&gt;&lt;span class="layout"&gt;)&lt;/span&gt; &lt;span class="varid"&gt;s&lt;br /&gt;&lt;br /&gt;&lt;/span&gt;&lt;/pre&gt;&lt;div style="text-align: justify;"&gt;&lt;span class="varid"&gt;&lt;span style="font-family:times new roman;"&gt;Hmm, how and why are they different?  The latter one make&lt;/span&gt;&lt;span style="font-family:times new roman;"&gt;s sense to me, but I cannot get the part to apply &lt;span style="font-family:courier new;"&gt;x&lt;/span&gt; to &lt;span style="font-family:courier new;"&gt;s&lt;/span&gt; in the former one.&lt;/span&gt;&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Update:&lt;br /&gt;&lt;br /&gt;I got it.  I just did not notice that the former used pattern matching against to deconstruct the first argument (&lt;span style="font-family: courier new;"&gt;State x&lt;/span&gt;), where as the latter used field selector (&lt;span style="font-family: courier new;"&gt;runState&lt;/span&gt;).  Note that  the State monad is declared as follows:&lt;br /&gt;&lt;pre&gt;&lt;span class="keyword"&gt;newtype&lt;/span&gt; &lt;span class="conid"&gt;State&lt;/span&gt; &lt;span class="varid"&gt;s&lt;/span&gt; &lt;span class="varid"&gt;a&lt;/span&gt; &lt;span class="keyglyph"&gt;=&lt;/span&gt; &lt;span class="conid"&gt;State&lt;/span&gt; &lt;span class="layout"&gt;{&lt;/span&gt; &lt;span class="varid"&gt;runState&lt;/span&gt; &lt;span class="keyglyph"&gt;::&lt;/span&gt; &lt;span class="varid"&gt;s&lt;/span&gt; &lt;span class="keyglyph"&gt;-&gt;&lt;/span&gt; &lt;span class="layout"&gt;(&lt;/span&gt;&lt;span class="varid"&gt;a&lt;/span&gt;&lt;span class="layout"&gt;,&lt;/span&gt; &lt;span class="varid"&gt;s&lt;/span&gt;&lt;span class="layout"&gt;)&lt;/span&gt; &lt;span class="layout"&gt;}&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;/pre&gt;&lt;/div&gt;</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2008/09/definition-of-bind-operator-for-state.html</link><author>noreply@blogger.com (kazuya)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-3545520383503808573</guid><pubDate>Mon, 11 Feb 2008 18:36:00 +0000</pubDate><atom:updated>2008-02-12T03:36:01.559+09:00</atom:updated><title>test from n810</title><description>here here</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2008/02/test-from-n810.html</link><author>noreply@blogger.com (kazuya)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-7754158370721929115</guid><pubDate>Sun, 06 Jan 2008 04:40:00 +0000</pubDate><atom:updated>2008-01-06T13:41:24.226+09:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>library</category><category domain='http://www.blogger.com/atom/ns#'>books</category><category domain='http://www.blogger.com/atom/ns#'>web applications</category><title>Book Cataloging</title><description>It's been a while since my last post... actually I started writing this article one month ago and still I am writing this.  In fact I sometimes make a reply for an email almost one year after receiving it.  That was how we did in pen and paper era.&lt;br /&gt;&lt;br /&gt;Technologies have made it easier to retrieve information, but have not much helped creating or generating something really new.&lt;br /&gt;&lt;br /&gt;Now, I am talking about book cataloging, inspired by a Slashdot article: &lt;a href="http://slashdot.org/article.pl?sid=07/12/11/1756247&amp;amp;from=rss"&gt;Slashdot | The Home Library Problem Solved&lt;/a&gt;.  Although I do not have much interest in physical home libraries  (it is not practical to build a decent home library in this small condo, after all), cataloging books has been one of my sources of headache.&lt;br /&gt;&lt;br /&gt;My requirements are not ambitious:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Accessible through Web&lt;/li&gt;&lt;li&gt;Can handle multilingual titles&lt;/li&gt;&lt;li&gt;Easy entry&lt;/li&gt;&lt;/ul&gt;The first requirement is crucial and stand-alone applications such as &lt;a href="http://www.delicious-monster.com/"&gt;Delicious Library&lt;/a&gt; and &lt;a href="http://www.deepprose.com/"&gt;Booxter&lt;/a&gt; are excluded, though they are cool and comfortable to use.  You can find information on open source cataloging software such as tellico &lt;a href="http://blogs.sun.com/richb/entry/experiences_with_alexandria_and_tellico"&gt;here&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;As the little widget in the sidebar of this blog shows, I have used LibraryThing for some time, but it has several problems including &lt;a href="http://www.violentlyhappy.org/kazuya/yanetut/2007/12/book-collision-on-librarything.html"&gt;this&lt;/a&gt;.  Actually I have tried &lt;a href="http://hondana.org/"&gt;Hondana.org&lt;/a&gt;, which is targeted at Japanese readers, but it is not about cataloging.  Hondana.org focuses on social networking through books, and features not relevant to such a goal are not great.&lt;br /&gt;&lt;br /&gt;From the Slashdot article I found &lt;a href="http://www.goodreads.com/"&gt;goodreads&lt;/a&gt;, yet another LibraryThing.  But it does not have collision issue like LT and seems to work flawlessly for now.  Worth a try.&lt;br /&gt;&lt;br /&gt;Just an additional requirement is lending management, and all of above have little support or nothing for that.  There are such systems as &lt;a href="http://www.acqualba.it/?page=webrary"&gt;Webrary&lt;/a&gt; and &lt;a href="http://www.koha.org/"&gt;Koha&lt;/a&gt;, but they are both overkill for me.&lt;br /&gt;&lt;br /&gt;And just for your information, you can find a detailed list of cataloging software &lt;a href="http://wwwsearch.sourceforge.net/bib/openbib.html"&gt;here&lt;/a&gt;.</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2007/01/book-cataloging.html</link><author>noreply@blogger.com (kazuya)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-3961542401925867486</guid><pubDate>Sat, 15 Dec 2007 03:19:00 +0000</pubDate><atom:updated>2007-12-15T12:38:05.168+09:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>library</category><category domain='http://www.blogger.com/atom/ns#'>hacks</category><category domain='http://www.blogger.com/atom/ns#'>barcode</category><category domain='http://www.blogger.com/atom/ns#'>books</category><title>Using CueCat USB barcode reader with Mac OS X</title><description>I got it from &lt;a href="http://www.librarything.com/blog/2006/10/librarything-does-cuecats-were-even.php"&gt;LibraryThing&lt;/a&gt; (also available from &lt;a href="http://www.amazon.com/USB-Modified-Cue-Barcode-Reader/dp/B0006SJTOY/y066-20"&gt;Amazon&lt;/a&gt;), to ease the task of entering books from my library into the database (presumably LT, but will consider using &lt;a href="http://delicious-monster.com/"&gt;Delicious Library&lt;/a&gt; when it's 2.0 is available).&lt;br /&gt;&lt;br /&gt;Unfortunately CueCat spits out encrypted data and needs a simple modification before it sends out any meaningful digits.  I followed &lt;a href="http://www.cexx.org/cuecat.htm#usb"&gt;instruction at this site&lt;/a&gt; and it worked fine.&lt;br /&gt;&lt;br /&gt;Note that you do not need this modification if you use it only on LibraryThing... it automatically decrypts the code for you.</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2007/12/using-cuecat-usb-barcode-reader-with.html</link><author>noreply@blogger.com (kazuya)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-8705543626563500697</guid><pubDate>Sat, 08 Dec 2007 12:45:00 +0000</pubDate><atom:updated>2007-12-08T21:57:38.473+09:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>web hosting</category><title>Web Hosting</title><description>I have been planning to migrate this site to a virtual private server (FYI it's now hosted at swishmail.com).  Swishmail is not the greatest web hosting service, and I do need full control of my server in order to do some experiments.&lt;br /&gt;&lt;br /&gt;Googling around with search phrase like "darcs hosting dreamhost", because I want to use darcs, and someone recommended dreamhost for its price, gave me a link to &lt;a href="http://changelog.complete.org/posts/497-Disappointed-with-Dreamhost.html"&gt;a blog article&lt;/a&gt;.  I have no idea whether his case really stands, but anyhow it led me to several VPS services, like &lt;a href="http://www.unixshell.com/"&gt;unixshell&lt;/a&gt;, VPSlink, MEMSET, JohnCompany.&lt;br /&gt;&lt;br /&gt;Among them unixshell seems to be good, but as unixshell currently offers no new account, I would take their alternative, &lt;a href="http://www.tektonic.net/"&gt;TekTonic&lt;/a&gt;.  One of the features I like about it is their unmetered plan, which does not limit monthly transfer amount, but just limits the bandwidth per second, for example 1 Mbps.</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2007/12/web-hosting.html</link><author>noreply@blogger.com (kazuya)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-3348345512085563417</guid><pubDate>Fri, 07 Dec 2007 16:28:00 +0000</pubDate><atom:updated>2007-12-08T01:37:02.190+09:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>library</category><category domain='http://www.blogger.com/atom/ns#'>books</category><title>Book collision on LibraryThing</title><description>I resumed using &lt;a href="http://www.librarything.com/"&gt;LibraryThing&lt;/a&gt; recently and added several books more (you might notice books selected from my online library in the sidebar).  Among them, the entry for &lt;a href="http://www.amazon.co.jp/dp/4000803093/kazuya-22"&gt;Iwanami Mathematics Dictionary&lt;/a&gt; (yes, it's in Japanese) on LT got weird.&lt;br /&gt;&lt;br /&gt;The entry got mixed (or combined, as a post in LT group forum told) with some strange manga book which I am never aware of.  The post said it was caused by hash collision... what a poor implementation!</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2007/12/book-collision-on-librarything.html</link><author>noreply@blogger.com (kazuya)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-7582721838766412170</guid><pubDate>Fri, 07 Dec 2007 16:07:00 +0000</pubDate><atom:updated>2007-12-08T01:17:14.805+09:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>erlang</category><category domain='http://www.blogger.com/atom/ns#'>translation</category><title>Joe Armstrong's Erlang Book</title><description>As some of you may know, I am responsible for translating &lt;a href="http://www.amazon.com/gp/product/193435600X?ie=UTF8&amp;amp;tag=y066-20&amp;amp;linkCode=as2&amp;amp;camp=1789&amp;amp;creative=9325&amp;amp;creativeASIN=193435600X"&gt;Joe Armstrong's new book about Erlang&lt;/a&gt; into Japanese.&lt;br /&gt;&lt;br /&gt;Translation is close to finish now, though still I have to do with inputs from reviewers and catch up to the latest version of the original English version.  And it's nice if I can include updates from R12B-0 release if any, but that release seems not stable now.&lt;br /&gt;&lt;br /&gt;So I am supposed not to make a fuss with Haskell.  I know.</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2007/12/joe-armstrongs-erlang-book.html</link><author>noreply@blogger.com (kazuya)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-3310972342444512353</guid><pubDate>Fri, 07 Dec 2007 15:06:00 +0000</pubDate><atom:updated>2007-12-08T00:37:46.736+09:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>haskell</category><category domain='http://www.blogger.com/atom/ns#'>ghc</category><category domain='http://www.blogger.com/atom/ns#'>osx</category><title>Installing GHC 6.8.1 on Mac OS X Leopard (x86)</title><description>As reported in glasgow-haskell-users, you need to be a bit careful to use this configuration.&lt;br /&gt;&lt;br /&gt;Although I took care of those libgmp and readline dependency thingies, following error was persistent when I tried to build it:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;... snipped&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;installPackage: Multiple files with extension buildinfo&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;make[1]: *** [install.library.Cabal] Error 1&lt;/span&gt;&lt;br /&gt;&lt;span style="font-family: courier new;"&gt;make: *** [install] Error 2&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;Under libraries/Cabal directory there was a file named buildinfo2.buildinfo, but no other file with .buildinfo extension... yes, actually there was, it was ._buildinfo2.buildinfo.  After removing this file the build was successful.&lt;br /&gt;&lt;br /&gt;It was likely that this offensive file snuck into there during preparing the archive.   I expanded the archive using tar command on the command line, but I should have used the Archive Utility, which handles those dot-files correctly.&lt;br /&gt;&lt;br /&gt;Anyhow, that's how I wasted my precious four nights :-(</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2007/12/installing-ghc-681-on-mac-os-x-leopard.html</link><author>noreply@blogger.com (kazuya)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-5138951026652055765</guid><pubDate>Mon, 03 Dec 2007 14:07:00 +0000</pubDate><atom:updated>2007-12-03T23:09:13.677+09:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>haskell</category><category domain='http://www.blogger.com/atom/ns#'>google</category><title>The Mysterious ⊥</title><description>Searching the symbol ⊥, which is used to represent 'bottom' in Haskell, with Google gave me no answer.  I mean, no alternative suggestions, nothing.&lt;br /&gt;&lt;br /&gt;Weird.</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2007/12/mysterious.html</link><author>noreply@blogger.com (kazuya)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-5081247086378392617</guid><pubDate>Mon, 26 Nov 2007 16:52:00 +0000</pubDate><atom:updated>2007-11-27T02:33:31.841+09:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>ARM</category><category domain='http://www.blogger.com/atom/ns#'>simulator</category><title>Problems with Skyeye the ARM simulator on Mac OS X</title><description>These days I have tried to make &lt;a href="http://www.skyeye.org/"&gt;skyeye ARM simulator&lt;/a&gt; work on Mac OS X with full options enabled, but still to no avail.&lt;br /&gt;&lt;br /&gt;I know it should work without DBCT (direct byte code translation) and BFD as README says, but DBCT is beneficial for my intended workloads.&lt;br /&gt;&lt;br /&gt;As of 1.2.4, it does not pass even the configuration check if you enable DBCT and BFD.  Though a little hack in the check script for DBCT made it go through the check (with BFD disabled), build fails with:&lt;br /&gt;&lt;br /&gt;&lt;span style="font-size:85%;"&gt;&lt;span style="font-family:courier new;"&gt;ld: in binary/libarm.a(arm2x86.o), in section __TEXT,__text reloc 40: R_ABS reloc but no absolute symbol at target address&lt;/span&gt;&lt;br /&gt;&lt;br /&gt;&lt;span style="font-family:courier new;"&gt;collect2: ld returned 1 exit status&lt;/span&gt;&lt;/span&gt;&lt;blockquote&gt;&lt;/blockquote&gt;Probably I need to use gnu ld instead.</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2007/11/problems-with-skyeye-arm-simulator-on.html</link><author>noreply@blogger.com (kazuya)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-219765367623006388</guid><pubDate>Fri, 23 Nov 2007 07:24:00 +0000</pubDate><atom:updated>2007-11-23T16:30:49.199+09:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>haskell</category><category domain='http://www.blogger.com/atom/ns#'>programming</category><title>Parser in Haskell</title><description>The first chapter of &lt;a href="http://www.violentlyhappy.org/kazuya/yanetut/2007/11/little-haskeller.html"&gt;the book&lt;/a&gt; is mostly about writing a parser in Miranda (the code is in Haskell, though).&lt;br /&gt;&lt;br /&gt;It does not use monads.  You can see how the implementation can be refined with monads if you compare it with &lt;a href="http://legacy.cs.uu.nl/daan/parsec.html"&gt;a monadic parser&lt;/a&gt; of today.</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2007/11/parser-in-haskell.html</link><author>noreply@blogger.com (kazuya)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-6524535501793512181</guid><pubDate>Tue, 20 Nov 2007 14:52:00 +0000</pubDate><atom:updated>2007-11-23T16:24:15.221+09:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>editor</category><category domain='http://www.blogger.com/atom/ns#'>emacs</category><title>Carbon Emacs</title><description>So I abandoned Aqua Emacs and am now using Carbon Emacs.  Emacs variants such as XEmacs, Meadow, Aqua Emacs all failed with me... I just didn't feel like Emacs.  GNU Emacs, I mean.</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2007/11/carbon-emacs.html</link><author>noreply@blogger.com (kazuya)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-5042820561060853601</guid><pubDate>Tue, 20 Nov 2007 14:37:00 +0000</pubDate><atom:updated>2007-11-23T10:20:00.773+09:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>haskell</category><category domain='http://www.blogger.com/atom/ns#'>programming</category><title>A little Haskeller</title><description>Started reading &lt;a href="http://research.microsoft.com/%7Esimonpj/Papers/pj%2Dlester%2Dbook/"&gt;Implementing functional languages: a tutorial&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;I'm not much interested in writing a compiler (I wish I could, though), but this tutorial is useful for me.  After all, a compiler implementation needs almost every kind of topics.  And Simon Peyton Jones is a great author - you can see that from his other papers.&lt;br /&gt;&lt;br /&gt;This book was written for Miranda, an ancestor of Haskell.  That's okay, but the code in text is in Miranda while sample code seems to be in Haskell.  They have many in common and I can easily guess how the description in text part should be fixed, still it's annoying.&lt;br /&gt;&lt;br /&gt;I read this book (the dead tree version available from CafePress) while commuting on the train and unable to do exercises.  Good excuse to get Nokia N810 or iRex iLiad?</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2007/11/little-haskeller.html</link><author>noreply@blogger.com (kazuya)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-8646654552939907277</guid><pubDate>Tue, 20 Nov 2007 13:28:00 +0000</pubDate><atom:updated>2007-11-21T09:34:20.414+09:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>gadgets</category><category domain='http://www.blogger.com/atom/ns#'>ebooks</category><title>Does it burn up to Fahrenheit 451?</title><description>As an Amazon-dependent bookworm, I have to throw some words about &lt;a href="http://www.blogger.com/www.amazon.com/gp/product/B000FI73MA/"&gt;Amazon Kindle&lt;/a&gt;, though I cannot get a touch on it here in Tokyo.&lt;br /&gt;&lt;br /&gt;I had used 1st generation Sony Reader for a month or so before, and from that experience, I find several points remarkable:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Distibution model - Distribution is done through EVDO wireless network without no 'visible' fee.  Of course the cost is included in the price - you can think of it as 'printing' through wireless network to the Kindle device instead of printing on paper.  You don't pay for paper and ink, but pay for network.&lt;/li&gt;&lt;li&gt;User interface - The vertical LCD in the right and the scroll wheel seems to work as a workaround to the slow redraw problem of E-ink.  It is a huge improvement from existing E-ink based devices.  UI of Sony Reader was, well, just not adequate.  It presented all visual feedbacks on sluggish E-ink display, which made the user interface uncomfortable.&lt;/li&gt;&lt;li&gt;Faster screen redraw - From the video on the product page, you can see the screen is redrawn in a flash, as the one of latest Sony Reader 505 is heralded.  I don't think former generation is not usable at all, but the faster the better.&lt;/li&gt;&lt;li&gt;Annotations - You can add annotations using the keyboard.  That's another advantage over Sony Reader.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;One of the problems for me is, as others pointed out, it does not support PDF natively.  Amazon says it can convert user made PDFs to Kindle format, but from bitter experience of PDF on Sony Reader, I don't expect much.  Probably I opt for iRex iLiad just for that.&lt;br /&gt;&lt;br /&gt;As for its 'bookness' (Jeff Bezos touted it has all features that dead tree books have), it achieved quite well.  Though some complain just because it is not made of paper and ink ("It does not smell ink!"), I have no attachment to dead tree books.  Of course it cannot be used without electricity, but dead tree books have their own weakness.&lt;br /&gt;&lt;br /&gt;Anyway I will wait and see how it goes, until it is available in Japan.</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2007/11/does-it-burn-up-to-fahrenheit-451.html</link><author>noreply@blogger.com (kazuya)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-3742436842564040641</guid><pubDate>Fri, 22 Jun 2007 14:58:00 +0000</pubDate><atom:updated>2007-06-23T00:01:53.204+09:00</atom:updated><title>入力ミス</title><description>「コマンド」と入力しようとして何度も「コメント」と入力してしまう。&lt;br /&gt;それにしてもMacBookのキーボードはよくない。ずっとThinkPad T21を使っていたのでなおさらそう思う。せめてMacBook Proにしておけばまだましだったかも。ThinkPadでMac OS Xが動けば最高なんだが。</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2007/06/blog-post.html</link><author>noreply@blogger.com (kazuya)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-2259735532885735157</guid><pubDate>Wed, 20 Jun 2007 22:00:00 +0000</pubDate><atom:updated>2007-11-20T23:54:23.761+09:00</atom:updated><category domain='http://www.blogger.com/atom/ns#'>editor</category><category domain='http://www.blogger.com/atom/ns#'>emacs</category><title>Aquamacs</title><description>LC_ALLをja_JP以外にしないとsite-start.el (から呼び出されてるどこか)でエラーになる。多分文字コード変換関係?</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2007/06/aquamacs.html</link><author>noreply@blogger.com (kazuya)</author></item><item><guid isPermaLink='false'>tag:blogger.com,1999:blog-8845953863970598817.post-8164431333759457005</guid><pubDate>Tue, 19 Jun 2007 15:44:00 +0000</pubDate><atom:updated>2007-06-20T00:45:40.547+09:00</atom:updated><title>Test</title><description>ちょっとテスト。</description><link>http://www.violentlyhappy.org/kazuya/yanetut/2007/06/test.html</link><author>noreply@blogger.com (kazuya)</author></item></channel></rss>