Congratulations!

[Valid RSS] This is a valid RSS feed.

Recommendations

This feed is valid, but interoperability with the widest range of feed readers could be improved by implementing the following recommendations.

Source: http://www.cantoni.org/feed

  1. <?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
  2. xmlns:content="http://purl.org/rss/1.0/modules/content/"
  3. xmlns:wfw="http://wellformedweb.org/CommentAPI/"
  4. xmlns:dc="http://purl.org/dc/elements/1.1/"
  5. xmlns:atom="http://www.w3.org/2005/Atom"
  6. xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
  7. xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
  8. >
  9.  
  10. <channel>
  11. <title>Brian Cantoni</title>
  12. <atom:link href="http://www.cantoni.org/feed" rel="self" type="application/rss+xml" />
  13. <link>http://www.cantoni.org/</link>
  14. <description>Software engineering leader and occasional side project hacker</description>
  15. <lastBuildDate>Sun, 13 Dec 2020 23:49:49 +0000</lastBuildDate>
  16. <language>en-US</language>
  17. <sy:updatePeriod>
  18. hourly </sy:updatePeriod>
  19. <sy:updateFrequency>
  20. 1 </sy:updateFrequency>
  21. <generator>https://wordpress.org/?v=6.6.1</generator>
  22. <item>
  23. <title>Forced to Retire Weather by Text Service</title>
  24. <link>http://www.cantoni.org/2020/11/19/retire-weather-by-text</link>
  25. <dc:creator><![CDATA[Brian Cantoni]]></dc:creator>
  26. <pubDate>Fri, 20 Nov 2020 05:16:55 +0000</pubDate>
  27. <category><![CDATA[Cloud]]></category>
  28. <category><![CDATA[Mobile]]></category>
  29. <guid isPermaLink="false">http://www.cantoni.org/?p=1210</guid>
  30.  
  31. <description><![CDATA[I finally had to turn off the public number for my free Weather by Text service which I&#8217;ve been running for a few years. I was fine with the minimal cost running this on Twilio, but over the last couple of months someone has been abusing the number presumably with some automated script. The challenge with Twilio SMS is there is no way to block any abusive incoming text messages. Even though the pricing is pretty cheap ($ 0.0075 per message), it adds up quickly because you&#8217;re charged for both the incoming and outgoing messages. In the end, it&#8217;s not&#8230;]]></description>
  32. <content:encoded><![CDATA[<p>I finally had to turn off the public number for my <a href="http://scooterlabs.com/wx/">free Weather by Text service</a> which I&#8217;ve been running for a few years. I was fine with the minimal cost running this on Twilio, but over the last couple of months someone has been abusing the number presumably with some automated script. The challenge with Twilio SMS is there is <strong>no way to block any abusive incoming text messages</strong>. Even though the pricing is pretty cheap ($ 0.0075 per message), it adds up quickly because you&#8217;re charged for both the incoming and outgoing messages. In the end, it&#8217;s not worth running a free service where one user can drive hundreds of abusive messages each day with no recourse. <span id="more-1210"></span></p>
  33. <p>Coincidentally it was one year ago today I <a href="http://www.cantoni.org/2019/11/19/weather-by-text-twilio-darksky">rewrote the whole service</a> using <a href="https://developer.here.com/">HERE</a> for geocoding and <a href="https://darksky.net/poweredby/">DarkSky</a> for weather forecasts. I still have the code up on GitHub (<a href="https://github.com/bcantoni/wxtext">bcantoni/wxtext</a>) for anyone interested in running it themselves or just seeing how I built it.</p>
  34. <p><strong>Update:</strong> After turning the service off I did hear back from Twilio tech support who let me know there <em>is</em> a way to block incoming fraudulent traffic. That&#8217;s encouraging. In this case I already decommissioned the service, but good to know for the future.</p>
  35. ]]></content:encoded>
  36. </item>
  37. <item>
  38. <title>Top 40 Podcasts</title>
  39. <link>http://www.cantoni.org/2020/05/25/top-40-podcasts</link>
  40. <dc:creator><![CDATA[Brian Cantoni]]></dc:creator>
  41. <pubDate>Mon, 25 May 2020 22:44:23 +0000</pubDate>
  42. <category><![CDATA[Podcasting]]></category>
  43. <guid isPermaLink="false">http://www.cantoni.org/?p=1199</guid>
  44.  
  45. <description><![CDATA[Here in California we&#8217;ve entered our third month of sheltering in place and working from home. One positive is less time spent commuting, but that also means it&#8217;s been harder to keep up with my podcast subscriptions. Combine that with the fact that there are so many good podcasts out there and I&#8217;ve had to shorten my subscription list a little bit (and be pickier about which episodes to listen to). Here&#8217;s my current Top 40* list of the best podcasts covering Technology/Software, Startups/Business, Woodworking/Makers and Sports: Technology / Software .NET Rocks! link feed .NET Rocks! is an Internet Audio&#8230;]]></description>
  46. <content:encoded><![CDATA[<p>Here in California we&#8217;ve entered our third month of sheltering in place and working from home. One positive is less time spent commuting, but that also means it&#8217;s been harder to keep up with my podcast subscriptions. Combine that with the fact that there are <em>so many</em> good podcasts out there and I&#8217;ve had to shorten my subscription list a little bit (and be pickier about which episodes to listen to).<span id="more-1199"></span></p>
  47. <p><img fetchpriority="high" decoding="async" src="http://cdn.scooterlabs.com/wp/wp-content/uploads/alphacolor-66JMudIjDTw-unsplash.jpg" alt="headphones" width="1000" height="667" class="aligncenter size-full wp-image-1197" srcset="http://www.cantoni.org/wp/wp-content/uploads/alphacolor-66JMudIjDTw-unsplash.jpg 1000w, http://www.cantoni.org/wp/wp-content/uploads/alphacolor-66JMudIjDTw-unsplash-300x200.jpg 300w, http://www.cantoni.org/wp/wp-content/uploads/alphacolor-66JMudIjDTw-unsplash-768x512.jpg 768w" sizes="(max-width: 1000px) 100vw, 1000px" /></p>
  48. <p>Here&#8217;s my current Top 40<sup>*</sup> list of the best podcasts covering Technology/Software, Startups/Business, Woodworking/Makers and Sports:</p>
  49. <h2>Technology / Software</h2>
  50. <p><strong>.NET Rocks!</strong> <a href="http://www.dotnetrocks.com">link</a> <a href="http://feeds.feedburner.com/netRocksFullMp3Downloads">feed</a> .NET Rocks! is an Internet Audio Talk Show for Microsoft .NET Developers.</p>
  51. <p><strong>Agile for Humans</strong> <a href="https://agile.fireside.fm">link</a> <a href="https://feeds.fireside.fm/agile/rss">feed</a> Agile for Human with Ryan Ripley is a weekly podcast dedicated to the individuals and interactions that make agile work. Our goal is to help you create safe and collaborative working environments where people are empowered to do their best work.</p>
  52. <p><strong>Arrested DevOps</strong> <a href="https://www.arresteddevops.com">link</a> <a href="https://www.arresteddevops.com/episode/index.xml">feed</a> Arrested DevOps is the podcast that helps you achieve understanding, develop good practices, and operate your team and organization for maximum DevOps awesomeness.</p>
  53. <p><strong>The Changelog</strong> <a href="https://changelog.com/podcast">link</a> <a href="https://changelog.com/podcast/feed">feed</a> Conversations with the hackers, leaders, and innovators of software development. Hosts Adam Stacoviak and Jerod Santo face their imposter syndrome so you don’t have to. Expect in-depth interviews with the best and brightest in software engineering, open source, and leadership. This is a polyglot podcast. All programming languages, platforms, and communities are welcome. Open source moves fast. Keep up.</p>
  54. <p><strong>Code Story</strong> <a href="https://codestory.co/">link</a> <a href="https://feeds.transistor.fm/code-story">feed</a> Their tech. Their products. Their stories. Hosted by Noah Labhart, this show is a window into the digital startup world. In their own words, tech veterans share what it feels like to create a world class product, how to recover from critical mistakes, and how to scale your solution to the masses.</p>
  55. <p><strong>Command Line Heroes</strong> <a href="https://www.redhat.com/en/command-line-heroes">link</a> <a href="https://feeds.pacific-content.com/commandlineheroes">feed</a> Stories about the people transforming technology from the command line up.</p>
  56. <p><strong>Full Stack Radio</strong> <a href="http://fullstackradio.com">link</a> <a href="https://rss.simplecast.com/podcasts/279/rss">feed</a> A podcast for developers interested in building great software products. Every episode, Adam Wathan is joined by a guest to talk about everything from product design and user experience to unit testing and system administration.</p>
  57. <p><strong>Girl Geek X</strong> <a href="https://girlgeek.io/">link</a> <a href="https://feeds.buzzsprout.com/245027.rss">feed</a> For women in tech, navigating your career can be as challenging as it is rewarding. Now, after giving female tech leaders a platform for over 10 years at Girl Geek Dinners, we&#8217;re sharing the best insight from women in tech every 1st and 3rd Monday. Whether you&#8217;re new to the tech world or at the height of your career, the Girl Geek X podcast has tips for you.</p>
  58. <p><strong>Hanselminutes with Scott Hanselman</strong> <a href="https://www.hanselminutes.com">link</a> <a href="https://feeds.simplecast.com/gvtxUiIf">feed</a> Hanselminutes is Fresh Air for Developers. A weekly commute-time podcast that promotes fresh technology and fresh voices. Talk and Tech for Developers, Life-long Learners, and Technologists.</p>
  59. <p><strong>Import This</strong> <a href="http://soundcloud.com/import-this">link</a> <a href="https://feed.pippa.io/public/shows/5cb74ed2304ec1540dfbbadd">feed</a> A Python Podcast for Humans.</p>
  60. <p><strong>Page it to the Limit</strong> <a href="https://www.pageittothelimit.com">link</a> <a href="https://www.pageittothelimit.com/episode/index.xml">feed</a> Page It to the Limit is a podcast that focuses on what it means to operate software in production. Hosted by the PagerDuty Community Team, we cover the leading practices used in the software industry to improve both system reliability and the lives of the people responsible for supporting it.</p>
  61. <p><strong>Planet Performance Podcast</strong> <a href="https://podcast.perfplanet.com">link</a> <a href="http://podcast.perfplanet.com/feed.xml">feed</a> Interviews with Web Performance enthusiasts</p>
  62. <p><strong>Programming Leadership</strong> <a href="https://programmingleadership.podbean.com">link</a> <a href="https://feed.podbean.com/programmingleadership/feed.xml">feed</a> A podcast to help great coders become skilled leaders, and build happy, high-performing software teams.</p>
  63. <p><strong>Real Talk JavaScript</strong> <a href="http://www.realtalkjs.com">link</a> <a href="https://feeds.simplecast.com/tOjNXec5">feed</a> Dive into JavaScript and Web development stories with hosts John Papa, Ward Bell, and Dan Wahlin.</p>
  64. <p><strong>Screaming in the Cloud</strong> <a href="https://screaminginthecloud.com">link</a> <a href="https://feeds.transistor.fm/screaming-in-the-cloud">feed</a> Screaming in the Cloud with Corey Quinn features conversations with domain experts in the world of Cloud Computing. Topics discussed include AWS, GCP, Azure, Oracle Cloud, and the &#8220;why&#8221; behind how businesses are coming to think about the Cloud.</p>
  65. <p><strong>Software Engineering Unlocked</strong> <a href="https://www.software-engineering-unlocked.com">link</a> <a href="https://feeds.simplecast.com/K1_mv0CJ">feed</a> In this show, I open you the doors to companies and thought leaders around the world. With my guests, I discuss software engineering best practices and pitfalls, and how they strive to build software people love.</p>
  66. <p><strong>The Stack Overflow Podcast</strong> <a href="https://stackoverflow.blog/podcast/">link</a> <a href="https://feeds.simplecast.com/XA_851k3">feed</a> The Stack Overflow podcast is a weekly conversation about working in software development, learning to code, and the art and culture of computer programming. Hosted by Sara Chipps, Paul Ford, and Ben Popper, the series will feature questions from our community, interviews with fascinating guests, and hot takes on what’s happening in tech.</p>
  67. <p><strong>Talk Python To Me</strong> <a href="https://talkpython.fm/">link</a> <a href="https://talkpython.fm/episodes/rss">feed</a> Talk Python to Me is a weekly podcast hosted by Michael Kennedy. The show covers a wide array of Python topics as well as many related topics. Our goal is to bring you the human story behind the Python packages and frameworks you know and love.</p>
  68. <p><strong>Track Changes</strong> <a href="https://postlight.com/trackchanges/podcast">link</a> <a href="http://trackchanges.libsyn.com/rss">feed</a> What happens when software eats the world? Industry veterans Paul Ford and Rich Ziade chat with their friends about technology, design, and business from a distinctly East Coast point of view.</p>
  69. <h2>Startups / Business</h2>
  70. <p><strong>Bootstrapped Web</strong> <a href="http://bootstrappedweb.com/">link</a> <a href="http://bootstrappedweb.com/feed/podcast">feed</a> Bootstrapped Web is for entrepreneurs bootstrapping their startups, who believe that the best way to get to where we&#8217;re going is to learn by doing. Conversations, case studies, and interviews with entrepreneurs who are building profitable businesses online. Let&#8217;s do this.</p>
  71. <p><strong>Bright &amp; Early</strong> <a href="https://brianrhea.com">link</a> <a href="https://feeds.transistor.fm/bright-early">feed</a> A podcast for people building early-stage startups. Join me each week as I talk to entrepreneurs, product people, designers, and marketing pros about their experiences during the early days of their startup.</p>
  72. <p><strong>Build Your SaaS – bootstrap in 2020</strong> <a href="https://saas.transistor.fm">link</a> <a href="https://feeds.transistor.fm/build-your-saas">feed</a> Can you bootstrap a profitable startup in 2020? Thousands of entrepreneurs, developers, designers, and product people have tried to launch their own web apps. But with so many venture-backed startups now, is it still possible? Follow Jon and Justin as they build their podcasting SaaS, Transistor.fm.</p>
  73. <p><strong>The Important Thing</strong> <a href="https://randsinrepose.com/archives/category/the-important-thing/">link</a> <a href="http://rands.libsyn.com/feed">feed</a> The Important Thing with Michael (“Rands”) Lopp and Lyle Troxell. Let’s spend a few minutes of your life listening and learning about an Important Thing.</p>
  74. <p><strong>Rogue Startups</strong> <a href="https://roguestartups.com/">link</a> <a href="https://roguestartups.com/feed/podcast">feed</a> The Rogue Startups podcast features two bootstrapped startup founders as they grow their businesses. We feature experts in the fields of sales, marketing, and product development to hear how they&#8217;re growth hacking their productized services, WordPress plugins, and SaaS products.</p>
  75. <p><strong>Slow &amp; Steady</strong> <a href="https://www.slowandsteadypodcast.com/">link</a> <a href="https://feeds.transistor.fm/slow-steady">feed</a> Join us as we share what it&#8217;s like to build and launch a bootstrapped startup while working for yourself full-time. Benedikt is working on Userlist with two other co-founders and Brian is running solo on a product to combat loneliness on remote teams.</p>
  76. <p><strong>Smart Passive Income</strong> <a href="https://www.smartpassiveincome.com">link</a> <a href="http://feeds.feedburner.com/spipodcast">feed</a> Pat Flynn from The Smart Passive Income Blog reveals all of his online business and blogging strategies, income sources and killer marketing tips and tricks so you can be ahead of the curve with your online business or blog.</p>
  77. <p><strong>Rework</strong> <a href="https://rework.fm">link</a> <a href="https://feeds.transistor.fm/rework">feed</a> A podcast by Basecamp about the better way to work and run your business. We bring you stories and unconventional wisdom from Basecamp’s co-founders and other business owners.</p>
  78. <p><strong>Startups For the Rest of Us</strong> <a href="https://www.startupsfortherestofus.com/">link</a> <a href="https://feeds.feedblitz.com/startupsfortherestofus&amp;x=1">feed</a> The longest running (and most popular) podcast for non-venture track startups, this show follow the stories of founders as they start, acquire, and grow SaaS companies.</p>
  79. <h2>Woodworking / Makers</h2>
  80. <p><strong>Clearstory</strong> <a href="http://www.thisoldhouse.com">link</a> <a href="https://feeds.megaphone.fm/clearstory">feed</a> From This Old House, Clearstory is a window that sheds light on the surprising stories behind our homes. Host Kevin O&#8217;Connor digs into the systems, structures and materials in our homes from unexpected angles. You’ll hear from Richard Trethewey, Tom Silva, Jeff Sweenor and the This Old House experts, as well as industry leaders, historians, and builders.</p>
  81. <p><strong>Essential Craftsman</strong> <a href="https://essentialcraftsman.podbean.com">link</a> <a href="https://feed.podbean.com/essentialcraftsman/feed.xml">feed</a> In depth discussion of Essential Craftsman videos, related topics, spec house series, and more.</p>
  82. <p><strong>Made for Profit</strong> <a href="https://madeforprofit.com">link</a> <a href="https://madeforprofit.com/feed/podcast/">feed</a> Brad Rodriguez &amp; John Malecki are talking business in the shop and helping you monetize as a Maker.</p>
  83. <p><strong>The Make or Break Show</strong> <a href="http://www.makeorbreakshop.com">link</a> <a href="https://feeds.transistor.fm/the-make-or-break-show">feed</a> The Make or Break Podcast is a weekly audio and video series that features amazing makers across the world. We dive into the greatest things they make as well as lessons learned from the things they break! Featuring woodworking, metalworking, electronics, 3d printing and more!</p>
  84. <p><strong>Makers Weekly</strong> <a href="https://redcircle.com/shows/makers-weekly">link</a> <a href="https://api.podcache.net/shows/3ea4fbd6-b930-449a-9af0-8319d2feaa5a/feed">feed</a> We showcase recently launched products and creative projects by today&#8217;s modern makers. We explore the problems they&#8217;re solving, the tech they&#8217;re using, and tactics they&#8217;ve deployed to get to market successfully.</p>
  85. <p><strong>Making It</strong> <a href="http://makingitpodcast.com/">link</a> <a href="http://makingitpodcast.libsyn.com/rss">feed</a> Making It is a weekly audio podcast hosted by Jimmy Diresta, Bob Clagett and David Picciuto. Three different makers with different backgrounds talking about creativity, design and making things with your bare hands.</p>
  86. <p><strong>The Modern Maker Podcast</strong> <a href="https://www.stitcher.com/podcast/mike-montgomery-ben-uyeda-chris-salomone/the-modern-maker-podcast">link</a> <a href="https://feeds.megaphone.fm/modernmaker">feed</a> The Modern Maker Podcast is a weekly podcast about making things by hand. From wood, to concrete, to leather, our hosts Ben Uyeda, Chris Salomone, and Mike Montgomery chat about what it&#8217;s like to be a &#8220;Maker&#8221; in it&#8217;s current state.</p>
  87. <h2>Sports</h2>
  88. <p><strong>Danica Patrick Pretty Intense</strong> <a href="http://www.danicapatrick.com">link</a> <a href="https://feeds.simplecast.com/5LExlydD">feed</a> I&#8217;m Danica Patrick and I&#8217;m Pretty Intense! I believe that each and every one of us has the power within ourselves to create the life that we really want. And I want to inspire you to go conquer your dreams, both professionally and personally.</p>
  89. <p><strong>NASCAR on NBC</strong> <a href="https://art19.com/shows/nascar-on-nbc-podcast">link</a> <a href="https://rss.art19.com/nascar-on-nbc-podcast">feed</a> Discussing the latest NASCAR news, including a weekly recap of races, events and a look ahead to what&#8217;s next in the sport. Guests include NBC Sports talent such as Jeff Burton, Steve Letarte and Kyle Petty.</p>
  90. <p><strong>Sports Illustrated Media</strong> <a href="https://www.si.com/podcasts">link</a> <a href="http://feeds.feedburner.com/si-media">feed</a> Welcome to the Sports Illustrated Media Podcast with Jimmy Traina. This podcast, which will be published weekly, will focus on all things sports media via interviews and roundtable discussions. Occasionally, an athlete or celebrity will drop by for a chat as well.</p>
  91. <p><strong>Sports Media with Richard Deitsch</strong> <a href="http://shows.cadence13.com/podcast/sports-media-with-richard-deitsch">link</a> <a href="http://feeds.feedburner.com/media-deitsch">feed</a> The Sports Media Podcast with Richard Deitsch is a weekly show that features interviews with members of the sports media about their work, as well as roundtables with sports media reporters about television, digital, audio/radio, print, and other forms of media.</p>
  92. <p><sup>*</sup>Technically there are 41 here, but 40 was a nice round number&#8230;</p>
  93. <p>Photo by <a href="https://unsplash.com/photos/66JMudIjDTw">Alphacolor on Unsplash</a></p>
  94. ]]></content:encoded>
  95. </item>
  96. <item>
  97. <title>WordPress Release Candidate Builds in Docker</title>
  98. <link>http://www.cantoni.org/2020/03/05/wordpress-release-candidate-builds-docker</link>
  99. <dc:creator><![CDATA[Brian Cantoni]]></dc:creator>
  100. <pubDate>Fri, 06 Mar 2020 03:54:16 +0000</pubDate>
  101. <category><![CDATA[Web]]></category>
  102. <guid isPermaLink="false">http://www.cantoni.org/?p=1116</guid>
  103.  
  104. <description><![CDATA[The first WordPress 5.4 release candidate was just published this week. The official WordPress Docker images are only published for release builds, so you can&#8217;t test any RC builds from there (for example on the Tags tab you won&#8217;t find 5.4-RC1 anywhere). However, it&#8217;s pretty straightforward to build the RC build yourself locally following these steps. Build Docker Image Locally The first step is to make a local clone of docker-library/wordpress (the official Docker image source tree for WordPress). Next we need to figure out what the SHA1 checksum is for the release candidate we&#8217;re going to use: Visit the&#8230;]]></description>
  105. <content:encoded><![CDATA[<p>The first <a href="https://wordpress.org/news/2020/03/wordpress-5-4-release-candidate/">WordPress 5.4 release candidate</a> was just published this week. The <a href="https://hub.docker.com/_/wordpress/">official WordPress Docker images</a> are only published for release builds, so you can&#8217;t test any RC builds from there (for example on the Tags tab you won&#8217;t find <code>5.4-RC1</code> anywhere). However, it&#8217;s pretty straightforward to build the RC build yourself locally following these steps.<span id="more-1116"></span></p>
  106. <h2>Build Docker Image Locally</h2>
  107. <p>The first step is to make a local clone of <a href="https://github.com/docker-library/wordpress">docker-library/wordpress</a> (the official Docker image source tree for WordPress).</p>
  108. <p>Next we need to figure out what the SHA1 checksum is for the release candidate we&#8217;re going to use:</p>
  109. <ol>
  110. <li>Visit the <a href="https://wordpress.org/download/releases/">Releases</a> page to understand the download link format</li>
  111. <li>Find and copy the URL for one of the <code>sha1</code> files for the <code>tar.gz</code> download (in this case the latest is <a href="https://wordpress.org/wordpress-5.3.2.tar.gz.sha1">https://wordpress.org/wordpress-5.3.2.tar.gz.sha1</a>)</li>
  112. <li>Substitute in the RC version and view the link to copy the SHA1 value (in this case we have <a href="https://wordpress.org/wordpress-5.4-RC1.tar.gz.sha1">https://wordpress.org/wordpress-5.4-RC1.tar.gz.sha1</a>) which returns <code>7cd079f329b1e9cc1c8148543081ae38301530e3</code></li>
  113. </ol>
  114. <p>Now you can edit the appropriate Dockerfile to refer to the RC release. The WordPress Docker tree currently has 3 different PHP versions and 4 different package types for a total of 12 options. In my case I&#8217;m using PHP 7.3 and Apache, so I&#8217;ll edit the file <code>php7.3/apache/Dockerfile</code>. Towards the bottom of that file you&#8217;ll see environment variables for WORDPRESS_VERSION and WORDPRESS_SHA1. Both of these need to be updated using the value from above:</p>
  115. <pre><code>ENV WORDPRESS_VERSION 5.4-RC1
  116. ENV WORDPRESS_SHA1 7cd079f329b1e9cc1c8148543081ae38301530e3
  117. </code></pre>
  118. <p>Now we can build the specific Docker image locally and tag it. Again using my example of PHP 7.3 + Apache, the build command will be:</p>
  119. <pre><code>docker build ./php7.3/apache/ -t wordpress:5.4-RC1-php7.3-apache
  120. </code></pre>
  121. <p>On my old MacBook Pro this takes about 4 minutes. Assuming the build ran correctly, <code>docker images wordpress</code> should show the result:</p>
  122. <pre><code>REPOSITORY          TAG                     IMAGE ID            CREATED             SIZE
  123. wordpress           5.4-RC1-php7.3-apache   ca70b87fabb4        14 seconds ago      548MB
  124. wordpress           5.3.2-php7.3-apache     a9f43b7c47db        2 months ago        539MB
  125. </code></pre>
  126. <h2>Docker Compose with MySQL Database</h2>
  127. <p>Finally, we can refer to that local RC1 image using Docker compose. Follow the instructions in <a href="https://docs.docker.com/compose/wordpress/">Compose and WordPress Quickstart</a> but don&#8217;t build the project just yet.</p>
  128. <p>In the <code>docker-compose.yml</code> file, change the WordPress image line from <code>image: wordpress:latest</code> to <code>image: wordpress:5.4-RC1-php7.3-apache</code>.</p>
  129. <p>Now you can continue the instructions by building the project <code>docker-compose up -d</code>. In a few minutes you should now have a running WordPress release candidate!</p>
  130. <h2>Notes</h2>
  131. <ul>
  132. <li>I&#8217;ve used the same technique with my <a href="http://www.cantoni.org/2019/10/25/wordpress-github-docker">new WordPress workflow</a> and it worked really well. Also 5.4-RC1 didn&#8217;t exhibit any problems, but that&#8217;s what I expected considering my use case and plugin collection is pretty simple.</li>
  133. <li>Subscribe to <a href="https://wordpress.org/news/">WordPress News</a> if you&#8217;d like to be notified of all release candidate and normal updates. For normal releases, it can take a couple days for the official Docker images to be updated.</li>
  134. </ul>
  135. ]]></content:encoded>
  136. </item>
  137. <item>
  138. <title>How to Host a Coming Soon Landing Page on AWS S3</title>
  139. <link>http://www.cantoni.org/2020/02/08/host-coming-soon-page-on-aws-s3</link>
  140. <dc:creator><![CDATA[Brian Cantoni]]></dc:creator>
  141. <pubDate>Sat, 08 Feb 2020 23:26:58 +0000</pubDate>
  142. <category><![CDATA[Other]]></category>
  143. <guid isPermaLink="false">http://www.cantoni.org/?p=1106</guid>
  144.  
  145. <description><![CDATA[I recently launched a coming soon landing page for Engineering Tourist &#8211; a side project I&#8217;ve had in mind for a while. The goal is to highlight and discover engineering or technical tourist sites depending on your location. For example if you were in Tucson Arizona, you might discover the Pima Air &#38; Space Museum which is really fantastic. Putting together this landing page was pretty simple (after all, it&#8217;s just a single static page), but involved learning and wiring up a bunch of services. Also, every service here is at the free or nearly-free level, so that keeps the&#8230;]]></description>
  146. <content:encoded><![CDATA[<p>I recently launched a coming soon landing page for <a href="https://engineeringtourist.com/">Engineering Tourist</a> &#8211; a side project I&#8217;ve had in mind for a while. The goal is to highlight and discover engineering or technical tourist sites depending on your location. For example if you were in Tucson Arizona, you might discover the <a href="https://pimaair.org/">Pima Air &amp; Space Museum</a> which is really fantastic. Putting together this landing page was pretty simple (after all, it&#8217;s just a single static page), but involved learning and wiring up a bunch of services. Also, every service here is at the free or nearly-free level, so that keeps the costs minimal as well.<span id="more-1106"></span></p>
  147. <p><a href="https://engineeringtourist.com/"><img decoding="async" src="http://cdn.scooterlabs.com/wp/wp-content/uploads/EngineeringTouristWebsite.png" alt="Screenshot of engineering tourist website" width="953" height="697" class="aligncenter size-full wp-image-1105" srcset="http://www.cantoni.org/wp/wp-content/uploads/EngineeringTouristWebsite.png 953w, http://www.cantoni.org/wp/wp-content/uploads/EngineeringTouristWebsite-300x219.png 300w, http://www.cantoni.org/wp/wp-content/uploads/EngineeringTouristWebsite-768x562.png 768w" sizes="(max-width: 953px) 100vw, 953px" /></a></p>
  148. <h2>Amazon Web Services</h2>
  149. <p>The core of this solution is all built on AWS. This site is the example I used while following along with <a href="http://www.cantoni.org/2019/11/15/review-learn-aws-by-using-it">Learn AWS By Using It</a>. It was really helpful to have an actual live project rather than just an &#8220;example.com&#8221; sort of thing.</p>
  150. <p>Deploying a static website on AWS required learning and using several different services:</p>
  151. <ul>
  152. <li>S3 for static files (the easy part)</li>
  153. <li>CloudFront CDN for better performance around the world</li>
  154. <li>Route 53 for DNS management</li>
  155. <li>Certificate Manager for domain registration and SSL certificate</li>
  156. <li>Simple Email Service for sending messages from EmailOctopus (more below)</li>
  157. </ul>
  158. <h2>Web Site Content</h2>
  159. <p>The goal here was to create a single &#8220;coming soon&#8221; landing page to collect email addresses, so I started with the <a href="https://html5up.net/eventually">Eventually</a> from HTML5 UP. I wanted to set up a more automated build process for the CSS and JavaScript, so I learned and used <a href="https://gulpjs.com/">gulp</a> for the first time. Among other things it minimizes the image sizes automatically and compresses/combines the status CSS/JS files.</p>
  160. <p>For a starting set of background images, I went through my own collection and picked <a href="https://walkway.org/">Walkway Over The Hudson</a>, <a href="https://www.indianapolismotorspeedway.com/">Indianapolis Motor Speedway</a>, <a href="https://pimaair.org/">Pima Air &amp; Space</a>, <a href="https://www.thehenryford.org/">The Henry Ford</a>, and <a href="https://www.midway.org/">USS Midway Aircraft Carrier</a>.</p>
  161. <p>For deployment, I have a script that uses the <a href="https://aws.amazon.com/cli/">AWS CLI</a> to publish everything to S3. With the CLI I can also control the cache time for all the static files: the main index.html is set for 1 hour and everything else is set for 7 days (but could be longer actually). When I start making changes more frequently here it&#8217;ll make sense to automate this deployment with each push to GitHub, but for now running this script works fine.</p>
  162. <h2>StaticKit</h2>
  163. <p>The <a href="https://statickit.com/">StaticKit</a> service provides forms and server-side functionality for static websites. In my case I&#8217;m using a simple contact form to gather email addresses which are stored and downloadable from the StaticKit site. Adding and deploying this signup form to my static site was really easy and the free plan should be good enough for now.</p>
  164. <h2>Zapier</h2>
  165. <p><a href="https://zapier.com/">Zapier</a> is used to wire up the new data captured into StaticKit. Thanks to the <a href="https://zapier.com/apps/statickit/integrations">Zapier StaticKit integration</a>, it was easy to create two Zaps:</p>
  166. <ul>
  167. <li>New form submission → Add subscriber in EmailOctopus</li>
  168. <li>New form submission → Send SMS via Twilio to my mobile phone</li>
  169. </ul>
  170. <p>Since I&#8217;m just on the free plan with Zapier, this had to be two separate Zaps. For those on any of the paid plans, you can implement this with a simpler &#8220;multi step Zap&#8221;. Receiving a text message with each new subscriber is just for fun and I&#8217;d probably turn that off for anything that became popular.</p>
  171. <h2>EmailOctopus</h2>
  172. <p>I&#8217;m using MailChimp for some of my other projects but their free tier has become confusing and more restrictive over time. <a href="https://emailoctopus.com/">EmailOctopus</a> has a generous free tier so I&#8217;m giving it a try with this project.</p>
  173. <p>EmailOctopus uses <a href="https://aws.amazon.com/ses/">Amazon SES</a> to send emails, so you&#8217;ll need to have an AWS account. The setup process has several steps (including giving EmailOctopus permission to send via your account and setting up SES to send from your domain), but the documentation provided walks you through everything and I didn&#8217;t have any problems.</p>
  174. <h2>Conclusion</h2>
  175. <p>Now that I&#8217;ve written it all down, that&#8217;s a long list of services just to launch a simple single-page website and collect email addresses! If your goal is to just quickly put together a coming soon page like this, it would probably be faster to use a paid service or a WordPress site + plugin. In my case I guess &#8220;the journey is the reward&#8221;, i.e. a chance to learn a bit about all these services.</p>
  176. <p>The other takeaway is how easy it is to assemble something out of all the parts. Even though there are a lot of moving pieces here, most of it was just &#8220;wiring up&#8221; services. The only code I wrote was a bit of JavaScript.</p>
  177. <p>Finally, if you&#8217;re interested in <a href="https://engineeringtourist.com/">engineering tourism</a> at all, please sign up to keep in touch!</p>
  178. ]]></content:encoded>
  179. </item>
  180. <item>
  181. <title>Barcode Scanning Video Games Collection</title>
  182. <link>http://www.cantoni.org/2020/01/23/barcode-scanning-video-games-collection</link>
  183. <dc:creator><![CDATA[Brian Cantoni]]></dc:creator>
  184. <pubDate>Thu, 23 Jan 2020 20:49:55 +0000</pubDate>
  185. <category><![CDATA[Fun]]></category>
  186. <category><![CDATA[Hardware]]></category>
  187. <category><![CDATA[Tools]]></category>
  188. <guid isPermaLink="false">http://www.cantoni.org/?p=1096</guid>
  189.  
  190. <description><![CDATA[As part of my ongoing effort to clean up all my old computer hardware, I finally organized all my video games for donation, and used a cheap barcode scanner to take inventory. We&#8217;re keeping GameCube and Wii, but donating XBox, XBox 360, PS/2 and PC games. This seemed like a good time to try barcode scanning to make a full list. On Amazon I bought a cheap wired USB barcode scanner (affiliate link, currently $14) and then created some Python scripts to find the game title from the barcode value. The scripts dump these into a CSV file for importing&#8230;]]></description>
  191. <content:encoded><![CDATA[<p>As part of my ongoing effort to <a href="http://www.cantoni.org/2019/07/30/how-to-tidy-up-your-digital-life">clean up</a> all my old computer hardware, I finally organized all my video games for donation, and used a cheap barcode scanner to take inventory.<span id="more-1096"></span></p>
  192. <p>We&#8217;re keeping GameCube and Wii, but donating XBox, XBox 360, PS/2 and PC games. This seemed like a good time to try barcode scanning to make a full list. On Amazon I bought a cheap <a href="https://amzn.to/30Qe9ER">wired USB barcode scanner</a> (affiliate link, currently $14) and then created some Python scripts to find the game title from the barcode value. The scripts dump these into a CSV file for importing into Excel or Google Sheets.</p>
  193. <p><img decoding="async" src="http://cdn.scooterlabs.com/wp/wp-content/uploads/BarcodeScanGames.jpg" alt="Barcode scanning old video games with Mac laptop" width="1000" height="760" class="aligncenter size-full wp-image-1095" srcset="http://www.cantoni.org/wp/wp-content/uploads/BarcodeScanGames.jpg 1000w, http://www.cantoni.org/wp/wp-content/uploads/BarcodeScanGames-300x228.jpg 300w, http://www.cantoni.org/wp/wp-content/uploads/BarcodeScanGames-768x584.jpg 768w" sizes="(max-width: 1000px) 100vw, 1000px" /></p>
  194. <p>Here&#8217;s what the result looks like in action, in a short <a href="https://www.loom.com/share/900eebf21bc64a6493883596385224da">Loom video</a>:</p>
  195. <p><iframe loading="lazy" width="640" height="400" src="https://www.loom.com/embed/900eebf21bc64a6493883596385224da" frameborder="0" webkitallowfullscreen mozallowfullscreen allowfullscreen></iframe></p>
  196. <p>The code ended up being pretty straightforward but I ended up using two different sources to convert barcode numbers into game titles. (UPC barcode APIs is kind of a messy world which I didn&#8217;t quite understand, especially for cheap/free.) I&#8217;m using <a href="https://www.pricecharting.com">Price Charting</a> for all the console games and <a href="https://www.upcitemdb.com">upcitemdb.com</a> just for the PC games. The interface for reading barcode numbers from the scanner is really simple: whenever you scan something, it&#8217;s equivalent to the keyboard typing in: <code>&lt;barcode number&gt; [Enter]</code>, so the code just treats it as any normal input.</p>
  197. <p>I posted the scripts in a <a href="https://gist.github.com/bcantoni/a9a689b441330d83ab74ea859b76e06d">Github gist</a> for those that might be interested.</p>
  198. <p>In the end I&#8217;ve got over 90 games (and consoles/controllers) for donation. The plan is to bring them up to <a href="https://themade.org/">The MADE</a> the next time I&#8217;m heading that way!</p>
  199. ]]></content:encoded>
  200. </item>
  201. <item>
  202. <title>Resurrecting a Dell Precision Workstation 410</title>
  203. <link>http://www.cantoni.org/2020/01/21/resurrecting-dell-precision-workstation-410</link>
  204. <dc:creator><![CDATA[Brian Cantoni]]></dc:creator>
  205. <pubDate>Wed, 22 Jan 2020 00:10:19 +0000</pubDate>
  206. <category><![CDATA[Hardware]]></category>
  207. <guid isPermaLink="false">http://www.cantoni.org/?p=1091</guid>
  208.  
  209. <description><![CDATA[I&#8217;m finally making some good progress sorting through all my old computer hardware for donation or recycling. My collection of old laptops, desktops and computer cables are finally out of my garage and donated to my local Goodwill. This mostly went quickly except for a brief nostalgic time spent with my old workhorse, a Dell Precision Workstation 410MT. The 410MT was first released in 1998. I was at Palm at the time and this was the standard &#8220;developer&#8217;s desktop&#8221; system we started buying. We cycled them through every 3-4 years, and I picked this one up from an internal surplus&#8230;]]></description>
  210. <content:encoded><![CDATA[<p>I&#8217;m finally making some good progress sorting through all my <a href="http://www.cantoni.org/2019/07/30/how-to-tidy-up-your-digital-life">old computer hardware for donation or recycling</a>. My collection of old laptops, desktops and computer cables are finally out of my garage and donated to my local Goodwill.</p>
  211. <p>This mostly went quickly except for a brief nostalgic time spent with my old workhorse, a Dell Precision Workstation 410MT.<span id="more-1091"></span></p>
  212. <p><img loading="lazy" decoding="async" src="http://cdn.scooterlabs.com/wp/wp-content/uploads/DellPrecision-960x1024.jpg" alt="front of Dell Precision Workstation case" width="688" height="734" class="aligncenter size-large wp-image-1087" srcset="http://www.cantoni.org/wp/wp-content/uploads/DellPrecision-960x1024.jpg 960w, http://www.cantoni.org/wp/wp-content/uploads/DellPrecision-281x300.jpg 281w, http://www.cantoni.org/wp/wp-content/uploads/DellPrecision-768x819.jpg 768w, http://www.cantoni.org/wp/wp-content/uploads/DellPrecision.jpg 1000w" sizes="(max-width: 688px) 100vw, 688px" /></p>
  213. <p>The 410MT was first released in 1998. I was at Palm at the time and this was the standard &#8220;developer&#8217;s desktop&#8221; system we started buying. We cycled them through every 3-4 years, and I picked this one up from an internal surplus sale/giveaway probably around 2004.</p>
  214. <p>The stats were not too impressive by modern standards:</p>
  215. <ul>
  216. <li>Pentium II 400MHz (optionally with dual processors; mine just had a single)</li>
  217. <li>256MB RAM (max was 1GB)</li>
  218. <li>Windows NT 4.0</li>
  219. </ul>
  220. <p>On the plus side this was a big tower with tons of expansion slots and room for drives. A nice touch (I&#8217;m not sure whether all Dell enterprise products are like this) was everything in the chassis had easy release levers. Even the power supply could swing up out of the way and still remain cabled to the motherboard (no tools required).</p>
  221. <p>At the time I picked this up from company surplus, I installed dual 150GB drives set to mirror each other, then installed Windows Server 2003. I used it for a few years as a home server, naming it Mufasa because the kids liked Lion King when they were younger. (I believe I also had laptops named Simba and Timon, but those have long since been recycled.) I don&#8217;t recall why exactly I stopped using this, but it was probably too loud and too big to be worth running just a simple file server.</p>
  222. <p>This server had gathered quite a bit of dust in the garage, but it fired right up. I even remembered the admin password which was a small miracle. The event log confirmed the last boot was in February 2009, so this machine sat quietly for 11 years and still worked.</p>
  223. <p><img loading="lazy" decoding="async" src="http://cdn.scooterlabs.com/wp/wp-content/uploads/DellEventLog.jpg" alt="Event log showing last system boot was 11 years ago" width="750" height="313" class="aligncenter size-full wp-image-1086" srcset="http://www.cantoni.org/wp/wp-content/uploads/DellEventLog.jpg 750w, http://www.cantoni.org/wp/wp-content/uploads/DellEventLog-300x125.jpg 300w" sizes="(max-width: 750px) 100vw, 750px" /></p>
  224. <p>&#8220;Worked&#8221; should be in quotes because while the server did boot, it was woefully out of date. It was already up to Windows Server 2003 SP2, but the Windows Update Service would peg at 100% CPU but never seemed to make a connection. The browsers installed were IE 7.0 and Firefox 1.0, neither of which could be upgraded directly. I wasn&#8217;t able to find a working Firefox or Chrome browser but did finally find a downloadable IE8 which worked. One thing that makes this tricky is the &#8220;Windows Server browser enhanced security&#8221; which really limits the scope of websites you can visit from the server (for security reasons).</p>
  225. <p>Once IE8 was installed and the system restarted, the Windows update service became functional again and over the course of the weekend many updates were downloaded and applied. Once everything was stable, I was able to copy out some of the files I wanted to make sure were backed up. Then I could wipe the drive (thanks <a href="https://www.ultimatebootcd.com/">Ultimate Boot CD</a>) and send it off to recycle!</p>
  226. <p><img loading="lazy" decoding="async" src="http://cdn.scooterlabs.com/wp/wp-content/uploads/HardwareDonation-1024x546.jpg" alt="used computers on their way to donation" width="688" height="367" class="aligncenter size-large wp-image-1090" srcset="http://www.cantoni.org/wp/wp-content/uploads/HardwareDonation-1024x546.jpg 1024w, http://www.cantoni.org/wp/wp-content/uploads/HardwareDonation-300x160.jpg 300w, http://www.cantoni.org/wp/wp-content/uploads/HardwareDonation-768x409.jpg 768w, http://www.cantoni.org/wp/wp-content/uploads/HardwareDonation.jpg 1100w" sizes="(max-width: 688px) 100vw, 688px" /></p>
  227. ]]></content:encoded>
  228. </item>
  229. <item>
  230. <title>How to Convert Word DOC to DOCX Format</title>
  231. <link>http://www.cantoni.org/2020/01/15/how-to-convert-word-doc-to-docx-format</link>
  232. <dc:creator><![CDATA[Brian Cantoni]]></dc:creator>
  233. <pubDate>Wed, 15 Jan 2020 21:12:41 +0000</pubDate>
  234. <category><![CDATA[Tools]]></category>
  235. <category><![CDATA[Web]]></category>
  236. <guid isPermaLink="false">http://www.cantoni.org/?p=1081</guid>
  237.  
  238. <description><![CDATA[Newer versions of Microsoft Word (in particular, Office 365) will no longer open older .DOC files. If you want to convert these to the current supported .DOCX format (especially if you have a batch of files to convert), LibreOffice is a good option. LibreOffice is free open-source software and you&#8217;ll get the benefit of doing everything on your computer. There are a lot of online services which advertise converting these files, but for anything personal or confidential I prefer keeping everything local. Quick Background As part of my effort to tidy up my digital life, I&#8217;ve been cleaning off and&#8230;]]></description>
  239. <content:encoded><![CDATA[<p>Newer versions of Microsoft Word (in particular, Office 365) will no longer open older .DOC files. If you want to convert these to the current supported .DOCX format (especially if you have a batch of files to convert), <a href="https://www.libreoffice.org/">LibreOffice</a> is a good option.</p>
  240. <p>LibreOffice is free open-source software and you&#8217;ll get the benefit of doing everything on your computer. There are a lot of online services which advertise converting these files, but for anything personal or confidential I prefer keeping everything local.<span id="more-1081"></span></p>
  241. <h2>Quick Background</h2>
  242. <p>As part of my effort to <a href="http://www.cantoni.org/2019/07/30/how-to-tidy-up-your-digital-life">tidy up my digital life</a>, I&#8217;ve been cleaning off and recycling old computers and consolidating a bunch of backup hard drives and disks. Among other gems I found a bunch of old .DOC files and learned that modern versions of Microsoft Word could not open them at all.</p>
  243. <p>I assume this is for security protection reasons, perhaps to block against macros and other live code which were possible in those older formats. Unfortunately this can lead to &#8220;format rot&#8221; where you have perfectly valid archived files which are no longer usable.</p>
  244. <p>For example, using Word for Mac (Office 365 version), I get this block when I try to open old .DOC files:</p>
  245. <p><img loading="lazy" decoding="async" src="http://cdn.scooterlabs.com/wp/wp-content/uploads/Word365Mac.png" alt="Error dialog from Word on Mac" width="635" height="292" class="aligncenter size-full wp-image-1078" srcset="http://www.cantoni.org/wp/wp-content/uploads/Word365Mac.png 635w, http://www.cantoni.org/wp/wp-content/uploads/Word365Mac-300x138.png 300w" sizes="(max-width: 635px) 100vw, 635px" /></p>
  246. <p>The link points to this support article: <a href="https://support.office.com/en-us/article/error-filename-uses-a-file-type-that-is-blocked-from-opening-in-this-version-8afc36c0-67bc-43a9-a2f4-3f0b332fef24?ui=en-US&amp;rs=en-US&amp;ad=US">Error: [Filename] uses a file type that is blocked from opening in this version &#8211; Word for Mac</a>.</p>
  247. <p>On Windows (also Office 365 subscription version), it will open these files but in protected mode (meaning, no edits are possible):</p>
  248. <p><img loading="lazy" decoding="async" src="http://cdn.scooterlabs.com/wp/wp-content/uploads/Word365Windows.png" alt="Warning dialog from Word on Mac" width="1000" height="92" class="aligncenter size-full wp-image-1079" srcset="http://www.cantoni.org/wp/wp-content/uploads/Word365Windows.png 1000w, http://www.cantoni.org/wp/wp-content/uploads/Word365Windows-300x28.png 300w, http://www.cantoni.org/wp/wp-content/uploads/Word365Windows-768x71.png 768w" sizes="(max-width: 1000px) 100vw, 1000px" /></p>
  249. <p>Luckily if you&#8217;re on Windows you can adjust the settings (Trust Center | File Block Settings) to enable older files which you trust to be opened:</p>
  250. <p><img loading="lazy" decoding="async" src="http://cdn.scooterlabs.com/wp/wp-content/uploads/Word365WindowsTrustCenter.png" alt="Word trust center settings dialog" width="826" height="678" class="aligncenter size-full wp-image-1080" srcset="http://www.cantoni.org/wp/wp-content/uploads/Word365WindowsTrustCenter.png 826w, http://www.cantoni.org/wp/wp-content/uploads/Word365WindowsTrustCenter-300x246.png 300w, http://www.cantoni.org/wp/wp-content/uploads/Word365WindowsTrustCenter-768x630.png 768w" sizes="(max-width: 826px) 100vw, 826px" /></p>
  251. <p>Finally, if you do have an Office 365 online subscription, these older .DOC files <em>can</em> be viewed. If you want to edit online, it will offer to convert to the newest format for you. This looks like the easiest option if you just have an occasional file you need to convert.</p>
  252. <h2>Installing LibreOffice</h2>
  253. <p>For anything more than the occasional file, LibreOffice is a good option for converting multiple files quickly.</p>
  254. <p>To install, follow the <a href="https://www.libreoffice.org/get-help/install-howto/">LibreOffice installation instructions</a>.</p>
  255. <p>In my case on macOS I like to install things with Brew where possible, so my install step was simply:</p>
  256. <pre><code>$ brew cask install libreoffice libreoffice-language-pack
  257. </code></pre>
  258. <p>Open the LibreOffice app one time to make sure everything was installed and configured correctly.</p>
  259. <h2>Converting DOC to DOCX with LibreOffice</h2>
  260. <p>With LibreOffice installed, you can convert files two different ways. The first way is to open the .DOC file and then &#8220;save as&#8221; in the .DOCX format. I experimented with this on a few files and it works fine.</p>
  261. <p>If you have several files to convert, you can use the command line. The location will depend on which platform you&#8217;re using, but in my case (macOS), it looks like the following.</p>
  262. <p>First to make sure you have the right location, and to see the online help, try the following:</p>
  263. <pre><code>/Applications/LibreOffice.app/Contents/MacOS/soffice --help
  264. </code></pre>
  265. <p>In the help you&#8217;ll see the <code>--convert-to</code> and <code>--outdir</code> options which we&#8217;ll be using. A simple conversion of one file will look like this:</p>
  266. <pre><code>/Applications/LibreOffice.app/Contents/MacOS/soffice --headless --convert-to docx FILE.DOC
  267. </code></pre>
  268. <p>Converting a directory full of files is possible as well:</p>
  269. <pre><code>$ /Applications/LibreOffice.app/Contents/MacOS/soffice --headless --convert-to docx --outdir ~/Desktop/output ~/Desktop/convert/*.DOC
  270. convert ~/Desktop/convert/BAZ.DOC -&gt; ~/Desktop/output/BAZ.docx using filter : Office Open XML Text
  271. convert ~/Desktop/convert/CATHY.DOC -&gt; ~/Desktop/output/CATHY.docx using filter : Office Open XML Text
  272. convert ~/Desktop/convert/FONTS.DOC -&gt; /Users/brian/Desktop/output/FONTS.docx using filter : Office Open XML Text
  273. convert ~/Desktop/convert/RESIGN.DOC -&gt; ~/Desktop/output/RESIGN.docx using filter : Office Open XML Text
  274. </code></pre>
  275. <p>All of the DOCX files should now be fully working in Word. It&#8217;s possible that complicated documents may have some layout issues during conversion, but I think those should be relatively minor.</p>
  276. ]]></content:encoded>
  277. </item>
  278. <item>
  279. <title>Tech Advent Calendars &#8211; 2019</title>
  280. <link>http://www.cantoni.org/2019/12/31/tech-advent-calendars-2019</link>
  281. <dc:creator><![CDATA[Brian Cantoni]]></dc:creator>
  282. <pubDate>Tue, 31 Dec 2019 19:48:43 +0000</pubDate>
  283. <category><![CDATA[Web]]></category>
  284. <guid isPermaLink="false">http://www.cantoni.org/?p=1074</guid>
  285.  
  286. <description><![CDATA[In past years I&#8217;ve listed a few favorite tech advent calendars, each focusing on a different technology and revealing some new content each day from December 1st through 25th. Each year I also have great plans to follow along with each as the days go by, but it&#8217;s not easy to keep up. Even though Christmas has passed, here&#8217;s my roundup of interesting technical advent calendars, which I&#8217;ll hopefully spend some time reading through over New Year&#8217;s! 24 Accessibility &#8211; all subjects related to digital accessibility 24 ways &#8211; Web design and development 25 Days of Serverless &#8211; the first&#8230;]]></description>
  287. <content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="http://cdn.scooterlabs.com/wp/wp-content/uploads/AdventCalendar.jpg" alt="advent calendar" width="799" height="533" class="aligncenter size-full wp-image-1073" srcset="http://www.cantoni.org/wp/wp-content/uploads/AdventCalendar.jpg 799w, http://www.cantoni.org/wp/wp-content/uploads/AdventCalendar-300x200.jpg 300w, http://www.cantoni.org/wp/wp-content/uploads/AdventCalendar-768x512.jpg 768w" sizes="(max-width: 799px) 100vw, 799px" /></p>
  288. <p>In past years I&#8217;ve listed a few favorite <a href="http://www.cantoni.org/?s=advent">tech advent calendars</a>, each focusing on a different technology and revealing some new content each day from December 1st through 25th. Each year I <em>also</em> have great plans to follow along with each as the days go by, but it&#8217;s not easy to keep up. Even though Christmas has passed, here&#8217;s my roundup of interesting technical advent calendars, which I&#8217;ll hopefully spend some time reading through over New Year&#8217;s!<span id="more-1074"></span></p>
  289. <ul>
  290. <li><a href="https://www.24a11y.com/">24 Accessibility</a> &#8211; all subjects related to digital accessibility</li>
  291. <li><a href="https://24ways.org/">24 ways</a> &#8211; Web design and development</li>
  292. <li><a href="https://25daysofserverless.com/">25 Days of Serverless</a> &#8211; the first year for this collection from the Azure developer relations team</li>
  293. <li><a href="https://andrewshitov.com/category/advent-calendar-2019/">Advent Calendar – Andrew Shitov</a> &#8211; introducing a different programming language each day</li>
  294. <li><a href="https://adventofcode.com/">Advent of Code</a> &#8211; featuring programming puzzles that gradually get more difficult (and which can be solved using any coding language or software)</li>
  295. <li><a href="https://crosscuttingconcerns.com/The-Third-Annual-csharp-Advent">C# Advent</a></li>
  296. <li><a href="https://www.ripstech.com/java-security-calendar-2019/">Java Security Advent Calendar 2019</a> &#8211; daily Java security challenges (spot the vulnerability); also see WordPress and PHP collections from the last two years</li>
  297. <li><a href="https://www.javaadvent.com/">JVM Advent &#8211; The JVM Programming Advent Calendar</a> &#8211; Java and JVM related languages</li>
  298. <li><a href="http://perladvent.org/2019/">Perl Advent Calendar</a> &#8211; Perl! (there was also a <a href="https://perl6advent.wordpress.com/">Raku aka Perl 6 advent</a> but it didn&#8217;t seem to come together)</li>
  299. <li><a href="https://sysadvent.blogspot.com/">sysadvent</a> &#8211; system administration topics</li>
  300. <li><a href="https://calendar.perfplanet.com/2019/">Web Performance Calendar</a> &#8211; One of my favorites, all about web performance;  check out past years as well</li>
  301. </ul>
  302. <p><a href="https://bekk.christmas/">Bekk Christmas</a> deserves a special mention. This is quite an ambitious project with 12 separate advent collections covering CSS, Functional, Java, JavaScript, Kotlin, Machine Learning, Open Source, Product, React, Security, Cloud, and UX; with 24 days each that&#8217;s over 288 separate articles/topics!</p>
  303. <p>And finally take a look at <a href="http://www.lenjaffe.com/AdventPlanet/2019/">Advent Planet 2019</a>; this is a &#8220;planet&#8221; site which aggregates content from most of the above collections and several more I didn&#8217;t mention here</p>
  304. <p>Good luck and happy 2020!</p>
  305. <p>Photo credit: <a href="https://flickr.com/photos/yto/4129536327/">yto on Flickr</a></p>
  306. ]]></content:encoded>
  307. </item>
  308. <item>
  309. <title>How to Build a Free Website Monitor with GitHub Actions</title>
  310. <link>http://www.cantoni.org/2019/12/12/free-website-monitor-github-actions</link>
  311. <dc:creator><![CDATA[Brian Cantoni]]></dc:creator>
  312. <pubDate>Fri, 13 Dec 2019 00:11:33 +0000</pubDate>
  313. <category><![CDATA[Cloud]]></category>
  314. <category><![CDATA[Site]]></category>
  315. <category><![CDATA[Web]]></category>
  316. <guid isPermaLink="false">http://www.cantoni.org/?p=1052</guid>
  317.  
  318. <description><![CDATA[Website monitoring (or uptime monitoring) is essential for any commercial website or service and there are plenty of commercial vendors that provide these services. With the recent rollout of GitHub Actions, I&#8217;ve put together a simple lightweight website monitor you can implement for free, perfect for side projects and personal websites. In addition to this WordPress blog I&#8217;m using it to watch my parked domains and Tweetfave project, making sure they are alive and well. Summary The code for this project is on GitHub at bcantoni/sitecheck-example. The basic idea is to treat this as a Python application from the GitHub&#8230;]]></description>
  319. <content:encoded><![CDATA[<p>Website monitoring (or uptime monitoring) is essential for any commercial website or service and there are plenty of commercial vendors that provide these services. With the recent rollout of <a href="https://github.com/features/actions">GitHub Actions</a>, I&#8217;ve put together a simple lightweight website monitor you can implement for free, perfect for side projects and personal websites. In addition to this WordPress blog I&#8217;m using it to watch my <a href="http://www.cantoni.org/2019/06/17/use-github-pages-parked-domains">parked domains</a> and <a href="https://tweetfave.com">Tweetfave</a> project, making sure they are alive and well. <span id="more-1052"></span></p>
  320. <p><img loading="lazy" decoding="async" src="http://cdn.scooterlabs.com/wp/wp-content/uploads/github-actions-1024x507.png" alt="GitHub logo connecting with AWS, Twilio and Slack" width="688" height="341" class="aligncenter size-large wp-image-1051" srcset="http://www.cantoni.org/wp/wp-content/uploads/github-actions-1024x507.png 1024w, http://www.cantoni.org/wp/wp-content/uploads/github-actions-300x148.png 300w, http://www.cantoni.org/wp/wp-content/uploads/github-actions-768x380.png 768w, http://www.cantoni.org/wp/wp-content/uploads/github-actions.png 1483w" sizes="(max-width: 688px) 100vw, 688px" /></p>
  321. <h2>Summary</h2>
  322. <p>The code for this project is on GitHub at <a href="https://github.com/bcantoni/sitecheck-example">bcantoni/sitecheck-example</a>. The basic idea is to treat this as a Python application from the GitHub Actions perspective. (In fact, that&#8217;s how I created the workflow at the start, by choosing Python App as the template.)</p>
  323. <p>The core of the code will run a series of checks against the configured website. I&#8217;m using it to confirm the following:</p>
  324. <ul>
  325. <li>Redirects from www to non-www (or vice versa) are as expected (including 301 vs 302)</li>
  326. <li>Redirects from http to https are as expected (including 301 vs 302)</li>
  327. <li>Website is up with some content text found (to ensure site is alive and being served properly)</li>
  328. <li>SSL certificates are still valid and have an expiration date at least 3 days in the future</li>
  329. </ul>
  330. <p>All of the above are configurable, including any kind of additional changes that make sense for your environment. The status of each test run is saved persistently to S3 using my <a href="https://github.com/bcantoni/s3data">bcantoni/s3data</a> project. The persistent data is used to only report &#8220;pass&#8221; results once after a previous failure (to keep down the noise).</p>
  331. <p>At the conclusion of the test run, in the case of failures a message is sent via SMS/text messaging and also Slack.</p>
  332. <p>The project README has a lot more detail explaining the code and the structure within GitHub actions/workflows.</p>
  333. <h2>Instructions</h2>
  334. <p>To use this project for your own sites, you&#8217;ll need to make a <a href="https://help.github.com/en/github/getting-started-with-github/fork-a-repo">fork</a> of the <a href="https://github.com/bcantoni/sitecheck-example">bcantoni/sitecheck-example</a> project.</p>
  335. <p>Next, follow these steps:</p>
  336. <p>Locally you&#8217;ll want a Python 3.7/3.8 environment (probably easiest with a virtual environment). Install dependencies with:</p>
  337. <pre><code>pip install --upgrade pip
  338. pip install -r requirements.txt
  339. </code></pre>
  340. <p>Now you can edit <code>sites.py</code> to put your own sites and/or checks you want to make.</p>
  341. <p>To enable SMS/text messaging, you&#8217;ll need an account and number in Twilio. Set up these environment variables (secrets) in GitHub: TWILIO_AUTH_TOKEN, TWILIO_ACCOUNT_SID, TWILIO_FROM_NUMBER and TWILIO_TO_NUMBER. If you don&#8217;t want to use Twilio, remove the code for <code>send_sms_messages</code>.</p>
  342. <p>If you&#8217;re going to use Slack, set up the SLACK_WEBHOOK secret in GitHub. If you don&#8217;t want to use Slack, remove the code for <code>send_slack_messages</code>.</p>
  343. <p>S3 persistent storage between runs will require an AWS account with an S3 bucket configured. Set up these secrets in GitHub: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and S3DATA_BUCKET. If you don&#8217;t want to use AWS S3, remove all the code related to <code>s3data</code>.</p>
  344. <p>In fact, if you don&#8217;t need any of the above (or want to set it up later), adjust <code>pythonapp.yml</code> to run the code without the <code>--ci</code> option (i.e. just: <code>python sites.py -v</code>). Then you can add the other services later if you want.</p>
  345. <p>Now try running the script locally to make sure everything works:</p>
  346. <pre><code>python sites.py -v
  347. </code></pre>
  348. <p>Once it looks good, push to GitHub and check the Actions tab to see how it goes. It will run each time you commit, so you can test it by committing a known bad check, then reverting back to a good state.</p>
  349. <p>If you try this project yourself and have any feedback or ideas, please let me know!</p>
  350. <h2>Example Failure (Update)</h2>
  351. <p>Just one week after publishing this project, I had a good example of a content failure because the Thunderbird website changed their marketing content slightly. It&#8217;s a good reminder to use text which is unlikely to change!</p>
  352. <p>Here&#8217;s what the failure looks like on the GitHub Actions tab:</p>
  353. <p><img loading="lazy" decoding="async" src="http://cdn.scooterlabs.com/wp/wp-content/uploads/sitecheck-example-failure.png" alt="screenshot showing test failure on github.com" width="757" height="729" class="aligncenter size-full wp-image-1067" srcset="http://www.cantoni.org/wp/wp-content/uploads/sitecheck-example-failure.png 757w, http://www.cantoni.org/wp/wp-content/uploads/sitecheck-example-failure-300x289.png 300w" sizes="(max-width: 757px) 100vw, 757px" /></p>
  354. <p>And since I&#8217;m integrated with my personal Slack account, you can see what the Slack notifications look like:</p>
  355. <p><img loading="lazy" decoding="async" src="http://cdn.scooterlabs.com/wp/wp-content/uploads/sitecheck-example-slack.png" alt="screenshot of slack notifications" width="493" height="204" class="aligncenter size-full wp-image-1069" srcset="http://www.cantoni.org/wp/wp-content/uploads/sitecheck-example-slack.png 493w, http://www.cantoni.org/wp/wp-content/uploads/sitecheck-example-slack-300x124.png 300w" sizes="(max-width: 493px) 100vw, 493px" /></p>
  356. <p>After a <a href="https://github.com/bcantoni/sitecheck-example/commit/c897e243be2ec175e9f867f8cfca99d4e2e20fa5">simple fix</a> was pushed, the test suite is passing once again.</p>
  357. ]]></content:encoded>
  358. </item>
  359. <item>
  360. <title>Weather by Text Message Using Twilio and DarkSky</title>
  361. <link>http://www.cantoni.org/2019/11/19/weather-by-text-twilio-darksky</link>
  362. <dc:creator><![CDATA[Brian Cantoni]]></dc:creator>
  363. <pubDate>Wed, 20 Nov 2019 00:59:16 +0000</pubDate>
  364. <category><![CDATA[Cloud]]></category>
  365. <category><![CDATA[Mobile]]></category>
  366. <guid isPermaLink="false">http://www.cantoni.org/?p=1043</guid>
  367.  
  368. <description><![CDATA[I recently fixed my Weather by Text mini project to get it working again (since Yahoo shut down YQL) and to update with a few improvements. This service is a simple Twilio-based service which delivers the current weather for the location you send via text message. Update 2020-11-19: Due to some abusive behavior, unfortunately I had to disable the public number for the service. The Backstory The service is simple: text your location to the SMS number and receive back the current weather conditions. I created this 5 years ago when I was first learning about the Twilio programmable voice&#8230;]]></description>
  369. <content:encoded><![CDATA[<p><img loading="lazy" decoding="async" src="http://cdn.scooterlabs.com/wp/wp-content/uploads/WeatherByText-540x1024.png" alt="Screenshot of iPhone text messages receiving weather forecasts" width="540" height="1024" class="aligncenter size-large wp-image-1042" srcset="http://www.cantoni.org/wp/wp-content/uploads/WeatherByText-540x1024.png 540w, http://www.cantoni.org/wp/wp-content/uploads/WeatherByText-158x300.png 158w, http://www.cantoni.org/wp/wp-content/uploads/WeatherByText-768x1456.png 768w, http://www.cantoni.org/wp/wp-content/uploads/WeatherByText-810x1536.png 810w, http://www.cantoni.org/wp/wp-content/uploads/WeatherByText.png 900w" sizes="(max-width: 540px) 100vw, 540px" /></p>
  370. <p>I recently fixed my <a href="http://scooterlabs.com/wx/">Weather by Text</a> mini project to get it working again (since Yahoo shut down YQL) and to update with a few improvements. This service is a simple Twilio-based service which delivers the current weather for the location you send via text message. <span id="more-1043"></span></p>
  371. <p><strong>Update 2020-11-19:</strong> Due to some abusive behavior, unfortunately I had to <a href="http://www.cantoni.org/2020/11/19/retire-weather-by-text">disable the public number</a> for the service.</p>
  372. <h2>The Backstory</h2>
  373. <p>The service is simple: text your location to the SMS number and receive back the current weather conditions.</p>
  374. <p>I created this 5 years ago when I was first learning about the Twilio programmable voice and SMS services. It was also made pretty easy by using the old Yahoo YQL service which boiled down to two simple calls:</p>
  375. <pre><code>select woeid from geo.placefinder where text='%s'
  376. select * from weather.forecast where woeid=%s
  377. </code></pre>
  378. <p>Unfortunately <a href="https://twitter.com/ydn/status/1079785891558653952?lang=en">Yahoo retired all the YQL services</a> in January of this year, leaving my poor little project dead in the water.</p>
  379. <p>Recently I&#8217;ve had some time to revisit and rewrite everything to use current webservices directly, so now it works once again!</p>
  380. <h2>Services Used</h2>
  381. <p>The source code for this project is on GitHub under <a href="https://github.com/bcantoni/wxtext">bcantoni/wxtext</a> if you want to see how any of this was implemented or run it yourself. Here are the services used:</p>
  382. <p><a href="https://twilio.com/">Twilio</a> is the key service here &#8211; we&#8217;re using the Programmable SMS functionality. This is really the only cost I have for running this service: $1/month for the dedicated number and $0.0075/message (within the US; other countries generally cost more). The best documentation topics that explains the programmable SMS request/response flow are <a href="https://www.twilio.com/docs/usage/webhooks/getting-started-twilio-webhooks">Getting Started with Twilio Webhooks</a> and <a href="https://www.twilio.com/docs/sms/tutorials/how-to-receive-and-reply-python">How to Receive and Reply to SMS and MMS Messages in Python</a>.</p>
  383. <p><a href="https://developer.here.com/documentation/geocoder/dev_guide/topics/what-is.html">HERE Geocoder</a> translates the free form &#8220;location&#8221; text entered by the user into a physical location (latitude/longitude pair) which is then passed on to the weather API. The Freemium level allows up to 250K requests/month for commercial and non-commercial web sites.</p>
  384. <p><a href="https://darksky.net/dev/docs">DarkSky</a> at the free level provides up to 1000 weather forecast API calls per day; after that it&#8217;s still very cheap (compared to Twilio). Currently I&#8217;m only using the current conditions, but they also have hourly and daily forecast data which I might add in the future. The data returned by DarkSky is thorough but also well organized and easy to use (unlike some other more complicated weather services I looked into).</p>
  385. <p><a href="https://api.slack.com/messaging/webhooks">Slack</a> support is provided with the ultra-simple webhook support for posting a message to a channel. I&#8217;m using this to post all requests to my personal Slack workspace just to keep an eye on activity and any errors.</p>
  386. <h2>What&#8217;s Next</h2>
  387. <p>No self-respecting side project is without a long to-do list for what&#8217;s next. Here&#8217;s the list for Weather by Text:</p>
  388. <ul>
  389. <li>Improve the forecast response with more details like general conditions (sunny, cloudy, etc) and possibly some matching icons</li>
  390. <li>Add better international support including units, look at using city/country code coming with Twilio request to see if those are useful. Right now the results may work for international locations but are skewed towards the US.</li>
  391. <li>Related, do a better job handling cases where more than one location is returned, giving the user a choice to pick which one they meant (San Jose California or San José Costa Rica?)</li>
  392. <li>Convert to Python 3.8 and switch to using the Twilio Python client library and other benefits such as requests caching. The code currently runs on Python 2.7 on a shared web host where I don&#8217;t have sudo, so I&#8217;m not using any libraries beyond what&#8217;s normally present in a 2.7 system. This also means today&#8217;s solution relies on CGI handling which has been a real pain to troubleshoot.</li>
  393. <li>Look at hosting on AWS Lambda w/API Gateway rather than requiring a separate web host</li>
  394. <li>Improve error handling everywhere, especially if location is not found (make sure always respond to a request from user)</li>
  395. <li>Add ability to get forecast in addition to current conditions</li>
  396. </ul>
  397. <p>Phone mockup image credit: <a href="https://mockuphone.com/">MockuPhone</a></p>
  398. ]]></content:encoded>
  399. </item>
  400. </channel>
  401. </rss>
  402.  

If you would like to create a banner that links to this page (i.e. this validation result), do the following:

  1. Download the "valid RSS" banner.

  2. Upload the image to your own server. (This step is important. Please do not link directly to the image on this server.)

  3. Add this HTML to your page (change the image src attribute if necessary):

If you would like to create a text link instead, here is the URL you can use:

http://www.feedvalidator.org/check.cgi?url=http%3A//www.cantoni.org/feed

Copyright © 2002-9 Sam Ruby, Mark Pilgrim, Joseph Walton, and Phil Ringnalda