Xah Programing Blog Archive 2013-05
updated. Linux: Xfce Keyboard Shortcuts
updated. Linux: Command to Shutdown / Restart / Sleep
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 is the Most Efficient Keyboard Layout?
new page. Why Z X C V Keys for Undo Cut Copy Paste Are Bad
Two more new keyboard layouts: Minimak and Norman. See: Ergonomic Keyboard Layouts
Linux: Where is the Trash Location
Graphical User Interface vs Command Line, a Unified Design
How to Stop Xfce from Loading Last Session
Linux: Swap Control and Alt Keys
Laser Mouse is Inferior for Gaming?
Watch this. Free spin for 28 seconds. Logitech Mouse with Spin Wheel
major update again. keyboard design. Xah's X No Chord Keyboard
Linux: Annoying Postfix Install Popup
Computer Languages Characters Frequency
new. Mouse Reviews 🖱
Git: Frequently Asked Questions
- https://youtu.be/tkjm1xSF4g0
- 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
Coding Style: Python Dictionary as Switch Statement (2013)
lots pictures now. Xah Keyboard Guide
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 2: Walk Directory, List Files and Perl: Traverse Directory
uploaded several of my file utils in perl to github. https://github.com/xahlee/xahscripts/tree/master/file_util
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
Syntax Design: Irregularity vs Convenience (2013)
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:
- Keyboard Master: One Thousand Function Keys
- Why Function Keys F1 to F12 Are Useful
- Keyboard Shortcut vs Launch Buttons
- Emacs: One Thousand Default Keybinding
thx to David Rogoff
inspired from emacs lisp doc. Logic Writing Style: the Incongruousness of the Word “Actually”
updated. Perl, Python: Regex Example
on its own page. Tech Writing and Unix Humor (2012)
the Happy Hacking Keyboard, model “professional 2”, don't even have arrow keys. Happy Hacking Keyboard (HHKB)
found a Chinese site with tons of photos on KBC Poker keyboard. See links at: KBC Poker Keyboard, Ducky Keyboard (thx to [ cloudsben ] https://x.com/cloudsben)
swapping keys.
- AutoHotkey: Swap CapsLock Alt Ctrl Keys
- Linux: Swap Control Alt Keys
- Mac: Swap CapsLock Control Option Command Keys
Linux Shell Util uniq Unicode Bug
updated. Unicode: Full-Width Characters
updated. Unicode: box drawing shapes ╔╦═╗
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 Regex in Dir
for a Perl version: Perl: Find Replace Text 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 Flaw: Lisp Mode Syntax Coloring
Why you need to swap middle/right mouse buttons, and how. AutoHotkey: Swap Mouse Middle Button and Right Button
Emacs: new major modes for HTML, CSS, PHP, ELISP, and Lean Emacs LISP Manual
Vote which one you want me to work on. Tell your friends please.
http://pledgie.com/campaigns/19973
CM Storm Recon Mouse
Logitech G300s Gaming Mouse