Epigraver

| Tags: dev, macos, screensaver

I created a macOS screensaver that displays and animates the output from command line programs on the screen. You can find it on its GitHub project. The rest of this post provides some background infos about why and how I developed it.

Many years ago — then on a Windows desktop computer — I always used some kind of screensaver. With CRT monitors that didn’t have any kind of power save mode, using screensavers was more or less mandatory.

Then I started using laptops and notebooks and external LCDs. I either just closed the notebook or initiated a locked screen mode. In both cases the monitor switched off and then switched on again when I returned. Then someday I read somewhere that those monitors age every time they are switched off and on again. So, maybe switching them off every time I took a break from working wasn’t a good idea.

I browsed through the screensavers shipped with macOS and chose one that painted nice patterns on the screen. That looked nice but after some time I realised that the fans on my notebook where spinning more while running the screensaver than while I was actually doing work on it. That didn’t feel right. I changed to a screensaver that displays word definitions from the dictionary. That was informative and the fans stayed mostly silent.

After some time that started to become boring and I though “Wouldn’t it be fun to have a screensaver displaying quotes and other funny texts like the old fortune program?”. A search for such a screensaver didn’t result in anything useful. There are some mentions of some Linux screensavers that do this and maybe there is a port for macOS somewhere but I actually didn’t follow that path.

I found that although fortune isn’t shipped with macOS, it can easily be installed via HomeBrew.

In August 2018 I started developing a screensaver I just called “Fortune” as it was meant to call fortune and display its output. I haven’t developed any macOS applications before and screensavers are a speciality that is somewhat sparsely documented. And there are also some additional pitfalls when developing a screensaver in Swift. But looking at open source screensavers helped. And after some days I actually had a working screensaver with one animation.

As time went by I added more animations and more color sets.

I was happy with how it looked then, but I thought that other people might like it and maybe I should make it open source. This is when questions started to come up. What if someone has somehow changed their HomeBrew configuration and fortune wasn’t installed in the default location? The screensaver would need to allow the configuration of the location of that program. But when I add that, why not allow to configure any command line program or script that generates textual output? There is an offensive variant of fortune, but I probably don’t want that to run while I’m at the office. I need some location awareness here. Fortunately I can distinguish where I am just by looking at the name of the WiFi I’m currently on. At this point selection based on weekdays and on the current time was an obvious addition.

Now the name didn’t fit anymore. Although I still use it to run fortune, there is more to this screensaver than that. Naming has always been a challenge for me. Sometimes just taking a sentence that describes the function and then arranging parts of the words to a name worked quite well — as in the case of Osmorc —, but sometimes it didn’t. And it didn’t work here.

I came up with the name “Epigron”. It’s something with “epigraph” or “epigram” but changed to make it a unique name. It didn’t take me long to make fun of that name myself. Just pronounce it a bit differently and instead of “epi gron” you get “epic ron”. What epic Ron is that? Ron Weasley or what? After some more thinking I settled on “Epigraver”. There is still something from “epigraph” and there is “graver” and as a graver engraves some text on some surface, the screensaver puts text on the screen — though not as permanently as a graver. And the other way to read it — epic raver — is also nice. In some way the screensaver raves all those textual outputs.

Out of Body

| Tags: book, fiction, horror

“Out of Body” by Jeffrey Ford is a nice quick read.

A librarian goes about his life following some fixed patterns. One day a guy attempts a robbery in a shop while the librarian is buying his breakfast. The guy kills the cashier and and hits the librarian on the head. After regaining consciousness again, the librarian returns home. In the night, while his body is asleep, his ghost leaves the body. He meets another ghost who teaches him about the workings of the night world. As to be expected there are dangers the ghosts face and special capabilities they have.

This is all nice and conceptually interesting and it fills the first half of the book. But that alone wouldn’t make a worthwhile read.

After the librarian has learned all there is to learn about the night world, the vampire enters the stage. Now the pace speeds up. It gets dangerous, bloody and messy. And connections appear as far back as to the robbery at the beginning of the book.

While offering nothing really new, “Out of Body” is a nicely written novella with some suspense and some horror.

Lanny

| Tags: book, fiction

“Lanny” by Max Porter tells a story that isn’t innovative. It’s actually well trodden ground.

There’s a boy and he’s somehow special. He lives in a small village and one day he disappears. A grand search is started. The wrong people are accused of having abused and most likely murdered the boy. Everyone in the village has an opinion and outsiders come into the village.

What makes this book interesting is not the story itself — although Porter added some twists of his own — but how it is told.

The book is divided into three chapters that each describe one of the three stages of the story.

In the first chapter we get to know the boy — Lanny — as seen by three different people. We get snippets of inner monologue from those three people. By and by they tell the story before Lanny’s disappearance.

Chapter two deals with the phase after Lanny’s disappearance. It’s again snippets from inner monologues but also from interrogations and discussions. In many cases we haven’t seen the persons before and won’t meet them again. And the snippets are also often very short. That creates a sense of buzz. Everyone is searching and everyone has an opinion.

