Home For Fiction – Blog

for thinking people


GhostWriter: a Random Text Generator App for Android

July 17, 2018

Please note that none of my Android apps is any longer maintained – and they’re not even available on Google Play anymore – for reasons you can read about here. If you still have any of the Home for Fiction Android apps installed on your phone, you’re advised to uninstall them. The post below should be seen purely as a snapshot of history.

I recently talked about the importance of learning how to learn. I spoke of how knowledge should be holistic, with each learned discipline or area of knowledge supporting the rest. Well, let me ask you: Can a guy with a PhD in English literature design Android apps? The answer is GhostWriter, a random text generator Android app I developed.

Long-term readers of this blog probably know that I enjoy programming, particularly when it’s related to writing and literature. Besides my genre-marking JavaScript program, I’ve also experimented with an iambic pentameter generator. Ghostwriter is an app of a similar kind, that is, one concerned with writing and texts.

How Does a Random Text Generator Work?

The GhostWriter app deploys the RiTa library (probably well known to developers). It can generate text based on Markov chain creation. In very simple terms, the program scans some pre-installed texts (mostly older, out-of-copyright novels) and detects how words follow one another.

For example, if there are two phrases like “The black cat went into the market” and “the white dog went into the store”, the app can mix them so that a new, randomly generated phrase emerges: “The black dog went into the market”.

Of course these are only two very simplistic examples. With literally thousands and thousands of combinations, a random text generator can produce some wild results. Here’s just one funny example from A Christmas Carol, by Charles Dickens:

GhostWriter - random text generator
Charles Dickens must be rolling over in his grave. Or, who knows, perhaps he’d find it hilarious and entertaining.

Learning How To Learn, and why It Is Important

July 10, 2018

“I grow old ever learning many things,” Solon said. Learning as you grow old is very rewarding, as well as essential for maintaining your well-being. But there is something more important than learning about science, history, the arts, or anything else. And that is learning how to learn.

But what does it mean, to learn how to learn? Moreover, how can one learn how to learn, and is this sort of learning accessible to everyone? Let’s try to unwrap this with a little personal story.

A relative of mine worked all her life behind a computer. That was in the 80s, long before graphic desktops, and there was significant complexity. If you wanted the computer to do something as simple as filling in a form or printing out a table, you had to enter a series of complex strings and commands. This relative of mine had mastered the entire system and performed efficiently and accurately.

learning how to learn
You are never too old to learn something new, provided you have learned how to learn!

And then she retired, and Windows came along. And it took her years to learn how to use the mouse, and only recently did she understand (sort of) how an Internet browser works. Concepts like “the cloud,” “signing in to Google to save YouTube videos you like,” or even “organize your bookmarks” are entirely alien to her.

Why is all this important? Because it’s a great example of how someone can be an excellent learner of any particular method, concept, or discipline, and yet a very poor learner of learning.

(more…)

Facebook Is not the Problem; not Having Friends Is

July 3, 2018

One sunny morning, four months ago, I decided I don’t want to use Facebook anymore. It had nothing to do with security concerns, mind you. I’ve been lucky enough to be a kid in the age when computers and games were still meaningful, so I’ve learned the lesson well: if you don’t want something public, don’t put it online. Facebook is not the problem, the user is. And, in my case, it proved other things, too.

Facebook is not the problem
There’s nothing social about social media
(more…)