Posts

Showing posts from June 6, 2010

turn off underline for hyperlinks

Perm url with updates: http://xahlee.org/js/hyperlinks_and_underline.htmlHyperlinks and UnderlineXah Lee, 2010-06-14Today, i decided to change the css on my site so that links are not underlined.I'm in the old school of thought that interface should be simple, and not change much. The default rendering of hyperlink with underline is established tradition since the first web browser in the early 1990s. It gives user a consistent recognition of links, everywhere.Though, the underline rendering got problems. When many words are hyperlinks in a sentence, underline makes them less readable and obtrusive. As i write more and more and create more and more links, i become more aware of this problem.After surveying 20 other popular websites, i find that they all do not use underline. Examples are: apple msn yahoo youtube amazon wikipedia time times npr... In fact, it would be hard to find a site that still use underline for links. (there are few exceptions. Typically, pages with simple lay…

keyboard geeking

Perm url with updates: http://xahlee.org/comp/blog.htmlSpent about 8 hours in the past 2 days keyboard geeking again. Reworked several of my articles on keyboards, recheck links, read a bunch more reviews and history, watched many videos, thinking about the design, etc. Ah, the joy of keyboard geeking. I'm probably among the top 100 keyboard freaks in the world.Many articles now has a independent page, separated from large articles. They are:Keyboard Shortcut DesignApple KeyboardsKinesis Contoured KeyboardThe overall index of all keyboard related articles is at: All About Keyboards, Keyboard Layouts, Shortcuts, Macros.

The Last Kind Word Blues (Geeshie Wiley)

Perm url with updates: http://xahlee.org/Periodic_dosage_dir/sanga_pemci/the_last_kind_word_blues_Geeshie_Wiley.htmlThe Last Kind Word Blues (Geeshie Wiley)Xah Lee, 2010-06-12“Last Kind Word Blues” (1930) by Geeshie Wiley. What a incredibly beautiful song. The song makes me cry. Title: Last Kind Word Blues Singer: Geeshie Wiley Lyrics: ? Music: ? Date: 1930 (lyrics below not complete or fully correct) The last kind word I heard my daddy say Lord the last kind word I heard my daddy say If I die, if I die in the German War I want you to send my body, send it to my mother-in-law If I get killed, if I get killed, please don't bury my soul I (p'fer) just leave me out, let the buzzards eat me whole When you see me comin', look 'cross the rich man's field If I don't bring you flour, I'll bring you bolted meal I went to the depot, I looked up at the sign Cry some train don't come, there'll be some walkin' done My momma told me, just before s…

need Mac contributors for ErgoEmacs

a call for Mac contributors for ErgoEmacs.Hi all, we need contributor to build a mac binary of ErgoEmacs that runs out of the box on the Mac.Just now, i made some comments in one of our bug: http://code.google.com/p/ergoemacs/issues/detail?id=71which lead me to think about building a binary version of ErgoEmacs for the Mac.However, my mac is PPC based that's 4 years old and is no longer supported hardware by Apple, and the OS X it's running is 10.4, also 2 versions behind the current. So, dev on the mac for me is becoming a problem.However, my mac is running the full ErgoEmac package daily. So, there shouldn't be any problem running ErgoEmacs on the mac.if you are on a mac, and is familiar with some elisp, we'd appreciate your help!thanks. Xah ∑ http://xahlee.org/

The Idiocy of Hacker Keyboards

Image
Perm url with updates: http://xahlee.org/emacs/keyboards_hacker_idiocy.htmlThe Idiocy of Hacker KeyboardsXah Lee, 2010-06-12This page is a review on several often talked about computer keyboards among programers.Spend few hours keyboard geeking again.Das KeyboardThe Das Keyboard. image source The Das Keyboard. Famous for being a keyboard with no key labels.Good as a novelty, nothing else.How much to pay to impress friends? $129!How did this keyboard came about? According to the official site daskeyboard.com, the programer and company founder Daniel Guermeur, wanted to learn touch typing. The first thing is to get rid of the key labels, and the rest is history. Quote:In 2005, in a personal quest to improve his own typing speed and accuracy, Metadot Corporation founder and self-proclaimed “Uber Geek” Daniel Guermeur asked to have a totally blank keyboard created. To his surprise, his typing speed doubled after just a few weeks of use.As many friends and colleagues who tested the keyboard…

Emacs Why line-move-visual

Perm url with updates: http://xahlee.org/emacs/emacs_line_move_visual.htmlEmacs Why line-move-visualXah Lee, 2010-06-09This page discuess a new feature in emacs 23.1, that pressing down the arrow key moves cursor by a visual line, not by EOL (end of line character), controlled by the variable line-move-visual.Mark Crispin, inventor of the IMAP protocol (email), one of the earliest user of emacs (before Richard Stallman), posted a message on newsgroup comp.emacs, aggresively attacking a emacs 23.1 change about how the key C-n or arrow keys move lines. The thread is here: groups.google.com/group/comp.emacs.In his opinion, emacs should not change this fundamental behavior. Here are some of my responses in the thread, summarizing why i think it is a good change.Problem of longline-modeOn Jun 4, 6:39 am, brendan.hal...@ul.ie (Brendan Halpin) wrote:Attempted thread-jack: why use visual-line-mode instead of longlines-mode?longlines-mode has serious bugs, i believe still so even i haven't…

