Why Do I Do It?

Another weekend, another series of work-related messages for "emergencies" that are anything but. A little background knowledge of the company and a reduction in hyperbole would likely enable the company to resolve 80% of its reported "problems" with a simple, 30-second conversation. Instead, there are people "escalating" things as though the sky is falling and servers are exploding … and I'm stupid enough to not only read these messages at all hours of the day, but respond to them as well.

Why, though? What possible value are my soliloquy-length, data-driven responses to members of an organisation who seem to abhor learning?

Over the last couple of months I have found myself becoming more and more frustrated with colleagues. This feeling clearly bleeds into the discussions that ensue, and it's genuinely unfortunate because it's neither professional nor productive. Yet, despite knowing this, I continue to put my time off on hold to check that everything is working smoothly. Messages are seen, chains are read, misconceptions are spread. I jump in like an idiot in order to try and provide information and offer possible solutions that are generally ignored. Then I lose my weekend or time off because the brain is busy thinking about the endless non-issues that consume so much time at the day job.

This has been the general pattern for years and yet I've yet to learn how to disconnect and stay disconnected. But why? Am I trying to solve problems? Am I trying to defend the systems I'm responsible for? Am I trying to feel angry? Am I just stupid? There is likely some truth in all four of these options, but it's not helpful anymore. Maybe it's never been helpful.

There are better things that I should be doing with my time.

Night Terrors

Every couple of weeks I hear a child screaming right around midnight. This isn't a normal sound, like one would expect from someone angry or hurt. These cries are laced with the unmistakeable sound of horror and panic; as though someone fears for their life. The sound is quickly followed by what sounds like pounding and then, usually within 30 seconds, it all stops and an eerie calm descends upon the neighbourhood. Today I traced this sound to the house next to mine, where a young boy of six or seven lives. It sounds as though he is visited by night terrors.

The factors that generally lead to this sleep disorder include age, sleep deprivation, medications, stress, and fevers. Young kids might experience this from time to time between the ages of 3 and 12, though they usually have no memory of the event the next day. Given how the modern news outlets portray the world, I'm honestly surprised that more people — particularly adults — don't suffer from night terrors. There's a lot that can keep a person awake at night.

Hopefully the boy next door grows out of these sleep interruptions. It can't be easy on his parents, who are some of the most decent people I've had the chance to meet1.

  1. Most of the people in the neighbourhood are great. This is a pretty decent place to life.

Praise You

The boy went for broke today and used the potty six times successfully without ever missing the mark. Generally a good day has him being "a big boy" twice; once before lunch and once after his afternoon nap. However, today was quite a bit different in that he was in search of something specific: praise from his mum.

Mothers seem to have a particular way of delivering encouragement to their children. When the young person accomplishes something, no matter how small, they are showered in a disproportionate amount of praise. Watching my wife and son today, you'd think he received a full scholarship to Harvard. If it were possible, she would likely throw bouquets at the boy for knowing when to stop playing, run to the potty, pull off some clothing, and urinate. I'll admit that this is a crucial skill that everyone must know but, while I'll congratulate the child and give him a high five, I don't over-act. Reiko, however, does.

And the boy gobbles it up.

Sometimes I wonder if I come across as having too high an expectation of the boy. I think it's great that he's able to walk, talk, sing on key, frequently use the potty, read two of the four character sets used in Japan, eat with both western and Japanese utensils, and almost completely dress himself after just 36 months outside the womb, but my praise is specific and controlled. I want him to succeed in life. I want him to do his best. But I'm also rather critical. It's one thing to know how to use chop sticks. It's another to use them properly as tools to eat rather than as drum sticks.

Yet this parental imbalance seems to work. Reiko lavishes the boy with compliments and positive emotions that I haven't successfully expressed in 30 years while I congratulate him and say that he's done something good, then reward him with a treat of some sort1. People love to be praised, so will this pattern continue? Will the boy be just as keen for his mother's over-reaction at 13 as he is at 3? How about when he's 23 and potentially graduating from university? I wonder.

