Xah Programing Blog Archive 2020-04

Xah Lee Site Article Count

macOS Karabiner uninstall

macOS locked app 2020-07-29 6n88V
macOS locked app 2020-07-29

sudo chflags -R nouchg Karabiner-Elements.app

chflags 2020-07-29 mfj4f
chflags 2020-07-29

actually, just open Karabiner preference, and click uninstall. but that also uninstalls the event viewer.

Web Keywords and Taxonomy

came up on xahlee discord chat.

random article, came up on xahlee discord chat.

return left/right ⮐ ⮑, newline left/right ⮒ ⮓ Unicode Arrows
Unicode Arrows →

Python 2 and Python 3 Difference

One Language to Rule Them All? Or, What Language to Use for Find Replace?

Examples of Quality Documentation in Computing Industry
old article.

HTTP Protocol Tutorial

Why Syntax is More Important Than Semantics

xfinity speed mtn view ca 2020-07-11
xfinity speed mtn view ca 2020-07-11

Feel my power! OMG, this poor sob never tasted such wonder. Been stuck at 25 Mbps for the past 20 years now, my comcast xfinity is finally active. In usa, 25Mbps is considered fast. Faster than that is considered a luxury. And here's internet speed growth. Basically, 50% faster per year, since 1990. See Internet Speed Growth Rate

brace for link spam!

ancient article. year 2001. Still frequently linked from linux sites.

ancient article. 2002. now, part of history. Is Mac OS X Unix

ancient article. 2010. now, part of history. Mac OS X Changes To Unix

Functional Programming is Easy, and Good for You

