Price under saihan seido.

"saihanbai kakaku iji seido" or shoter "saihan seido" is a name of system for sale six categories of copyrighted material: CDs, records, cassettes, books, magazines, and newspapers.


GCC no longer use external specs file.

GCC since v4.0 no longer use external specs file.


My blogger settings.

I wrote useful settings for blogger to remember it.

First time I setup new blog on blogger I set these settings:


Sort and uniquify lines in Emacs.

For only sort lines exist built-in func: C-x sort-lines.

Sort and uniquify lines:

  • select region
  • C-u M-| sort -u RET

With transient-mark-mode and delete-selection-mode enabled:

  • select region
  • M-| sort -u RET
to replace selection with sorted and uniquified lines.


New Mercurial repository format (fncache).

fncache is a new repository format for Mercurial that reorganized the revlog data file names. It is introduced in Mercurial version 1.1 and stay default for newly created repository.


Switching from Gnu Emacs 22.x to 23.1 on Windows.

When moving from GNU Emacs 22.x to GNU Emacs 23.1 I get only two trubles.


NTP - sync your time!

What is NTP? NTP is a protocol to synchronizing the clocks on host using publicly available NTP servers. How use? To use you must know NTP server address. Here list some of them:
0.debian.pool.ntp.org 1.debian.pool.ntp.org 2.debian.pool.ntp.org uk.pool.ntp.org ua.pool.ntp.org
Some servers are national. They can be found as ISO 639 code with .pool.ntp.org suffix. Debian. Install ntpdate package:
$ sudo apt-get install ntpdate
and sync date with some NTP server:
$ sudo ntpdate 0.debian.pool.ntp.org

Windows. See http://support.microsoft.com/kb/q216734/ http://support.microsoft.com/kb/q223184/

Parsing numbers in LL(1) grammar.

Grammar for numbers:
NUMS --> NUM NUMS NUMS --> NUM --> 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
This grammar is belongs in LL(1) grammar type.

Parser for this grammar done in parse.py:


Welcom to Brain Break!

See next posts!