When I was a young man, praise was a wonderful thing. But by the age of 15 the kind of praise I wanted was rather particular. I didn't want to know whether someone liked what I did; I wanted to know what it was specifically that people liked about my effort. Generalisations meant nothing to me … and still do. Will the boy be the same way?

Every couple of weeks it seems the kid is doing something new and pushing his skills ever further. Monday will be his first day at kindergarten, which means he'll be interacting with a lot more people his age pretty soon. This will give him a lot of opportunities to develop new friends, new interests, and new skills. What sort of things will we see him excel at in the near future?

Regardless of what he might do, I look forward to seeing him develop into a contributing member of society over the next two decades. May my neurosis not rub off on him.

  1. Treats are often in the form of a tangerine, a yogurt drink, or a trip to the park. He loves these things so much, but we're careful about how much of the edible treats he consumes. The boy never gets more than two tangerines a day, and never more than one yogurt drink a day.

Good Coffee in an Instant

At some point in February 1995, while attending high school, I started drinking coffee. Winter was cold that year and I was generally the first person to wake up in the morning, meaning it was my job to prepare the first pot for my parents. They drank fine-grind Maxwell House and, because that's what they had, that's what I had as well. As one would expect from a teen, my caffeinated beverage would contain a bit too much milk and far too much sugar1. The first cup would be ready a little after half-past four in the morning2 and then I would bring a travel mug with me on the bus to school. Almost a quarter century has passed since I started drinking the addictive liquid, and it remains one of my pleasures to this day.

Earlier today, while performing a quick image search for "a good cup of coffee", I stumbled across this post that offers a suggestion on how to make instant coffee taste better and was curious to know what they might suggest. As I'm the only coffee drinker in the house, my coffee is an AGF instant brand called "Blendy". It's quite smooth and not too bitter. Of all the instant coffees I've tried in Japan, it's by far my favourite3. What's interesting, though, is how many people roll their eyes or scoff when they hear — or see — that I drink this particular coffee. Despite people's opinions, however, I've managed to work out a pretty good method to consistently have great coffee. So what could this random article on the Interwebs suggest that might improve my daily joy?

What you do: Pour 1 tablespoon of cold water into your mug, then add the coffee grounds and stir until fully incorporated. Fill it to the top with hot water, stir again and enjoy.

Well that was a disappointment. Who doesn't do this when mixing a drink from a powder?

What I do is similar but, rather than use cold water, I use cold milk; the only thing permitted in my coffee.

  1. Pour 1 finger's width of milk into the coffee cup
  2. Add 1 heaping teaspoon of coffee
  3. Stir for 30 seconds while the hot water comes to a boil
  4. Pour the hot water into the continuously-stirred coffee-milk mixture until the mug is about ready to overflow
  5. Lift the spoon out of the cup while still stirring, stopping only after the utensil has completely escaped the steaming liquid

Not including the time to boil, a mug can go from empty to "peak-sunshine" in under a minute, and it's both cheaper4 and more enjoyable than anything from the chain or boutique coffee shops that pepper the region.

  1. By "far too much", I mean "more than zero". Haven't had sugar in my coffee for about 20 years now, and there's little chance I'll go back to putting that stuff in my cup ever again.

  2. I used to get up really early back in the 90s.

  3. Blendy is also one of the cheaper instant coffees, generally selling at 350 Yen for 220g, which is good for about seventy-five 350mL cups of coffee. I know this because my coffee mug can hold the contents of a 355mL canned beverage without spilling over thanks to the magic of surface tension. When I make a cup of coffee, I fill the sucker right to the brim … but just shy of relying on surface tension.

  4. A cup works out to 4.6667 Yen in coffee, 2.75 Yen in milk, and some amount for water and electricity. This works out to less than 10 Yen per cup. I have no complaints.

A Lifetime of Content

