Posts

Showing posts from June 27, 2010

Space Oddity by David Bowie

Perm url with updates: http://xahlee.org/Periodic_dosage_dir/sanga_pemci/space_oddity_david_bowie.htmlSpace Oddity by David BowieSpace Oddity, released in 1969, the same year human animals landed on the moon. It is one of the greatest ballad in music history. Eerily serene and catastrophic. Depicting love, and human animal's spacy aspiration, vuneralbility, and the beauty of the earth (in a anthropic perspective). A vernacular record of Human Space program. “check inignition and may God's love be with you”. God, this can put tears in my eyes. Space Oddity, words and music by David Bowie. Ground Control to Major Tom Ground Control to Major Tom Take your protein pills and put your helmet on Ground Control to Major Tom Commencing countdown, engines on Check ignition and may God's love be with you (Ten, Nine, Eight, Seven, Six, Five, Four, Three, Two, One, Liftoff) This is Ground Control to Major Tom You've really made the grade And the papers want to know whose shirts…

Life on Mars (David Bowie)

Image
Perm url with updates: http://xahlee.org/Periodic_dosage_dir/sanga_pemci/david_bowie.htmlLife on Mars (David Bowie)Xah Lee, 2005-06, 2010-07-03David Bowie (b1947) is a true artist in all the glory of that word. “Life on Mars?” (1971), this is a great song. The lyrics is just fantastic. If i were to list top 20 greatest songs (not counting classical music), this would be in it.Both lyrics and music are by David Bowie.「• Lennon = what does Lennon refers to? Some web discussion suggest it may be John Lennon and or Vladimir Lenin. The suggestion for Lenin cites the line “the workers have struck for fame” inferring the proletariat in communism. While, Lennon connotes captilism, with his big records success. Some suggest it's a pun on both, since Lennon is a major peace activist in the Vietnam war era, running afoul with the US Government and FBI at the time, and have sympathies for communism. (For more about Lennon, see: I Met the Walrus.) 」 「• Ibiza = a island east of Spain. Ibiza 」 …

