End-of-week desktop dump

Things I meant to post this week


I.

apple preferences, when given d-i-c, suggest a profanity filter

Seems like that (supposed) Dr Johnson quote where he zings the lady for looking up curse words is somehow appropriate here.


II.

tweet from Ian Bogost about LAX airport and its

I never really thought about the failed Great Promise Of The Internet as a subset of anything else, but this @ibogost quote made me realize I was wrong; it’s part of a vaster and more terrible regression — the “failure to realize the promises of the mid century.”


III.

If you’re in the right frame of mind (3G&Ts deep), we sort of already live in a Star Wars (or Arrakis).


IV.

Elvis Costello and friends (Bacharach, McCartney, Dylan, Cash.) had an EP on Record Store Day this year that is now on the streaming sites. Recommended if you like mid-career EC. (I do. The first track showed up on my Release Radar this week. “Everyone’s Playing House.”)

Advertisements

Mastodon, et al, via Nextcloud

Reading my ‘random stuff’ newsfeed and someone mentioned being able to use Mastodon because of their Nextcloud account. I didn’t understand that until digging into the NC “app store.”


Oh, hey.


So I installed the alpha and we’re giving it a try. Apparently I’m rich@nextcloud.porknachos.com.


(This feels like it is sure to die on the vine but oh well. Was only an investment of a few minutes.)

Share with me via Nextcloud

CSS layout and React.Fragment

Still banging on this dumb dashboard project. I wrapped a bunch of rectangles with a parent grid-container, but I was getting one rectangle too many. Oh hey, the box that should have a YouTube embed and a list of links underneath… uh.. doesn’t. The “playlist” is showing up as its own rectangle – a sibling div to the YT player. They’re imported from a single component though!

(Opens that component file.)

Ooh, right. Instead of wrapping the player and the playlist in an otherwise-meaningless div, I wrapped them with React’s Fragment thing-o. The fragment ‘disappears’ in the layout so the two divs inside it get treated as siblings by the grid.

Obvious, now, but a funny little thing I hadn’t noticed before.

Things I read in April 📚

Non-fiction (tech):

  • Man-Computer Symbiosis, JCR Licklider, 1960. That link is to the text, @MIT. Not really a “book,” but I wanted to remember that I read it, so I put it in Goodreads. “The 15 [years until AI is sufficiently advanced] may be 10 or 500, but those years should be intellectually the most creative and exciting in the history of mankind.”

Fiction:

  • I, Partridge and Nomad, Alan Partridge, Rob Gibbons, Neil Gibbons, Armando Iannucci, Steve Coogan. After going on a binge of all the Alan Partridge shows last year, I queued these up and they finally came around. Surprised at how well A.P.s mannerisms translate from show to text. Also now binging on the new show (I think we’re on the 3rd watch-through now, after acquiring the series 2 weeks ago.) These seemed longer than I expected; part of the reason I only read a few books this month. Well, that and the fact that I read another big Alastair Reynolds book.
  • Elysium Fire, Alastair Reynolds. I like this Prefect series a lot. The Glitter Band has so much more story-telling potential than the Rust Belt. (Open it up to other writers, maybe?) I was worried at first that the plot was going to be too-much an allegory for 2016 politics, but it snaked away from that stuff. For the record I don’t buy the deep premise of the voting machines and the Prefects, as “really” politically workable, but it’s a fun idea to chew on.
  • Binti, Nnedi Okorafor. A little thin on plot but a refreshing character, part of sci-fi’s general widening in the last decade or two. I have the next two queued up; I hope Binti keeps being interesting.

Last month I said, “now at the end of the month I’m stuck in another long sci-fi novel that I’m not even enjoying. I may give up on it.” And I did! It was a time-travel concept, and at one point the traveller got “dropped off” in the past. He found the digital macguffin and “sent it forward” to his own time, acknowledging that the transmission speed for that process was a matter of hours. Then a few pages later he’s having a real-time full-duplex conversation with his “handler” up there in the future where his document is headed. If you can have a live chat, you should be able to send your email in a flash. Claude Shannon and whatnot. C’mon.

Anyway at the end of April I got 10% of the way through an absolute doorstop of a fantasy novel. I like it well enough but it may be something I read in bits and pieces over the course of a year. Feels like a broad pastiche of Arthur & Merlin/Fairies/Chronicles of Prydain/D&D/etc. Comfort food of a sort.

So, coming up: more Binti, a Claude Shannon bio (speaking of), another Alastair Reynolds paperweight, maybe more of this fantasy stuff…

Apache rewrite

more Apache stuff… need a /callback route in a node-based PWA (edit: SPA, maybe. Is it still a “single-page app” if you need a second route for auth?) to “pass through” the Apache server; rewrite rule took me a while to figure out, and it still requires the trailing slash, which is fragile. Not sure this is best, but it works.

<Directory /var/www/dashboard/build &gt;
    Options Indexes FollowSymLinks MultiViews
    AllowOverride none
    RewriteEngine On
    RewriteBase /
    RewriteCond %{REQUEST_URI} callback(.+)
    RewriteRule ^ $1 [L]
</Directory&gt;

And after making my edit above, re: SPAs, it occurs to me I could’ve maybe routed it without a truly separate /callback path… it could just provide a querystring at the end of the bare domain… hm.