Xah Programing Blog Archive 2011-04
I haven't really programed perl for like 5 years (except running my old scripts weekly). Today, while browsing the perldoc perlop, i noticed this:
Yada Yada Operator
The yada yada operator (noted ... ) is a placeholder for code. Perl parses it without error, but when you try to execute a yada yada, it throws an exception with the text Unimplemented :
LOL. That must be new, or i totally forgot about it.
Separated a section from my blue screen article:Windows: What's Prefetcher, SuperFetch, ReadyBoost?.
Discovered several languages. TXL, Colm, and the concept of transformation systems. Added to bottom of: Pattern Matching vs Grammar Specification.
Today, when starting Cygwin bash, i get:
2 [main] bash 6324 exception::handle: Exception: STATUS_ACCESS_VIOLATION 527 [main] bash 6324 open_stackdumpfile: Dumping stack trace to bash.exe.sta ckdump 4 [main] bash 6348 exception::handle: Exception: STATUS_ACCESS_VIOLATION 435 [main] bash 6348 open_stackdumpfile: Dumping stack trace to bash.exe.sta ckdump 3 [main] bash 6432 exception::handle: Exception: STATUS_ACCESS_VIOLATION 658 [main] bash 6432 open_stackdumpfile: Dumping stack trace to bash.exe.sta ckdump 84 [main] bash 6968 exception::handle: Exception: STATUS_ACCESS_VIOLATION 987 [main] bash 6968 open_stackdumpfile: Dumping stack trace to bash.exe.sta ckdump 2 [main] bash 7028 exception::handle: Exception: STATUS_ACCESS_VIOLATION 656 [main] bash 7028 open_stackdumpfile: Dumping stack trace to bash.exe.sta ckdump 3 [main] bash 6936 exception::handle: Exception: STATUS_ACCESS_VIOLATION 814 [main] bash 6936 open_stackdumpfile: Dumping stack trace to bash.exe.sta ckdump 3 [main] bash 6480 fork: child -1 - died waiting for longjmp before initia lization, retry 0, exit code 0x600, errno 11 1126299 [main] bash 6196 exception::handle: Exception: STATUS_ACCESS_VIOLATION 1127161 [main] bash 6196 open_stackdumpfile: Dumping stack trace to bash.exe.sta ckdump
O, technology. What a pain in the ass. A few hours is waiting for me to suck juice out of my life. A web search on the error message turns up a few posts, all esoteric.
Luckily, after restarting Windows, the problem went away. O, the miracle of wishful-thinking. ( Addendum: the reason i got that error is probably due to hardware problem.)
AutoHotkey language is the most idiotic among langs i know of. I think it's even worse than perl or unix shell.
What's PunkBuster ＆ What's System Requirements Lab?
Habitually i clean my computer. Here's my installed software as a list from 〔Control Panel\Programs and Features〕. installed_programs_mswin_2011-04-19.txt
Here's software i'm deleting. When you download games, they often comes with a bunch of garbage.
- PunkBuster Buster Services Even Balance, Inc. 2009-11-12 0.988 • A anti-cheat software
- System Requirements Lab 2009-07-30 0.38 MB • game requirement checker.
Twitter Hash and Unicode Symbols
Some Unicode symbol semantic thoughts.
There does not seem to be a good hash code for functional programing. If you search “#fp”, lots of tweet comes up but is not related to functional programing. If you use “#functionalprograming”, that's too long a word, takes 21 character out of tweet limit of 140, and rarely do people use that.
Twitter doesn't allow hash of Unicode symbols. For example, for functional programing, you might use
#λ, but twitter doesn't recognize any non-ASCII char as a hash tag. (seems only recognize hash of english letters) When you search for “#λ”, nothing shows up, even if you have tweeted it. However, if you just search for λ, it shows up, though, most of it is Japanese using that symbol as part of emoticon.
Anyhow, it might be nice to establish a convention among functional programing communities to use λ for any tweet related to functional programing but is not specific about a language ➢ for example: erlang, ocaml, haskell, clojure, scala, lisp, fsharp, Mathematica, etc.
Also, for my own writings on my site, the topics are usually programing, math, visual arts, literature (letters), sex, others. I thought a bit about using a Unicode symbol to represent each. Here's what i come up with:
- λ programing
- ƒλ functional programing
- ∑ math
- ℓ literature, letters (humanities)
- ⌨ keyboarding
- ♪ music
- ⚤ sex
- ❀ Visual Arts
There are several ways to input Unicode symbols on Mac and Windows. For example, on the Mac you can use Mac: Keyboard Viewer and Unicode, character palette. On Windows you can use Alt code or Character Map, but they are inconvenient.
If you use emacs, buy my Emacs: xah-math-input.el to input these. See also: How to Create a APL or Math Symbols Keyboard Layout.
Discovered that there's a forum for Paul Graham's language Arc Lisp, at arclanguage.org, and there's a thread discussing my criticism of lisp, at: Source arclanguage.org.
A new version of Unicode font DejaVu (v2.33) is out. See: Best Unicode Fonts for Programer.