xtodo
todo stuff
- add erorr checking xah-html-rename-links-all
- update go find or replace script
- clean the personal search strings
- what's new in latest firefox
- https://x.com/i/grok/share/a14a60fbbcea47449ff3f20831ce20ae
- read turing machine
- https://grok.com/share/c2hhcmQtMi1jb3B5_e900c974-1c30-4ee2-94da-0b936a512877
- in emacs,
html-modeis plainmhtml-modealso color css and js- add to tutorial
- my js code. more to add
grok ai code
- blog about js new.target, on the programing language ad hoc.
- it broke the property access syntax.
- JS: new.target
- Emacs: dired plus mode, dired with extra features (2010)
- Elisp: current line number problem (2018)
- Dickmao Commercial emacs (2023)
- check if this article is correct.
- What is Point-free Programing? (point-free function syntax)
- https://x.com/i/grok/share/a0b92780214a42d7863aa5069f1c7db1
- check alien justine's call
- update msi gaming machine bios
- MSI Click BIOS, enable secure boot, virtualization (svm) (2026)
- get https on my sites
- have emacs regularly clean temp dir ../../../.emacs.d/temp/
- lots Wolfram language backup files 20260304_1558_45bc.wl~
- also
- 20260321_1018_989a.el~
- 20260324_0829_e9d8.json~
- 20260324_0912_dad6.py~
- 20260327_2044_9470.css~
- emacs lisp, write a function xah-find-delete-temp-files to delete temp files in that temp dir. xah-find-2026-04-02_170252_fbe
- also, write a more generic xah-delete-temp-files. check the date format in filename for date. if older than 10, delete. it first should delete emacs backup ~ files.
- untitled_2026-03-31_165640_1bc14
- think about the question, of the construct of loading a file from relative path.
- if using relative path, that means, there is implicit dependency of current file's location in file system.
- but if you don't use relative path, there is dependency on fullpath, which is actually also depends on current system.
- on this page
- Chinese fonts on Windows
- why the NSimSun and SimSun font the same. the english part, NSimSun should be monospace, while SimSun should be proportional
- 2026-03-26
- clean up todo pics dir
- 2026-03-26
- clean up grok.com history
- 2026-03-26
- clean up twitter grok history
- 2026-03-26
- clean up my multiple blogs
- 2026-03-26
- close one hundred tabs. right now there's 442
- python. maybe add the with-statement to index page.
- Python: with statement
- emacs lisp, rewrite
xah-html-relink
- computer science on programing language.
- what's a better jargon than polymorphism?
- you want one that tells meaning upon seeing.
- e.g. arg form dependent?
- proper name title
- Xah Talk Show 2026-03-01 Ep772. random chat
- need to post to twitter, and highlight
- get timestamp on interesting topics
- Xah Ep773. how to learn. usefulness of metaphysics, what is most important math
- post to twitter
- Wolfram language
- if define function by pattern, can i use Block.
Clear[fcurve, ftangent] fcurve = Function[t, {t, 2 Cos[t] + t}] ftangent = fcurve' Definition @ ftangent Function[t, {t, 2*Cos[t] + t}] Function[t, {1, 1 - 2*Sin[t]}] ftangent = Function[t, {1, 1 - 2*Sin[t]}]
- write a page, about converting or exporting Wolfram language 2d curve animation to gif or mp4, or what format is best. look at my recent work in 2025 at Visual Dictionary of Special Plane Curves
- find
a class="amz"and maybe delet
- find all
a href="httplinks, not https.
[ Object.create(Object.prototype), [3, 4], new Date(), function () {}, RegExp("x", ""), ] .forEach((xx) => { const xparent = Reflect.getPrototypeOf(xx); console.assert("------"); console.log("obj โ ", xx); console.log("subtype โ ", Reflect.apply(Object.prototype.toString, xx, [])); console.log("parent โ ", xparent); console.log("subtype is โ ", Reflect.apply(Object.prototype.toString, xparent, [])); console.log("has constructor property โ ", Reflect.has(xparent, "constructor")); }); /* ------ obj โ {} subtype โ [object Object] parent โ [Object: null prototype] {} subtype is โ [object Object] has constructor property โ true ------ obj โ [ 3, 4 ] subtype โ [object Array] parent โ Object(0) [] subtype is โ [object Array] has constructor property โ true ------ obj โ 2026-01-30T03:39:54.712Z subtype โ [object Date] parent โ {} subtype is โ [object Object] has constructor property โ true ------ obj โ [Function (anonymous)] subtype โ [object Function] parent โ {} subtype is โ [object Function] has constructor property โ true ------ obj โ /x/ subtype โ [object RegExp] parent โ {} subtype is โ [object Object] has constructor property โ true */
- JS: Reflect.apply (ฮป)
- make a example of a method โchecksumโ that has property โapplyโ.
- the method will be โchecksumโ, take first and last digit sum to ten.
// 2026-01-21 // todo const idNumbers = { checksum:((x) => { }), call:((x) => return "haha"), };
/* demo of what Function.prototype.call not work */ // create a object const jj = {}; jj.fdad = function faa(xstr) { // create a property this[xstr] = 1; }; jj.fson = function fbb(xstr) { // create a property this[xstr] = 1; }; // Reflect.setPrototypeOf(jj.fson, jj.fdad); // (jj["faa"]) ["call"] = function () { this[xstr] = 2; } jj["faa"].ccc = 44; console.log(jj); // { fdad: [Function: faa], fson: [Function: fbb] } jj.fdad("a"); console.log(jj); // { fdad: [Function: faa], fson: [Function: fbb], a: 1 } // create a object const xx = {}; jj.fdad.call(xx, "a"); console.log(xx); // { a: 1 }
// 2026-01-17 // idea of a sequence of expressions, like lisp progn console.log([1 + 2, console.log(1 + 3), 4].at(-1));
sitewide change key chord to key combo
- which pharse is more popular, key chord or key combo
- https://x.com/i/grok/share/aBQ2RaFKzCc5wON0UvyIqTx6x
looks like the emacswiki org logo by Daniel Lundin , got removed in 2016, due to the social justice warrior movement.
(eval (cons '+ (apply #'cl-mapcar #'list (let (elts) (with-current-buffer "the-table" (while (not (eobp)) (push (read (current-buffer)) elts))) (seq-partition elts (cl-position-if #'numberp elts))))))
- nice work.
-
it works when
eval-expressionbut not witheval-last-sexp. - i haven't looked into why. too many cl stuff.
- but still, no match for Wolfram language for sure.
- lack of transpose is also a thing. i have my transpose too
2026 new year resolution. daily todo:
- 1 hour Fsharp
- 1 hour Lean proof system
- 1 hour Wolfram language update on Visual Dictionary of Special Plane Curves
- 30 min differential geometry etc.
- 30 min vscode.
- 1 set of pushup, situp, and other push-up sit-up dip exercise
- 2026 goal.
- master fsharp.
- master lean proof system.
- port Xah Fly Keys to vscode and vim, neovim.
- finish updating Visual Dictionary of Special Plane Curves.
- general advanced math. differential geometry, complex analysis, group theory, algebraic geometry, etc.
- other todo.
- continue livestream every 2 or 3 days.
- learn julia programing language.
- continue understand programing language theory. especially parser, compiler, and what programing language elements or features make a programing language slow or fast.
- continue learning theoretical computer science. formal languages, computibility, computational complexity.
- continue learning proof theory, model theory, category theory, logic systems. (mostly, master LEAN.)
- start to write proofs in LEAN for plane curves.
- continue perennial update on 12 thousand articles on xahlee.info and xahlee.org websites.
- write a tutorial on css grid layout. and 3d css.
- CSS: Flex
- complete update on my JavaScript in depth tutorial, on promise, async, import export, typed array, keywords public private cause. (search and remove all xtodo) JS: ECMAScript New Features
- understand complex analysis. sin, log, explonential function, analytic continuation. complex derivative, integration.
- more learning about machine learning, and neural network
- https://www.youtube.com/watch?v=brq5rPkTfyw
- PaddleOCR VL + RAG: Revolutionize Complex Data Extraction (Open-Source)
- Gao Dalie (้ซ้็)
- Oct 24, 2025
http://timkadlec.com/2012/04/media-query-asset-downloading-results/
- Making Crash Bandicoot โ GOOL โ part 9
- https://all-things-andy-gavin.com/2011/03/12/making-crash-bandicoot-gool-part-9/
- https://danielchasehooper.com/posts/why-swift-is-slow/
- Why Swift's Type Checker Is So Slow
- Daniel Hooper
- June 12, 2024ใป5 minute read
((lambda (x) (+ x 1)) 2) ;; 3 (funcall (lambda (x) (+ x 1)) 2) ;; 3 ;; name a lambda, by set to a var (setq my-ff (lambda (x) (+ x 1))) (my-ff 2) ;; Debugger entered--Lisp error: (void-function my-ff) (funcall my-ff 2) ;; 3
- Elisp: Sequence. Iteration Guide
- Elisp: Pipe Function (Function Chain, Composition) ๐
- Elisp: Reduce (Fold)
- emacs lisp, implement repeated set a var via several function by reduce.
- add to reduce page as example, or new page.
problem, figure out how to make this not mutate variable
(let ((x "abc") ) (setq x (string-replace "a" "1" x)) (setq x (string-replace "b" "2" x)) (setq x (string-replace "c" "3" x))) ;; "123" ;; s------------------------------ (seq-reduce (lambda (xstate xfn) (funcall xfn xstate)) (list (lambda (x) (string-replace "a" "1" x)) (lambda (x) (string-replace "b" "2" x)) (lambda (x) (string-replace "c" "3" x))) "abc") ;; "123"
- Programing Language: Function Dependency
- Lexical vs Dynamic Scope Makes No Difference in Functional Programing
- Avoiding Variables in Functional Programing
- in Microsoft Windows, how to make sure a usb drive always have the same drive letter or file path
- https://x.com/i/grok/share/f2cdaGEO5KUrjrNZ05TVrjKaU
- find out why .py .wl temp accumulate in temp dir.
- How I animate 3Blue1Brown | A Manim demo with Ben Sparks
- https://www.youtube.com/live/rbu7Zu5X1zI
- write a tutorial for Public-Key Cryptography
- https://x.com/i/grok/share/BPxvnqEKLkKGpFEwsj14wwOZB
- Xah Talk Show 2025-11-21 Ep715 JavaScript markdown to HTML code, algo of text processing.
- Xah Talk Show 2025-11-23 Ep716 Emacs Lisp Call Python Markdown to HTML
-
change key
xah-html-blocks-to-paragraphto doxah-html-markdown-to-html
- download html2commonmark js
- maybe rename. also ask grok what it is
- Windows Vista VirtualStore Problem (2010)
- review.
- TCP/IP Tutorial for Beginner
- ask ai to rate it
- ask ai to write it
- how to install golang.org/x/net/html
- https://x.com/i/grok/share/lR5nT1mius9v32wGolW3wCMhN
- write a script in Golang that list all links of a given file path of html
- https://x.com/i/grok/share/7MfFUQWseYyx00g1yu5x7XcZ8
package main import ( "fmt" "os" "golang.org/x/net/html" ) // extractLinks recursively traverses the HTML node tree and collects all href attributes from <a> tags. func extractLinks(n *html.Node) []string { var links []string if n.Type == html.ElementNode && n.Data == "a" { for _, attr := range n.Attr { if attr.Key == "href" { links = append(links, attr.Val) } } } for c := n.FirstChild; c != nil; c = c.NextSibling { links = append(links, extractLinks(c)...) } return links } func main() { if len(os.Args) != 2 { fmt.Println("Usage: go run script.go <html_file_path>") os.Exit(1) } filePath := os.Args[1] file, err := os.Open(filePath) if err != nil { fmt.Printf("Error opening file %s: %v\n", filePath, err) os.Exit(1) } defer file.Close() doc, err := html.Parse(file) if err != nil { fmt.Printf("Error parsing HTML from %s: %v\n", filePath, err) os.Exit(1) } links := extractLinks(doc) if len(links) == 0 { fmt.Println("No links found in the HTML file.") return } fmt.Printf("Found %d links:\n", len(links)) for i, link := range links { fmt.Printf("%d. %s\n", i+1, link) } }
- modify
xah-html-icon-linkifyso it does not depends on cursor line
- in elisp, are keyword symbols interned
- https://x.com/i/grok/share/eYeDMkGIAjRdpZQ1fmgATTUnA
- in some programing languages, such as lisp and wolfram language, it's hard to keep it running for long periods of time such as a month without restart, because the memory keeps growing, because the symbol table eg obarray , no way to tell if a symbol is still in use. is this true?
- https://x.com/i/grok/share/zOxj685j7RkJAAylJZlcQnTxY
- how does slider rule work
- Slide rule
- https://x.com/i/grok/share/OKiA0uHOa6Bqm51OfxPl2mEqH
- the general question is, in programing language design, can syntax obstruct semantic.
- we think of syntax and semantics as totally separate. syntax is design of code, while syntactic unit has semantics.
- so obviously, they are not totally separate. because semantics is what combination of your syntax can do.
- if the grammar does not allow certain syntax code combination, then you don't have that semantics.
- maybe
- also, think about lambda calculus and combinators
Intertwined Relation of Syntax and Semantics
This is a example of intertwined relation of syntax and semantics.
let's dive into detail.
in programing languages, you have statements and expressions.
- Statements is a sequence of procedures.
- Expression is code that has a value.
For example, in python, to specify branch control, you have if-statement. But you do not have if-expression.
In JavaScript, you have both if-statement (e.g. if (x === 1) { f() } else { g() } ) and if-expression. (e.g. (( x === 1 ) ? f() : g() ))
Are the difference of statements vs expressions, a semantic issue? Yes. Because their meaning is different. One is procedure, the other return a value (besides also is procedure).
now, similarly, in many programing languages, a function can be defined by a statement and or by an expression. e.g. in JavaScript, use keyword function at top level to define function via statement, and you can also use
JS: Arrow Function
e.g. (x => x + 1) to define function as expression. it returns the function as a value.
in python, you use def statement to define a function. or you can use lambda, it is an expression.
one advantage of function expression in programing language is that it is convenience to embed it inside another expression.
but python's indentation syntax, requires complicated expression to be multiple lines, because not all basic semantics of python can be expressed as expression, such as the conditional if.
so with you use the lambda function expression, and if it requires a if conditional, it must be multiple lines of the indentation syntax.
this indentation syntax, prevents the embedding or nesting of arbitrary expressions.
- how to transfer line app data from android to iphone
- https://x.com/i/grok/share/2jtxQWJa63N7FpINVOWk0Mz56
- finish review
- Syntax Design: String Syntax (2010)
- maybe mod topic box
- add keyboard photos from โcomputer museumโ
- c:/Users/xah/xdoc/x_todo_pics/x_d2025-09-19_computer_museum/d2025-09-18_IMG_0786.JPG
- try again emacs lisp auto format from ideasman42.
- he talked to me on discord, on 2025-10-08
- finish reading the ai article
- write a tutorial on python class
- and update my tutorial
- finish update my tutorial
- Python: Decorator
- explain python decorator
- https://x.com/i/grok/share/D0bUzYOJEg0FAvVpxhWFmNLi0
- clean grok bookmarks
- learn the algo for voronoi diagram
- Voronoi diagram
- Delaunay triangulation
- create new page maybe
- What Object-Oriented Programming Was Supposed to Be: Two Grumpy Old Guys' Take on Object-Oriented Programming
- By Ole Lehrmann Madsen, Birger Mรธller-Pedersen.
- https://dl.acm.org/doi/abs/10.1145/3563835.3568735
- write script to rename file on my site
- revive my emacs lisp code to validate site local links
- check_local_links.go
- check_local_links.el
- this command
xah-html-extract-urlhas regex for search all source url. - also check HTML: Local Unsafe Tags
- 2025-05-07
xah-html-validate-anno-buffer, validate my files - clean up annotation
- Gulliver's Travels into Several Remote Nations of the World
- Literature Classics
- how to stop brave browser creating screenshots in download folder on ipad
- make donation links a direct link, e.g. on my home page. check amazon and paypal
- clear text in screenshot dirs
- clear xtodopic dir
- 2025-10-10 clear xtodopic dir, the keyboard photos of computer meseum
- clear twitter bookmarks
- remove big video files on xah site. keep some
- x_big_video_files.txt
- 2024-10-23 remove all copyrighted audio files e.g. Mazzy Star - Flowers in December ๐ต
- convert mkv video to mp4 or webm
- Kensington Orbit Trackball with Scroll Ring
- Convert Video from Different Formats
- remove amazon links, in xah music
- remove amazon links, in xah arts
- put pre js 2015 code each to separate page, and create a index of them
- JS: Convert Object to Map ๐
- mod the python find replace or just find version, so it prints context.
- mod the perl find replace script, so it has a no-write to file option.
- fix the wolframlang script. WolframLang: Script to Find Replace Strings in a Dir
- mod the Wolfram language find replace script, so it has a no-write to file option.
- mod the wolframlang version, so it also prints context.
- modify all these scripts, so they can run in command line with standard powershell or bash option syntax.
- then, do bench mark. then, in coming days, maybe morrow, do a proper livestream on this.
- 2022-01-09 compare the speed (benchmark) of find replace of emacs lisp, python, golang, WolframLang
- in my YouTube, clean up the xah emacs tutorial playlist, and Wolfram language playlist
- polish up the notes on probability, stat, python
- Statistics Tutorial
- Probability Tutorial
- Python: Statistics
- Python: Probability, Combinatorics
- on windows, which version is this rsync
- 0.8.1.0 C:\ProgramData\chocolatey\bin\rsync.exe
- Windows Subsystem for Linux
- 2023-08-26 CC_Engine_x64.exe maybe uninstall
- what is CC_Engine_x64.exe
- https://x.com/i/grok/share/ZrUCpNpvOzgLvzPzoiwGzhbTY
CC_Engine_x64.exe is a legitimate executable file developed by MSI (Micro-Star International Co., Ltd.). It is a core component of MSI's system management software, specifically part of MSI Center (the current version) or its predecessor Dragon Center (also known as One Dragon Center).
- rename some article. to programing problem or programing toy problem Code Fun. Index
- Latest observation on the webdev milengen zoomer web design guru framework faaks.
- This began about 2019 or so.
- Sites no work if u don't have cookies on.
- Having JavaScript on no matter.
- Started to happen all over.
- Wallstreet journal, imgur, reddit, etc.
- (might be off on the specific sites, but it's wildfire).
writing twitter bot
- 2021-12-05 finish Syntax: Sugar Syntax at Compiler Level vs Coder Level (2015)
xahweb user facing
- 2021-11-17 make the back nav bar all point to semantic noodle
- Semantic Noodle. Index
- 2021-11-25 make a side panel for Logo Design in Software Industry. Index
xahweb, less important
- 2021-11-18 remove or move
- Double-Bun Hair Girls (2005)
- Nearly Extinct Animals (2010) ๐บ
- 2021-11-17 search and fix ppp8745 on xah sites
- 2021-11-17 resolve [~/git/xahsvg/xah_svg_core.ts] [~/git/xahjs/xahjs.ts]
- 2021-11-17 resolve [~/xdoc/xahsite_web_todo/xx_2021-10-09_htaccess_orig]
- 2021-11-17 remove the links to big org sites http://xahlee.org/wordy/words/gre.html
old
- Arzopa Portable Monitor (2021)
- Display Ink Phone (2020)
- Display Ink Tablet (2021)
- Using Projector as Display (2018)
- DisplayPort Packet Swarm (2018)
- Display/Monitor Color Bleeding Test (2014)
- Tablet Computer Issues and Touch-Screen Interface Pros and Cons (2012)
- Unicode Screenshots (2019)
- emacs init: arrow keys move by visual line, logical line
- Emacs workflow, fullscreen vs multiple windows
- Emacs multiple displays setup (Amir Bajan, 2018)
- Emacs screenshot, Dan Lentz (2014)
- Emacs screenshot, Nick Alcock (2014)
- Emacs screenshot, Xah Lee (2014)
- Spacemacs Dogemacs screenshots (2013)
- Highscreen Trackball (1993)
- Print Screen, SysRq, ScrLk, Pause, Break Keys
- Mac: screenshot keys, tips
- Navy wants knobs and sliders, not touchscreen (2019)
- Print Screen Key on Microsoft Windows (2018)
- Touch Screen Pen (Non-Active Stylus)
- Problem with Touchscreen User Interface
- LG L227WTG 22'' Widescreen LCD Monitor. 2008
- Linux: Reset Terminal, Clear Screen History
- Windows Blue Screen of Death: A Account of My PC's Memory Failure
- Windows: Delete Lockscreen Background Image
- Windows: Screenshot Keyboard Shortcuts
- Phone and Tablet Screen Density Comparison
- Web Design: Skeleton Screen (2018)
- Windows Lockscreen Background Image Problem (2021)
- Windows sucks: Onscreen Keyboard