Xah Programing Blog Archive 2015-01
in social and leadership situations, stupid + confident ≻ smart + unsure
the unicode SUCCEEDS ≻ does not have a absolute universal meaning, much like the greater than symbol.
Corsair now has a compact version of its mechanical keyboard. See: Corsair Keyboards Review
(as-> expr name form1 form2 form3 …)
. See Clojure: Function Chaining
Unicode: Punctuations • ✓ ™ (minor update)
the famous LISP expert Paul Graham asked how to type the logic symbol forall ∀ on Twitter. [https://x.com/paulg/status/555062607074586624].
this can be easily done. Create Math APL Keyboard Layout (minor update)
the new Mac book is rumored to have the Power key at the Escape key location. A woe for vim users and emacs users alike.
to fix, see Mac: Keyboard Software Guide (updated)
for Linux and Microsoft Windows, see:
Non-English-based programming languages
some interesting ones, that there are a lot Chinese users. Some are just aliasing the english keywords to Chinese. Here's 2 of them based on Python, But both seems dead:
but more interesting is new languages that are entirely in Chinese for Chinese. One of them, seems very popular, is:Easy Programming Language (易語言) (official site http://www.eyuyan.com/), a visual-basic like language.
Easy Programming Language (EPL, Chinese: 易语言) is a Chinese programming language, featuring a full Chinese environment. Its community may be the largest of all non-English-based programming languages. EPL is popular in China, considering the difficulties of adopting English for most Chinese speakers.
易语言是一门计算机程序设计语言,也通常代指与之对应的集成开发环境,其最大特点是通过汉语进行编程。语法风格类似于 Visual Basic。易语言的创始人是吴涛,早期称为E语言,他曾表示,创造易语言的初衷是进行用中文来编写程序的实践
at first the E-language has corresponding English version, but that seems dead.
will Clojure be popular? Not in 100 years. Here's sufficiently why. Clojure Sigils (Magic Characters)
Clojure this _
in (fn [x [_ y]] (+ x y))
took me 1 year to unstand. How do you know what magic chars sugar it is? you lookup C++ dictionary.
All Software Problems, Came from Unix and C
Proper Date Format on Websites
publishers and blog writers, don't use a stupid date format such as “10.07.14” or “10/07/14”, or any of the slash. Use this format: 2015-01-08
, and this format only. This is a standard.
Unpatchable USB Malware
there is unpatchable malware. The gist seems to be that hackers can alter a USB's firmware, so that when you plug in the USB, it infects your computer, and this is essentially undetectable.
The take-away seems to be: never plugin a USB from untrusted source.
See: 〔That Unpatchable USB Malware Now Has a Patch … Sort Of By Andy Greenberg. At http://www.wired.com/2014/10/unpatchable-usb-malware-now-patchsort/ , accessed on 2015-01-08〕, and its links.
Math Models of 3D Input Control (minor update)
the term “ambiguous grammar” should be ban'd. It should be called “multi-parse-tree grammar”.
now, a API approach to Clojure Instaparse Parser Tutorial. First complete version.