While in the shower today I started thinking about what sorts of challenges a person might face when their personal website contains a lifetime of content. For people who are prolific writers who cannot go a day without putting words down somewhere there are bound to be issues that are somewhat unique to their use case1 but, for the most part, the issues they face would be universal enough to think about realistic methods to organise and present several decades of posts.

An obvious way to look at the problem is to see what large sites do now about their burgeoning collection of articles. Newspaper sites will have tens to hundreds of thousands of items that people can search and sift through. Professional bloggers like John Gruber will have thousands2. If a typical person were to write 200 semi-long items per year then two decades of effort would result in 4,000 posts and five decades of effort would be 10,000. Would a person with ten thousand posts with images, links, tags, and other meta data stick to a reverse chronological telling of their life? Or would something better be needed? Would ten thousand posts be a tipping point, encouraging someone to instead present their writing in a magazine format? Or as some sort of summary? Or perhaps with "most popular items" on a landing page, then a running list of recent posts on a separate page and in RSS?

These questions popped through my mind today while thinking about some of the older blogs that I've read over the years and the incredibly long list of months that generally sit in a sidebar. People who write in a paper journal generally use coloured tags and sticky-notes to mark important items or pages that they'd like to celebrate. The closest simile I an think of in the blogging world would be "pinned posts", but this is hardly something a long-term blogger would want to do as the landing page would become an almost-static list of the past as more and more posts become pinned.

With a magazine format it would be possible to have a carousel with a random selection of pinned posts, with newer items around it. For browsers that do not have JavaScript enabled, the list can be presented in a flattened, less dynamic manner. But is this the answer?

Perhaps for some, but it's not what I'm looking for on my site.

With over 3,100 posts of my own, not to mention the 96,497 social items or the 167 quotes, there are really just two ways to find items on here:

  1. Via Search (either on here or via a search engine)
  2. The Archive page

This is like a game of chance. Will anyone find the items we wish to share for any length of time? And, when a person has an entire lifetime of content to share, what is an effective way to prioritise?

  1. I dislike using the term "use case", but can't think of a better one. Situation? Circumstance? Preferences? All of these are captured by the umbrella term "use case".

  2. A rough estimate says that he has 1,565 posts on his site as of today, which was determined by using a search function to count the number of date strings. Not an exact figure, but close enough.

In Search of Answers

Yesterday evening my database server let me know that there were a couple of updates available that would fix a few bugs in various pieces of software and, because the updates looked tame enough, I opted to skip any sort of testing. A quick series of keystrokes later, the machine was quietly updating itself. Generally when there are just a handful of updates available, the entire process finishes in under a minute and the system just keeps on going. Yesterday, however, was different. This update required almost two minutes and, after completing, all of my web-based tools were terribly slow. Something was clearly wrong.

The culprit was quickly narrowed down to an upgrade for MySQL that brought it up to version 8.0.19. I quickly started looking around online for possible reasons this might happen, but nothing jumped out for this particular version. The general advice was all so generic: rebuild the tables and recompile the stored procedures. Unfortunately, neither of these suggestions made any difference whatsoever.

In time I was able to narrow the situation down to the following condition:

When a stored procedure is populating a temporary table through a source query that uses a CROSS JOIN within a nested query, performance dramatically drops.

By drastically, I mean something that generally takes 33ms in isolation would take over 7,750ms in the stored procedure … which is almost 8 full seconds. Considering the stored procedure in question is called about 40,000 times a day, this was something that needed to be fixed right away.

Fortunately a quick little rewrite of the one query brought performance back across the system and everything was good to go. I'll use this as a reminder to not use a CROSS JOIN to cheat when building dynamically-sized tables that requires a sequential ID.

Technical solution aside, though, an odd parallel is happening in my personal life as I seek answers to questions that run very deep.

For the better part of six months I've been re-introducing religion into my life by reading a great deal of books that analyse and discuss the books that built western civilisation, primarily the Christian Bible and the Jewish Torah. In my youth I had studied both Christianity and Islam to a certain extent, but not enough to lead a decent sermon. The problem that I faced was similar to one that a lot of people recognise as they begin to specialise in a subject: the more you learn, the less you think you know. This was certainly the case with these two religions, as the depth and breadth of study is so vast that a single person could not hope to learn everything in a dozen lifetimes, let alone when they're still a child1.

What I seek is a direction to travel.

My family consists primarily of armchair Christians, some of which will attend Sunday services most of the year. They will say they are Christian, then immediately do something that blatantly contradicts the statement. The friends and acquaintances I've had over the years who have called themselves Christian are similar in many regards, the one exception being Pentecostal Christians. The services I've attended at Pentecostal churches have left me marvelling at the level of devotion some people displayed while also feeling terribly inferior as a result of all the questions that I had at the time.

Later I tried Catholicism, joining a church and being ordained as a deacon. There were studies that had to be performed, ceremonies attended, masses conducted, and people met. The rigid structure of the church seemed like something I might thrive in, but this was not to be. While the worshippers were generally genuine people, the politics in the organisation soured the perception of sanctity. No House of God, in my mind, would tolerate petty squabbles for decades at a time between people in an attempt to curry favours and accumulate power, after all.

Modern Canadian Christianity and Catholicism just didn't seem to work for me. I needed something different to better understand the universe and my role in it.

A few years after moving to British Columbia I had made friends with a number of Muslims who were some of the most honest and down-to-earth people I had ever met. We would often meet for coffee and talk about world events and, of course, religion. I wanted to learn more about Islam and how it differed from Christianity. In time I started to attend discussions, prayers, events, and khutbahs at musallas and mosques. This was an interesting time but, as I started to participate more, there was an expectation that I commit more. However, in the back of my head, there was a voice saying "this isn't for you".

In the end I left the community, then later the country.

Here in Japan I've gone the better part of a dozen years of "quietly observing" the basics that I was taught as a child. Prayers before eating. Resisting temptation as much as possible2. Obeying the precepts that align with the version of Christianity I was taught as a young child. So long as one follows the Ten Commandments and does what is deemed right, they're good … right?

Many people can lead a good life, either as an agnostic or atheist, and be perfectly content. For a while I could, too. This past year — and perhaps even longer — I've felt that there's something I'm not doing. It's as though I am missing a fundamental piece of me; something important.

So I'm reading books on religion again, looking for answers to the questions that have been unfulfilled for decades, and trying to find the most accurate source of wisdom and God. Oddly enough, I might have found it.

  1. I don't think I became an adult until my late 20s or early 30s. It wasn't until the boy came along that I actually started to feel like one, though.

  2. Not very well, mind you. Temptation comes in many flavours.


Over the last couple of years I've found myself battling a number of persistent issues that I have generally considered to be related to stress and anxiety. Irritability, hearing problems, an inability to understand words, dreams about work, and an utter loss of appetite are just a few of the conditions I considered to be caused by the endless tensions felt throughout the day. There's no denying that work certainly contributes to the matter, but there's no logical reason for it to generate the full list of qualms that lead to the barely constrained rage that has started to reappear. There must be more to it.

A little over a week ago Reiko suggested I try some Chinese medicine to help with the unhealthy levels of anxiety that I was feeling by lunchtime every working day, and 柴胡加竜骨牡蛎湯1 specifically. This particular mixture is said to help alleviate the feelings of anxiety that contribute to stress that result in all sorts of consequences. We found some at a nearly pharmacy and picked up a box to test it out.

There are a couple of things to note about Chinese medicine. The first is that it does not work like western pharmaceuticals. So a single dose will do very little to alleviate any particular problem. The amount of time a person needs to take a mixture will vary on a number of factors but, generally, I have found that 3 days is the requisite amount of time required before the effects can be noticed. The first pouch was taken on Saturday after lunch and by Tuesday night I was feeling pretty good. Wednesday was even better and one of the first nights in months where I didn't dream about work. On Thursday the normal day-to-day things that would have me foaming at the mouth by 3:00pm were of no serious concern to me. And Friday was an incredibly productive and positive day.