In the third chapter it all slows down very much and merges into the showdown. I won’t tell anything more about it here as it would spoil the suspense. Let me just say that it rounds up the story nicely.

Porter uses a direct and contemporary language that is a joy to read. “Lanny” is a small book very worth reading.

Summerland

| Tags: book, fiction, sci-fi

As to be expected from Hannu Rajaniemi, the author of the Jean Le Flambeur books, “Summerland”, his next book, is a bit crazy.

From the outside it’s a classic spy thriller. There’s a double agent and there is another diligent agent trying to uncover him against resistance from people on higher levels. And there’s politics and conspiracies.

It’s also a kind of alternative history novel. It takes place in 1938 and the main topics are the civil war in Spain and a conflict between the UK and Russia. What makes it alternative history is the crazy and science fictional aspect.

At the time the action in the book takes place, the realm of the dead was already discovered some years ago and the living communicate with the dead via devices called ectophones. The dead can also borrow the bodies of living mediums. They then take control of that body and can move around in the world of the living. The dead still have to work in their realm because they need something called vim (Is this an indication that Rajaniemi prefers Vim as his text editor or only a coincidence?) to keep on existing. If they don’t get that they fade and vanish. There are dead people still running their businesses in the world of the living. And there are also agents in the world of the dead.

As mentioned it’s also a classic western world against Russia situation. The western world has Summerland in the realm of the dead where all the dead westerners keep on being individuals. The Russians have the Presence which is kind of like a singularity. It started with Lenin, but worthy dead Russians are steadily added to it.

It’s really weird and fascinating. As with his earlier books Rajaniemi amazes with his inventiveness.

Zombie Projects

| Tags: dev, intellij-idea

13 years ago I developed two plugins for IntelliJ IDEAFileBrowser and NaviActionPad. It was cool. The plugins did things IDEA couldn’t back then. And it was fun finding out how the plugin API worked. Then JetBrains added features in IDEA that made the plugins obsolete. And then the plugin API changed and the plugins didn’t work anymore.

I moved on to other projects and more or less forgot about those plugins.

Some days – or maybe it’s already weeks – ago, JetBrains added automatic periodic compatibility checking for their plugin marketplace and I started to receive e-mails telling me that my plugins had issues. I ignored those e-mails for a while, because they didn’t tell me anything new and I actually didn’t care.

Today I thought that I might want to get rid of those e-mails and so I logged in into the plugin marketplace website. It’s been a long time since I last did and now there are download statistics. Those tell me that the plugins are still downloaded more or less 20 times a month.

Why would anyone want to download those plugins? They are obsolete and pretty useless. Then I realized that a user browsing through the plugins and searching for interesting ones doesn’t know that they don’t work anymore. It’s probably a pretty frustrating experience to download one of those plugins, try to understand how they are meant to be used and then to find out that they really don’t work anymore and that there is nothing you can do to make them work.

I decided to kill those zombies for good now and requested a removal from plugin marketplace.

This reminds me that abandoned projects should be clearly visibly marked as abandoned or deleted. Don’t let your zombies haunt other people.

The Wise Man's Fear

| Tags: book, fiction, fantasy

“The Wise Man’s Fear” is the second book in Patrick Rothfuss’ Kingkiller trilogy and continues the story that begun in The Name of the Wind.

The second book has the same great writing we got accustomed to with the first book. There are new great stories there. Kvothe leaves the university for some time and lives through adventures in other places.

There’s a part in that book that I found disappointing. I tend to get bored when an author tries to convey that their protagonists need to wait some long time before anything of significance happens. There’s one such long stretch in this book. The author tries to make it interesting with some smaller stories a group of people tell each other at the evening campfire. And the stories are indeed interesting, but the main story line slows down very much then.

The second book is much longer than the first, though. So there’s plenty of great storytelling in there to make up for that. I especially liked the part where the Adem culture is described. It’s clearly visible that parts of that culture are derived from Buddhism and eastern martial arts, but Adem culture has its own interesting peculiarities.

As with the first book, I also recommend this one and can’t wait to read the third book, but will actually have to wait four months before I have any chance to get it.

The Name of the Wind

| Tags: book, fiction, fantasy

“The Name of the Wind” is a fantasy novel by Patrick Rothfuss. I don’t remember where, but some time ago I read a recommendation for it and added it to my private wishlist on Amazon which always contains more than 200 books that I might want to read some day. Then I spotted it in one of those regular ebook sales and bought it for 1€ a half year ago. After reading The Road I just felt like reading a fantasy book. I paged through the list of books on my kindle, opened “The Name of the Wind” and started reading.

I probably wouldn’t have stopped reading until I’d finished it if I weren’t the slow reader I am and if I didn’t need to sleep, eat, work and do whatever other things one needs to do besides reading.

