Older blog entries for zhaoway (starting at number 162)

30 Jul 2003 (updated 30 Jul 2003 at 13:39 UTC) »

I still don't understand what Bayesian Nash Equlibrium is.

I hit a wall during my design of the PPL. On the other hand, design new language is interesting. I have written some very small programs in PPL now. I hit the wall when I was trying to write a slightly bigger program. But I think I will have a work around soon. But maybe not in this week.

Have to write the second article about GCC. The target is Tree SSA. I hope I could finish it this month.

The weather here is VERY HOT. My air conditioner almost stopped to work every noon.

chalst Thanks for the pointer! :) Me keeping a bookmark here. Actually I'm doing something slightly more interesting. hee hee.

I think this Usenet post on Scheme syntax by Erik Naggum is absolutely wonderful! But, chalst I can assure you my idea is in complete harmony with this post! But I won't expose my baby to the sharp critics just for now! :)

28 Jul 2003 (updated 18 Dec 2003 at 09:36 UTC) »

Started using ConTeXt and METAPOST to make beautiful PDF files. The sky is really blue according to the sample PDF files. But the immediate road ahead is muddy. :)

Other interests now including the Postfix mail daemon, the Gambit software which is a Game Theory tool, and various ML compilers and Scheme compilers, and C compilers. I'm into the compilers' world. :)

Chicken Scheme compiler's source code is not very nice in style. Some stupid #{compile ...} monster in the head of every Scheme source file which is not pretty. But I think Chicken is still a wonderful Scheme compiler for me to learn. :)

Also I'm planning to look deeper into ACL2 and HOL. Learn some formal methods of developing software would be good.

System programming must be really hard. I spent the whole night looking into the source code of /bin/login trying to do a small hack and got only the feeling that I'm not able. Heheh.

The small hack I wanted to do is that, I read an article from Scientific American about John H. Conway, that says Conway designed a small program that everytime he logged in, the program asked him what the date is for a random day. Basically what the cal program does, you do the same in your brain for a small quiz and a warm-up.

I think I have to do the C hacking, because a script can't do that. In inittab, I can call my hacked login program using getty -n -l /usr/local/quiz-login and save the getty for a login prompt, etc.

But I feel I can't finish the program in one night. Also during the course, I find maybe there could be some trick playing with the PAM module, maybe there is a solution with a PAM module. But I don't know.

If you know better, please email me: zhaoway@public1.ptt.js.cn I still want to finish it. But I don't like touching the login code again.

The reason is that, for my only a small hack, I have to take over too much on my hands. Security, UNIX convention, etc. if I decide to come up with my own version of login.

My new article in IBM developerWorks/China, it's in Chinese, Introduction to internals of GCC frontend. This is only the first part of it. :)

Have to read about Postfix and Spamassasin now... I was unhappy with a Evolution quirk this afternoon. Ruined my email experience this afternoon. Hehehe. On the other hand my progress in the GCC land is rather slow...

I have my own WikiWiki entry now, see ZhaoWay. :)

/me was pretty much surprised and confused by the GTY(()) thingy in the GCC source tree. It sounds like a very strange invention.

I wrote a new article for IBM developerWorks/China, Introducing Tiny C Compiler for C scripting. This is part one in a series. I'm preparing the second article right now. The TCC I'm talking about is Fabrice Bellard's Tiny CC. A lot of people call their toy C compiler Tiny C or something similar. This one is unique in that it enables scripting in C, which is great.

SARS comes nearer everyday.

153 older entries...

New Advogato Features

New HTML Parser: The long-awaited libxml2 based HTML parser code is live. It needs further work but already handles most markup better than the original parser.

Keep up with the latest Advogato features by reading the Advogato status blog.

If you're a C programmer with some spare time, take a look at the mod_virgule project page and help us with one of the tasks on the ToDo list!