Recent submissions

Comment · 1 year ago
Comment · 1 year ago
As much as I dislike AI slop, one of the first things I did when I first saw Chat GPT was to generate some gamebooks to use as test input-data for my gamebook-generator script. Description with a graph showing one of the stories: https://intfiction.org/t/pangamebook/52856/17

It was useful for making those test gamebooks. I also thought (too much) about how it would be possible to use a LLM to generate gamebooks, but probably best to first randomly generate some kind of structure (directed graph) for the story and then make many smaller prompts to ask for the book to be written one branch at a time. However even if I ever get around to experiment with that I will certainly not release any code (or slop) because AI-generated gamebooks seems like the last thing the world needs.

Comment · 1 year ago
There is this collection of 1980's internal design documents from Flying Buffalo that you can buy:

https://www.drivethrurpg.com/en/product/296847/t-t-solo-desi...

It is old, but I do not know of any other books really on this topic. I enjoyed reading it anyway. One of the documents in it describes a simple manual algorithm for how to number the sections in a reasonable way (just randomly assigning numbers is not very reasonable, as anyone will learn from reading a book where the author did that). I implemented that in a simple pandoc filter:

https://github.com/lifelike/pangamebook

Comment · 1 year ago
Comment · 1 year ago
I have learned it (somewhat) by playing around in TIC-80 and Löve2D (including LoveDOS).

Both Lua and Fennel are tiny languages. You can skim all the documentation in a short evening. Fennel does not even have its own standard library, so keep the Lua documentation close at hand.

I appreciate the simplicity of both Lua and Fennel. There are some ugly parts, but all languages have those.

Janet (later project by Fennel's creator) is a nicer language that is also portable and embeddable, and has a nice standard library, but Fennel runs anywhere Lua runs. Janet is great just on its own for scripting and not sure I would want to use Fennel for that anywhere Janet is available. But as a way to script games in e.g. Löve2D it seems like an excellent choice.

Comment · 2 years ago
I looked at the documentation, saw it looked like a lot of stuff to learn, and went back to my plain org-mode files. Not sure what it is I miss out on?
Comment · 2 years ago
> text-only apps

What? Is that a common problem? And where are those text-only apps anyway? I have installed Termux and some vim app and a few interactive fiction games that are all text. Are those somehow causing trouble by not having enough graphics to look high quality enough for Google?

Comment · 2 years ago
Comment · 2 years ago
It passed the type checker!
Comment · 2 years ago
Comment · 2 years ago
This killed FreeDOS (and presumably all the other *DOS as well) on modern hardware unfortunately. It was fun as long as it lasted. I do not know what the next-best single-user, single-process, non-bloated OS would be to run on modern hardware that still has some reasonably modern software and can be used for distraction-free (hobby) development the way FreeDOS could.
Comment · 2 years ago
I like mazes and I saw that distinction be made before, but I am not sure how universally accepted it is? Other than English how many languages even have two different words? I spent some time now on Google Translate and the only language I find (not that I tried ALL) is Finnish. Modern Greek for instance uses the same word (assuming Google is correct), so did people on Crete, whatever their language was, even have two different words?

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton