Home For Fiction – Blog

for thinking people


language

How to Make a JavaScript “Horoscope” Generator

November 10, 2019

Relax, I haven’t gone crazy. If you thought someone like me suddenly started believing in horoscopes, you’re wrong. Yes, in this post I’ll show you how to make a JavaScript horoscope generator. But the post is about linguistics, programming, and maybe psychology; not astrology.

If anything, my goal making this JavaScript horoscope generator was to show how ridiculously easy it is to produce accurate-seeming phrases that appear to apply to everyone’s individual situation. Simple answers to complex questions, really.

There’s actually a bit of literary background in this, believe it or not. There is a scene in my book The Other Side of Dreams, where the protagonist makes fun of a Tarot card reader:

Indeed, Ahmed thought, he could tell Anna pretty much everything the woman had said, without using any cards. “You are coming up a difficult fork in the road of your life, considering your options. Part of you would like to be more daring, but you are aware of the importance of being cautious. You are inspired by strong feelings, and you will be rewarded in love thanks to your tenacity. Remember to be true to yourself, although you should also be diplomatic, especially considering matters related to business, money, or agreements.” There, it can’t get any easier than that.

And so, I decided to combine my background in languages and my interest in programming. This JavaScript horoscope generator was the result!

JavaScript horoscope generator
I promise you, this JavaScript horoscope generator will not tell your fortune – because there is no such thing. Parenthetically, the code you see on the image is part of the actual code used in the program.
(more…)

How Speaking Another Language Can Improve Your Writing

October 15, 2019

Speaking another language has always been something I’m good at. My native language is not English; Greek isProblematically for the concept of "native language", I often feel unable to come up with a word in Greek that I know perfectly well in English—I had to look up Arrogant yesterday. Needless to say, the issue is far more pronounced with terminology. I feel entirely unable to express myself in Greek when it comes to, say, the Gothic (my academic field of expertise), or aviation (one of my interests). Put simply, I have no idea what Non-normative Uncanny Other or Compressor Stall are in Greek.. I am also fluent in Finnish and, having lived in Italy, I do understand Italian fairly well. I’m also currently learning Japanese, just for fun.

Or then again, maybe not.

Learning a new language can and should be fun, but if the expression “just for fun” implies only a casual process lacking any true significance, let me dispel that impression.

Speaking a new language, besides offering a great way to tickle your brain and expand your horizons, can be a vital tool for a writer. Writing is about experiencing the world, attempting to understand it, and offering an alternative reality; a new way of thinking. Speaking another language helps the writer by occupying each and every part of this chain.

speaking another language
English is a fantastic language, and it can get you far even when you travel abroad. But speaking another language can offer a rich nexus of experiences.

Speaking another language can help you experience the world in ways your native language might not. This way, it can offer you additional tools for understanding your surrounding environment, at the same time providing you with inspiration to alter it.

How, you might ask. It’s a fair question. So, let’s take a closer look at the intricacies of speaking another language and, particularly, how speaking another language can help you become a better writer.

(more…)

How Euphemisms Work: Thoughts on…Thought Control

April 26, 2019

A quick definition of a euphemism is “a phrase or word used as an ameliorating substitute for an unpleasant or offensive word”. Some people might say “senior citizens” instead of “old people” (or, heaven forbid, “old farts”). But how euphemisms work is a more complex issue, with elaborate psychological underpinnings.

“Euphemism” is a Greek word, literally meaning “good speech”. It was used in the Koine Greek (also known as Alexandrian Dialect, roughly between 300 BCE – 300 CE). Its modern meaning came much later.

Euphemisms can be very obvious, as in the senior-citizen example above. But they can also be extremely subtle, which is what makes them interesting. So, let’s take a look at how euphemisms work. But before that, a funny story about euphemisms. It involves mice. Lots of them.

how euphemisms work
Cute mice, aren’t they? Except if you don’t like mice. Then they’re not mice. They’re…
(more…)