The medicine with the 11-syllable name was incredibly effective.

This past weekend had a slightly different schedule on account of the boy's birthday, which meant that I missed some of the dosage times. Ideally the medicine should be taken immediately after a meal or right before bed. Every time a dose was missed, I would have problems with my hearing within three hours. When there are problems hearing, I get irritated. Irritation turns to frustration. Frustration escalates.

So clearly the stuff is having a positive effect on my mental health and ensuring that the people around me can have a pleasant day as well. A win-win scenario for the low-low price of 83 Yen per dose.

But is this tenable in the long run?

The first box of Saikokaryūkotsuboreitō packets is almost empty so we'll get some more on order right away. There's a vendor on Amazon that has the very same brand and strength that I'm using now for about 1,350 Yen per box, which makes each dose 56.25 Yen; a slightly better proposition for long-term consumption. If this mostly-natural remedy resolves one of the longest-standing issues I've had as an adult, then I'll owe a giant debt of gratitude to the generations of herbalists in China who concocted the mixture. There are enough real things in the world to be upset about. There is no point letting the mind blow little things out of proportion simply because there is always so much to do and less time to do it in.

  1. さいこかりゅうこつぼれいとう - This would be pronounced "Saikokaryūkotsuboreitō" … which is more than a mouthful.

1,095 Days

Three years ago today — just 1,095 days ago — the word responsibility took on a whole new dimension as the boy exited the womb to begin a life all his own. People are justifiably nervous about becoming a parent. Raising children is never easy and most of us are painfully aware of our own flaws which can lead us to wonder just how poorly we'll prepare a new human for the challenges that await them in life. Fortunately children don't know just how often their progenitors are flying by the seat of their pants. Or, if they do, they're incredibly forgiving … at least until adolescence.


My parents used to say that they learned just as much from their kids as we learned from them. This struck me as odd 30 years ago, given that parents have generally already lived through a childhood and have nothing to learn from witnessing another one. However, as my perspective has broadened over the years, it's easy now to see what they meant. There's a great deal the boy has taught me in his short time on the Earth, from the universality of "universal" symbols to the ease at which people can navigate crowds when they're a metre tall to the joy one can feel just by playing in some water. My parents would often say bizarre things that had me wonder if they were ever children at all, like "Kids don't get headaches" and "But you like liver" and just about anything that started with "Back in my day …". Now I hear myself say variations of these things1 more often than I care to admit.

Hopefully the efforts Reiko and I have made to ensure he's on the straight path to being a good person have paid off, though. Next week, on his 1,103rd day of life, the boy will attend kindergarten for the first time. There will undoubtedly be many tears, friends, fears, laughs, and a myriad of firsts on that Monday, and it will also be the day when he begins to truly explore what this world has to offer. For three years Reiko and I worked to prepare him and we're nowhere near finished with this responsibility. But he generally knows how to behave in public, how to read the three basic character sets used in Japan2, how to use utensils when eating along with the basic etiquette that is expected. He's been practicing using the toilet and dressing himself with a fair degree of success. He can speak both English and Japanese like someone a full year older, too3. Hopefully one of the first things he learns during the first few months at school is the freedom that comes with a little independence.

These last three years have gone by in what seems like a flash. As the boy continues to develop into his own person, I hope we can continue to enjoy some slow moments together.

  1. I don't force my kid to eat liver. Heck, I won't eat the stuff, so why in the world would I foist such a thing on him? No … he will not be forced to eat any food that I myself will not eat no matter how "good" it might be for us.

  2. These would be Hiragana, Katakana, and the English alphabet.

  3. Reiko loves to talk. The boy has clearly inherited this trait, which has resulted in a kid with the ability to report every activity he does in two languages without any need to stop for air.

Five Hundred Days

Today marks the 500th consecutive day that I’ve both written and published a post to this site. The daily effort started out innocently enough, then quickly became a personal mission based on a decade-old post from Jeremy Cherfas. Hitting 500 has been both a complete accident and a personal desire to improve the quality of my off-the-cuff writing. While an argument can certainly be made that the bulk of what is published here has not improved over the last sixteen months, I would like to think that there have been a higher frequency of posts that effectively communicate ideas … regardless of how many people might agree with them.

