Showing posts from July 18, 2010

misc: google earth, kml, emacs lisp scripting

Perm url with updates: the past few days, been working on my site that heavily involves emacs lisp scripts i've written.First is a update to my kml files. See: (Google Earth) KML Validation Fuckup. This involves also updating my script for generating kml files, see: Emacs Lisp: Writing a google-earth Function. Then, i created a collection of links to kml files. See: Google Earth Files at This is done by modifying my elisp script that generate Wikipedia links. See: Generate a Web Links Report with Emacs Lisp.

(Google Earth) KML Validation Fuckup

Perm url with updates: Earth) KML Validation FuckupXah Lee, 2010-07-22This article documents a condition of a software industry. It is a rant on software correctness and standards body responsibility.So, today i'm working on kml files on my site again.For example, a typical kml file on my site looks like this:<?xmlversion="1.0" encoding="UTF-8"?><kmlxmlns=""><Placemark><name>Aapua wind park</name><description> Good for a visit. Seven 80 meter high wind turbines. See photos at: </description><Point><coordinates>23.436459,66.827370</coordinates></Point><LookAt><longitude>23.436459</longitude><latitude>66.827370</latitude><altitude>0</altitude><range>10000</range><tilt>0</tilt><heading>0…

Poor Unfortunate Souls

Perm url with updates: Unfortunate SoulsXah Lee, 2005-08, 2010-07-22This is a funny song from the soundtrack of Disney's The Little Mermaid (film) (1989).Background: pretty little mermaid is half tricked and half curious and came to the sea-witch octopus Ursula to complain about her disatisfaction with her dad (Triton) and yearning to become a human so that she can be with her prince charming. In this song, Ursula seduces and ensnares Little Mermaid to sign a contract so the mermaid can get legs, but with the cost of her beautiful voice. In 3 days, if Little Mermaid get her prince charming to kiss her, then she gets her legs permanently and her voice back, else Ursula owns her soul. Title: Poor unfortunate souls Singer: Pat Carroll (as Ursula), Jodi Benson (as Ariel) Lyrics: Howard Ashman Music: Alan Menken Ursula: The only way to get what you want is to become a human yourself.Ariel: Can you do that…

Second Life hamster roller coaster

Perm url with updates: Life Hamster Ball Roller CoasterGet your Xah Particle Maker today! My second Second Life video (aka Machinima).Second Life hamster ball roller coaster. Click on the video to go to YouTube to see a HD version with bigger screen. My first Second Life video:Second Life Military air combat, CS vs Ordo. 2010-07-22 Second Life Military VideosSecond Life Militaries ListFurry SoldiersIntro To Firearms From Second Life MilitarySecond Life Dive Roll Movement Enhancer Comparison Want to dash through walls?
Try Xah Tele-Dasher!

Screen Video Capture, Screencasting, Software

Perm url with updates: Video Capture, Screencasting, SoftwareXah Lee, 2010-07-21This page lists some screen video capture software that i've tried, with comments on their quality and purpose.My need for screen video capture are for 2 purposes:Screen capture video games, in particular, Second Life.Screen capture other non-game applications for teaching, presentation, purposes.I am primarily interested in Windows version, and free ones. Also, i'm a programer, so, it is ok if the program is slightly technical. But am interested in flexibility. In ability to saving the video on my disk in standard video codecs/formats.Camstudio Open SourceCamStudio. Free, but not very good. It offers pretty old codecs. The codec it offers are:Microsoft Video 1CinepakIntel IYUVThese are about 20 years old tech. Practically, what it means is that the video you created will have a low “video quality”/“file size” ratio in comparsion to modern code…

Free Audio, Synthesizers, Software

