Posts

Showing posts from August 23, 2009

A Review Microsoft Comfort Curve Keyboard 2000

Image
Perm url with updates: http://xahlee.org/emacs/ms_keyboard/ms_comfort_curve_keyboard_2000.htmlMicrosoft Comfort Curve Keyboard 2000 ReviewXah Lee, 2009-08-24, 2010-09-16, 2010-11-03Update: this keyboard is well-known for its key failure. See below for comment and how to fix.Recently i bought the Microsoft Comfort Curve keyboard 2000.Microsoft Comfort Curve keyboard 2000. amazon This is a fantastic keyboard. If you find those split ergonomic keyboard too much, or if you prefer the laptop-style flat keys, then this is the keyboard to get.Consider the price, it's fantastically cheap. Only $18. In comparison, most full key keyboards or ergonomic ones goes from $30 to $50.This keyboard is very thin. Less than 2 cm.This keyboard is also extremely sturdy. One piece of solid plastic. (if you hold the sides of the keyboard and forcefully twist it, you can't bend it easily.)This keyboard is also light weight.Like all flat keyboards, it's basically noise-less, with quick response bec…

AutoHotKey Basics

Image
perm url with updates: http://xahlee.org/mswin/autohotkey.htmlAutoHotKey BasicsXah Lee, 2009-08-25This page is a very basic tutorial on using AutoHotKey.AutoHotKey is a keyboard macro software for Microsoft Windows. It is free and Open Source. It lets you assign any keyboard shortcuts to launch programs, type text or keys, or even mouse clicks. It has a basic scripting language.For example, you can define F5 to launch to a browser but switch to it if it's already running. You can also use it to define abbreviations, so pressing a key automatically types today's date, or your signature, or any other keypress.Download AutoHotKeyFirst, you need to download and install it, here: http://www.autohotkey.com/download/. Just run the installer to install it. AutoHotKey runs on my machine without any problem. My machine is 64 bits Windows Vista.Create And Running A ScriptTo create a AHK script, for example, save the following text into a file, and name it “test.ahk”:; launch NotepadRun N…

Google AdSense Ban on XahLee.org

Image
perm url http://xahlee.org/Periodic_dosage_dir/tr/google_adsense_ban.htmlGoogle AdSense Ban on XahLee.orgXah Lee, 2005-06, 2009-08-21From 2005 June 4 to 27, i was briefly on Google's AdSense advertisement program. The following report from them gives a glimps of XahLee.org's traffic. Saturday, June 4, 2005 - Monday, June 27, 2005 Download CSV file Totals 47,552 405 0.9% $1.09 $52.06 Date Page impressions Clicks Page CTR Page eCPM [?] Your earnings Tuesday, June 7, 2005 547 0 0.0% $0.00 $0.00 Wednesday, June 8, 2005 1,679 17 1.0% $1.03 $1.73 Thursday, June 9, 2005 2,273 31 1.4% $1.38 $3.14 Friday, June 10, 2005 2,635 29 1.1% $1.75 $4.60 Saturday, June 11, 2005 1,837 13 0.7% $1.52 $2.79 Sunday, June 12, 2005 2,427 12 0.5% $1.08 $2.63 Monday, June 13, 2005 2,859 29 1.0% $0.54 $1.55 Tuesday, Ju…

How to Increase Your Computer Operation Efficiency

perm url with updates: http://xahlee.org/mswin/keyboard_macros.htmlKeyboarding & Macros in Mac and Windows (How to Increase Your Computer Operation Efficiency)Xah Lee, 2009-05-26, 2009-08-26I'm a operation efficiency nerd. When operating a computer, you have to switch apps, click links/checkbox/buttons, invoke menus, open/close window or tab, adjust volume, change songs, switch input focus, switch fields, input/edit text, or perform pointer oriented input such as in a image editing software. (here, we are excluding other forms of input such as voice) In general, all these are inputs, done by using input systems, a combination of software and hardware. Typically, the hardware is just keyboard and mouse (or touchpad or trackball). The software part is the interfaces used in the OS and various apps.Operation efficiency means you are able to achieve a input task with the least number of units of physical exertion, basically means less keystrokes, less mouse travel, and most impor…

Torture News

