Xah Programing Blog Archive 2012-03

Unicode use: The Wave Dash 〜 (bottom)

updated PowerShell as cmd.exe or Bash

updated Windows Console Key Shortcuts ⌨

updated PowerShell: Listing Alias, Finding Command's Alias

gnu logo latte art 600x800
GNU logo latte art. 2448×3264 (photo by Yuko Honda Source www.flickr.com)

Geek Latte Art: GNU, Beastie, Golang

Unicode: Egyptian Hieroglyph Characters

updated: Lambda in Python 3000

Unicode: Examples of Symbol Usage

Emacs + Keyboard Geeking, the Nth Episode 2012-03-27

From Why Not Ruby to F��� Python, Hello Ruby

updated with nice pics Logitech Wave Keyboard Review

updated: Keyboard Evolution: Zoom Button, Dedicated Keys

updated: AutoHotkey Key Syntax

updated: 𝕲𝖔 𝕿𝖍𝖔𝖚 𝖆𝖓𝖉 𝕯𝖔 𝕷𝖎𝖐𝖊𝖜𝖎𝖘𝖊 🌞 🐪🐫🐪 🌴 Unicode in Perl & Python

The Key to Perl

Updated

updated

Your Regex Brain

Who's a Professional Programer?

got a stupid comment at PHP: Send HTML Mail

Quote of the entire comment:

my error:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/a9904100/public_html/register.php on line 89

line 89? My code is only 31 lines.

what possible programer idiot posts comment like this? I know! Majority of professional programers are like that. Professional programer means anyone who makes a living by coding. Unfortunately, to the tech geekers we see slaving in {Emacs, Perl, Python, Lisp, …} newsgroups and {hackernews, reddit/prog, slashdot, …} forums, they don't know this fact, and they sing their songs in their batcave about what emacs/software/language/interface should be. When you turn the mirror around, you can see that they, are just idiots of a different color.

Computer Keyboard: Function Keys as Rubber Buttons

you know how some keyboard have button-style function keys? Look at this pic:

keyboard with button keys

Imagine typing on this keyboard. Here's another one:

bad function keys-2
Worst example of function keys. ① Continuous row, no group-gap. ② hard-to-press cheap buttons.
Kinesis keyboard function keys
Kinesis keyboard function keys. img src

Moral: don't buy keyboard that has the {F1, …, F12} keys in non-standard shape or form. The worst offender here is the Kinesis Contoured Keyboard.

Articles on Closure

Several articles on closure, updated:

Why's Python a Anti Functional Programing Language?

Python is a anti-functional-programing language. If your coding habit is functional programing style, you'll encounter many problems that makes your life a pain. It is worse than Perl in this aspect. Here's some concrete examples:

Discovered special Unicode chars for Centimeter. See: Semantics & Symbols: Examples of Unicode Symbols Usage.

F��� Python. Hello Ruby

Keyboards with Numeric Keypad Sawed Off

Tip for Parallel Programing: Always Use Map When Possible

always use “map” whenever possible. Use loops (⁖ “for”, “while”, “do”) only if absolutely necessary (i.e. when you actually need to work on the items one by one in order.)

See: Guy Steele on Parallel Programing: Get rid of cons!

More keyboard porn: Keyboards without Number Pad.

Update at bottom: Why Learn Lisp When There Are Perl & Python.

Few days ago i wrote Python: a Technique to Append String in a Loop. Someone wrote a more extensive test. See:

I'm a Idiot: How to Copy a Nested List in Python?

What's true and false in Perl & Python: Perl & Python: True and False

Python: a Technique to Append String in a Loop

Python: What's the Difference Between Tuple & List?

Tablet Computer Issues and Touch-Screen Interface Pros and Cons

Update: Unicode Font Comparison: Arial Unicode MS vs DejaVu Sans

Python Logo Latte Art

Paul Graham Keynote at PyCon 📺

Programing: Are int, float, long, double, Side-Effects of Computer Engineering?

What is Closure in a Programing Language?

Updated: Parallel Programing Problem: asciify-string

Programing: What's a “Online Algorithm”?

In computer science, an online algorithm is one that can process its input piece-by-piece in a serial fashion, i.e., in the order that the input is fed to the algorithm, without having the entire input available from the start. In contrast, an offline algorithm is given the whole problem data from the beginning and is required to output an answer which solves the problem at hand. (For example, selection sort requires that the entire list be given before it can sort it, while insertion sort doesn't.)

Online algorithm

g+

Programing: LISP is Not Functional!

Steve Yegge on Dynamic Languages

Programing Language Design and Language Idioms: Why Idioms Are Bad

blog comments powered by Disqus