Derik Badman's Journal

2019-12-24 02:44

Finished Madame Bovary this morning, having quite enjoyed rereading it. On the whole, I feel Flaubert is quite sympathetic to Emma. He can be particularly critical about most of the characters, but he never seems to forget that her situtation is effected greatly by her place in society as a woman and the way men treat her. I also appreciate the way his descriptions are colored by the character seeing what is described. When they are feeling elated or in love everything is bright and beautiful, yet in the converse everything is dusty and dirty and dark. It's not so much what is there that changes but what one pays attention and how one considers its aspects. I don't really have much to say about it, I guess.

Been working on one of my personal coding projects, an online (but it works offline) character sheet for D&D 5th edition. I've been using it for a while now (the repository has been there for more than 3 years), and since we are going to be playing that edition again soon, I thought I'd update it and improve some issues I've had using it.

My work the past 2 days involved updating the code to some of the latest javascript. Since I don't care about compatibility with old browsers (something that is always a drag in my job), I can actually use the latest features without worrying about polyfills or transpiling. This time I implemented the use of javascript modules with import/export statements. I broke up the code into more modules, and then added a simple event emitter to handle some communication between them. I also converted some of the objects to classes. Next up I plan to make some changes to the actual functionality to add better organization of notes (especially about NPCs), as in my previous uses I've often ended up with large textareas full of notes what were hard to differentiate.