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 Keys, Terminal Keys, Man Page Keys (updated)

Which Programing Language Has Best Documentation?

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

Clojure Leiningen Banana

What's 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's 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. Xah 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. Unicode Keyboard Symbols ⌘ ⏎ ⌫
  9. Unicode: Brackets, Quotes «»「」【】《》
  10. Truly Ergonomic Keyboard Review
  11. Keyboard: Layouts, Hotkeys, Macros, RSI ⌨
  12. Visual Dictionary of Special Plane Curves
  13. Keyboards without Numeric Keypad
  14. Alternative 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 Keyboards, No More Page Up/Down Keys!
  20. Emoticons on Social Network: Facebook, Twitter, Sina Weibo
  21. HTML Framset Tutorial
  22. JavaScript: Change CSS
  23. HTML Frameset Index
  24. Unicode Characters ☯ ⚡ ∑ ♥ 😄
  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. How to Chose Ergonomic Keyboards
  32. Apple Keyboards ⌨
  33. Microsoft Natural Ergonomic Keyboard 4000 Review
  34. AutoHotkey Key Syntax
  35. Pure CSS Table
  36. Mac OS X Resource Fork and Command Line Tips
  37. Equiangular Spiral
  38. Guide to Keyboard Key Switch Mechanisms
  39. HTML: Split Windows; Frameset
  40. JavaScript Floating Box Following Scroll
  41. Unicode Emoji 😄 😱 👽
  42. HTML: Split Windows; Frameset
  43. http://xahlee.info/smart/ReportMain.htm
  44. Java Tutorial: The Power Function
  45. Ergodox Keyboard Review
  46. Using PowerShell to Manage Environment Variables
  47. Xah Programing Blog
  48. Python: Make System Call
  49. Great software for Tilings, Patterns, Symmetry
  50. Visual CSS

What's 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 Caps Lock 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's 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 3: Formatting String (minor update)

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 Your Monitor's Color

This Poor Sob Got a New Monitor

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 Over Flowing StackOverflow

StackOverflow… although useful, but i hesitate to participate in depth. Like all such forums (except usenet), soon it picks up gazillion policies, rules, and cult communities of the subject, where you can't really express a particular view. And, things like, if you don't use the site in a particular way, the community don't consider you good even if you contribute lots answers (not necessary by a policy, but by the behavior of the members.). And, there's this bunch of badges and score shit. On the surface, they are a bit fun for everyone, but mixedin is really a addiction touch, and of course, the site owners know it precisely, that's why they are there. Its called commercialization.

of course, big congregated sites like that make millions, for themselfs, while the open source fanatic idiots, get nothing, defend the site, yet themselfs work for non open source companies making thousands a month, but has the audacity when some poor sob doesn't open source stuff. fk the open source scums. 'its they, gets us today's web, where most news sites are garbage filled with lurid ads, individuals and creative people get nothing, and we must sing ode to open source. 'tis how communism rose.


found this excellent essay: [• Why I No Longer Contribute to Stackoverflow By Michael T Richter. At http://michael.richter.name/blogs/why-i-no-longer-contribute-to-stackoverflow , Accessed on 2014-10-15 ]

g+ discussion https://plus.google.com/+XahLee/posts/KqpkVPb41fb

PS: personally am very thankful of at least one of the Stackoverflow's founder.

Whatever programmers think about themselves and these towering logic-engines we've erected, we're a lot more superstitious than we realize. We tell and retell this collection of unsourced, inaccurate stories about the nature of the world without ever doing the research ourselves, and there's no other word for that but “mythology”.

read and weep. Language Design: 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 Review (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 Mathematica 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: Programing: 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.