Showing posts from August 8, 2010


Discovered that the unabomber has recently published a collection of his writings.
Technological Slavery: The Collected Writings of Theodore J. Kaczynski, a.k.a. "The Unabomber" (2010), by Theodore Kaczynski. amazon.
For his 1995 Manifesto, see: Unabomber Manifesto (Industrial Society and its Future).

Matching Brackets in Unicode

Perm url with updates: Brackets in UnicodeXah Lee, 2010-08-13This page collects matching brackets in Unicode.ASCII: () [] {}Common quotation: “” ‘’ ‹› «»Asian: 「」『』 〈〉 《》 【】 〖〗 〔〕 ⦗⦘ 〘〙Full width variant: [] {}Half width variant: 「」Math: ⟮⟯ ⟨⟩ ⟪⟫ ⟦⟧ ⦉⦊ ⦇⦈ ⟬⟭Decorative: ❛❜ ❝❞ ❨❩ ❪❫ ❬❭ ❮❯ ❰❱ ❲❳ ❴❵White variants: ⦅⦆ 〚〛 ⦃⦄Vertical: ⏜⏝ ⎴⎵ ⏞⏟ ⏠⏡ Vertical representation forms: ﹁﹂ ﹃﹄ ︹︺ ︻︼ ︗︘ ︿﹀ ︽︾ ﹇﹈ ︷︸Other: ﹛﹜ ﹝﹞ ⸢⸣ ⸤⸥ ⦋⦌ ⦍⦎ ⦏⦐ ⁅⁆ 〈〉 ⦑⦒ ⦓⦔ ⦕⦖ ⧼⧽ ⸂⸃ ⸄⸅ ⸉⸊ ⸜⸝ ⸌⸍ 󠁛󠁝 󠁻󠁽What Chars Are IncludedThe chars here must be a matching bracket pair with respect to their semantics, as indicated in the char's Unicode name.In particular, the following chars are not considered a matching bracket:Chars that merely have the appearance of a matching bracket. For example, the ASCII <> are not included.Char pair that are simply mirrors images of each ohter (e.g. many math operators ⊆ ⊇).Chars that are positioned together to form a large …

Fasting, Religion, Mind Control

Perm url with updates:, Religion, Mind ControlXah Lee, 2010-08-12Ramadan. Quote:Ramadan is the ninth month of the Islamic calendar. It is the Islamic month of fasting, in which participating Muslims refrain from eating, drinking and sexual activities from dawn until sunset.[1] Fasting is intended to teach Muslims about patience, humility, and spirituality. It is a time for Muslims to fast for the sake of God and to offer more prayer than usual.Wonder why religion always has hunger/food (fasting) stuff? It is a form of mind control. Because, food is the essential item for human survival. By controlling food, or tying it to the sect's name, such as prayer before meal, it reinforces your thought process with the sect.Before eating, you are tought by your religion that this food is given to you by your sect's idol. Practically speaking, that is not reality. The food came from your work. In religious…

html kbd tag tips

