Xah Programing Blog
lots updates.
- WolframScript Tutorial
- Wolfram Language / Mathematica File Name Extension
- WolframLang: Shell Tasks
- WolframLang: Navigate Directory
- WolframLang: List Files (Walk Directory)
- WolframLang: File Path Functions
- WolframLang: Delete Dir
- WolframLang: is File or Dir
- WolframLang: File Exist
- WolframLang: Get File Date
- WolframLang: Get File Size
- WolframLang: Print File Content
- WolframLang: Get File Hash
- WolframLang: Read File
- WolframLang: Load a Package or File
- WolframLang: Write File
- WolframLang: Get Environment Variable
- WolframLang: Date Time
- WolframLang: Find/Replace Script
lots more PowerShell updates.
updated code:
massive updates.
- PowerShell: Object Type, Properties, Methods
- ๐ PowerShell: List Methods
- ๐ PowerShell: List Properties
- ๐ PowerShell: Get Property Values
- ๐ PowerShell: Hashtable, Dictionary
- ๐ PowerShell: Hashtable: Get Key Value, Add Key, Remove Key
- ๐ PowerShell: Join Hashtables
- ๐ PowerShell: Hashtable Key / Property Name Clash
- ๐ PowerShell: Hashtable Get All Keys
- ๐ PowerShell: Sort Hashtable
- ๐ PowerShell: Hashtable Methods
- ๐ PowerShell: Iterate Hashtable
lots updates.
updates.
new addition
new addition. Microsoft Compatibility Telemetry.
lol. installed fsharp
- lol. installed fsharp
- faaaking easy. in 3 min
- meanwhile, last year i tried to install ocaml on windows.
- what a pain. aborted.
- faak the opensource faakheads
- quite amazing. truly
- the open source idiots, never knew what they r doing. except tech geeking
- never actually plan'd to install fsharp. but fsharp was on my mind, because ocaml etc. i really just wanted to do ocaml.
- but, the microsoft guys, made it so easy.
- by basically chance, i just installed it, in 3 min.
- just becase i was reading powershell docs, clicking around and bumped into dotnet doc and fsharp link.
- meanwhile, the open source things, ocaml faakheads...
- multiple times in past 10 years i tried to get on with it.
- no luck.
set DOTNET_CLI_TELEMETRY_OPTOUT
environment variable to 1
.
update and separated to new pages.
- PowerShell: Array
- PowerShell: Array Sub-Expression Operator @(), Collection to Array
- PowerShell: Array, Get Items
- PowerShell: Array, Set Item
- PowerShell: Test If Collection Contains a Value
- PowerShell: Filter Array
- PowerShell: Delete Array, Clear Array
- PowerShell: Array to String
- PowerShell: Array Methods
- PowerShell: Iterate Array
now on github. updated 26-years-old code. still in heavy work. but putting on github now.
now on github. updated 30-years-old code.
major updates.
WolframLang. many geometric transformation functions i wrote in 1998, are now builtin functions since 2007, in version 6.
xtodo review
- complete list of WolframLang syntactic shortcuts. added
ApplyTo
,UpSet
,UpSetDelayed
,TagSet
,TagSetDelayed
- WolframLang: Syntax, Operators Cheatsheet
- 2024-02-21
- major updates and addition.
- Wolfram Language Speed Guide
- Wolfram Language Speed Trivia
found a typo in WolframLang doc.
link to github is now back on xah lee sites
- link to github is now back. 1415 of them on my site.
- i delinked them around 2020 by removing all links to commercial big corp sites.
- they cannot be trusted.
- putting link back now because most link to github are people i know.
- still not to be trusted because commercial sites come and go, and can become spammer's url.
- but link to github is very convenient in relevant articles.
minor. separated the add from commit page.
- now, let me reiterate.
- i deeply despise programers.
- they, dunno nothing about math, and dunno nothing about comp sci.
- but drivels a lot
- of this class, specifically, the c cpp type of coders, and unix.
- less of other coders, say php, js, python, or web monkey.
- because, for web monkies, they are being looked down in programing field itself, by the c cpp java compiler types.
- so, they know, they dunno much. the web monkies. eg js, python, ruby, types.
- but the c and cpp fakheads, they think they r king, just because their lang is extremely faaked up and require a lot rote
- this ilk, it is, that often, drivel their idiotic drivel about what is comp sci or math.
- they in fact, dunno anything about comp sci neither. vast majority of them.
xtodo review.
old articles.
AI Chat Bots Will be Forgotten This Year
Xah prediction. AI chat bots will be forgotten this year, just like past ai achievements, e.g. Play chess, beats human in chess, in go, in video game, machine translation, siri ok google cotana. Strong ai aka agi, or machine with a soul, won't be in sight in 5 years. Chatgpt.
perplexity ai chatbot on xah lee. added to chatGPT on Xah Lee
minor update
Xah Talk Show 2024-02-01 Ep535 Live Coding in WolframLang, Math, Plane Curves Package
Differential geometry. WolframLang. Interesting discovery. WolframLang's ArcCurvature (new in 2014) is unsigned, so you cannot use it for drawing osculating circle. If you want signed, you have to use FrenetSerretSystem (new in 2014). However, in both cases, they are symbolic. You feed it a numerical value to get numerical result. There is no direct numerical counterpart as in NDSolve. So in the end, it's faster, if you just get the symbolic derivatives, and compute the numerical results yourself.
cyclomatic complexity
old. minor updates
new items.
updates.
new index.
updates.
python zip, blog
print(list(zip([1,2,3], ["a","b","c"]))) # [(1, 'a'), (2, 'b'), (3, 'c')] print(list(zip([1,2,3], ["a","b","c"], ["x","y","z"]))) # [(1, 'a', 'x'), (2, 'b', 'y'), (3, 'c', 'z')]
major update
- PowerShell: Working on Files
- ๐ PowerShell: Open File by Default App
- PowerShell: Launch App
- ๐ PowerShell: Join Files
- ๐ PowerShell: Compare Files (diff)
- ๐ PowerShell: Create New File
- ๐ PowerShell: Create File Symbolic Link, Hard Link, Junction
- ๐ PowerShell: Get File Content
- PowerShell: Show File Attributes
- ๐ PowerShell: Set File Attributes
- ๐ PowerShell: Meaning of File Attributes
- ๐ PowerShell: List Files with Specific Attribute
- ๐ PowerShell: File Attributes Object Type
- ๐ PowerShell: List All Possible File Attribute Values
- PowerShell: Change File Owner/ACL
minor update
- phind chat bot on xah lee
- chatGPT on Xah Lee
lots update
- WolframLang: Pattern Matching
- ๐ WolframLang: Functions that Transform Expression by Rules
- WolframLang: Set, SetDelayed
- WolframLang: Rule, RuleDelayed
- WolframLang: Pattern Syntax
- mixtral chat bot on xah lee
- chatGPT on Xah Lee
Microsoft PowerToys is becoming bloated
- one of the problem i noticed, on my surface pro is that, if i use a mouse to select text, it'll deselect it. then, usually, after i tried again, 3 or 4 times, then finally i am successful.
- it seems, once i push down mouse button, move, release, then somehow something makes a click again so the whole selection is gone.
- this started happening few months ago.
- today, i dig in, and found the cause is powertoys.
- cuz i quit powertoys, this stopped.
- restarting it, seems things r fine.
xtodo review
lots updates
Transliterate Chinese
Amazing. WolframLang can transliterate any language. This feature is not available in the free WolframScript though, apparently. [see WolframScript Tutorial]
Transliterate[ "่ฏ่ฏ็ไธญๆ" ]
lots updates.
massive update, on WolframLang association data structure.
- WolframLang: Association (Key Value List)
- WolframLang: Association, Get Value
- WolframLang: Association, Add Key
- WolframLang: Association, Delete by Key
- WolframLang: Association, Check Key Exist
- WolframLang: Association to List
- WolframLang: Association: Filter
- WolframLang: Association, Misc
On RSS (webfeed) and Blogging
revived and updated all my webfeeds for my blogs.
there are 12 of them.
you can find them on xahlee.info and xahlee.org , except on 3 of them, hidden from easy access as filter of the superficial drama seekers.
if you are a blogger, see
- Now let me explain again about the whole webfeed thing, in summary.
- Webfeed aka RSS, Atom, is basically a XML file that collect snippets of news entries. A standard format. The purpose is to allow distribution of news snippets, in a on-going periodic basis.
- now this tech, began in about 1999.
- this tech, is still useful, as a mechanism of distributing snippet of info, aka news, periodically, and worldwide. It is still used as a core mechanism, i think, for all news distribution.
- now, during the blog days, around y2k to 2010, RSS feed became super popular among consumers, namely bloggers and podcasters. You have RSS readers buildin in browsers, eg Firefox, Safari.
- So u can read in one place all the news feeds u subscribed.
- This use of webfeed died, since blogging died and google killed its Google Reader, a feed reader, in 2013. (Google Reader begin in 2005)
- But RSS is still used by some hardcore nerds, in mostly programing community.
- Now, if u r a blogger, especially if u create ur writing on ur own site, RSS has a great purpose, that is, it kinda forces u to write self-contained, complete, blog articles.
- because if u have a RSS, it requires a entry for each now post. When u write a blog, often it began by few sloppy sentences and half-thoughts, that others have a hard time understanding what u r saying. e.g. most posts on twitter r like that. This does not make sense for a RSS entry.
- But if u have RSS, it kinda forces u to complete ur thoughts, ur writings, so u can create a self-contained RSS feed entry.
Asking ChatGPT to Suggest a Tagline for Web Dev Blog
asking chatgpt to suggest a tagline for my webdev blog. Though, the answers it gave lacks sting and poetic quality.
I decided on: โCODING CANCERโ
- Xah Podcast Index, new item on anon and privacy.
- learned a new thing, Radix economy
- important for desiging a computer, what number base to use.
- turns out, 3-based system is most efficient.
Microsoft Windows update problem
- Top Ten Most Serious Software Bugs
- How Did Software Get So Reliable Without Proof?
- Edsger W Dijkstra (EWD) on Programing
- Lambda in Python 3000
- Why Programming Languages Are Hard To Teach ๐บ
- Dynamic vs Static Type System in Programing Languages
- Why I Hate Exceptions
- Meaning of List, Array, Vector, Tuple, Slice, in Programing Languages
- Meaning of Object in Computer Languages
- Emacs Lisp: read-from-minibuffer Propels Deep Questions
- Context Dependent Semantic: Python, Lisp setf
- Docstring Convention: Python vs Emacs Lisp
- TCP/IP Tutorial for Beginner
- Xah Programing Blog Archive 2016-09
.chm file, opened by
Microsoftยฎ HTML Help
at
C:/Windows/hh.exe
- WolframLang. Interesting function.
ReverseApplied[f][a,b,c]
- means
f[c, b, a]
- f can be any function you write.
- New in 2020.
- i see, the application are, for changing order for:
- non-communicative multplication functions (in algebra)
- function composition.
- fold left, fold right.
- etc.
- where convention may differ.
- The word abstraction is abstract.
- It's abused especially in programing. Especially those discussing programing or programing languages, e.g. object oriented programing, functional programing.
- Anything is abstraction, and they are the reasons or cause for this and that.
- https://www.youtube.com/watch?v=ENm1q1x4l-o
- Episode 1: An Overview of the Wolfram Compiler
- Wolfram R and D (Tom Wickham-Jones)
- Oct 6, 2023
- WolframLang: List
- WolframLang: Position of an Element
- WolframLang: Get Parts of List
- WolframLang: Delete Element in List
- WolframLang: Change Element in List
- ๐ WolframLang: List Order Functions
- ๐ WolframLang: List Restructure Functions
- ๐ WolframLang: List Combinatorics
- ๐ WolframLang: Check Item Existence in List
- WolframLang: List Join, Union, Intersection, Difference
- reviving Xah Web Dev Blog
machine learning to solve polynomial
- 2023-09-22
- i was wondering how good can the ML get. e.g.
- show ML billions of
- x^n+b x^(n-1) ... = z
- (in text form as shown, not coefficient vectors).
- let's say degree 3. How accurate can ML do this?
- and what if we increase degree to say 10. (the input pair, can text equation with numerical answer, or with symbolic answer.)
- seems this is a good exercise to learn and test ML, since the input with answer can be massively generated.
- maybe more interesting is the case with symbolic solutions?
- WolframLang
FeatureSpacePlot
. - It auto cluster similar things.
- part of machine learning.
- FeatureSpacePlot
- https://twitter.com/xah_lee/status/1708538097536024667