News: CIA memo details procedures for breaking detainees (2009-08-26) (Reuters) Source. Quote:WASHINGTON, Aug 26 (Reuters) - Sleep deprivation, “insult slaps”, water dousing and “walling”, or slamming a detainee's head against a wall, were techniques used by CIA interrogators to break high-value detainees, according to an agency memo.News, “AP sources: Report shows CIA interrogation methods” at Source. Quote:AP sources: Report shows CIA interrogation methodsBy PAMELA HESS (AP)WASHINGTON — As the Justice Department considers whether to investigate alleged harsh interrogation practices sanctioned by the Bush administration, sources say a soon-to-be-released report by the CIA's inspector general reveals that agency interrogators conducted mock executions of terror suspects.These latest allegations are contained in a 2004 report that has been kept secret and is to be released next week, two congressional officials told The Associated Press. They spoke late Friday on condition of a…

working with tables data in emacs

Image
perm url with updates: http://xahlee.org/emacs/emacs_table.htmlWorking With Tables In EmacsXah Lee, 2009-08-20This page is a tutorial, showing how use emacs's table feature, to create or manipulate tabular data. You can export this table to HTML or LaTex formats.The advantage of using emacs table feature is that you can visually add/delete columns and rows, then export it to HTML or LaTex.Note that this feature is not very robust. If your table data is just few rows and columns, with simple text or numbers, then emacs table feature is very useful. But if you work with importing/exporting actual spread sheets or address books, emacs table feature does not handle it well.Creating A TableCreating A New Empty TableTo create a table, type “Alt+x table-insert”.It'll ask you these questions: Number of columns Number of rows Cell width Cell height You can just press Enter key to accept the default. You can change the values for each later. The result will look like this: +-----+-----+…

a new feature in emacs 23

perm url: http://xahlee.org/emacs/modernization_find_replace_multi.htmlEmacs Suggestion: dired-do-query-replace-regex Replace ALLXah Lee, 2008-05[Note: The following is a suggestion sent to FSF official emacs bug channel, on 2008-05-17, as bug 267. This suggestion is implemented in emacs 23.1, released on 2009-07. See New Features in Emacs 23.]Emacs suggestion:when in dired mode in the processing of doing dired-do-query-replace- regexp (shortcut Q), it offers the ability to do replacement without asking on the current file, by pressing the ! key, but it would be nice to have:(1) the ability to do ALL replacements on ALL files without further asking.(2) the ability to not do any replacement on the current file.I use dired-do-query-replace-regexp few times a week, typically on tens of files, but maybe once in a month i do it over hundreds or thousands of files on a website.Often, after some replacement, it becomes obvious that it is safe to do ALL replacement for ALL files. When this is…

tidbits

Image
tidbits. More Second Life screenshots: Second Life Futuristic Cities. (virtual world; tech) Update: Exotic Architectures in Second Life. (virtual world; tech)A amputee furry. Added to: the Glorification of Female with Limblessness. “Mathematica Notation: Past and Future” (2000-10-20), by Stephen Wolfram, at http://www.stephenwolfram.com/publications/recent/mathml/index.html.For some commentary, see bottom of: The TeX Pestilence.Looking for a day job now. Xah Lee's Resume 2009.

emacs unicode on the Mac

Image
perm url with updates: http://xahlee.org/UnixResource_dir/writ/mac_emacs_unicode.htmlUnicode: Carbon Emacs 22 vs Emacs 23Xah Lee, 2009-08-15Emacs 23 has just been released last month. One major news is that emacs now uses unicode utf-8 as its char representation internally (as opposed to a hacked up internal encoding used previously). This is a major improvement in unicode support. Also, Carbon has been deprecated in emacs CVS, supplanted by the Cocoa branch.However, on my old Mac, it seems the Carbon Emacs is quite superior from common user perception.Carbon Emacs 22 (left) and Emacs 23 on Mac (right). The left is “GNU Emacs 22.2.1 (powerpc-apple-darwin8.11.0, Carbon Version 1.6.0) of 2008-04-05 on g5.tokyo.stp.isas.jaxa.jp”.The right is: “GNU Emacs 23.1.1 (powerpc-apple-darwin8.11.0, NS apple-appkit-824.48) of 2009-08-04 on xahg5.local”.My Mac is 1.9 GHz PowerPC G5, running Mac OS X 10.4.11. The machine is about 4 years old, it is the last Mac with PowerPC. The OS is also one major v…