Xah Programing Blog

Syntactic obsession, imperative despisal, functional love 🧑, hacker hate.
xtodo
xtodo
xtodo
html change citation format 2025-09-23 19281
html change citation format 2025-09-23 19281
xtodo
xtodo
xtodo

updated

what is the best programing language for text processing

xtodo
xtodo
PowerShell show disk size 2025-08-19 20dee
PowerShell show disk size 2025-08-19 20dee

updates

xtodo

For Coders. Tech, Engineers, Emacs, Unicode History, and the Remnant of Elitism in Printing Press Establishments.

Unicode math symbols. Back in 2005. Lots problems.

Today, the problem is solved. Most code fonts have hundreds of unicode math symbols such as arrow β†’. Also, font substitution tech in operating system is mature. It'll find the char in another font. Also, in emacs, you can specify a dedicated font for symbol, emoji, or chinese.

this solves my need.

By the way i think fonts are european idiocy. I think they should all be banned. Just have one for serif, sans, and fixed-width. And ligature should be banned.

Also, there is particular elitism among font or typesetting circle. They are like a cult, and have particular jargons, e.g. Foundry. Am guessing, it's because hundreds years ago they are associated with the powerful establishment of the printing press, the publishing houses, writing (authors, writer's guild, style guides, the whole shebang), like what New York Times was in past decades.

xtodo
xtodo
xtodo

JavaScript toy, for beginning coders.

xtodo

Mac: Show Hidden Files in Finder

⌘ command+Shift+.

xtodo
print( list(( enumerate(["a","b","c"]))))
# [(0, 'a'), (1, 'b'), (2, 'c')]
xtodo

discovered that you can split windows on Microsoft Windows terminal.

xtodo
xtodo
long lines vscode 2025-07-15 162b7
long lines vscode 2025-07-15 162b7

long ass lines. 551k chars.

long lines emacs 2025-07-15 16329
long lines emacs 2025-07-15 16329
xtodo

updated

xtodo
xtodo
xtodo
xtodo
xah hacker news lisp cons 2025-06-22 0fd85
xah hacker news lisp cons 2025-06-22 0fd85
xtodo
Wolfram colors 2025-06-19 18db1
Wolfram colors 2025-06-19 18db1
xtodo
windows shell attrib 2025-06-16 383a9
windows shell attrib 2025-06-16 383a9
windows shell attrib 2025-06-16 383ba
windows shell attrib 2025-06-16 383ba
xtodo
perl data dumper 2025-06-17 143dd
perl data dumper 2025-06-17 143dd

minor updates

misc updates

Summary: Ugly programing languages, protocols, in computing industry, is gonna be with us, forever. Because, it is not a matter of excellence in technical design, but rather, money and corps and power.

If you want better software tech, you need to get rid of corruption in society first.

w3schools js promise 2025-05-24 14ef2
w3schools js promise 2025-05-24 14ef2
xtodo

perl cult

now full Table of Contents.

xtodo
aibot grok compute 2025-04-27 224253
aibot grok compute 2025-04-27 224253
xtodo

Bend Language

bend lang 2025-04-26 2c94a
bend lang 2025-04-26 2c94a

ollama. ai bot install

aibot ollama 2025-04-22 33901
aibot ollama 2025-04-22 33901 https://ollama.com/

xah lee web, ten thousand files, tag for tag

xah web ten thousand 2025-04-22 27ec0
xah web ten thousand 2025-04-22 27ec0
xtodo
xtodo

what's a transducer in clojure

clojure transducer 2025-04-16 1e927
clojure transducer 2025-04-16 1e927
xtodo

massive update

xtodo
xtodo

Wolfram language, turning an expression to function.

Wolfram language expr to func 2025-03-30 186b0
Wolfram language expr to func 2025-03-30 186b0

this is is a technique, of turning an expression to function.

useful because usually math functions are expressed as an expression.

For example, to plot a parabola, you write

Plot[{x, x^2}, {x,-2,2}]

instead of

Plot[{ Function[x, x], Function[x, x^2]}, {-2,2}]

however, formally, the formula for parametric plane curves are two functions. so

{ Function[x, x], Function[x, x^2]}

is actually more correct.

more traditionally written as

x = Function[x, x] y = Function[x, x^2]

but traditional math notation does not have a way to represent a anonymous function.

so traditionally its written as:

x = fx y = fy fx(x) = x fy(x) = x^2


in traditional math notation, function definition is usually written as an expression, with indication of which symbol is the function's formal parameter.

Clear[ ff ]
ff[xxpr_, {xvar_, tmin_, tmax_}] := Function[xvar, xxpr]
xtodo

topic or related

xtodo
xtodo

fuck the fsharp, got the indentation disease from python idiots.

fsharp indentation 2025-03-27 171459
fsharp indentation 2025-03-27 171459
xtodo
xtodo
xtodo

massive. the importance of syntax.

Syntax is the most important aspect of a programing language

The quality of a programing language, can be judged by how much of it can be explained by its syntax alone.

xtodo
xtodo
xtodo
xtodo
xtodo

PowerShell Firewall vs Unix Shit

PowerShell 2025-03-09 22609
PowerShell 2025-03-09 22609

PowerShell 2025-03-09 22b87
PowerShell 2025-03-09 22b87
xtodo
xtodo

A Short History of Open Source Movement


Stop The Open Source And Free Software Foundation Skam.


xtodo
xtodo

China AI Bot Deepseek

deepseek tech detail 2025-01-28 111714
deepseek tech detail 2025-01-28 111714

What is this model?

  • Deepseek R1 is a 671B mixture of experts model with "reasoning block" in inference where 37B params are activated on inference.
  • It has 128K context length.

Is this model good?

  • yes, but it's inferior to other top models in some aspects.

Is this model good for everything?

  • no. it's not good for function calling, multi-turn conversations, json output and some other aspects.

What is interesting about this model?

  • Deepseek claims that it tooks significantly less money to train than other top models. You can read the paper about their approach to training model.
  • MIT licensed open weights. It's one of the largest and strongest models with open weights.
  • It's one of the rare models that generates a "reasoning block" in response and trained specifically for it.
xtodo

Programing Language Rant on C

huge updates.

On Open Source Tech, and Their Political Affiliations

powershell 7.5 2025-01-27 200722
powershell 7.5 2025-01-27 200722
xtodo

COMPUTER SCIENCE. What is Term-Rewriting System vs Regular Expression

complete update on Wolfram language string functions.

xtodo

On Wolfram Language Association (aka association list, dictionary, hash table). Major update. Now the association section is complete.


updated my php tutorial from 2007, just a tiny bit.