Posts

Showing posts from March 28, 2010

Organize Your .emacs in 5 Minutes

Perm url with updates: http://xahlee.org/emacs/organize_your_dot_emacs.htmlOrganize Your .emacs in 5 MinutesXah Lee, 2010-04-03This article shows you a quick way to organize your emacs init file.Most emacs users, have tens or hundred lines in their emacs init file, accumulated over the years. Large emacs init files makes emacs starting slow, and is a problem when you upgrade emacs, or install a new package.So, how do you organize it? When it comes to organization, many of us, probably think it'll take a lots times and discipline, or with some special principle, system, to keep the .emacs file clean. From what i've seen in the past decade, vast majority of emacs users simply have one huge messy pile of stuff in “.emacs”, and this situation often is cited as their reluctance to upgrade to the latest emacs release.Personally, i find that elaborate rule or system or time spend on organizing emacs init file is actually not productive.Split Your .emacs into Multiple FilesWhen you …

A Personal Drivel On Facebook Social Networking Site's Dating Advertisement

Image
Perm url with updates: http://xahlee.org/Periodic_dosage_dir/facebook_snippet.htmlFacebook Dating AdsXah Lee, 2010-04-03, 2011-02-19 Gah, am quite annoyed by the bunch of pretty girls staring at me on the side of Facebook. What the fuck. Am not interested in spending time and energy to go thru these spammy sites and deal with women with the possibility of reward of touching set years down. I noticed there's a little x that lets me close it. Tried it, then fuck Facebook asks my reason by multiple choice for not liking the ad, which kicked my mind into deliberation.O, do i really want these pretty girls decorating my Facebook gone? what if i'm axing a big OPPORTUNITY? The op to get into their pants as well the op to observe humanity of ad distribution and demograph.(after all, i'm getting into online ad biz. Need to be observant. (as a example, one thing i learned after some dithering, is that i wondered why these ads always just girls looking for men. I figured, if you are a…

The Heart of Wikipedia

Perm url with updates: http://xahlee.org/Periodic_dosage_dir/t2/wikipedia_engine.htmlThe Heart of WikipediaXah Lee, 2005-11-03A key to the success of the engine of Wikipedia (http://en.wikipedia.org/) , is that of accumulation.Any little tip, any little tweak, any iota of insignificance, may it be starting a article with a single sentence of worthless fact, to grammarian's obsessive tweak of a wording in a sentence, stays.This staying power, constitute a core element of Wikipedia's success. Let me explain why.Wikipedia started in 2001. Now, the internet and collective collaboration, especially in software, existed more than a decade before that. One telling example is newsgroup's FAQs. In as early as 1995, there are tremendous number of very well written FAQs, in topics ranging from math & sciences to the how-to's of Sadomasochism. Let's see, there are FAQs on C-programing language, on Artificial Intelligence, on Computational Geometry, on computer keyboard typ…

Gaming Headset Reviews

Image
Perm url with updates: http://xahlee.org/sl/headsets.htmlGaming Headset ReviewsXah Lee, 2010-04-01I play in Second Life several hours a day. I had a 10 years old microphone. So, recently am shopping for a headset.There are lots of headsets out there, from $10 to over a hundred. If you use headset casually, such as 30 min a day for online voice chat, then any $10 will do fine. I would recommend Microsoft, Logitech, or Sennheiser brands.If you use headset for more than 1 hour a day, then, you need something comfortable, high quality, and with good microphone.For gaming, usually you want the headphone part to be high quality, because otherwise music would sound bad, or you don't get the thundering “boom” effect when bombs go off.Microphone is also important, because it'd be a headache when you trying to voice with someone and the message is repeated “can you hear me? can you hear me ok? ... wait i hear lots of white noise”.There are 2 connector types for the headset. The cheap o…

Web Tech Stats 2010

