Posts

Showing posts from December 26, 2010

Join Second Life; your fantasy comes true

Image
“1/8 Ton but want to be a slave-girl?” Source alphavilleherald.com A Photographic Tour of Life in Second Life

New Month Resolution: learn a new lang

Want to learn a new lang in 2011? How about emacs lisp? (See: What is Your Favorite Lisp.) Instead of a new year's resolution, which often are forgotten after Jan, let's have a resolution just for January.So, what about setting a short-term goal for learning emacs and elisp? What do you wish to learn in January? Answer these questions. Before you answer, try to have a realistic, low-key goal, that you actually would achieve after Jan. Some of the questions below is about emacs/lisp if you think that's something you'll find helpful.• Is there a language you wish to learn in Jan?• What are some things you always wanted to know about emacs/elisp?• Is it a particular emacs setup that's bugging you for a while?• Any particular mode, package, you wished to install or know more?• Do you have a basic understanding of elisp?• Is it some basic understanding of elisp you always wanted?• What would be some pratical things that would help in your job?• How much time you can dev…

Wikileaks Rape: Julian Assange Raped Women?

Image
Perm url with updates: http://xahlee.org/Periodic_dosage_dir/wikileaks_rape.htmlWikileaks Rape: Julian Assange Raped Women?Xah Lee, 2010-12, 2010-12-29If you are not familiar with the event of wikileaks, see a intro here: Wikileak: US Diplomatic Cables Leak.Julian Assange Raped Women?The Wikileaks sex files: How two one-night stands sparked a worldwide hunt for Julian Assange (2010-12-07) By Richard Pendlebury. Source www.dailymail.co.uk.Summary of the article: When Julian was visiting Stockholm, Sweden, two women admirers, Anna and Sofia, sought him out. Anna offered her apartment for him to stay. Sofia bought the train ticket for Julian to visit her at home. Both had sex with him. Anna created a party at her house the next morning for him. Sofia had a second sex the morning after. Few days later, the two women met, found out that each slept with him, then they started to visit police. The central issue seems to involve a broken condom. Apparently, under Swedish law, sex without wom…

Mike Tyson vs James Douglas

Image
Perm url with updates: http://xahlee.org/Periodic_dosage_dir/tyson_vs_douglas.htmlMike Tyson vs James DouglasXah Lee, 2010-12-27This is Tyson vs. Douglas in 1990. One of the historic boxing match.“Mike Tyson vs James Douglas”, round 1 to 4. “Mike Tyson vs James Douglas”, round 5 to 7. “Mike Tyson vs James Douglas”, round 8 to 10. Kung Fu and Martial Arts Video Game Was this page useful? If so, please do donate $3, thank you donors!

The story behind a formula for Pi

Image
Perm url with updates: http://xahlee.org/math/Simon_Plouffe_pi_formula.htmlMath Politics: Simon Plouffe and The nth Digit Formula of πXah Lee, 2010-12-27Discovered a notable math politics.There's a fomula, that can compute the nth digit of pi directly. The formula is named Bailey–Borwein–Plouffe formula. Presumably, it is discovered by 3 persons David H Bailey, Peter Borwein, and Simon Plouffe, but actually might be just a single person Simon Plouffe. This is a typical politics in math or other science community. Here's what Simon has to say about it.The story behind a formula for Pi From: plou...@math.uqam.ca (Simon Plouffe) Date: Jun 23 2003, 10:14 pm Subject: The story behind a formula for Pi To: sci.math, sci.math.symbolic This note explains the story of the so-called Bailey-Borwein-Plouffe algorithm and formula.  The story began many years ago in 1974 when I wanted to find a formula for the n'th digit of Pi. I was studying rational and irrational numbers. With my calc…

Emacs Lisp Tutorial: Replacing Title Brackets to HTML Tags

Image
Perm url with updates: http://xahlee.org/emacs/elisp_replace_title_tags.htmlEmacs Lisp Tutorial: Replacing Title Brackets to HTML TagsXah Lee, 2010-12-26ProblemIn my blogs, i use angle brackets for book titles and article titles. For example: • 〈The Rise of “Worse is Better”〉 (1991) ... • 《The Unix-Hater's Handbook》 (1994) ... When a page is a book list, i'd prefer the book names to be colored so it is more readable. So, i want a html tag like this: • <spanclass="atlt">The Rise of “Worse is Better”</span> (1991) ... • <spanclass="bktl">The Unix-Hater's Handbook</span> (1994) ... With proper CSS, the titles will be colored, and the brackets also added.. Here's what it looks like:The Rise of “Worse is Better” (1991) ...The Unix-Hater's Handbook (1994) ...The CSS would look like this:span.bktl, span.atlt {color:#006400} span.bktl:before{content:"《";color:black} span.bktl:after{content:"》";color:black} spa…

Restore Last Session in Safari, Firefox, Chrome

Image
Perm url with updates: http://xahlee.org/mswin/browser_restore_session.htmlRestore Last Session in Safari, Firefox, ChromeXah Lee, 2010-12-26This page tells you how to restore your last session (all opened pages (tabs/windows)) in all major browsers.In my daily work, i usually have 10 to 20 tabs open in each of Firefox, Google Chrome, Opera, and sometimes Safari, Internet Explorer too. (yes, i use all of them at the same time.) It is critical for me that when a browser crashed, i must have all the my pages re-open. Because, the tabs i have open usually means to-read or otherwise to-do item.SafariRecently, Safari (5.0.3) on Windows added a new feature. Now you can open all tabs in your last session. It's under the menu “History▸Reopen All Windows From Last Session”. Finally. Safari is the last browser to have this feature.FirefoxFirefox, starting about version 3.x, will automatically open all tabs in your last session if it crashed. (See: https://wiki.mozilla.org/Session_Restore) G…

Hollywood+Disney: A Rape of Culture

Image
Perm url with updates: http://xahlee.org/Periodic_dosage_dir/hollywood_disney_rape_of_culture.htmlHollywood and Disney's Rape of CultureXah Lee, 2010-12-26Watched 〈Clash of the Titans〉 (2010) amazon recently. I enjoyed the monsters. In particular, i really enjoyed the Medusa scene. But overall, it's a very lousy film. Idiotic actors with clownish costumes, bland acting with very stupid script, a American paintjob of Greek tale.Whenever the hero Perseus appears i just see a US Marine (played by Sam Worthington, of Avatar). When Zeus is on the screen, i can't help but see the jedi Qui-Gon of Star Wars (played by Liam Neeson) behaving as a comical jedi Zeus. Another major supporting actor, one that helped in the Medusa kill, is the villain Le Chiffre of James Bond's Casino Royale (Mads Mikkelsen as Draco).Seems most of the major actors have blue eyes, and speak in various english accents (Scottish, Australian). LOL.Also, out of the blue they brought the Arabic myth Jinn