胭脂泪 (Girl's Tears) by Teresa Deng

Perm url with updates: http://xahlee.org/Periodic_dosage_dir/sanga_pemci/yan1_zhi3_lei4.html胭脂泪 (Girl's Tears) by Teresa DengXah Lee, 2010-06-17, 2010-07-03 This poem is composed by 李煜 (Li Houzhu) (936-978), known as the master of free-form verse. His topics is often pleasure making and womanizing. Title: 胭脂泪 (yan1 zhi3 lei4) Lyrics: 李煜 Music: 劉家昌 Translation: 李杀 (Xah Lee) 林花謝了春紅 太匆匆 無奈朝來寒雨晚來風 胭脂淚 留人醉 幾時重 自是人生長恨水長東 spring flowers have gone so hasty then morn rain, eve storm girl's tears ravishing and intoxicating when again? only seanons change, and time flies 胭脂泪,邓丽君 For another of Li Houzhu's work sung by Teresa, see: 相见欢 (Union Joy). 詩意 (Teresa Deng)月圆花好 (Teresa Deng)但願人長久 (Teresa Deng)在水一方 (Teresa Deng)

How to View Comments in JPEG, PNG, MP3 files?

Perm url with updates: http://xahlee.org/img/metadata_in_image_files.htmlHow to View Comments in JPEG, PNG, MP3 files?Xah Lee, 2010-07-02This page shows you how to get the textual comments embedded in jpeg, png, gif, files. The JPEG is actually just standard compression scheme. It does not actually define a file format. The file formats we usually associate with the name “jpeg” is actually the and Exif, JFIF.JFIF format is the file format for images compressed using jpeg. Other than digital cameras, vast majority of jpeg images are stored in the jfif file format.Exif is used by basically all digital cameras. The file contains info such as date time, camera settings, and thumbnail. Metadata is also stored is various different formats, for files other than image files. For example, video files, and even text files. Two popular general-purpose metadata formats are: IPTC, XMP. There's also the ID3 format for MP3 audio files. There's also Mac OS X Extended Attributes. What Info A…

OS X Extended Attributes and xattr

Perm url with updates: http://xahlee.org/comp/OS_X_extended_attributes_xattr.htmlOS X Extended Attributes and xattrXah Lee, 2010-07-02This article explains Mac OS X's Extended Attributes and the command line utility xattr.So, i was working on OS X again. ( OS X 10.5) When i do “ls -l”, i noticed the “@” sign, e.g.: -rw-rw-r--@ 1 _www admin 1046505 Nov 10 2007 collection.jpg What the fuck is that? 10 years working in unixes, i haven't seen that before. So, some web search found me: Extended file attributes, and the new command line utility “xattr”.What's Extended Attribute?Here's a quote from Wikipedia:Extended file attributes is a file system feature that enables users to associate computer files with metadata not interpreted by the filesystem, whereas regular attributes have a purpose strictly defined by the filesystem (such as permissions or records of creation and modification times). Unlike forks, which can usually be as large as the maximum file size, extend…

Google Analytics Asynchronous Tracking Code

Perm url with updates: http://xahlee.org/js/google_analytics_tracker_code.htmlGoogle Analytics Asynchronous Tracking CodeXah Lee, 2010-07-01Few months ago, google released a new tracking code for Google Analytics, featuring asynchronous javascript. If you haven't updated yet, you should do it now. It increases your page load speed noticeably. When during busy times such as morning or noon, it speeds up 1 second or more.Note that saving a fraction of a second matters. See: Speed Matters (2009-06-23) by Jake Brutlag. SourceThis is their old code, in 2 blocks of javascript:vargaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www."); document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E")); try { varpageTracker = _gat._getTracker("UA-xxxxxxxx-x"); pageTracker._trackPageview(); } catch(err) {} This is their new co…

Strut, by Sheena Easton

Perm url with updates: http://xahlee.org/Periodic_dosage_dir/sanga_pemci/strut_Sheena_Easton.htmlStrut, by Sheena EastonXah Lee, 2010-07-01Strut (1984).「• Nations go to war = Do nations go to war over women? Sure, particular in the older times. Nations don't go to war, men do, powerful man. Male animals fighting for mates, is common in animal kingdom. We can see highschool boys fighting over girls, or even in corporate, and just about anywhere. The difference is a matter of civility. When society is still primitive, powerful men are tribe leaders. When they want a chick from yonder that may not belong to them, they go and grab it, with the support of his underling. You can see gangsters do it today. Chinese history and culture, is filled with stories of emperors going war with neighbor states to grab the wives or princesses. This is written in a poem for example: 佳人歌 (The Beauty Song).」 He said, “Baby, what's wrong with you? Why don't you use your imagination Nations go t…

differential equations, Mechanics, and Computation

Perm url with updates: http://xahlee.org/math/blog.htmlMy friend, professor Richard Palais, co-authored with his son Robert Palais a new book “Differential Equations, Mechanics, and Computation”. I've been hired to help them update the site. The result is this: ode-math.com. Half of the book is free in PDF files. Also, lots of java applets and animation files are coming.

what's it gonna be? (comedy; video)

GNU Emacs and Xemacs Schism

Perm url with updates: http://xahlee.org/emacs/gnu_emacs_xemacs_schism_Ben_Wing.htmlGNU Emacs and Xemacs Schism, by Ben WingBen Wing, 2001?Many people look at the split between GNU Emacs and XEmacs and are convinced that the XEmacs team is being needlessly divisive and just needs to cooperate a bit with RMS, and the two versions of Emacs will merge. In fact there have been six to seven major attempts at merging, each running hundreds of messages long and all of them coming from the XEmacs side. All have failed because they have eventually come to the same conclusion, which is that RMS has no real interest in cooperation at all. If you work with him, you have to do it his way — “my way or the highway”. Specifically:1. RMS insists on having legal papers signed for every bit of code that goes into GNU Emacs. RMS's lawyers have told him that every contribution over ten lines long requires legal papers. These papers cannot be filled out over to the web but must be done so in person a…

Famous Emacs People With Hand Injuries

Perm url with updates: http://xahlee.org/emacs/emacs_hand_pain_celebrity.htmlCelebrity Programers With Hand InjuriesXah Lee, 2010-06-28This page collects tales of well known computer programers who have injured their hands seriously with Repeatitive Strain Injury (RSI), in particular, due to use of emacs.Richard Stallman, FSF/GNU FounderRichard Stallman's RSI is well known during the 1990s. I remember reading about it somewhere on his website in the 1990s, perhaps on gnu.org, but i couldn't find it now. At one point, i remember that he is trying to switch to a voice system. Here's a second hand tale.Which Keyboard? (2007-06-21), by Michael Tiemann, at cnet.comFast forward twenty years and I was working 12-16 hours a day hacking on the GNU C++ compiler with more than 100,000 lines of code to my name, and loving every minute of it. One weekend I visited Richard Stallman at MIT and I was shocked to learn that he could no longer type. He was given strict instructions by his do…

Possibly Maybe by Bjork

Perm url with updates: http://xahlee.org/Periodic_dosage_dir/sanga_pemci/possibly_maybe.htmlPossibly Maybe by BjorkXah Lee, 2010-06-27Possibly Maybe, a song by Bjork, with lyrical eroticism, as many of Bjork's songs. your flirt it finds me out teases the crack in me smittens me with hope possibly maybe possibly love as much as I definitely enjoy solitude I wouldn't mind perhaps spending little time with you sometimes, sometimes possibly maybe probably love uncertainty excites me - baby! who knows what's going to happen? lottery or car crash - or you'll join a cult possibly maybe possibly love 「• Mon petit vulcan = French, meaning “small volcano”.」 mon petit vulcan you're eruptions and disasters - I keep calm admiring the lava - I keep calm (caress) possibly maybe possibly love electric shocks? I love them! with you - dozen a day but after a while I wonder where's that love you promised me? where is it? possibly maybe probably love how can you of…

Math Symbols in Unicode

Perm url with updates: http://xahlee.org/comp/unicode_math_operators.htmlMath Symbols in UnicodeXah Lee, 2010-06-26This page collects math symbols in Unicode.Some Greeks: α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ ς τ υ φ χ ψ ωsuperscript: ⁰ ⁱ ² ³ ⁴ ⁵ ⁶ ⁷ ⁸ ⁹ ⁺ ⁻ ⁼ ⁽ ⁾ ⁿsubscript: ₀ ₁ ₂ ₃ ₄ ₅ ₆ ₇ ₈ ₉ ₊ ₋ ₌ ₍ ₎ ₐ ₑ ₒ ₓ ₔRoots: √ ∛ ∜Sets: ℕ ℤ ℚ ℝ ℂConstants: ℯ ℵ ⅇ ⅈ ⅉ ∅ ∞ ⧜ ⧝ ⧞Basic binary operators: × ÷ ⊕ ⊖ ⊗ ⊘ ⊙ ⊚ ⊛ ⊜ ⊝ ⊞ ⊟ ⊠ ⊡ − ∕ ∗ ∘ ∙ ⋅ ⋆Setselement of: ∈ ∋ ∉ ∌ ⋶ ⋽ ⋲ ⋺ ⋳ ⋻ misc: ∊ ∍ ⋷ ⋾ ⋴ ⋼ ⋵ ⋸ ⋹ ⫙ ⟒binary relation of sets: ⊂ ⊃ ⊆ ⊇ ⊈ ⊉ ⊊ ⊋ ⊄ ⊅ ⫅ ⫆ ⫋ ⫌ ⫃ ⫄ ⫇ ⫈ ⫉ ⫊ ⟃ ⟄ ⫏ ⫐ ⫑ ⫒ ⫓ ⫔ ⫕ ⫖ ⫗ ⫘ ⋐ ⋑ ⟈ ⟉Union: ∪ ⩁ ⩂ ⩅ ⩌ ⩏ ⩐Intersection: ∩ ⩀ ⩃ ⩄ ⩍ ⩎Binary operator on sets: ∖ ⩆ ⩇ ⩈ ⩉ ⩊ ⩋ ⪽ ⪾ ⪿ ⫀ ⫁ ⫂ ⋒ ⋓N-nary operator on sets: ⋂ ⋃ ⊌ ⊍ ⊎Joins: ⨝ ⟕ ⟖ ⟗OrderPrecede and succeed: ≺ ≻ ≼ ≽ ≾ ≿ ⊀ ⊁ ⋞ ⋟ ⋠ ⋡ ⋨ ⋩ ⪯ ⪰ ⪱ ⪲ ⪳ ⪴ ⪵ ⪶ ⪷ ⪸ ⪹ ⪺ ⪻ ⪼less and greater: ≮ ≯ ≤ ≥ ≰ ≱ ⪇ ⪈ ≦ ≧ ≨ ≩less and greater 2: ⋜ ⋝ ⪙ ⪚ ≶ ≷ ≸ ≹ ⋚ ⋛ ⪋ ⪌ ⪑ ⪒ ⪓ ⪔with approx: ⪅ ⪆ ⪉ ⪊less and greater with equivalence: ≲ ≳ ⋦ ⋧ ≴ ≵less and greater w…