Xah's Programing Blog Archive 2013-05

updated. Linux: Xfce Keybinding ⌨

updated. Linux: Command Line to {Shutdown, Restart, Sleep, Hibernate}

Linux LXDE Keybinding ⌨

Linux: AutoScroll on Google Chrome Browser

WARNING: rant curve ahead. the Myth of 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 Keybinding ⌨

updated. What's the Most Efficient Keyboard Layout? Dvorak vs Colemak?

new page. Keyboard: Why Undo Cut Keys Wreck Your Hand

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?

Cooler Master Recon mouse-x1
Cooler Master Storm Recon Mouse. amazon

more mouse design analysis. Cooler Master Storm Recon Mouse

logitech g300 mouse 2
“Logitech G300 Gaming Mouse” amazon

Logitech G300 Gaming Mouse

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

Logitech G600 mouse 2
“Logitech G600 MMO Gaming Mouse” amazon

Why You Need a 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. Computer Mouse, Trackball, Input Devices

keyboard design. updated. ErgoEmacs Keyboard

for keyboard freaks. updated. Vintage Ergonomic Keyboards

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

How to set git output non-interactive?

use git --no-pager … or pipe it to “cat”.

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

Programing Craft: Intention vs Coolness

lots pictures now. Computer Keyboards, 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: General Function for Sorting 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 Heart ♥ Keyboard, Butterfly Keyboard, Cat 😸 Keyboard, Star Trek Keyboard ⌨. 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 3: Sort List, Matrix, Object

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.

Unix Shell Util uniq Unicode Bug

updated. Unicode Full-Width Characters

updated. Unicode: Drawing Lines, Boxes, Shapes ┌ ┐ └ ┘ ├ ┤ ┬ ┴ ┼

Functional Programing Meta Language (ML) in Emacs Lisp!

Writing grep/sed in Python, Perl, Emacs Lisp

also updated. Python: Find/Replace by Regex Text Pattern

for a Perl version: Perl: Find/Replace on Multiple Files

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. 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

blog comments powered by Disqus