Search Icon, Magnifying Glass

Marmanold.com

Graduation Cap Heart Question Mark Magnifying Glass

Entries for #Teches

XML::Compile with an Extension Namespace

Starting this May, mortgage folk are going to be required to send Freddie and Fannie data including additional data points in ULDD phase 3 extension. At face value, adding these additional data points shouldn’t be a big deal at all. However, the legacy code I’m maintaining used XML::Compile to generate code. For various and sondry reasons — which I will not go into here — XML::Compile in the code I’m maintaining was in a place where it was extremely difficult to add XML elements that weren’t included in the original base Mismo 3. Read more...

Posted: Tue, Feb 19, 2019, Words: ~400, Reading Time: 2 min

Cron in Docker with Debian Slim

Recently, I needed to get cron working inside a Docker container running Debian Slim. It’s not difficult once you figure it out, but it did take a bit of research and learning to get everything to work. First off, Debian Slim is real slim. There’s no cron nor is there a syslog when you want to debug things. Add apt-get install cron and rsyslog in your Dockerfile before you start anything else. Read more...

Posted: Wed, Jan 23, 2019, Words: ~500, Reading Time: 3 min

Automated Weekly Sermon Podcast

Each Sunday at Church of the Epiphany we record our sermon using someone’s mobile phone. We started doing this back in September and, for the last three months, editing and uploading these sermons to our website has been a fairly manual process. Starting this month, however, with a combination of JustCast, Dropbox, Hazel, Squarespace, and Auphonic I’ve been able to mosty automate the process. 1. Download & Rename Each week shortly after worship, Fr. Read more...

Posted: Tue, Dec 18, 2018, Words: ~800, Reading Time: 4 min

Word to Markdown Conversion with Footnotes

Many of the essays on this site start their life in Microsoft Word or Scrivener. Early on, I would have to convert essays to Markdown for posting manually. This generally worked okay, but I lost my footnotes. I tried Word to Markdown for a brief while, but it didn’t work entirely as I’d like it to. Enter Pandoc. I’ve been using Pandoc to convert all of my Word documents — including footnotes — for the last two years. Read more...

Posted: Mon, Nov 12, 2018, Words: ~200, Reading Time: 1 min

Sea Walls: haud responsalis sed peccator

Recently I saw a call for more people in enterprise IT to start blogging. Following that call, I’ll offer some reflections. The foundation of a healthy IT culture in the enterprise starts with IT leadership and, especially, front-line IT management focusing on building a great working environment for developers. If developers are overextended, overworked, are not able to innovate, and are not given the dedicated time needed to solve problems, there is no hope for the transformation of corporate IT. Read more...

Posted: Tue, May 29, 2018, Words: ~700, Reading Time: 3 min

Perfect Perl Kwalitee

In the time since Date::Lectionary was added to CPAN, I’ve been working hard to get a perfect Kwalitee score and make a really solid distribution. Documentation on how to make a module are all over the place and I’ve yet to see a good, single article or post to explain how to do it. This is my attempt, I hope you find it useful. Required Files README I like keeping my POD within the code of the module I’m developing and having the README file(s) automatically generated from that. Read more...

Posted: Mon, Apr 23, 2018, Words: ~900, Reading Time: 4 min

My WSL Perl Development Environment

Recently I bought a little Windows tablet on sale for $60 as a device to play around with Windows 10 on and for — hopefully — testing a future UWP or PWA Windows version of LectServe. I’ll give a review of the NuVision tablet at some point in the future, but after I spent two! days getting Windows updated to the newest release, I quickly enabled the Windows subsystem for Linux and installed Debian. Read more...

Posted: Sat, Mar 24, 2018, Words: ~400, Reading Time: 2 min

Full-Text Search using Hugo & Lunr

Adding full-text search to a statically generated Hugo site is a fairly easy process. As I’ve mentioned before, I’m already using Gulp to compile and minify my site. Using that Gulp file as my starting point, adding full-text search is a simple three-part process. To enable search, I decided to use the Lunr.js library. Lunr is simple to use and has just the right amount of features for adding some simple search capabilities to your site. Read more...

Posted: Sun, Dec 3, 2017, Words: ~500, Reading Time: 3 min

Build, Minify, and Upload Hugo to S3

Though I’m not a huge fan of JavaScript, I include a small bit of it in this site to track page views and to generate the tag cloud on my search page. Since my project had already been polluted with JavaScript, I decided a while back to go all in and use WebPack and Gulp to bundle my JavaScript code, build my Hugo site, minify everything, and then upload the whole thing to S3. Read more...

Posted: Mon, Oct 16, 2017, Words: ~300, Reading Time: 2 min

Automate Slack Status with IFTTT

Recently I came across the need to automatically update my status in Slack. I have class Monday and Tuesday afternoons/evenings which requires me to leave work a little early. As I’m often rushed, I don’t always remember to set my status. This has, at times, left my team waiting on a response to a message I won’t see for a few hours. (adsbygoogle = window.adsbygoogle || []). Read more...

Posted: Tue, Oct 10, 2017, Words: ~300, Reading Time: 1 min

Hugo Site on S3 and CloudFront

For a very long time I’ve hosted this site at Nearly Free Speech. I’ve been happy at Nearly Free Speech, but with the launch of LectServe and other IoT and Serverless projects of mine on the AWS stack, it made logistical and financial sense to consolidate on Amazon. Moving my Hugo site to Amazon was a fairly simple affair. First I setup a simple S3 bucket to drop my Hugo generated files to. Read more...

Posted: Mon, Oct 9, 2017, Words: ~300, Reading Time: 2 min

Automated *Pretty* Tweets to DayOne

I’ve been using DayOne as my journal since 2014. Very early on, I realized that a good part of my daily journaling was actually done on Twitter. Over the years I’ve used IFTTT to import my tweets, but the fact that that system didn’t include images or quoted tweets removed a lot of important context. I wanted something nicer that showed the full Twitter card with graphics, etc. DayOne’s recent release of activity feeds seemed to be a good solution, but it, too, lost a lot of context and was very manual. Read more...

Posted: Wed, Sep 20, 2017, Words: ~800, Reading Time: 4 min

Antenna Television: My East Nashville Setup

Back in May my Comcast — DBA “Xfinity” because that totally makes me forget they’re Comcast — bill went up to $150. We were paying $110 which was already more than I thought I should pay for data-capped mid-range broadband and some television, but that extra $40 pushed me over the edge. Mentally, $150 is a lot closer to $200 than I felt comfortable with. In East Nashville, AT&T offers uncapped gigabit fiber to the home for only $80. Read more...

Posted: Sun, Aug 13, 2017, Words: ~700, Reading Time: 4 min

Daddy Status Page

A common problem for my wife and daughter since I started working from home more and more was knowing when I was on a conference call. My office has a glass door and the hallway behind it leads upstairs and to the master bedroom, so my family — understandably — likes to know if they’ll be on camera or not when they walk past. It’s also handy for them to know when they can ask me a question verbally rather than having to send me a text message from the room next door. Read more...

Posted: Mon, Jul 31, 2017, Words: ~500, Reading Time: 3 min

Archiving my Website with Workflow & Hazel

I really enjoy automating things using Workflow, Hazel, shell scripts, or just about anything else. Last night I got the idea that it would be cool to have a graphical archive of each post to my website as it appeared the day it was posted. Over time I’ll have a visual history of how my website has changed and, who knows, might make a little coffee table book or something. Read more...

Posted: Tue, Jun 27, 2017, Words: ~300, Reading Time: 2 min