Xah Programing Blog

Syntactic obsession, imperative despisal, functional love 🧑, hacker hate.
xtodo
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.

xtodo
xtodo

The Ills of Iterators, Generators, Iterable

xtodo
xtodo
xtodo

how to find out which shell am on

echo $0
xtodo
xtodo

minor update

AI bots showdown: grok vs brave leo ai vs llama

minor updates.

updated.

xtodo
xx = Table[ f[x,y], {x, 1, 4000}, {y, 1, 4000}];

Dimensions[ xx ]

{xtime,yy} = Timing @ RotateLeft[ xx ]

Dimensions[ yy ]

addOne = Function[{x}, x + 1]

addOne[3]

lots updates.

updates

(* swapping list items in Wolfram language. no need temp var. *)

xlist = {3,4,5}

{xlist[[1]], xlist[[2]]} = {xlist[[2]], xlist[[1]]}

xlist

(* {4, 3, 5} *)

Advent of Code, thoughts

advent of code 2024-12-06 090901
advent of code 2024-12-06 090901

Computer Science. Advanced. Equality in a Term Rewriting System

I realized why Wolfram language Equal function does not return False even for obvious cases. because, if it become False right away, the expression became inert. leaving the expression as is, allows you to do more term rewriting computation with it.

xtodo

new and updates.

Grok bot generated code

Amazingly, this is from grok bot on x.com. It works.

grok get img width height 2024-11-20
grok get img width height 2024-11-20
xtodo
xtodo

YouTube gonna stop Odysee Sync 2024

Odysee YouTube sync 2024-11-10 164318
Odysee YouTube sync 2024-11-10 164318
xtodo

minor updates

xtodo
xtodo

From 15 years ago. Trying to understand how does Microsoft Windows do system scripting.

By the way, looking back, basically you do not. You just use Windows graphical user interface admin apps. But today, you do, by PowerShell.

mega updates

updates

updates

updates

xtodo

minor update

xtodo
xtodo

some old blog, on its own pages now.

minor updates:

minor updates

minor updates.

removed triple equal sign in examples. it's easier to understand.

updates

xtodo

updates

minor update

minor update

xtodo

some old blog, on its own pages now.

major updates

lots updates.

xtodo

minor updates

xtodo

what happens when artificial intelligence becomes sentient?

MacOS, where is voice memo stored

xtodo

more updates

updates

popular ssh client for Microsoft Windows in the 90s and y2k's.

xtodo
xtodo

faak windows. constantly popping up stuff to interrupt you, including ads. and btw, if u r a linux fanboy, it's worse, by wasting ur time. and far more idiotic ui.

windows update restart warn 2024-08-15 nwzFy
windows update restart warn 2024-08-15 nwzFy

faaking Microsoft Windows, everytime the Windows update kicks in automatically, your computer becomes unusable, even with a fast ssd drive.

Microsoft 10 update slow 2024-08-14 T78GJ
Microsoft 10 update slow 2024-08-14 T78GJ
Windows Modules Installer Worker 2024-08-14 F3Vg5
Windows Modules Installer Worker 2024-08-14 F3Vg5

updates

xtodo
xtodo
xtodo
xtodo

updated and many others

xtodo

updates.

guido von rossum 2024-07-03 Bd7vt
guido von rossum 2024-07-03 Bd7vt

updates

minor updates and new

updates.