Perm url with updates: the “<kbd>” tag. It's similar to the “i”, “b”, “strong”, tags, but for keyboard input. It is also supported in html5. I now used it to markup keyboard keys, e.g. “Ctrl+x”.I used to use: <spanclass="key">Ctrl</span> But that's more verbose. Now i use emacs to make the change on about 100 files on my site. (See: Emacs Interactively Find and Replace String Patterns on Multiple Files)The css i use is this:kbd {border:solid 1px #c2c2c2;background-color:#f0f0f0; padding-left:.3ex;padding-right:.3ex;font-family:monospace}

Defraggler, Recuva, Partimage

Perm url with updates: excellent defrag software Piriform Defraggler. Also, Piriform's Recuva for file recovery is also excellent, i've used in the past. Also, discovered Partimage, for cloning disk partitions to as disk image to dvd. These are recommended to me from a expert PC friend “9 volt chicken”. These are added to: List of Great Windows Software. (all software listed there are highest quality)

How to Disable the F-Lock Key

Perm url with updates: to Disable the F-Lock KeyXah Lee, 2006-06, 2009-08-24, 2009-11-26, 2010-08-10Many Microsoft keyboards now has a “F lock” key. This page discuss its problems, and how to disable it.The F-Lock key, above the Backspace key. Microsoft introduced a F Lock key. It functions as a toggle. When it is off, the keys F1 to F12 will behave by the following pre-set definition:Definitions when F Lock is OffF1F2F3F4F5F6F7F8F9F10F11F12HelpUndoRedoNewOpenCloseReplyFwdSendSpellSavePrintHow to Disable the F-Lock KeyIt's is very easy to disable it. Just redefine the special functions to type F keys. So that, doesn't matter F-Lock is on or off, the F keys always send normal function signals.1. Open your IntelliType software, under “Start‣Control Panel‣Keyboard”. Click on the “Key Settings” tab.2. Now, go to the item named “Help”, double click it (or click the “Configure...” button) You'll get a pop up dialog t…

Emacs Lisp's print, princ, prin1, format, message

Perm url with updates: Lisp's print, princ, prin1, format, messageXah Lee, 2010-08-07This is a short tutorial on printing in emacs lisp. If you don't know elisp, first take a look at Emacs Lisp Basics.Simple Printing with “message”The most basic printing function is “message”. Here's a example:; printing (message "hi") ; printing variable values (message "Her age is: %d " 16) ; %d is for number (message "Her name is: %s ""Vicky") ; %s is for string (message "Her mid init is: %c " 86) ; %c is for character in ascii code Note: You can see all past output from “message” in the buffer named “*Messages*”. You can switch to it by “Alt+x switch-to-buffer”. The “message” function prints to the special buffer “*Messages*”. That buffer is special, because it is the general output destination for any messages from emacs, designed to be read by human. For example, it automatic…

Subversion Basics (svn tutorial)

Perm url with updates: (svn) TutorialXah Lee, 2009-08-28, 2010-08-10This page is a quick start tutorial of using Subversion (SVN), a version control system.Basic Check Out, CommitWhat commands are available?Type “svn help”. How to checkout a project?cd to a directory where you want the files to be. Then do for example: svn checkout svn:// svn checkout svn:// svn checkout ergoemacs --username xahlee How to commit a change?Once you checked out, made your modifications, then you can check back in (commit your changes). To commit, cd to the working dir, then do:# commiting all files in current dir svn commit . -m "one-line summary of what you changed"# commit one file svn commit -m "one-line summary of what you changed" How to Add or Remove a dir or file?If you created new files in your working copy and committed it, that won'…

CSS “first-letter” and “first-line” Example

Perm url with updates: “first-letter” and “first-line” ExampleXah Lee, 2005-11, 2010-08-10This page is a tutorial of using CSS “first-letter” and “first-line”, to make the first letter of a paragraph stand out.Here's a example:O toiler through the glooms of night in peril and in pain,
Thy toiling stint for daily bread comes not by might and main!
Seest thou not the fisher seek afloat upon the sea
His bread, while glimmer stars of night as set in tangled skein?
Anon he plungeth in despite the buffet of the waves,
The while to sight the bellying net his eager glances strain,
Till joying at the night's success, a fish he bringeth home
Whose gullet by the hook of Fate was caught and cut in twain.
When buys that fish of him a man who spent the hours of night
Reckless of cold and wet and gloom in ease and comfort fain,
Laud to the Lord who gives to this, to that denies, his wishes
And dooms one toil and catch the prey and other e…

Shoot'em Up Video Games

Perm url with updates:'em Up Video GamesXah Lee, 2006-09, 2010-08-10The following are a type of video game called “shoot'em up.”These games are extremely mathematical. In the sense that the core concept is to predict projectile direction.Space Invaders (1978) Asteroids (video game) (1979) Phoenix (arcade game) (1980) Defender (video game) (1980) 1942 (video game) (1984) Centipede (video game) (1980)Tempest (arcade game) (1981)Scramble (arcade game) (1981)Xevious (1982)Space Harrier (1988)R-Type (1987) The “shoot'em up” died out due to 3D games of course. But There are a few new ones released after 2000.Geometry Wars: Retro Evolved 2. Released on Xbox Live Arcade on 2008-07-30. Geometry Wars is like a modern version of R-Type.Geometry Wars Space Harrier (1985) Some fascinating readings:Killer List of VideogamesTwin GalaxiesChasing Ghosts: Beyond the ArcadePerfect Cherry Blossom; Perfect Cherry BlossomGhosts 'n Gob…

Problems of Emacs's Manual; Examples

Perm url with updates: of Emacs's Manual; ExamplesXah Lee, 2010-08-08This page gives some examples of outdated text in Emacs Manual.I ran into a Chinese blog article on emacs today. 〈GNU Emacs on Windows〉 (2010-06-25), by 葉難 (Yeh Nan). At:'s written in a “Question & Answer” format in a humorous way. Very well done. There's a interesting section about emacs documentation. Here's my translation.Q: These docs [emacs's manual] seem odd?A: I think Emacs's official docs are all odd and wordy, because:(1) The writer presumes all users are beginners, with no experience in using a editor, even no experience in using a computer. Look at this sentence:Files are named units of text which are stored by the operating system for you to retrieve later by name.O please, do i need to be told what's a file?(2) The author seems to have stopped in the 1980s, lots of tech terms have gone…

PowerShell for Unixers

Perm url with updates: for UnixersXah Lee, 2009-07-26, 2010-08-08This pages shows the equivalent of PowerShell for common unix commands related to text processing, such as grep, head, find, sort, uniq, wc etc. The version of unix tool used here are Bash and GNU. (that's most linuxes, but not BSDs, Solaris, Mac OS X.)For simpler things such as “cd”, “mkdir”, “ls”, etc, see PowerShell as Bash.Quick MirrorHere is a quick table of constructs that are roughly of the same purpose.DescbashPowerShellcreate new filetouch ffni ff -type file◇cat ffcat ff◇cat f1 f2 > new.txtcat f1, f2 > new.txtDisplay first n lineshead -n 50 ffcat ff | select -first 50◇tailcat file | select -last 50◇split?list dirsfind . -type dGet-ChildItem . -Recurse -name◇find . -type f?◇find . -name "*html"Get-ChildItem . -Recurse -name -include *html ◇find . -size 0ls . -recurse | where {$_.length -eq 0}◇find . -type f -size 0 -exec rm {} \…

Gisele Bundchen in US Flag Swimwear

Perm url with updates: Bundchen in US Flag SwimwearXah Lee, 2004-06, 2010-08-07Cover of 〈George〉 magagize (2000-06). Featuring supermodel Gisele Bundchen, in star'n'stripes swimwear and backdrop. 〈George〉is a American magazine on politics. This issue features a article 〈Why women are DYING to look this good〉. George magazine became defunct in 2001-01.Gisele Bundchen (b1980) is a Brazilian citizen but German blood.Photos taken by fashion photographer David LaChapelle.Here's what seems to be the un-edited photo: Gisele Bundchen German magazine 〈Amica〉 cover (2000-08)