Xah Programing Blog

Syntactic obsession, imperative despisal, functional love 🧑, hacker hate.
xtodo
xtodo

Microsoft Windows

net help
net use * /delete
net session /delete
xtodo
xtodo
xtodo
xtodo
xtodo
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.