As one might expect from anything a person does for any length of time, there have been a number of lessons learned from this little endeavour, foremost of which is the importance of an effective writing tool. For me this has turned out to be Byword, an application that I use on my phone, tablet, and notebook. The fact that it works across these devices has been it’s primary selling feature, though this could change in the future as I continue to move more of my notes into Evernote. However, Byword’s minimalist approach to the writing process has been very much appreciated over the six or so years that I’ve used it, which makes it hard to give up.

Another lesson is really more of a confirmation in the idea that anyone who chooses to publish daily will need to write more than one post in a 24-hour period if they are to release just one item before the clock strikes midnight. Based on the number of semi-written posts that litter iCloud, it’s safe to say that there have been well over 1,000 posts abandoned in various states of completion since September 2018 when this unlikely streak began. Looking at the ones that were completed but never put online, I can see a very clear pattern for what topics I’ll censor myself on. The thread that ties these forsaken posts together is the ongoing reintroduction of Christianity into my life, which has resulted in a number of essays that analyze bits of wisdom contained within the ancient texts and how a better understanding of the stories 20 years ago would have led to a very different outcome during certain events in my life. I find this absolutely fascinating as it shows that despite all the cultural, societal, and technological metamorphoses the world has seen over the last few thousand years, the human condition is very much unchanged.

Having maintained the blogging streak for this long, I hope to keep going to one thousand and beyond. Though there will undoubtedly be legitimate reasons to miss a day or two in the future, I’ll make the effort to put something out every day. Even when battling a serious illness or helping family overcome their challenges, there will be the opportunity to turn an idea into structured words. The words will develop sentences, which will build paragraphs, which will resolve into a blog post. There is still a long way for me to go with improving my writing and, so long as I invest the time without making excuses, progress will be made.

Here’s to the next 500, and the 500 after that.

Another Trek Begins

The latest addition to Star Trek became available this week and there's quite a buzz around the show given that it centres around arguably one of the most well-respected characters in any work of fiction known to humanity: Jean Luc Picard. Today I had the opportunity to watch the first episode of the series and, I've got to say, the show has all the markings of something imminently enthralling. There are layers to the story, depth to the characters, and a certain level of realism that simply wasn't possible in the early 90s when Star Trek The Next Generation was in production.

Star Trek: Picard

One of the many things I appreciate about this new Trek is the complexity that it offers. While growing up I would watch the episodes and read the books with aplomb, imagining myself as a member of the crew rather than as a spectator. This was generally easy because the structure of a 44-minute episode or a 350-page book was always the same. It wasn't until I was in my mid-20s that I started to see the repetition and lack of complexity for what it was, which pushed me away from investing the time in "keeping up". Some time around 2012 I started reading the books again, though, and found that most of the authors had adopted a different structure that allowed for a better story to be told. The same problem-struggle-twist-complication-resolution pattern was present, as it is with a lot of mass-market sci-fi, but the nuance and depth added to the characters, places, and cultures gave the book more weight. The books went from being suitable for a 12 year-old to suitable for an adult with a little awareness of recent history1. Star Trek Picard strikes me as being the same.

As the show will not suffer from the same constraints that afflicted Discovery2 the writers should have a great deal of flexibility to create an updated universe3 that explores how the political powers have evolved and what that means to the citizens of those star-spanning nations. More than this, though, it will be interesting to see how the famed captain of Starfleet's flagship pulls himself out of retirement to solve yet another mystery that is closely linked to people from his past.

  1. Compare and contrast the books written by Peter David with those from David R. George III.

  2. Prequels create so much mess in the canon and unnecessary complaining online.

  3. Not sure why people talk about the Star Trek Universe when everything is limited to the Milky Way galaxy; and a segment that doesn't even cover half of it!