Xah Programing Blog Archive 2014-10

am going to stop blogging for the next 4 days. Start again on next Monday,

in bash, Ctrl+u = delete to beginning of line. Linux: Bash/Terminal Keys (updated)

Which Programing Language Has Best Documentation?

How Are Books Made in 1950? Video of Linotype Machine in Action

Clojure Leiningen Crap

What is Apache Ant, Apache Maven, What's the Difference?

Java Doc Idiocy: -cp -classpath Not in Man Page

see also programing documentation idiocy collection

Best Unicode Fonts for Programer (updated)

How Much You'll Get for Writing a Programing Book?

Xah Java Logo (updated)

read this, and you'll understand OOP deeper than ever. OOP's Jargons and Complexities

wee, now i have java installed. haven't had that banana for a decade. Java Tutorial

major update of the index page. Hacker Cult

Facebook Founder Mark Zuckerberg Speak Chinese πŸ“Ί

most popular pages on xahlee.info

  1. JavaScript: Get Elements by ID, Tag, Name, Class, CSS Selector
  2. Unicode Arrows β†’
  3. The Idiocy of Happy Hacking Keyboard
  4. JavaScript Tutorial: Understand JavaScript in Depth
  5. CSS: Line Wrap Tutorial
  6. Python: Read/Write to JSON
  7. Python: File Path Manipulation
  8. Keyboard Symbols ⌘ ↩ ⌫
  9. Unicode: Brackets, Quotes Β«Β»γ€Œγ€γ€γ€‘γ€Šγ€‹
  10. Truly Ergonomic Keyboard
  11. Keyboard: Layouts, Hotkeys, Macros, RSI ⌨
  12. Visual Dictionary of Special Plane Curves
  13. Keyboards without Numeric Keypad
  14. Ergonomic Keyboard Layouts
  15. Useful AutoHotkey Scripts
  16. βˆ‘ Xah Code
  17. Why LD_LIBRARY_PATH is bad
  18. List of HTML Self-Closing Tags
  19. Evolution of Laptop Keyboard
  20. Emoticons on Social Network: Facebook, Twitter, Sina Weibo
  21. HTML Framset Tutorial
  22. JavaScript: Change CSS
  23. HTML Frameset Index
  24. Unicode Search πŸ”Ž
  25. Difference Between Apple and PC keyboards
  26. HTML Frameset References
  27. HTML: Split Windows; Frameset
  28. Geometry: Gallery of Surfaces
  29. Java Tutorial: The β€œextends” Keyword
  30. OCaml Tutorial by Example
  31. Best Ergonomic Keyboards, Xah Pick
  32. Apple Keyboard Problems
  33. Microsoft Natural Ergonomic Keyboard 4000 Review
  34. AutoHotkey Key Syntax
  35. Pure CSS Table
  36. Mac OS X Resource Fork Tips
  37. Equiangular Spiral
  38. Keyboard Key Switch Mechanisms
  39. HTML: Split Windows; Frameset
  40. JavaScript Floating Box Following Scroll
  41. Unicode Emoji πŸ˜„
  42. HTML: Split Windows; Frameset
  43. Java Tutorial: The Power Function
  44. Ergodox Keyboard Review
  45. PowerShell: Set Environment Variable
  46. Xah Programing Blog
  47. Python: Make System Call
  48. Great software for Tilings, Patterns, Symmetry
  49. Visual CSS

What is Lisp-1, What's Lisp-2? Bad Jargon or Good Jargon?

Linux Shell Util uniq Unicode Bug

this is one of the most popular article on my site. Why LD_LIBRARY_PATH is bad

Esrille keyboard M-system keyboard 2014-10-21

if a programing language doc or tutorial starts with a eloquently written tale or intro, throw it in the trash bin immediately.

Truly Ergonomic Keyboard: new models

Truly Ergonomic Computer Keyboard-227 2014-10-20
Truly Ergonomic Keyboard

there's new model of the Truly Ergonomic Keyboard

they are switching from Cherry MX switch to Kailh keyboard switch. Kailh keyboard switch is just Cherry MX clones, made by a company in China. see http://deskthority.net/wiki/Kaihua_PG1511_series. I'm guessing it's not that much different from CHERRY MX.

looks like quite a few keyboards are using the Kailh switch. Supposedly, the Cherry MX has supply problems.

they also have some other minor changes. The Shift key is now in conventional position. Ctrl is now at conventional keyboard's CapsLock position. vim and emacs hackers overjoy! The HYPHEN-MINUS - and LOW LINE _ key are now in the middle, replacing the Tab there. The Tab is moved to the upper left corner. And upper right corner has a duplicated Backspace ⌫ key.

Overall, the key layout changes are now more conventional. People really don't wantto change habit. The new layout makes it easier for people to adopt.

JavaScript Array Speed vs C Array

theory of the century from C hackers: 1+1 is faster in machine code than any language.

just had a relevation. call-by-reference and lazy-evaluation can be thought as the same thing. The value is determined when needed. #python #java #haskell

What is immutable, what's mutable? If i didn't change it, it is immutable, else its mutable. Anything else, is idiocies of the hacker type. Programing Language Syntax Soup #lisp #python #haskell

Python: Format String

is Python more clean or Ruby? These two comparison tells: Python: Complex Numbers vs Ruby: Complex Numbers

when you write a opinion piece, if it's not full of color, it's no good.

Paul Graham's ideal language is a lang that's hackable (and he created arc lisp). Actually, the ideal is unhackable lang. Every time you hack, you get a shock. Paul Graham's Infatuation with the Concept of Hacker

oldie goodie State of Theorem Proving Systems 2008

How to Calibrate Monitor Color

Xah's Display, 2014

rule of conduct of a 4chan philosopher

computer language: mixed list and hashtable

these days, some lang has array/list and hashtable mixed into one. It is popularized by php.

php started that way probably due to a hack. The lang doesn't have arrays, but what it calls array is a mix of hashtable. When used like array, the keys are automatically filled with 0, 1, 2, etc. [see PHP: Array Basics]

JavaScript is a different story, but also hack and incompetence. It did NOT intent to have mixed array/hashtable, but rather, in order to be simple, it's array is implemented as hashtable (which is its object), so it pretent to be array. [see JavaScript: Understanding JavaScript Array].

nobody liked these, because they are even less than a design decision. The JavaScript here is simply fk'd up.

though, i heard lua is also mixed array/hashtable. Anyone know if it's really good?

The Overflow of StackOverflow

read and weep. Should Array Index Start at 0 or 1?

glorious photos of the DEC VT100 Terminal

Linux: Set Key Repeat Rate by Command

Linux: xmodmap Tutorial (updated)

Kinesis Advantage2 Keyboard (updated the layout diagram)

Closure in Python and JavaScript

from function point of view, closure is function with state, therefore, equivalent to using global variables.

Semicolon vs Apostrophe Frequency in Computer Languages (minor update)

Plants Emoji 🌹

Love Emoji πŸ’‹

Backspace Key: Key Label's Influence on Key Purpose (minor update)

Mathematica pattern matching
Mathematica pattern matching

Intro to Wolfram Language Pattern Matching for Lisp Programers (updated)

Unicode Sex Symbols β™‚ ♀ ⚀

Best Unicode Fonts for Programer (updated)

Yuri Khan explains why exception is needed in Haskell. See bottom: Why I Hate Exceptions

Sackoverflow's like, 90% of questions you don't know the answer of, while the 10% you never get a chance to answer.