New Maccy is here! (Had to call the UPS guy back because I was AFD for 1 minute)
Is currently updating Tahoe. Is too cold from truck to really be on my lap, hopefully this warms it up.

Fucking Settings app is garbage. Search "modifiers" no results. Find it in Keyboard, Shortcuts, bottom of the list, so I can have capslock=ctrl like a sane person.

Haven't named it yet. All my computers are fictional places or ships. Was kinda thinking either very cutesy like "PoohCorner", or dark and ominous, maybe "Demeter" or "Nostromo". I don't know any really iconic ships of late.

Short list for names is now down to:
Revenger (from Alastair Reynolds)
BlackPearl (Pirates)
Arcadia (from Space Captain Harlock)

Have settled on Revenger. It just has that slightly deranged little girl with ghost knives feel.

Finally figured out that the Force Click and Look Up trackpad settings are why I couldn't drag & drop. Got those off and hey, this is a perfectly usable non-mouse!

Got my home dir & bin dir moved, but not recompiled.

Also played some Luanti and it's possible but really scary to do anything on trackpad, I'll have to find a spare mouse, good mouse is staying on the old Mac for now.

Safari no longer has an "Import Bookmarks" command. You can import automatically from another browser, but what you're supposed to do is sync over iCloud. Which I turned off on my old Mac.

… So now I have old bookmarks on new Mac, and I exported a good list, but I'm waiting to see if iCloud figures it out and updates.

If all else fails, I may be able to just replace a file in Library? Or do I have to import into Firefuck or whatever, then let Safari pull from it?

Automation sucks.

Finally solved by: Copy bookmarks.html to new Mac. Install & run Firefox (ew). Import. Quit. Open Safari. Import from Browser.

Now delete a bunch of duplicate dirs. Hope it syncs up from this and doesn't overwrite, who knows with iCloud.

Resolve to avoid installing a shitload of things in MacPorts lasted a day.

I need multimarkdown…
EDIT: do not install wkhtmltopdf from homebrew, it has a broken fucking QT!!!

Now investigating some shit with weasyprint.

But I'm resisting homebrew, that shit can fuck off into a hole.

OK, weasyprint works
https://doc.courtbouillon.org/weasyprint/stable/first_steps.html#

Actual way I installed:
sudo python3 -m pip install weasyprint
sudo port install pango

Works:

python3 -m weasyprint foo.html foo.pdf

Well, sorta, does different layout than I'm used to. So now any book will need relayout? Maybe not too much.

ALSO, latest multimarkdown is being bitchy about
----
## header

Wants an extra newline between. AYFKM?

First Steps - WeasyPrint 68.1 documentation

OK, aside from no table of contents or JS (which I don't use TOO much?), I'm working again, including page numbering in CSS!!!

cat <<CSSEND >"$TMP/md.css"
@page { size: $pageSize; width: $pageWidth; height: $pageHeight;
margin: 0.25in;
margin-bottom: 0.5in;
counter-increment: page 1;
@bottom-center {
content: "— " counter(page) " —";
}
}
CSSEND

python3 -m weasyprint -p -s "$TMP/md.css" "$dir/$outfile.html" "$dir/$outfile.pdf"

\o/ Flawless victory!
#html #css #pdf

Getting ready to move my Code folder over. Found a half-dozen node_modules dirs, a bunch of built binaries for old projects, etc.

A fat Unity dir, which I'm unlikely to use again? Moved to desktop for final triage.

~/Code% du -sck *|sort -nr
5389300 total
906392 CodeJS
797772 CodeTouch
418100 CodeMac
324456 CodePascal
311776 CodeNode
260924 CodeMedley
182240 CodeObjC
171988 CodeRacket
170932 CodeJava
160168 CodeChez
114488 CodeQB64
107080 CodeKawa
53508 CodeGerbil
48520 CodeChicken

Watching the archive and oh there's so many old .git and .svn logs, these *may* all be past my p4 or cvs usage? One old project has images that don't exist, it just fails out on collecting them, sigh.

On both old Mac & new, in zsh,
LC_COLLATE=
LANG=en_US.UTF-8

But on old Mac, ls sorts as if LC_COLLATE=C
new Mac, case-insensitive, but not Mac native sort (numbers are 1, 10, 11, etc.)

I DO NOT UNDERSTAND.

@mdhughes Does `ls -v` sort how you expect it to?
@Whovian9369 No? That's graphics chars, which would only affect like Icon\n names (Apple, geez.)

@mdhughes Oh joy. On Linux at least, that is marked in the manpage as "natural sort of (version) numbers within text" and has worked for me to get 1, 2, ..., 10, 11, 12 ... etc

Best of luck!

@Whovian9369 BSD/Mac is very different.
@mdhughes I figured it was worth the shot, apologies then.