Xah Programing Blog 2013-05

updated. Linux: Xfce Keyboard Shortcuts

updated. Linux: Command to Shutdown / Restart / Sleep

Linux: LXDE Keybinding

Linux: AutoScroll on Google Chrome Browser

Myth of QWERTY vs Dvorak Layout

Tip: In xfce, you can hover your mouse over the taskbar, then scroll mouse wheel to switch among windows. See also: Linux: Xfce Keyboard Shortcuts

updated. What's the Most Efficient Keyboard Layout?

new page. Why Undo Cut Shortcut Keys Are Bad?

Two more new keyboard layouts: Minimak and Norman. See: Keyboard Layouts Fight! Dvorak, Maltron, Colemak, NEO, Bépo, Turkish-F, …

Linux: Where is the Trash Location

GUI vs Command Line: a Unified Design

Ruby RVM Complexity

Ruby: RVM Directory Structure

How to Install Ruby RVM

How to Stop Xfce from Loading Last Session

Linux: How to Swap Mouse Buttons

Linux: Swap Control and Alt Keys

Laser Mouse is Inferior for Gaming?

CM Recon mouse 2015 556
CM Storm Recon Mouse.

CM Storm Recon Mouse Review

logitech g300s mouse 2-s237x264
Logitech G300s Gaming Mouse

Watch this. Free spin for 28 seconds. Logitech Mouse with Spin Wheel

Logitech G600 mouse 2
Logitech G600 MMO Gaming Mouse

Why You Need 9 Buttons Mouse?

major update again. keyboard design. ErgoEmacs Keyboard

Linux: Annoying Postfix Install Popup

Linux: View Directory as Tree

Computer Language Character Distribution

new. Mouse Reviews

keyboard design. updated. ErgoEmacs Keyboard

some intermediate git tips, on its own page: git Frequently Asked Questions

How to set git output non-interactive?

use git --no-pager …

git log | cat

How to make git display date in ISO format?

Use --date=iso.

git log --date=iso

See also: git Tutorial

video review of the Truly Ergonomic keyboard. More info at Truly Ergonomic Computer Keyboard Review

Note: for those of you who know me, i got the keyboards free, but my opinion isn't bought, judge for yourself.

video. how i write blogs in emacs http://xahlee.blogspot.com/2013/05/emacs-how-i-write-blogs.html

Hashtable as Switch Statement

lots pictures now. Keyboard: Layouts, Hotkeys, Macros, RSI ⌨

Been using the Truly Ergonomic keyboard for 5 months now. Added my experience here at bottom: Truly Ergonomic Computer Keyboard Review.

updated. Linux: Set Bash Shell Prompt to Color

updated. Python: Traverse Directory and Perl: Traverse Directory

uploaded several of my file utils in perl to github. https://github.com/xahlee/xahscripts/tree/master/file_util

Perl: Sort Matrix

wrote that in 1999, and used it in production back then. In 2006, i wrote a Python version but was incorrect. Going to write a Python version again.

Ruby, JavaScript, versions welcome.

there's a fantastic heart-shaped keyboard. If you haven't seen it already, see at Misc DIY Keyboards. The guy plans to manufacture it. To keep updated for news, watch his website at http://launch.keyboard.io/

Perl: Sort List, Matrix, Object

Syntax = Most Important Aspect of a Programing Language

the quality of a programing language, can be judged by how much of it can be explained by its syntax alone.

with this criterion, the order are roughly: Mathematica ≻ PHP ≻ Lisp ≻ JavaScript ≻ Ruby? ≻ Perl ≻ Python ≻ Java.

this is also the most important criterion in judging a language.

If you have coded one of {Haskell, ML/OCaml/F#, erlang, Scala, Pascal/Ada, Lua, tcl, APL, SmallTalk, PostScript}, i'd be interested in your opinion on their placement in the above. (you should have coded in the lang for a few years)

new. Python: Sort

Programing Language Design: Syntax Sugar Problem: Irregularity vs Convenience

One Thousand Function Keys, Redux

A new function keys keyboard manufacture. See: http://www.access-is.com/custom_keyboards.php

that's nice if you are the master of function keys. See also:

thx to David Rogoff

inspired from emacs lisp doc. Logic Writing Style: the Incongruousness of the Word “Actually”

How to Convert HTML to PDF

updated. Perl, Python: Regex Example

on its own page. Tech Writing and Unix Humor

the Happy Hacking Keyboard, model “professional 2”, don't even have arrow keys. The Idiocy of Happy Hacking Keyboard

found a Chinese site with tons of photos on KBC Poker keyboard. See links at: KBC Poker Keyboard, Ducky Keyboard (thx to cloudsben)

swapping keys.

Linux Shell Util uniq Unicode Bug

updated. Unicode Full-Width Characters

updated. Unicode Box Lines ┌ Blocks ▓

Functional Programing Meta Language (ML) in Emacs Lisp! http://xahlee.blogspot.com/2013/05/functional-programing-meta-language-ml.html

Writing grep/sed in Python, Perl, Emacs Lisp

also updated. Python: Find/Replace by Regex

for a Perl version: Perl: Find Replace String Pairs in Directory

emacs lisp version: How to Write grep in Emacs Lisp

want color diff?

Linux: Comparing Files and Dir: diff

updated. Python: Find/Replace Strings on Multiple Files

updated. Emacs Lisp Mode Syntax Coloring Problem

updated. discovered big chunck of code in emacs lisp using math symbols as function/variable names. Programing Style: Variable Naming: English Words Considered Harmful

Why you need to swap middle/right mouse buttons, and how. Windows: How to swap Mouse Buttons: Right-Click, Middle-Click

Emacs: new major modes for HTML, CSS, PHP, ELISP, and Lean Emacs LISP Manual

Emacs: project proposal.

Vote which one you want me to work on. Tell your friends please. http://pledgie.com/campaigns/19973

If you have a question, put $5 at patreon and message me.