Home For Fiction – Blog

for thinking people


Making a Rhyming JavaScript Shakespearean Sonnet Mixer

January 13, 2020

My JavaScript iambic pentameter generator is among the most popular programming posts on Home for Fiction. It’s a really “alpha” piece of code which I haven’t worked on since I made that first version. But here’s a little something to compensate: let’s make a rhyming JavaScript Shakespearean sonnet mixer!

Unlike the iambic pentameter generator, this JavaScript Shakespearean sonnet mixer returns much more coherent results. After all, the code doesn’t need to generate any random text. It simply shuffles the Bard’s own production.

For a relevant project, also take a look at my poem shuffler.

To keep things simple, I decided to have it generate only two rhyming lines. The more the lines, the slower it would get – and the more likely it would not find any rhyming pairs.

JavaScript Shakespearean sonnet
To code or not to code?
(more…)

The “What Is the Genre of My Book” Question

January 7, 2020

I have yet to meet a writer who hasn’t at some point wondered “What’s the genre of my book?” so let’s tackle this question and see why (if?) it matters.

The genre of a book is an issue that plagues writers, readers, librarians, publishers, and generally everyone dealing with books and literature.

In today’s post we’ll see how you can define the genre of your book. But here’s a twist in the plot: I’ll also inspire you to ask yourself whether determining the genre of your book is something you actually need to care about at all.

genre of my book
Determining genre – such as “Romance”, “Fantasy”, or “Romantic Fantasy” – is a marketing decision. The issue is, to which extent should it affect the creative process?
(more…)

What Is the Burden of Proof in Philosophy

January 1, 2020

In philosophy, the burden of proof refers to the obligation of someone to provide evidence for an argument. In simple terms, when you and I have a philosophical disagreement, the burden of proof dictates whether it’s me or you who has to prove their position.

Now, this might sound a bit odd. “Surely”, you might say, “we both need to prove our point, isn’t that how philosophy works?”

Not quite.

Recall the post on the only game in town fallacy. If our philosophical argument is whether there are invisible, undetectable pink unicorns flying over the house (as, let’s assume, you might argue), it makes a heck of a difference whether it’s you who has to prove there are or me who has to prove there aren’t.

The burden of proof is basically the philosophical rules of engagement. The burden of proof decides who has to prove what in such arguments. Of course, as it becomes apparent, things get complex (and ugly) quickly, because there is often disagreement as to who has the burden of proof.

burden of proof
The burden of proof in philosophy is, in simple terms, the rules of engagement in a philosophical argument
(more…)