Xah Programing Blog 2018-09

ImageMagick Tutorial (minor update)

programing language speed comparison

interesting. look at golang, the optimized version at bottom, beats all. and look at how slow are python ruby php.

Recursive fibonacci benchmark using top languages on GitHub

https://github.com/drujensen/fib

Firefox error dino 2018-09-28 d97ae
Firefox error dino 2018-09-28 d97ae

i can't tell wtf is that.

Interview with Bill Joy (creator of vi)

this is what online forum looks like, before Facebook

https://forums.somethingawful.com/showthread.php?threadid=3846735

biological computer, dna, molecules

i took a microbiology class in 1996 or so, of things like the vid is talking about. understand cells, what's inside, what they do, how they work.

DNA animations by wehi.tv for science-art exhibition

The molecules, when a bunch of them are together, they bind in a specific way, some like that. gazillions megalions at the same time. This is what is meant by biological computer. mega parallel.

Biological computing

in 1990s, i recall Knuth said computing/algorithm is not interesting cuz it's already filled. and biology is far more interesting. That remark lodged in my mind. I now doubt it, but still, biology is fascinating. I think, to me, beats physics actually.

Project Code Rush - The Beginnings of Netscape / Mozilla Documentary

memories. this is where i live. Netscape headquarter was just 15 min walk away.

the verge pushing sj, building a PC

verge build pc wrong 2018-09-16 164db
verge build pc wrong 2018-09-16 164db

theverge dot com pushing sj. the video is here https://www.youtube.com/watch?v=jciJ39djxC4

Buy Xah Code

xahlee info git stat 2018-09-16 2f3ea
xahlee info git stat 2018-09-16 2f3ea

http://xahlee.info/ is now 16.4k files, 1.2 GiB. 5k html pages of math and code and history of the hacker cult. Take 4 years to read it, and you'll be a doctor of philosophy. You, buy it now!

Golang: System Call

Fundamental Problems of Lisp

Lenovo Yoga 720 laptop. good.

buy Lenovo Yoga 720

DuckDuckGo = lack luster

now half of the time i search something, @DuckDuckGo gives me this error:

If this error persists, please let us know: error-lite@duckduckgo.com

DuckDuckGo error 2018-09-13 2bef9
DuckDuckGo error 2018-09-13

(this happens when I'm using brave browser with JavaScript off by default, and ddg as default search)

am thinking abandoning it.

duckduckgo is such that, if you search for something easy, something typically you'd expect from 1st result, then u get what u want. But any slightly rare search, or research, its lack luster. you resort back to google.

DuckDuckGo error fixed 2018-09-14 7baff
DuckDuckGo error fixed 2018-09-14 https://twitter.com/DuckDuckGo/status/1040568066944495616

OCAML's Official Tutorial Blatantly Suck

finally fixed.

Atom/RSS Reader Bug, Relative Link

Apache Rewrites History: Why is it Named “Apache”?

History of Angular.js

is there a JavaScript util similar to golang's gofmt? note, i want it to be able to cut long lines of code. e.g. if entire code is in 1 line, make it multiple lines with indentation.

const declaration, for programer or for compiler?

in JavaScript and golang, there's “const” declaration. Am starting to think, it's more used as programer guide than for compiler, because compiler most of the time would automatically optimize var that doesn't change. Is this true?

don't use Google Chrome browser

these days i don't use Chrome except ONLY for google account. The google browser, can trivial do things even if u turn off all cookies and javascript and don't login to any site. Nobody would know except google.

context, google chrome posting about it's 10 year anniversary. https://twitter.com/googlechrome/status/1037038838550601734

unicode subscript 2018-09-04 7e36e
there's no subscript d in unicode. Unicode Math Symbols ∑ ∫ π² ∞ Unicode Math Symbols ∑ ∫ π² ∞

[There is no pass-by-reference in Go By Dave Cheney. At https://dave.cheney.net/2017/04/29/there-is-no-pass-by-reference-in-go ]

This is a great article. Apparently, that guy blog a lot about golang, seems to be a go expert.

golang, should i return big string or save it to a var pointer?

am wondering if i should do outBytes=genSiteMap(inDir) or genSiteMap(inDir, &outBytes) the 2nd ceases to be function programing, but i guess is more traditional C C++ D go stuff. Give me your opinion.

design of how to deal with errors in programing languages

[The Error Model By Joe Duffy. At http://joeduffyblog.com/2016/02/07/the-error-model/ ]

seems a great article.

Franz Lisp, number 1 commercial implementation of Common Lisp

Franz Lisp, still alive! It was, or still is, the number 1 commercial implementation of Common Lisp.

https://twitter.com/Franzinc/status/1036644252502122496

Unicode Box Lines ┌ Blocks ▓ major update

programing languages ranked by ease of learning

cutting thru golang like a chainsaw thru snow! smooth. of langs, similar experience is php. And worst is python. for ease of learning to practical depth, the order is: golang ≻ php ≻ python ≻ JavaScript ≻ perl ≻ clojure ≻ java

golang is definitely more verbose than python or ruby. For language verbosity, the order is roughly this: C ≻ java ≻ golang ≻ JavaScript ≻ php ≻ python ≻ clojure ≻ perl ≻ Mathematica

python is a lang against functional programing, worse than perl.

everytime i say it, some python fanboy will counter, python support functional programing. Right, it does, like every lang do. But in practice, even the lambda is crippled. And if you use functional programing libs, other coder looks at you funny.

If you have a question, put $5 at patreon and message me.