The story is pure delight to read. The characters are interesting and the adventures they live through thrilling. There’s magic, conflicts, romance and mystery and all sorts of things that make a good story. Should I tell you that the protagonist is a talented boy who learns all manner of things — including different kinds of magic — pretty fast but gets in trouble quite often because of his wisecracking tendencies? That suggests some fun and there is plenty fun in that book. But that won’t tell you that it’s an outstanding book and that’s also the case. You’ll have to see for yourselves. Anyone even remotely interested in fantasy books should read this one.

But be warned. Half way through I realized that it is the first part of a trilogy. It was first published in 2007. The second part — “The Wise Man’s Fear” —, which I’m currently reading, was released in 2011. And the third — “The Doors of Stone” — is announced for late August this year. I’m happy to have started reading it this year, because waiting 9 years for the conclusion would most likely have been maddening.

The Road

| Tags: book, fiction, apocalypse

In “The Road” by Cormac McCarthy a father and his son are on their way into the south. They hope to find a better world there. The world through which they travel is burned. Ash is everywhere and the sun hasn’t been seen for years. During the nights it’s totally dark and during the days it is somewhat brighter. They try to scavenge food and water from burnt houses and mostly live on food from tin cans. They compete with those other few people who also survived the apocalypse and also try to survive some more time.

The apocalypse itself is never described. There are some flashbacks to times before and then there are some very vivid descriptions of the effects of that apocalypse that the two come across while moving south on the road.

There isn’t any specific direction in that book. No climax it’s moving towards. It’s as hopeless as the situation it tells about. And it’s very effective in conveying that bleak atmosphere.

Father and son talk as they move south on that road. Their way of talking is as hopeless as the situation they are in. It feels somewhat robotic and often follows the same pattern. And at times it’s quite philosophical. The discussions between father and son and the situations they go through show how dehumanizing life after the apocalypse is when you have to find some way to survive the next day.

Some of the images the book caused to develop in my head still haunt me two weeks after having read it. If you are interested in a believable account of how life after an apocalypse would look like, then “The Road” is a good choice.

The Testaments

| Tags: book, fiction, sci-fi, dystopia

“The Testaments” by Margaret Atwood is a sequel to The Handmaid’s Tale. The book consists of the memoirs or testimonials of three women.

One of those women ist Aunt Lydia who tells the story of how she became one of the female leaders of Gilead and how she lives in the time she’s writing her diary.

The second woman is the daughter of a handmaid who is raised as the daughter of a commander and his wife. She’s most likely the daughter of the handmaid from the first book. At first she describes the life of a girl born and conditioned to the customs of Gilead. But then her foster mother dies and the commander marries a new woman. Life changes dramatically for the girl who enjoyed the Gilead variant of upper class life.

The third one lives in Canada and at first observes Gilead from the outside.

All three stories are told alternately. At first the stories are separate but at one point all three women meet and interact and the stories converge and tell one story from three different perspectives.

“The Testaments” provides a deeper look into the working of the Gilead regime and the resistance movement.

The three testimonials end with a positive outlook, but as with the first book, there is also a final chapter where people on a symposium some 200 years later discuss those latest documents. The names of those people don’t sound western. They could be Chinese, Japanese or maybe Korean. So it probably didn’t end well with Gilead, Canada and the other western nations. Did it escalate in a war or did they just die off because of that infertility which among other reasons led to the creation of Gilead? There is room for another sequel. I wonder if Atwood will write it or if she leaves it up to the speculation of the readers.

I’ve read some reviews stating that Atwood lost her talent as a writer and that she wrote a boring and superfluous book. I’ve read this book directly after “The Handmaid’s Tale” and can attest that it is as well written as the first one. I liked the expanded view into Gilead and how she presented it with those three distinct perspectives. As with the first I recommend this one as a gripping and well-written book.

Valley of Genius

| Tags: book, history, tech

Most books I review here are fiction books. “Valley of Genius” by Adam Fisher is one of the few exceptions. It’s the story of Silicon Valley as told by the people who shaped it.

The author interviewed many people and used interviews done by others. He then arranged the statements made by those people into pseudo-discussions on specific topics. If someone told something about Atari, Apple and Pixar in their interview, their statements now appear in the three chapters about Atari, Apple and Pixar. The author succeeded to arrange it all so well that it really feels as if all those people were involved in the same discussion about that one specific topic. Those discussions are very well readable and fun.

I was amazed to learn how many of those people were involved in several of the groundbreaking developments made in the valley and not just one.

There were a few chapters that bored me. The stories about Wired and HotWired didn’t interest me that much and the look into the future at the end wasn’t that great either. And it isn’t a complete history. I expected to also read some stories about the Amiga and Commodore 64 for example but there are none to be found here.

This book is a fun and informative read. Sure, there’s probably nothing really new here, nothing you wouldn’t be able to find by just using the search website of your choice, but here it’s all nicely collected and presented.