Change git repo to use SSH not HTTPS

Software

I cloned a repo from GitLab this morning, made some changes, and was about to commit when I got this:

remote: HTTP Basic: Access denied
remote: You must use a personal access token with 'read_repository'
	or 'write_repository' scope for Git over HTTP.
remote: You can generate one at
	https://gitlab.com/-/profile/personal_access_tokens

Sure enough, listing the remote sources showed HTTPS not SSH:

$ git remote -v
==> origin https://gitlab.com/rubenerd/repo_name (fetch)
==> origin https://gitlab.com/rubenerd/repo_name (push)

So I changed:

$ git remote set-url origin git@gitlab.com:rubenerd/repo_name.git

Donezo.


Expelled from Paradise seven year anniversary

Anime

I only just saw the official post from November last year:

Expelled from Paradise

It got mixed to meh reviews from the anime community, but Clara and I loved this film. I joked at the time that it was as if WALL·E had a spinoff with characters designed by Saitom, one of my favourite artists. It tackles many similar themes (no spoilers), and even has a cute robot with a hat!

It was most polarising for its use of CGI, when most anime was—and continues to be—hand drawn. It was a bit jarring for the first minute, but it was probably the most well-executed use of it at the time. My primary frustration was realising I wasn’t nearly rugged enough to cosplay Zarik Kajiwara.

Seven years does seem ridiculous though… I saw it as such a modern film. I guess it still can be.


Alan Baxter on writing

Thoughts

The Australian author extraordinaire:

What if I told you the ONLY writing rule is this: You must write.

Everything else is advice. Everything.

This goes for blogging too, or probably any creative outlet. You don’t get good at it yak shaving, like tinkering with content management systems. Believe me on the latter, I would know!

I’m pretty sure Michael Warren Lucas has voiced similar sentiment.


My retrocomputer projects, Q1 2022

Hardware

I haven’t done a proper update for a while. At best I get half hour chunks of time these days to tackle these, but I’m slowly making progress. I also didn’t appreciate how much silly stuff was here until I wrote it all down.

Commodore stuff

  • Fixing 80-column mode in my Commodore 128. I’ve confirmed my RGBi to VGA converter works, so it must be an issue with the IC or board itself. I got the service manual handy on my iPad Mini now, so I just need a solid afternoon to work through it.

  • Recapping my NTSC Commodore 16. She still works, but there’s one cap that’s starting to look a bit rotund, so I’ve kept her powered off. I ordered a kit in December, hopefully it arrives soon. I know the Plus/4 has more ports and features, but I might like using the 16 more.

  • Finding a home for my Commodore 1541. I have a 1571 disk drive that acts like as a 1541 on my Plus/4 and 16, and I don’t have space. She also needs some attention; I think the motor that moves the head is kaput.

DOS stuff

  • Installing another 32 GiB CompactFlash card for my Pentium 1 tower. Turns out that while Windows NT and BeOS can see larger capacities than the BIOS, they’re incredibly unstable when running on them. Ironically, DOS/Windows 3.1x and Windows 95 work fine with a smaller partition.

  • Fixing the sound on my Toshiba Libretto 70CT. I suspect it’s just the 2.5 mm [sic] jack has come loose, which means it should be an easy fix.

  • Testing EMM386 in the latest QEMU. It’s always been unstable for me, which has limited my ability to write DOS stuff on my modern machines. Thank you, but yes I know about $other_emulator.

  • Taking stock of all my spare SCSI paraphernalia, now that I’ve installed everything I need. I think I’ll keep a spare ribbon cable and terminator, but the rest can probably be sold or donated.

  • Swapping out the dying hard drive in my Compaq Contura Aero 4/25 subnotebook when it arrives. Did I mention I got a tiny monochrome laptop from 1994 with the same specs as our first family computer? That’s for another post!

Mac stuff

  • Replace the busted hinge in my iBook G3. Every time I look at the iFixit guide I blanch a bit and put it away. I need to just do it!

  • Test why I’m not getting VGA output in my iMac DV. I get the feeling the logic board might have been damaged during a house move. Maybe just a cracked trace?

Hi-Fi stuff

  • Tackling the power supply for my LaserDisc player. Hales has offered to walk me through it because he’s a gentleman, need to figure out when I have a proper block of time.

  • Disassembling and testing my cassette Walkman to see if I can get auto-reverse working. It plays tapes flawlessly, but it jams when it hits the end of a tape. Belts and gears all look fine.

  • Researching a decent pair of powered speakers. Clara and I don’t play loud music, and we’re thinking of replacing the heavy, hot amplifier with a small input selector and a basic vinyl preamp. Not sure if that counts as sacrilege.


BioGraphics discusses Augustus

Media