Perm url with updates: Audio, Synthesizers, SoftwareXah Lee, 2010-07-20This page is a basic introduction to major audio software and technologies that are free. For example, what are the major audio editing software, software synthesizers, midi player, music recorder, what are the major technology components for audio, etc. This page is useful if you need to record or create audio files, but is a beginner in the field. This page is written mostly for people with a technical background, e.g. scientists, engineers, computer programers. (i'm a professional computer programer and amature mathematician)Am looking for a software synth. My primary use will be to generate artificial sounds to create various beeps or sci-fi plasma gun for video games.I've been dabbling with synthesizers since 1985. Owned about 6 music keyboards over the past 20 years. Studied music, music theory, playing piano, piano keyboard mechanisms, physi…

21st Century Schizoid Man

Perm url with updates: Century Schizoid ManXah Lee, 2008-12-13, 2010-07-2021st Century Schizoid Man, by Seasons The group's name is either Seasons or In-Season. Official home page is at: original song is progressive rock, called by same name 21st Century Schizoid Man (1969), performed by King Crimson. 21st Century Schizoid Man, by Seasons, King Crimson 〈In the Court of the Crimson King〉 amazon The song is written by Robert Fripp, Ian McDonald, Greg Lake, Michael Giles, Peter Sinfield. The lyrics is by Peter Sinfield. It's sung by Greg Lake.Here's the lyrics. Cat's foot iron claw Neuro-surgeons scream for more At paranoia's poison door. Twenty first century schizoid man. 「• Polititians = this mostly refers to Spiro Agnew (1918-1996), 39th Vice President of US (1969-1973). He is charged for accepting bribery and is forced to resign.」 「• pyre = wood heaped for burning a dead body as a funeral rite…

“Please Don't Stop the Music”; Virtuoso Piano

Perm url with updates:“Please Don't Stop the Music”; Virtuoso PianoXah Lee, 2010-07-19Someone has composed a virtuoso piano piece based on a pop song “Please Don't Stop the Music” by Rihanna.Here's the original song sung by Rihanna.Please Don't Stop the Music, Rihanna Not really a great song. The song is somewhat flat. The melody is also flat. The music video is also lousy. It just repeatedly display her beautiful eyes and face.Here's the virtuoso piano composition inspired by it. “Lola Astanova - Virtuoso piano inspired by Rihanna's Don't Stop The Music” Great performance. Though, i don't particularly find this composition attractive. It lacks a strong melodic element, despite the fact that the original song already isn't noted for its melody.21st Century Schizoid ManDDDot (8-bit video game music)Requiem for a Dream

How to Embed Video with Valid HTML

Perm url with updates: to Embed Video with Valid HTMLXah Lee, 2009-01-16, 2010-06-06This page shows you how to embed a video with valid html, and also practical that it display video in all current browsers. (tested browsers: IE 8, Firefox 3, Safari, Google Chrome, Opera.)YouTube ExampleSuppose you have a youtube video you want to embed in your html page. Suppose the url is this If you just copy and paste their link widget, you get this: <objectwidth="425"height="344"> <paramname="movie"value=""> </param> <paramname="allowFullScreen"value="true"></param> <paramname="allowscriptaccess"value="always"></param> <embedsrc=""type="application/x-sh…

Womanizer by Britney Spears

Perm url with updates: by Britney SpearsWomanizer (2008), a hot song by Britney Spears. Superstar Where you from, how's it going? I know you Gotta clue, what you're doing? You can play brand new to all the other chicks out here But I know what you are, what you are, baby Look at you Gettin' more than just a re-up Baby, you Got all the puppets with their strings up Fakin' like a good one, but I call 'em like I see 'em I know what you are, what you are, baby Womanizer, Woman-Womanizer You're a womanizer, Oh womanizer, Oh you're a womanizer, baby You, you, you are You, you, you are Womanizer, womanizer, womanizer Boy, don't try to front I, I know just-just what you are, are, are (You) You got me going (You) You're oh so charming (You) But I can't do it (You) Womanizer (You) You say I'm crazy (You) I got you crazy (You) Your nothing but a (You) Womanizer Da…

珊瑚恋 (A Coral Romance)

Perm url with updates:珊瑚恋 (A Coral Romance)Xah Lee, 2005, 2010-07-18珊瑚恋 (A Coral Romance) is a song originally sung by a Taiwanese singer 翁倩玉 (b1950, Judy Ongg) who migrated to Japan. The song is originally a Japanese song, called “海辺のMelody (海辺のメルヘン)”. Later, many have written Chinese lyrics. In particular, the song has been sung by Teresa Deng. SourceTeresa's version is my favorite. Title: 珊瑚恋 Singer: 邓丽君 (Teresa Deng) Lyrics: 翁炳榮 original, later versions 莊奴, 李德安 Music: 市川昭介, later 仁田 Translation: 李杀 (Xah Lee) 那一天 偶然在海边遇见了他 像蛟鱼一样地活泼又健康 从身上掏出了 洁白的一个珊瑚 悄悄地走过来 默默地递给了我 就是这样的动作 仅仅就是这样 使我有一种感觉 永难忘记 说是情仿佛不少 说是爱 还嫌太早 只像是春风 静掠过我的心胸 过完了那夏天 踏上了我的归途 他曾向我的车 挥着手大声叫喊 无情的大海浪 淹盖了他的呼唤 连那只他的手 逐渐地也看不见 在那年的冬天 突然有个感觉 好像再回到海的那方 为什么这爱的生命 这样短暂 像一场褪了色 美丽的海边的幻梦 on that day i met him on the beach like a playful fish produced from his pocket a pretty white coral he came towards me and given it to me without words 'tis this manner …

How to Quickly Switch Fonts in Emacs

Perm url with updates: to Quickly Switch Fonts in EmacsXah Lee, 2010-04-10, ..., 2011-03-08Quickly Switching Fonts in EmacsWhen coding in Python or viewing directories in dired, mono-spaced font is necessary. However, proportional font works great in coding too. Try it. You may be surprised.Proportional font is easier to read, and shows 20 or more characters per line. I got used to using proportional fonts for html, xml, perl, lisp. Even if you don't like proportional font for coding, it is quite useful for reading documentation, email, irc.One problem is that it is cumbersome to switch font in emacs. Here's a elisp code that cycle fonts. (defuncycle-font (num) "Change font in current frame. Each time this is called, font cycles thru a predefined set of fonts. If NUM is 1, cycle forward. If NUM is -1, cycle backward. Warning: tested on Windows Vista only." (interactive "p") ;; this function sets a…