Well it’s my mistake that I didn’t take a close look to the comment of my blog. However when I take a look today, I found thousands of spam posts there. And I have to delete all of them.
I think it’s time to setup some kind of spam filter or human approve thing. Human approve […]
¶
Posted 28 August 2006
§
misc
‡
This cost me several hours today.
Postgresql support multiple primary keys in one table, and I took granted that sqlite does the same thing when I did some prototype today.
And they have a good reason explained in the SQLite CVSTrac.
The odd thing is, if I specify two primary keys in sqlite, it won’t complain when creating […]
Well keeping an USB key with my is pretty convience. It is pretty convience for the virus to travel via my USB key too. So having an anti-virus software on my USB key is a must.
And what I found is portable clamwin. Like most anti-virus software it can download the latest virus definition file from […]
¶
Posted 25 August 2006
§
usb_key
‡
Most of the time I use Firefox to visit my ticket system and making a task there is not as easy as in w3m.
Here’s how my way of getting the annotation improves:
At the very beginning I just copy the URL from Firefox and paste to w3m-browse-url, and make annotation there. This is not very convience, […]
¶
Posted 24 August 2006
§
planner
‡
When updating www/mod_scgi to 1.11 today, I found the variable USE_APACHE could use version numbers.
However, after placing it in my /etc/make.conf to replace the old WITH_APACHE2, I got an error message whenever I install a port:
Max recursion level (500) exceeded.: Resource temporarily unavailable
After some googling I found this variable should be used internal only, that […]
¶
Posted 23 August 2006
§
freebsd
‡
Well it’s easy to get more and more apps with me on an USB key, it is not easy to start them: I’ll need to go through the folders and find the .exe that I want.
pstart fixed this. It is a program starter, and build with USB key in mind. Not only being portable itself, […]
¶
Posted 16 August 2006
§
usb_key
‡
In theory when we talk about process table, we refer it as a whole data structure. However this is not necessarily true.
On page 52 of the book it is mentioned that the process table that handles process management, memory management, and file management are seperated in different modules with different data structure.
This is the first […]
¶
Posted 09 August 2006
§
minix
‡
I’ve finished reading Chapter 1 today. This chapter talks on the bird view. Most concept are pretty familiar with me. There are two things stroke me:
The Minix core only have 59 system calls to be POSIX compitable. I never thought it could be so less…
Why the best is the best. On page 25 of my […]
¶
Posted 07 August 2006
§
minix
‡
This is a brief version of this article. It is not easy to find the right keyword for Google unless you know how.
The key is to set both content-type and Content-Disposition header. Here’s the code from the web page above:
// Set the headers.
res.setContentType("application/x-download");
res.setHeader("Content-Disposition", "attachment; filename=" + filename);
By setting content-type to x-download, most browsers won’t guess […]
¶
Posted 03 August 2006
§
misc
‡
I’ve started a new plan to learn about operating system internals.
I’ve got a pretty high score for the operating system class when I was in school, however, that’s only the theory. I read the first edition of the Minix book when I was in school, but didn’t finish that before I return it to the […]
¶
Posted 03 August 2006
§
minix
‡