macdonaldster.ca

Logo

A personal site, not a blog | Changes? XML Sitemap

#blog | #covid19 | #dog | #health | #mindfulness | #notes | #organizing | #politics | #random | #site | #TIL

2021-02-08 Blog

I have moved the site to be self-hosted, away from Github pages. I found trying to add features to the site was cumbersome and it takes a while for the system to refresh when you commit an edit so trying this for a while.

It is using my hard-coded IP so hopefully I can stay on top of that.

Later…

What is the value in writing for public consumption? Is there anything particularly valuable about putting this out in the world versus keeping it to myself?

Well, there is the Rhetorical Triangle where we see the three pillars of rhetoric - speaker, message, and audience.

So, I guess if I were to define my message, it is just sharing of information. I think that information is good, and more is better. Who knows, maybe some programmer with an ostomy who suffers from Ankylosing Spondylitis and has a child and two dogs with their spouse will stumble on this page and discover they have had a kindred spirit out there in the world.

Here is something about programming - today I spent a ton of time generating emails for someone else to review. The designer who builds the emails can’t generate them all himself, so he relies on me to send him the actual emails built from templates he works on to make sure the final round of revisions has everything lined up correctly. Then the QA person also needs to review all these emails. Since the email system is designed to be triggered by complex events in the system, for each email type (e.g. new order, part review) I need to think up a quick and easy way to generate that email without actually compromising the integrity of the test we are trying to run. It is tedious. Even with a bunch of work to make it quick and painless, I am still messing with stuff to trigger the emails. Lesson learned - every system that produces output, should have a way to generate that output so it can be validated. In my case, instead of cobbling together a bunch of SQL scripts to do what I needed (e.g. find orders, etc) I could have made that into a single stored procedure that dumped out the values needed to trigger each type of email and that would be used as input to the email sending code. A couple of hours work, and I can generate all the emails I want with real data.

But, the reality is, I got through today and probably won’t need to do it again for a while. Another program that will not be written. :)