Posts by rl_dane@polymaths.social
 (DIR) Post #B7oFhP0K0M2qGsZAy8 by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       @amin just FYI
       
 (DIR) Post #B7oFhPQYQp1paEq7rE by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       @amin:MiraLovesYou:
       
 (DIR) Post #B7oFkmIHs1bFN7ZyUK by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       @hycPlease, nobody tell him what Mastodon is written in. 🤭
       
 (DIR) Post #B7pSGNIliflXjbb66i by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       #Unix / #sed / #awk / #shell ninjas,What's the easiest way to suppress anything more than 2-3 blank lines at a time? I don't want to remove all blank lines, just excessive blank lines.I'm coming up with a simple shell function to strip html tags, because I don't like the way terminal browsers re-flow/wrap the text when you use the -dump|--dump option.The way I'd normally do it is something like:sed 's/$/{lineend}/' |tr -d '\n' |sed -E 's/(\{lineend\}){3,}/\1\1\1/g; s/\{lineend\}/\n/g'…but I figure there's probably a more elegant way?
       
 (DIR) Post #B7pSRDrl8p2tej8Wwa by rl_dane@polymaths.social
       0 likes, 1 repeats
       
       click on an articleVERIFYING YOUR BROWSER'S SECURITY...Control+Waint_nobody_got_time_for_that.mp4
       
 (DIR) Post #B7pSTwEFAmqzp6wrJY by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       Solution:lynx -nolist -width=9999 -dump $url |lessI kinda wish there were a terminal browser with a `-dump|--dump` option that *didn't* wrap lines. — #microblogging #MicroToot: 101 characters
       
 (DIR) Post #B7pdfawtDRyknOaldI by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       @sotolfThat's not a bad idea, but it would repress some formatting, like paragraph breaks. That's why I was thinking to supress anything more than three empty lines.
       
 (DIR) Post #B7pdfbKzlpGG09s1Cq by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       @sotolfHmm... honestly? Not half bad. 😄Just tried it. Yeah, it actually works better than I thought, since some of the blank lines actually have varying amounts of white space in them, so the varying breaks are pretty well preserved, and the annoying blank regions are pretty well removed:sed 's|<[^/>]*>[^<]*</[^>]*>||g; s|<[^>]*>||g; s/"/"/g' index.html |uniq |less
       
 (DIR) Post #B7psWn2gNkkh0cYr4a by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       'SCUSE me, little endians, 68000 coming through! 🤣#68000 #MC68000 #16Bit #32bit #m68k #ClassicMacintosh #ClassicMac #Amiga #AtariST
       
 (DIR) Post #B7psWnKPJqvjtar0hU by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       Now with virtualization, and optional MMU/FPU! 😁#MC68000⁩ ⁨#M68020 ⁨#32bit⁩ ⁨#m68k⁩ ⁨#ClassicMacintosh⁩ ⁨#ClassicMac⁩ #MacintoshII
       
 (DIR) Post #B7psWnVkdg0KSmA4Nk by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       Now with #MMU! 😂#MC68000⁩ ⁨#M68030 ⁨#32bit⁩ ⁨#m68k⁩ ⁨#ClassicMacintosh⁩ ⁨#ClassicMac⁩ #MacintoshII
       
 (DIR) Post #B7tuEeKtdNW58TjZuy by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       @JdeBPYou mean like... awk/sed? ;)
       
 (DIR) Post #B7tuEek47neKOXVg9I by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       @JdeBPI feel like the 'cat -v considered harmful' folks would say to just use a shell/awk script, rather than writing a bespoke utility for that. ;)
       
 (DIR) Post #B86cyUdcs6XmiebxeC by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       @solusspider @aminGlad to have you back! 💗I also use @tut, but its last update was in early 2023.Other TUI clients are tooi and mastui.For GUI, I've heard good things about Tuba, but haven't tried it with GtS. There's also Tokodon.For a web client, @orbitalmartian's enafore fork works really well:https://orbitalfore.vercel.app/
       
 (DIR) Post #B8B53lhUR7I8QxYuW0 by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       @samd @amin @orbitalmartianI have my own front-ends for apt search and alt show that have more efficient output and faster results, respectively.
       
 (DIR) Post #B8GpSHAAFrR7s7xgsi by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       @GrahamFlusterReaching peak orange tabbiness... ;)I miss my orange boy. My (non-orange) tabby girl is sweet, but prefers to be adored with restraint, or entirely from a distance. 😄@mirabilos
       
 (DIR) Post #B8GssOGalXfjIN71DU by rl_dane@polymaths.social
       0 likes, 1 repeats
       
       @wil @annaecook @mirabilosSome dingbat is publishing AI-vomited books about women falling in love with powerful, self-obsessed CEOs in my name on Amazon. You can look them up, just search on Lex Luthor's shop for "R.L. Dane."How do you like them apples? 🤣
       
 (DIR) Post #B8IWqtMGO7mIT9Z66S by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       @mirabilos
       
 (DIR) Post #B8LIBPzDz8OPeyAMKW by rl_dane@polymaths.social
       0 likes, 1 repeats
       
       The modern web is going great, example number 32,767:I go to my local city's parks and recreation site and click on the button for the class catalog, and it gives me a PDF of the catalog, except...It's NOT a PDF. There is a PDF of it, somewhere, but what I get is a bloated, slow JS view of the pdf hosted on some hellsite called fliphtml5 dot com.I start looking for a way to download the stupid thing, and the best I can find is a downloader site which downloads it and serves you up a PDF... except... the PDF is basically just a stack of JPEG screenshots of whatever fliphtml5 barfs up, and somehow, even better, it's only the first four pages.I guess I'm going to keep the paper version of the catalog, then.#WebPoopPointOh #Gripe #ThisIsFine
       
 (DIR) Post #B8T0p07VKb536qRXRA by rl_dane@polymaths.social
       0 likes, 0 repeats
       
       So tired of seeing backwards text in videos taken with selfie cameras. This is such an easy fix, do phone manufacturers just not care?? — #microblogging #MicroToot: 135 characters