Posts

Showing posts from May 8, 2011

Zoom button, Dedicated Keys

Perm url with updates: http://xahlee.org/kbd/zoom_button_in_keyboard.htmlKeyboard Evolution: Zoom Button, Dedicated KeysXah Lee, 2011-05-12Seems odd that zoom seems important today. For example, many keyboards have a dedicated zoom button. e.g. Microsoft Natural Ergonomic Keyboard 4000Logitech Wave Keyboard. Also, Microsoft's 5 button mouses by default have the 5th button to toggle a mangnify window. On Apple computers, holding down Ctrl while scroll mouse wheel will zoom the whole screen.Typically, in a browser or most apps, 【Ctrl++】 does zoom-in and 【Ctrl+-】 does zoom-out. Or, hold down Ctrl and scroll mouse wheel. These also works in Gimp and Inkscape. In apps where zoom is more frequently needed and page scroll is not needed, such as 3D apps (e.g. Second Life, Blender, Google Earth), mouse wheel itself does zoom. (See: Google Earth Mouse Navigation and KeysSecond Life Keyboard Shortcuts Cheatsheet.)For average computer user, web browser is probably the app they spend 90%…

all ways to insert special symbols in emacs

All Ways to Insert Special Symbols in EmacsThanks to Uriel Frisch for $15 for purchasing my emacs tutorial. (See: donation.) Uriel asked about how to enter accented letters with emacs. Here's some relevant articles.On mac, you can enter accented letter with the Option key. See: Mac OS X Keyboard Viewer and Unicode. You can also change a config file so the keys type any unicode you want. See: Creating Keyboard Layout in Mac OS X. The above solutions are system-wide for the Mac.For Windows, there's AutoHotkey and some other tools. See: Windows Programing: AutoHotkey TutorialKeyboard Layout & Key Macro tools for Windows.For within emacs, here are also several solutions. Emacs support entering common accented letter and symbols by default. See: Emacs and Unicode Tips. Again, you can also create your custome keys to enter any unicode symbol. If you want custome symbols or keys, see:Using Emacs's Abbrev Mode for Inserting Special SymbolsHow to Create a APL or Math Symbols Key…

Portishead - Glory Box

Image
Perm url with updates: http://xahlee.org/music/glory_box.htmlPortishead - Glory BoxXah Lee, 2011-05-11Another masochistic wail of lovelorn female — Glory Box by Portishead. I'm so tired of playing Playing with this bow and arrow Gonna give my heart away Leave it to the other girls to play For I've been a temptress too long Just... Give me a reason to love you Give me a reason to be a woman I just wanna be a woman From this time, unchained We're all looking at a different picture Through this new frame of mind A thousand flowers could bloom Move over and give us some room ... So don't you stop being a man Just take a little look from outside when you can Show a little tenderness No matter if you cry ... For this is the beginning of forever and ever It's time to move overVideo is made by Jonu, music is Glory Box from Portishead's original recording. amazon“Portishead - Glory Box (Live at Roseland NYC)” Portishead - Glory Box, live performance. Portishead - …

the usefulness of wishful-thinking as a programer

Today, when starting cygwin bash, i get: 2 [main] bash 6324 exception::handle: Exception: STATUS_ACCESS_VIOLATION 527 [main] bash 6324 open_stackdumpfile: Dumping stack trace to bash.exe.sta ckdump 4 [main] bash 6348 exception::handle: Exception: STATUS_ACCESS_VIOLATION 435 [main] bash 6348 open_stackdumpfile: Dumping stack trace to bash.exe.sta ckdump 3 [main] bash 6432 exception::handle: Exception: STATUS_ACCESS_VIOLATION 658 [main] bash 6432 open_stackdumpfile: Dumping stack trace to bash.exe.sta ckdump 84 [main] bash 6968 exception::handle: Exception: STATUS_ACCESS_VIOLATION 987 [main] bash 6968 open_stackdumpfile: Dumping stack trace to bash.exe.sta ckdump 2 [main] bash 7028 exception::handle: Exception: STATUS_ACCESS_VIOLATION 656 [main] bash 7028 open_stackdumpfile: Dumping stack trace to bash.exe.sta ckdump 3 [main] bash 6936 exception::handle: Exception: STATUS_ACCESS_VIOLATION 814 [main] bash 6936 open_stackdumpfile:…

