3/31/2008
3/30/2008
My CD player is almost broken. I will have to replace it in the near
future without a doubt. But I'm in relative distress..., because of the
world financial meltdown!
3/29/2008
3/26/2008
MS Word day
I was badly forced to do paperworks today. Man often mistakenly feels
to achieve a hard work even if he has merely done the paperwork. Will
those papers I wrote today really be fertile?
3/25/2008
Reason of books
I spent the afternoon with Chaitin's 'Meta Math!.' Though I'm still in
reading, it's so excited that I want to say something. Something about
books in general again.
What is the advantage of 'Meta Math!' being the form of books?
I don't know the precise answer. But I feel that it at least isn't
because of the fact that it was published from a publisher.
3/21/2008
3/19/2008
I can do nothing without her help. But it seems that she can do
anything, at least her own jobs, without my help.
3/18/2008
I can think of a dozen thing that I have to do than working with the
current task. But it's not a good thought. I ought to achieve some
fruits from any work, at least in principle.
3/17/2008
3/16/2008
It said to be hard for a baby under two months to walk around
almost two hours. But the baby was in a good mood today after a short
trip to Kitasenju. We are planning to go to Ueno next weekend.
3/15/2008
3/14/2008
My hobby
Learning and studying are my hobbies. None of your buisiness. I think
there's nothing more exciting than these activities.
3/11/2008
3/10/2008
3/09/2008
3/08/2008
Gauche Night 2008 in Tokyo
I made a presentation of my life with Scheme at an event called
Gauche.Night 2008. I haven't had a presentation for long years.
But today, I think I overcame the difficulty, with a certain degree of
beer and, of course, with support from everyone.
Thank you so much for giving a chance to speak.
3/05/2008
Reading a book
I recentry became to think that the good books aren't the medium through which
we just get information easier or learn some new knowledge. Rather,
good books ought to give reader restricted information dpending on the
reader's comprehension of the time. In other words, same books are able to
be read by a reader at several ages or a variety of stages of one's life. I can
hardly imagine other medium having such ability. I'd like to think more
about this characteristic of books if I'm working in the publishing.
3/04/2008
Cloth diapers is not so economical if you use a liner.
Rather it's ecological. But I'm not ecologist. It's nice because the
odor smell does not remain with dirty diapers.
3/03/2008
Passed away
There were piranhas in the waiting room of the dentist.
But today the aquarium was empty. They all passed away. The staff girl
said that the broken heater claimed their lives. I am a bit of pitty
as they had always made me happy. May they rest in peace.
3/02/2008
I'm reimplementing an in-house script from scratch because the
licence of the script is not able to be open. Although I wrote the
original one in my own leisure time, recent version is more
contributed by my office hour. Thus, I know the company owns that.
Anyway the original ideas have been laid down in my head. And my understandings of Scheme has grown from when I wrote the original one. Here's the outcome of this weekend, which was achieved cradling the baby.
cnvr.scm
latex.scm
You can use these modules with Gauche to define some rules to convert SXML data to LaTeX, or you like, as below.
Anyway the original ideas have been laid down in my head. And my understandings of Scheme has grown from when I wrote the original one. Here's the outcome of this weekend, which was achieved cradling the baby.
cnvr.scm
latex.scm
You can use these modules with Gauche to define some rules to convert SXML data to LaTeX, or you like, as below.
(use cnvr) (use latex) (use sxml.sxpath) (use sxml.tools) (use text.tree) (define-simple-rules make-latex-cmd bold item) (define-simple-rules make-latex-env li) (define-simple-rules through p top body) (define-tag a (define-rule (lambda () '()) (lambda (str) (list str "<" ($@ 'val) ">\n")) (lambda () '()))) (define sxml '(top (body (p "first sentence\n" (a (@ (val "20")) "the attr: ")) (bold "emph this!") (li (item "first line") (item "second line"))))) (write-tree (cnvr sxml sxml))The result is this:
first sentence the attr: <20> \bold{emph this!} \begin{li}% \item{first line}\item{second line} \end{li}%It has still a big problem with macro. Of course the problem is variable capturing. If you define a rule with certain name like "list", it overide the procedure "list". But I decided to expose it in as-is.
3/01/2008
Remorse
I skipped writing for several days. It's still hard for me to think in
English having the other things to do. Practice is habit. But being
with a baby keeps adults away from their old habits.
Even a sentence is enough.
Even a sentence is enough.