I got into Simon Whistler’s videos for engineering, but I’ve started watching his BioGraphics and GeoGraphics channels recently too. This recent video on Augustus was a real treat:

Play Augustus: Rome’s Greatest Emperor

I know double-length specials are a lot more work, but I think he and his writers really shine with the extra time.


Premature optimisation when choosing stuff

Software

Donald Knuth was onto something when he coined the phrase premature optimisation. He was talking about software development, but the idea that its counterproductive to streamline a process before you’ve understood it is applicable to a range of other contexts. I’ve noticed myself doing it when I even choose what to use.

A few years ago I learned about ack, an alternative to grep for searching text files. I loved it! But then I read another tool was faster, so I switched to it. It didn’t have some of the useful syntax or features, but I learned to make do.

I recently started using the ranger console file manager. It’s written in Python, so I assumed a couple of alternatives would be better given they were written in Go and Rust. They were certainly faster, but they lacked some of the features I used. I learned to make do.

A long-running personal project had me using OPML, an XML-based file format for outlines. RDF schemas and data structures are more feature complete and don’t carry OPML’s limitations and quirks, so I went down the rabbit hole of using it for a personal project. I didn’t have fun.

I’ve done this with Perl modules, text editors, cameras, coffee machines, even apartments. I optimised for a specific quantitative metric in each case, to the detriment of others that would have made my life easier. Did the added performance, features, megapixels, or steam pressure help me? The fact I’m posing it as a rhetorical question is only slightly less redundant than this sentence pointing it out.

Ack, ranger, OPML, and my Aeropress are slower or more limited when compared to tools in a similar class. But what they offered me in return was something greater.


Don’t invest in cryptocurrencies

Internet

As “the tech guy” among his family and friends, I’m regularly asked for my advise on what computers, phones, and other electronics to buy. I take the responsibility seriously. These devices can dip into the thousands of dollars, and I wouldn’t want to saddle someone with an expensive mistake that wasn’t tailored to their requirements.

I’ve been asked by people if they should invest in crypto-“currencies” and NFTs.

No.


Pop Up Parade Fate/Grand Carnival figs

Anime

Photos of Mashu Kyrielight and Fujimaru Ritsuka in fig form by Pop Up Parade

Cute. Cute! CUTE!

Preorders are open until the 20th of February. D-damn it.


Edgar Allan Poe on ciphers

Software

Wikiquote quotes the author’s July 1841 submission to Graham’s Magazine:

Few persons can be made to believe that it is not quite an easy thing to invent a method of secret writing which shall baffle investigation. Yet it may be roundly asserted that human ingenuity cannot concoct a cipher which human ingenuity cannot resolve.

I was tempted to say this no longer holds, but I don’t think that’s true. Every Enigma Machine has its Alan Turing and Bletchley Park.

The question now is timeframe. We’ve reached the point where our computers can brute force anything, provided we have the heat death of the universe to finish. But clever people will also chip away in the meantime, or invent new computers to speed up the process. It’s happened before, and it will again.

As Stewart Brand observed:

Information Wants To Be Free. Information also wants to be expensive. …That tension will not go away.

Maybe we need Triple Edgar Allan Poe, where we decrypt him with a second key in between encrypting him with his first key. We could call it Triple DES, or Triple Difficult Edgar Sipher. Hmm, that would involve us misspelling cipher.


Using innocuous prompts as hooks

Internet

An software and web design antipattern is a feature that coerces a user to perform an action they otherwise wouldn’t have. Among thier self-defeating downsides, they train users in advocate to avoid you!

I got a notification this morning from an iOS application asking if I was enjoying using it. I thought of tapping Yes!, but then I remembered that nobody asks these questions in isolation. Marketers and advertisers call such prompts a hook.

Play Dr. Hook Greatest Hits || Best songs of Dr. Hook ( full album )

Nah I thought, it’s a beautiful morning and I’m in a good mood, surely this will be the exception to the rule? Walk Right In, Sit Right Down, tap yes on a prompt and move on. You can’t go through live being that cynical.

I tapped Yes!, which opened a browser window to a long questionnaire with dozens of “compulsory” fields. As my grandfather used to say I hate when I’m right.

And here’s the thing: it almost worked. I’m sure there’s some psychological studies that show that people are adverse to leaving things unfinished, or not having their advice or opinions recorded. I hovered over that page for a few solid seconds before deciding I’d risk not having them record my Yes.

Their invasiveness aren’t necessarily what I find offensive, it’s that they lie. They didn’t ask if we’d fill out a questionnaire to help them improve their software, they obfuscated their intentions. They also traded on our goodwill, something I’m surprised at how willing companies are to part with.

But back to my first point. I’ve been trained further by this industry to ignore their prompts for feedback, and especially from software produced by this company. I can’t be alone for thinking this.