scrottie (he/him/them)

433 Followers
219 Following
3.9K Posts
Occupier on Haudenosaunee, Oholone, Patwin land.
COBOL programmer.
Swears a lot, at tech.
Please don't feel like you should follow me just because I followed you! You're probably way cooler than I am.
Sometimes I get chatty (procrastinating). Mute me for a while and I swear I will get the hint and go away. Or just tell me to go back to work.
Please don't hesitate to DM me if I did something boneheaded or you just need to chat. <3
maxima/Xmaxima/wxmaxima continues to blow me away. I've been using it heavily while working on my homework. Homework is markdown for pandoc with lots of embedded LaTeX for equations. pandoc converts that to the required docx file. That often involves copying and pasting maxima format expressions (which are Algol/C like) in to the markdown/latex file and tediously changing the maxima syntax to latex syntax. So I had the bright idea of, since maxima has its own little Lisp like language (Lisp running Lisp, yo) writing a translator in maxima language from maxima language to LaTeX. So I started reading more about maxima-lang at https://maxima.sourceforge.io/docs/tutorial/en/gaertner-tutorial-revision/Pages/Programming0001.htm then started reading the bundled source... and quickly found /usr/local/share/maxima/5.48.1/src/mactex.lisp. Which translates maxima-lang to LaTeX. I could have been using that all of this time.

"DWIM: /dwim/

[acronym, ‘Do What I Mean’]

1. adj. Able to guess, sometimes even correctly, the result intended when bogus input was provided.

2. n. obs. The BBNLISP/INTERLISP function that attempted to accomplish this feat by correcting many of the more common errors. See hairy.

3. Occasionally, an interjection hurled at a balky computer, esp. when one senses one might be tripping over legalisms (see legalese).

4. Of a person, someone whose directions are incomprehensible and vague, but who nevertheless has the expectation that you will solve the problem using the specific method he/she has in mind.

Warren Teitelman originally wrote DWIM to fix his typos and spelling errors, so it was somewhat idiosyncratic to his style, and would often make hash of anyone else's typos if they were stylistically different. Some victims of DWIM thus claimed that the acronym stood for ‘Damn Warren’s Infernal Machine!'.

In one notorious incident, Warren added a DWIM feature to the command interpreter used at Xerox PARC. One day another hacker there typed delete *$ to free up some disk space. (The editor there named backup files by appending $ to the original file name, so he was trying to delete any backup files left over from old editing sessions.) It happened that there weren't any editor backup files, so DWIM helpfully reported *$ not found, assuming you meant 'delete *'. It then started to delete all the files on the disk! The hacker managed to stop it with a Vulcan nerve pinch after only a half dozen or so files were lost.

The disgruntled victim later said he had been sorely tempted to go to Warren's office, tie Warren down in his chair in front of his workstation, and then type delete *$ twice.

DWIM is often suggested in jest as a desired feature for a complex program; it is also occasionally described as the single instruction the ideal computer would have. Back when proofs of program correctness were in vogue, there were also jokes about DWIMC (Do What I Mean, Correctly). A related term, more often seen as a verb, is DTRT (Do The Right Thing); see Right Thing."

LLM "AI" is DWIM.

via https://en.wikipedia.org/wiki/Hemichordate ...
searching after the fact, that's totes a color
#whatisthisthing ? I feel like I once figured out or was told what these things are but then it didn't stick and I forgot.