Month: May 2019
The Thing with the Crank
"… project called, coincidentally, PLAYDATE. Got our fancy-pants federally registered trademark and everything. …
When our dumb thing launches, I feel there's a very real possibility people will start confusing your thing with our thing, and that will be really annoying for your thing. So ideally, I think it'd be best if your Playdate either tweaked its name … or otherwise came up with a totally different and unique name."
—Cabel Sasser in 2018 email, shown in twitter thread
I've been on the receiving end of name-thieving before, and it's always like that. "We have this trademark (LAWSUIT). We'd love to find a way to work together (LAWSUIT) and you could change your name (LAWSUIT), we wouldn't consider changing ours for a hot second (LAWSUIT)." I've had at least 3 names squatted by jackasses with lawyers. One contrary case: My very old doorgame and early CRPG experiment Delver conflicted with the name of some game company's internal engine, made 5-10 years later; no lawyers were contacted at least on my end, but I don't make new products called Delver, either.
Panic had a year to notice this and other prior uses, and change their name. Of course, they also had 4 years not to ship a black & white screen and a crank which doesn't even power it like the first OLPC laptop.
Maybe MadCatz will make a light & magnifier for it.
(this isn't the all-Panic-Playdate news network, but the weekend's been slow)
It Has a Crank All Right
It's being fellated by the usual MacMacs:
"This is fucking amazing."
But, it's… a small, ugly, awkward, yellow toy with a pointless crank, and a black & white non-backlit screen at about twice the resolution of the original GameBoy of 30 years ago. It has 12 unknown games, and may never have any more. For this, they want $149.
Is this a late April Fool's?
Meanwhile, you can get a MyArcade handheld console for $17 with 308 NES/SNES-type games; I can turn it on, pick a game at random, and have fun for 10 minutes, forever. You can get a RasPi setup for $60 which'll be a better home game console, or an M5Stack with gameboy face for $55; sadly the PocketCHIP which came with PICO-8 preinstalled is out of business, but it was $60 or less, too. Any of these are technically better, have more games, and are more programmable (I haven't pulled the MyArcade apart yet, but it presumably has an SD card inside…)
From now on, when someone announces a stupid product, I'm just gonna add "And it has a crank on the side!"
Support Me on Patreon!
With the BBS going public, and soon a real release of Perilar Fallen Kingdom, it's time for you to help me keep doing this!
I'd at least like to get my hosting costs under control, and anything over that goes to me making cool games and apps for art, instead of boring things to survive.
Mystic Dungeon BBS Update
I just added a doorgame conversion of Lost Treasure to Mystic Dungeon BBS; just go into the Door Games menu and hit L. Just a little toy to compete on the high score list.
Mystic Dungeon doorgame got a new patch, mostly just fixing display bugs, but I've nerfed poisons & paralysis to scale by damage inflicted; I'll see how that works in higher-level play, it may need another patch, so carry an antidote if you're cautious (you can get them from the alchemist in the NE of town). It's a fun, hard little RPG, I can get down to level 2 and 3 now, though that's very very dangerous; I'm nearly Level 3. Once anyone nears Level 4 legit, I'll add some more magic spells.
I'd like to see more competition; log in every day and do your 96 turns, and you can progress pretty fast. I like the turn limit, it prevents anyone (self included) from grinding for hours and jumping up the board unfairly.
I'm in progress at getting my Scheme text adventure completed, and then I'll doorgame convert it, and it'll go in the doors, too.
I need to look again at the file upload system, or maybe replace that entire feature with a script so you can browse files sanely.
Been pretty quiet, got a few users from Fediverse, but after doing some stability testing and system updates, I think it's in good shape now to advertise on /r/bbs, probably tomorrow morning.
The Best SF Author of All Time
So, I can't actually pick one, or even rank ten, but by decade (when they made the works most important to me) it's down to a short list:
- 1830s: Edgar Allen Poe
- … long empty stretch …
- 1890s: H.G. Wells
- … shorter empty stretch …
- 1930s: H.P. Lovecraft
- 1940s: A.E. Van Vogt
- 1950s: H. Beam Piper, Clifford Simak
- 1960s: Brian Aldiss, Robert A. Heinlein, Zenna Henderson, Frank Herbert, Andre Norton
- 1970s: Marion Zimmer Bradley, Katherine Kurtz, Fritz Leiber, Anne McCaffrey, Michael Moorcock, "James Tiptree, Jr", Roger Zelazny
- 1980s: Mary Gentle, William Gibson, Elizabeth Moon, Rudy Rucker, John Shirley, Bruce Sterling, Walter Jon Williams
- 1990s: Pat Cadigan, Greg Egan, Neal Stephenson
- 2000s: Neal Asher, Peter F. Hamilton, Alastair Reynolds
- 2010s: Mira Grant (aka Seanan McGuire), Martha Wells
I can make an argument for almost any of them to be "my favorite" depending on mood, but Piper might be the winner in a bracket contest. I suspect I'd get down to something like Piper vs. Egan and my head would explode trying to compare Space Viking with Diaspora.
My first pass at this, there were only 3 female authors (Pat Cadigan, Mira Grant, and Martha Wells). Several were only fantasy: Which I think less of, but I do read—and Leiber and Moorcock's science fiction are not their best works.
Many only had a few great books or short stories surrounded by a giant midlist of dullness, but that's also why Niven, Pournelle, Steven Barnes, Iain M. Banks, Dan Simmons, and Poul Anderson never made it. Several I do list produced dullness after their peak, like Gibson objectively only wrote one short story collection & 2 thin novels worth reading, one should not read McCaffrey's post-trilogy extended sequels, and anything Stephenson wrote after The Diamond Age needed an aggressive editor to cut out about 2/3 of his text. And yet many continue to write exactly what I like, decades later.
The '60s-'80s really produced a LOT of SF I liked. Was it objectively better? Or was it just "the golden age of SF is 12" which was 1982, so I read what was still in print?
Terminal Condition
I spend half my time, easily, in a command-line terminal running zsh. So a new one, even one on an OS I don't run, is interesting:
- Microsoft's new Windows Terminal, Jony Ive-style promo video, and source code on Microsoft® GitHub™
There are some modern, nice conveniences in this. It's a little ways behind Mac Terminal.app (based on the NeXTstep Terminal from 1990), and vastly far behind iTerm2, but it's more advanced than the usual Linux terminals like rxvt, urxvt, or cross-platform Alacritty or Hyper.
Between this and WSL2 being a full Linux, it's plausible that the best Linux dev environment now (well, this summer when it's released) is Windows. The Year of the Linux Desktop is 2019, and it is owned by Microsoft®. Can you hear the tiny, distant screams of the FSF cultists?
Comparison based on code, reviews, and reddit thread with MS devs involved:
- Scrollback: The single most important thing a terminal can do. MS does this, but doesn't have logging.
Surprisingly, a lot of them only support a few pages. I keep mine at 10,000 lines or so, which is probably wasteful but so handy; I don't bother logging since my .zhistory keeps everything I typed, and I have Terminal.app and iTerm2 set to not close tabs automatically.
Alacritty only just added scrollback last year.
-
Prompt Marking: Nope.
This is a feature it's hard to live without once you've had it, no more paging up trying to see prompt lines (I have a red ANSI-colored prompt and it's still hard to see). In Terminal.app, Edit, Marks, Automatically Mark Prompt Lines, and then ⌘↑ and ⌘↓ move between them. iTerm2 has it enabled by default, and ⇑⌘↑ ⇑⌘↓ are the keys, which took me some re-learning.
Nothing else has this, as far as I've seen.
-
Fonts: MS has programming ligatures and displays emoji, finally. Does not support RTL languages.
I use Fira Code in all my editors and shells, and it's enormously helpful, more readable, and catches bugs: I look for === as a fat-equals symbol in JS, etc.
Hyper, urxvt, Alacritty support Unicode fonts. rxvt stopped development almost 20 years ago so it barely shows 8-bit fonts correctly.
-
Tabs: MS has tabs! They're currently invisible until you add a second tab, same shit Terminal.app does, which annoys the hell out of me; I don't like UI that reshapes itself, reminds me of T-1000 Terminators (also makes it hard to tile my windows up correctly when they get resized).
It's not clear if you can drag Windows Terminal tabs around to different windows.
In iTerm2, I normally keep: First window with tabs for home shell, ssh into my server (running screen, so that has many open shells). Second window with 2 tabs for REPL, editor/running/compiling tasks, and sometimes a third tab for reading local docs. If I need more shells, I usually open them on the first window. I rarely open a third window for monitoring some long-running task; I just drag a tab out to its own window. All terminal windows are stacked on the left side of my screen, because there's no icons under that side of the Desktop.
urxvt has tabs, but they're kind of a hack, not fully usable.
Hyper has tabs, but they replace the title bar. Which is cool but also awful like a lot of things it does.
rxvt and Alacritty don't do tabs, because they insist you use screen or tmux. Which sucks if you want to move a process from one window to another.
-
Profiles: MS supports multiple profiles, so you can use different ones for each task.
So does Terminal.app, iTerm2, urxvt (but it's buried in a text file config).
Alacritty, rxvt, and Hyper have a single profile and no UI for changing anything, hope you like editing text files and reloading.
As far as I can tell, nothing else does automatic profile switching like iTerm2; when I cd to my ~/Code/CodeScheme folder, iTerm2 switches to my dark red transparent profile, including Scheme-specific triggers and copy/paste filtering.
You can probably do that in urxvt's Perl(!) scripting, but it's not normal or easy.
-
Copy/Paste Filtering: Nope.
iTerm2 and urxvt both let you set a bunch of regexp to run over lines to get selections correctly matching boundaries, not just space-delimited.
-
URL Highlighting: Nope.
iTerm2, Hyper, and urxvt notice URLs and filenames, and let you click on them. In iTerm2, hold down ⌘ and click on any URL or path (like in an
ls
orfind
result!) and it does some useful action: Opens the URL in your browser or file path in your editor, by default, but you can configure that in the profile. -
Custom Keybindings: Sorta? Doesn't seem complete, no idea if there's UI for it, but it does exist in their config.
Most terminals can do this, but most can only remap a few actions. I like iTerm2's, as usual, which lets you bind any action, menu, or run a program on any keybinding. I mostly just use it to launch different profiles with starting paths & scripts.
Terminal.app only lets you send specific text for a key.
-
Images: Sorta? Only if they're embedded in fonts.
This is a neat trick in iTerm2: images. I use imgls all the time to see a thumbnail of every file with details (protip: I changed
ls -ld
in the script tols -1Fskd
for a more concise listing), and then ⌘-click to open what I want in Acorn; it's better than opening Finder and trying to read a long filename under a thumbnail.I'm unaware of anyone else being able to do this.
Tower of Babble
Programmers almost compulsively make new languages; within just a few years of there being computers, multiple competing languages appeared:
- 1948-1952: First stored-program computers
- 1952: Laning & Zierler System; IBM Speedcoding by John W. Backus
- 1955: FLOW-MATIC, by Grace Hopper
- 1957: FORTRAN, by John W. Backus
- 1958: LISP, by John McCarthy
- 1958: ALGOL, by ACM-GAMM committee
- 1959: COBOL, by CODASYL committee, which I talked about recently
It proliferated from there into millions; probably half of all programmers with 10+ years of experience have written one or more.
I've written several, as scripting systems or toys. I really liked my Minimal script in Hephaestus 1.0, which was like BASIC+LISP, but implemented as it was in Java the performance was shitty and I had better options to replace it. My XML game schemas in GameScroll and Aiee! were half programmer humor, but very usable if you had a good XML editor. Multiple apps have shipped with my tiny lisp interpreter Aspic, despite the fruit company's ban on such things at the time. A Brainfuck/FORTH-like Stream, working-but-incomplete tbasic, and a couple PILOT variants (I think PILOT is hilariously on the border of "almost useful").
Almost every new language is invented as marketing bullshit based on a few Ur-languages:
- C++: Swift
- Java: Javascript (sorta), C#, Go
- Awk: Perl, Python, PHP, Julia
- C: Rust
- Smalltalk: Objective-C
- Prolog: Erlang, Elixir
- ALGOL: C, Pascal, PL/1, Simula, Smalltalk, Java
- LISP: Scheme, ML, Haskell, Clojure, Racket
- BASIC: None, other than more dialects of BASIC.
- FORTRAN: None in decades, but is the direct ancestor of ALGOL & BASIC.
- COBOL: None in decades.
A few of these improve on their ancestors in some useful way, often performance is better, but most do nothing new; it's plausible that ALGOL 68 is a better language than any of its descendants, it just has mediocre compiler support these days.
Certainly I've made it clear I think Swift is a major regression, less capable, stable, fast, or even readable than C++, a feat I would've called impossible except as a practical joke a decade ago. When Marzipan comes out, I'll be able to rebuild all my 15 years of Objective-C code and it'll work on 2 platforms. The Swift 1.0 app I wrote and painfully ported to 2.0 is dead as a doornail, and current Swift apps will be uncompilable in 1-2 years; and be lost when Apple abandons Swift.
When I want to move my Scheme code to a new version or any other Scheme, it's pretty simple, I made only a handful of changes other than library importing from MIT Scheme to Chez to Chicken 4 to Chicken 5. When I tested it in Racket (which I won't be using) I had to make a handful of aliases. Probably even CLISP (which is the Swift of LISPs, except it fossilized in 1994) would be 20 or 30 aliases; their broken do
iterator would be hard but the rest is just naming.
Javascript is a pernicious Herpes-virus-like infection of browsers and desktops, and nothing can ever kill it, so where it fits the problem, there's no reason not to use it. But there's a lot it doesn't do well.
I was leery of using FreePascal because it has a single implementation (technically Delphi still exists, but it's $X,000 per seat on Windows) and minimal libraries, and in fact when it broke on OS X Mojave, I was disappointed but I-told-you-so.
I'm not saying we should quit making new Brainfuck and LOLCODE things, I don't think it's possible for programmers to stop without radical brain surgery. But when you're evaluating a language for a real-world problem, try moving backwards until you find the oldest and most stable thing that works and will continue to work, not piling more crap into a rickety new framework.
The Biblical reference in the title amuses me, because we know now that it requires no malevolent genocidal war deity scared of us invading Heaven to magically confuse our languages and make us work at cross purposes; anyone who can write and think splinters their thought into a unique language and then argues about it.
Alice's Thursday Music
- Killer, by Alice Cooper: Really just listen to "Under My Wheels", "Desperado", and "Killer".
- School's Out
- Billion Dollar Babies
- Muscle of Love: End of the original band
- Welcome to My Nightmare: First of his solo act
- Goes to Hell, by Alice Cooper
Vincent Damon Furnier's journey from glam-pop Bowie-wannabe into the "Alice Cooper" character and Sabbath-style heavy metal is these transitional albums.