Incredible Beauty: Erika Marozsán in Gloomy Sunday

Image
Perm url with updates: http://xahlee.org/arts/Erika_Marozsan_Gloomy_Sunday.htmlIncredible Beauty: Erika Marozsán in Gloomy SundayXah Lee, 2011-05-10Discovered this incredible beauty: Erika Marozsán (b1972).“Gloomy Sunday - Original, Hungarian Version”. Erika Marozsán in the movie Gloomy Sunday (1999) (aka “Ein Lied von Liebe und Tod”, “Szomorú Vasárnap”). amazonThe song she sings is Gloomy Sunday. (1933)“Gloomy Sunday” is a song composed by Hungarian pianist and composer Rezső Seress in 1933, as Vége a világnak (End of the world), with alternate Szomorú vasárnap (Hungarian pronunciation: [ˈsomoruː ˈvɒʃaːrnɒp]) (Sad Sunday) lyrics written by László Jávor. The original lyrics depicted a war-stricken Hungary and a silent prayer to God. Jávor's lyrics are a mourning to a lost lover and a pledge to commit suicide to meet said lover again in the afterlife.The song has been sung by several singers. I first heard of it by Sarah Brightman in around 2000.“Sinead O'Connor - Gloomy Sunday…

Portishead - The Rip

Image
Perm url with updates: http://xahlee.org/music/the_rip.htmlPortishead - The Rip & RoadsXah Lee, 2011-05-09Portishead - The RipThe Rip (2008), is a song from Portishead of their album “Third”. A fantastic song.The song is written by band members Geoff Barrow, Beth Gibbons, Adrian Utley. Beth is the singer. As she walks in the room Scented and tall Hesitating once more And as I take on myself And the bitterness I felt I realise that love flows Wild, white horses They will take me away And the tenderness I feel Will send the dark underneath Will I follow? Through the glory of life I will scatter on the floor Disappointed and sore And in my thoughts I have bled For the riddles I've been fed Another lie moves over “Portishead - The Rip” amazon Mull over the lyrics. The song, as i discovered this week with Sleeves Rhode, has personal meanings.So, i was chatting with Sleeves, a girl i imagined to be my love, who is unwilling or unable. We've kinda dated, spent about 4 hours or so da…

Use of Unicode Matching Brackets as Specialized Delimiters

Perm url with updates: http://xahlee.org/comp/unicode_brackets_use.htmlSyntax Design: Use of Unicode Matching Brackets as Specialized DelimitersXah Lee, 2011-05-08In my tech blogs, often i give instructions involving the graphical menu. For example, i'd say: it's at the menu “File▸Open”. Today i decided to use a special delimiter to indicate menu. The delimiter is the unicode 〖WHITE LENTICULAR BRACKET〗. So, the menu would be written as 〖File▸Open〗. I just spend a couple hours changing all mentions of menu on my site to use the new delimiter.Here's a summary of my usage of special unicode brackets:ANGLE BRACKET. Article title. e.g. 〈Xah's Emacs Lisp Tutorial〉.DOUBLE ANGLE BRACKET. Book title. e.g. 《Basic Economics》.BLACK LENTICULAR BRACKET. Key combinations. e.g. 【Ctrl+c】.WHITE LENTICULAR BRACKET. Menu. e.g. 〖File▸Open〗.TORTOISE SHELL BRACKET. File names, path, url. e.g. 〔~/Documents/notes.txt〕.CORNER BRACKET. Computer code, or math expression. e.g. 「x = 3;」.ANGLE QUOTA…