Xah Programing Blog Archive 2024-06

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

<span class="comment-delimiter">(* </span><span class="comment">swapping list items in Wolfram language. no need temp var.</span><span class="comment-delimiter"> *)</span>

xlist = {3,4,5}

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

xlist

<span class="comment-delimiter">(* </span><span class="comment">{4, 3, 5}</span><span class="comment-delimiter"> *)</span>

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

fuck 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

fucking 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.