remove assignment 2020-06-29 w7cpd
remove assignment [Functional Programming is Easy, and Good for You By Matthias Felleisen. At https://felleisen.org/matthias/Presentations/11GS/gs.pdf ]

Computer Languages Characters Frequency
updated golang

Mac Startup Chime Idiocy

R Melts Brains -- An IR for First-Class Environments and Lazy Effectful Arguments

The R programming language combines a number of features considered hard to analyze and implement efficiently: dynamic typing, reflection, lazy evaluation, vectorized primitive types, first-class closures, and extensive use of native code. Additionally, variable scopes are reified at runtime as first-class environments. The combination of these features renders most static program analysis techniques impractical, and thus, compiler optimizations based on them ineffective. We present our work on PIR, an intermediate representation with explicit support for first-class environments and effectful lazy evaluation. We describe two dataflow analyses on PIR: the first enables reasoning about variables and their environments, and the second infers where arguments are evaluated. Leveraging their results, we show how to elide environment creation and inline functions.

[R Melts Brains -- An IR for First-Class Environments and Lazy Effectful Arguments By Olivier Flückiger, Guido Chari, Jan Ječmen, Ming-Ho Yee, Jakob Hain, Jan Vitek. At https://arxiv.org/abs/1907.05118 ]

Facebook Embedding Tracking Data Inside Photos You Download

history. StackOverflow Gamification

Perl: POD is not Literate Programming

old misc articles. left panel removed. So it's more focused. Not the modern please stay on my site link spam.

Write All If Statement as If Expression

part of Syntax Soup series.

Mac OS X Misc Command Line Tips

following needs review, and nav bar.

Are You Intelligent Enough to Understand HTML5?

Unicode 12 New Characters

Why I'm Switching from Mac to Windows old post. frequently asked. which to use, Windows, Mac, or linux?

Proliferation of Programing Languages
added more logos.

Concepts and Confusions of Prefix, Infix, Postfix and Lisp Notations

mentioned on reddit. but i don't quite get his point. https://www.reddit.com/r/compsci/comments/h9qa9k/a_review_of_concepts_and_confusions_of_prefix/

Programing Language and Its Machine
minor update

Goodbye side nav bar 2019

this nav bar, is now going away.

screenshot 2020-06-12 6yfcd
xah lee site nav bar, began in 2017 or 2018, end life in 2020-06-12

you'll find similar topic list at

Hacker Cult

am making my site design, navigation, simpler.

The Voodoo of Mechanical Sympathy

Programing: Why I Hate C
added a excerpt from C. A. R. Hoare

random articles and minor update

Intro to Wolfram Language Pattern Matching for Lisp Programers

screenshot 2020-05-25 k66xk
“xah lee, the most irritatingly useful person on the internet” —AdmiralBumbleBee
golang at work 2020-05-25 vw2tt
golang at work 2020-05-25

Golang: Find String (grep) Script
minor update

Convert Video from Different Formats
minor update

massive python code at work

Python: Script to Find Replace Plain Text (No Regex) in a Directory

much update on PowerShell tutorial

git Frequently Asked Questions

Copy Git Repo Dir to USB Drive

todo, work in progress

i have a git repo, of 20k small files. I need to copy it to USB drive. How do i compact the git so it's just few big files, and just copy over the .git dir?

alternative is temp move out the .git then zip the dir so i have 1 single file to copy. But, temp moving .git is tedious. also, zipping is time consuming.

I have a git repo, of tons of small files. I want to copy it to a USB drive. Only 32gb capacity. The problem is, my repo, is over 32gb. Because, having a .git double the size. Because it's the size of the .git plus the dir size. Also, transferring tons of small files is extremely slow. What i want, is some way, to make them 1 single binary file or just a few. So, i can easily copy. So far i do not have easy solution. One solution is, try to compact the git, then, copy over the git. On target i can git checkout. Second solution is, temp move the .git out. Then, either zip or tar gz the dir. This is also very tedious. Plus, either way, it's time consuming to compact git or zip/tar.gz. That's what i want to do.

Practical git in 1 Hour

git archive idiocy

The idiotic git archive command, creates a tar or zip that does not have a parent dir. You get tar bomb when you expand. Fuck the unix idiots

Git Archive; Zip Git Repo Without .git

todo. review, update. work in progress

todo, work in progress

The shape of the circumflex was originally a combination of the acute and grave accents (^), as it marked a syllable contracted from two vowels: an acute-accented vowel and a non-accented vowel (all non-accented syllables in Ancient Greek were once marked with a grave accent).[2][citation needed] Later a variant similar to the tilde (~) was also used.

[2020-05-14 Wikipedia circumflex]

power syntax caret vs double asterisk 2020-05-14 3xgv5
which syntax do you prefer for power operator, circumflex or double asterisk 2020-05-14

Programing Exercise, Validate Matching Brackets todo


Xah Java Logo


History of the JavaScript script Tag

todo Great Software for Windows

my twitter xah_lee got ban'd by twitter on 2020-05-05. Thinking, quit twitter. join my xahlee discord.

misc updates

xah thanks 2020-04-29 4rgyn
xah thanks 2020-04-29

ultra master perl code, y2k.

xah perl code 2020-04-27 mvr9w
xah perl code 2020-04-27

Learn Perl in 1 Hour

worked on these pages for hours.

also, updated my unicode pages. Now font is bigger, and the popup is activated by mouse hover, and on phone it can dismissed by clicking anywhere.

random articles of the day

join xahlee discord. colorful people, fantastic opinions.

random articles of the day

random articles of the day and past few days

lost in explanation: programing problem, transition of maps

Complexity and Tedium of Software Engineering

Doc by Dummies.
New navigation panel.

Why Opera Browser Sucks

OOP Dot Notation, Dot Before Data or After?
random article of the day.

Wait for wayland? lol. the unix folks been trying to fix i11 since 1980. see The X-Windows Disaster

random articles of the day

now, dedicated nav panel on the left.

History of Web Tech

Xah Discord Artwork

unicode replacement character complexity

unicode faak 2020-04-07 gmgj2
unicode faak 2020-04-07

walk dir in perl python golang


The Idiocy of Python's Function Parameter Specification

Complexity of SVG

On Horizontal Ruler and Unicode

i also used to use this for a few years for my site

⁂ ⁂ ⁂

See also:

random tech tutorial of the day:

Command Line Interface (REPL) vs Notebook Interface

Python 3 Tutorial

all you need to know about unicode in python Python: Unicode Tutorial 🐍