Image
Perm url with updates: http://xahlee.org/js/web_tech_2010.htmlWeb Tech Stats 2010Xah Lee, 2010-03-31This page reports the popularity of web technologies used today. For example, the popularity distribution of different content management system, javascript libraries, web dev language/frameworks, javascript libraries, visitor tracking packages, etc.Framework71% of sites are detected with a known language/framework/technology. Among them, here's a rough breakdown. javascript51% has javascript. Here's the distribution of known js packages. Visitor Tracking72% sites has some sort of visitor tracking tech. Ad Services57% of sites have ads. Blogs3% has blogs. Content Management System4% uses CMS. ecommerce2% sites has ecommerce. Feeds22% has feeds. Media4% sites has media. Content Delivery Network16% uses CDN. It is used for example to auto find the nearest server to distribute video. Widgets30% sites has widgets. Encoding60% uses utf-8. 40% uses iso-8859.70% declared a encoding.SourceInfo of …

Prussian Blue Documentary

Death of Sun Microsystems

Sun Microsystems is dead. I'm so glad. I hate Sun very much. Them with their aggressive marketing lies and jargons with java. They are the most abusive of marketing jargons of any tech company. Keeps creaing spurious, useless, jargons just for the purposes of marketing. Abusing the term API, Interface. Calling their OS as “Platform”, and there's JDK, JSDK, J2EE, J2SE, Tiger, version numbering abuse 1.x to 1.2 == Java 2 now 1.3, JavaOne, JFC, Jini, JavaBeans, entity Beans, Awk, Swing. And before my time, from SunOS to Solaris. Lies about open standards. In the first 5 or more years of java, where Java sky rocketed their sells of their Solaris OS and server hardware, but keept creating obstacles on a quality java on Linux, during the dot com days (~1997-2001) where Linux is also raging is its main threat. (we can safely say that Linux + Cheap PC won now.) And finally in their brink of commercial death, Sun Microsystems pulls the trick of saintly open sourcing Java like Netscape …

Moving Porn out of XahLee.org

this page's content is removed due to possible incompatibilities with Google's AdSense. For the content, goto http://xahlee.org/sex/moving_porn_out.html

Take A Chance On Me

Perm url with updates: http://xahlee.org/Periodic_dosage_dir/sanga_pemci/take_a_chance_on_me.htmlTake A Chance On MeXah Lee, 2006-02Take A Chance On Me, by ABBA. Written by Benny Andersson and Björn Ulvaeus, and recorded in 1977, sung by Agnetha Fältskog and Anni-Frid Lyngstad.The lyrics goes as follows: If you change your mind, I'm the first in line Honey I'm still free Take a chance on me If you need me, let me know, gonna be around If you've got no place to go, if you're feeling down If you're all alone, when the pretty birds have flown Honey I'm still free Take a chance on me Gonna do my very best and it ain't no lie ( / Gonna do my very best, baby can't you see) If you put me to the test, if you let me try ( / Gotta put me to the test, take a chance on me) Take a chance on me (that's all I ask of you honey) Take a chance on me We can go dancing, we can go walking, as long as we're together Listen to some music, maybe just talking, get…

Camille Paglia talks about religion

Camille Paglia on Q TV. Camille Paglia talks about religion. It is electrifying to see her talk. Knowing that such a person exist, makes me feel life is worth living. See also:Modern Goddess Camille PagliaWhy I'm not a Christian

Secure Deletion, File Shredding, on Windows

Perm url with updates: http://xahlee.org/mswin/file_shredding.htmlSecure Deletion, File Shredding, on WindowsXah Lee, 2010-03-28This article tells you how to securely delete files on Windows Vista system, and current state of the art.Recently i need to delete a folder, full of my online passwords, financial info, etc. As you know, removing to trash and empty trash won't work, because the data is still on disk.Simple Method: Just Duplicate Files Till FullIn the past, when i don't have any disk management tools or don't want to use it, one way i make sure all my data on my disk are absolutely gone, is simply duplicating files until my disk is full. Start by, copying the largest file you have (such as video file). You can just keep selecting all the files in the folder and keep duplicating. After a few times, your disk will fill up. Then, you start to duplicate a small file (say, 1 mega byte file). This is to make sure that all crannies in the disk sector are also filled. W…