LSL Problems: llEdgeOfWorld()

Perm url with updates: http://xahlee.org/sl/lsl_llEdgeOfWorld.htmlLSL Problems: llEdgeOfWorld()Get your Xah Particle Maker today! Xah Lee, 2010-06-09This page documents a bad design in LSL.Another major LSL idiocy.There's a LSL function llEdgeOfWorld. Used to detect if if you are near a sim edge. Here's a quote from The official documentation at Source:integer llEdgeOfWorld( vector pos, vector dir );Checks to see whether the border hit by dir from pos is the edge of the world (has no neighboring simulator)Returns an integer that is a boolean.Here's documentation from lslwiki.net, more precise, but same. Quote:Returns TRUE if the line along the direction dir from the position pos hits the edge of the world in the current simulator. Returns FALSE if that line crosses into another simulator.Simple enough. So, you think you can use this function, that if there's a neighboring sim, it returns true, else it returns false. WRONG!For example, in followingllEdgeOfWorld( <1…

Emacs nxml-mode Fontification Changes

Perm url with updates: http://xahlee.org/emacs/emacs_23.2_nxml_fontification_changes.htmlEmacs nxml-mode Fontification ChangesXah Lee, 2010-06-06Apparently, the fontification in nxml-mode changed in emacs 23.2 from 23.1.In emacs 23.1, all tag names have font “function-name”, and attributes have “variable-name.”In emacs 23.2, the fontification is more complex. Most tag names have the font property of “nxml-element-local-name”. Attributes have “nxml-attribute-local-name”. Attribute values has “nxml-attribute-value”. Double quotes has “nxml-attribute-value-delimiter”. The slash in “/>” is “nxml-tag-slash”. Angle brackets are “nxml-tag-delimiter”. Normally you wouldn't notice this, but you would if you regularly use htmlize to turn a buffer into html code. Then, you'll see that that each font name gets turned into a span tag, and the 23.2's version is much more verbose. Here's a example. Suppose you have this xml code:<entry><title>Tarsier</title><i…

All About Processing Lines in Emacs Lisp

Perm url with updates: http://xahlee.org/emacs/elisp_all_about_lines.htmlAll About Processing Lines in Emacs LispXah Lee, 2010-06-08This page discuss issues about which emacs lisp functions to use for processing lines. e.g. move cursor to to end of line, to next line, grabbing the current line, etc. If you don't know elisp, first take a look at Emacs Lisp Basics.In emacs, there are lots of ways to move or grab lines. In particular, in the first few years of my elisp experience, i find it confusing. Here are some functions or variables that are related to lines: line-beginning-position line-end-position move-beginning-of-line move-end-of-line forward-line next-line previous-line (search-forward "\n") (search-backward "\n") (thing-at-point 'line) line-move-visual Do you know the differences? Also, there are issues such as:Is a line defined by End Of Line (EOL) char or screen line?When grabbing a line, does it includes the EOL?What happens if the line is at en…

PIMP (rap song) music video by 50 cent

Image
Perm url with updates: http://xahlee.org/Periodic_dosage_dir/sanga_pemci/pimp_50_cent.htmlP.I.M.P. (rap song) by 50 Cent Xah Lee, 2010-06-07P.I.M.P. (2003), a rap song by 50 cent.This is a mastery of rap lyrics. It tells a story of pimping in a pimping style.「• perms = “Incapacitation due to excessive alcohol consumption and/or use of controlled substances.” Source 」 I don't know what you heard about me But a bitch can't get a dollar out of me No Cadillac, no perms, you can't see That I'm a motherfucking P I M P 「• Dolce & Gabana = These refer to luxury brands. See: Gucci, Fendi, Prada, BCBG, Burberry, Dolce & Gabbana. The BCBG may be French for bon chic bon genre, meaning “good style, good class”. 」 「• G = Gold?」 「• Ramada = A hotel chain. Ramada」 Now shorty, she in the club, she dancing for dollars She got a thing for that Gucci, that Fendi, that Prada That BCBG, Burberry, Dolce & Gabana She feed them fools fantasies, they pay her cause they wanna I spit a…

ErgoEmacs 1.8.1 for Windows is out

Perm url with updates: http://xahlee.org/emacs/blog.htmlErgoEmacs 1.8.1 for Windows is out! This one is based on the shiny new Emacs 23.2. (See: Emacs 23.2 Features.) Check it out! Download at: googlecode.com ErgoEmacs 1.8.1 Setup.exe. (Thanks to David Capello for the C coding on Windows.)