Someone wrote in to let me know that an older project of mine which provides a simple webservice echo test was referencing some out of date projects. My HTTP test service doesn’t use any of those other services, but I’ve updated the blog post description to point to some new options for comparison purposes.
The original hosted version of RequestBin (at requestb.in) is no longer live. This was run by Runscope at the time and the source code is still up on GitHub (Runscope/requestbin). You can see their the status change:
We have discontinued the publicly hosted version of RequestBin due to ongoing abuse that made it very difficult to keep the site up reliably. Please see instructions below for setting up your own self-hosted instance.
Here’s the commit with the awesome (but sad) commit message of :( when they turned it off. Some good comments there from fans of the service.
The good news is with the source code still available, people can still use the service themselves (Heroku and Docker instructions are included) and the adventurous ones can run live services using the same. Here are a few I found with some quick searching (but have not personally used):
Markdown is a great plain text format for a lot of applications and is often used to convert to HTML (for example on my WordPress blog here). There are also some good use cases for the opposite: converting from HTML into Markdown. I recently had such a case to convert some older blog posts from raw HTML into Markdown found that Pandoc made it really easy.
Pandoc is an open-source utility for converting between a number of common (and rare) document types, for example plain text, HTML, Markdown, MS Word, LaTeX, wiki, and so on. The output formats list is really extensive, and people can write their own “filters” to handle other formats as well, or to customize the existing ones to their exact needs. The project tagline sums it up nicely:
If you need to convert files from one markup format into another, pandoc is your swiss-army knife.
My Use Case
My particular use case was to convert about a dozen really old blog posts from this website. I wrote these back in the early days when I managed this site in CityDesk and later migrated to MovableType. The Google Search Console alerted me to some crawler errors which turned out to be caused by raw PHP file content being served instead of real HTML.
My approach for cleaning this up was as follows:
Convert HTML original articles into Markdown format
Do some manual cleanup editing and double-check links are still valid
Drop the Markdown into the appropriate Posts within WordPress
Modify my existing .htaccess files to do permanent (301) redirects for all of the old URLs
Simple HTML Example
With Pandoc installed, you can try a simple test pulling down the installation instructions page:
To see the result, consider this HTML snippet from installing.html:
<h2 id="compiling-from-source">Compiling from source</h2>
<p>If for some reason a binary package is not available for your platform, or if you want to hack on pandoc or use a non-released version, you can install from source.</p>
<h3 id="getting-the-pandoc-source-code">Getting the pandoc source code</h3>
<p>Source tarballs can be found at <a href="https://hackage.haskell.org/package/pandoc" class="uri">https://hackage.haskell.org/package/pandoc</a>. For example, to fetch the source for version 18.104.22.168:</p>
tar xvzf pandoc-22.214.171.124.tar.gz
We can see the resulting Markdown turned out very well:
## Compiling from source
If for some reason a binary package is not available for your platform, or if you want to hack on pandoc or use a non-released version, you can install from source.
### Getting the pandoc source code
Source tarballs can be found at <a href="https://hackage.haskell.org/package/pandoc" class="uri">https://hackage.haskell.org/package/pandoc</a>. For example, to fetch the source for version 126.96.36.199:
tar xvzf pandoc-188.8.131.52.tar.gz
My Blog Post Conversions
For my dozen old HTML articles, the straight conversion ended up being a bit noisy, especially with the some old CMS template boilerplate around the content which was no longer needed. To clean those up I used a little bit of Sed to clean it up before conversion:
echo "converting $1"
cat $1 | sed '1,/<div class="asset-header">/d' | sed '/<div class="asset-footer">/,/<\/html>/d' | pandoc --wrap=none --from html --to markdown_strict > $1.md
(The above Sed commands clean up the HTML source in two passes: first removing everything from top of file to <div class="asset-header">, which is where the blog post started; and then removing all from <div class="asset-footer"> to the end of file.)
After that, I just needed to do some minor editing cleanups on the Markdown files before bringing them in to WordPress. Success!
There are a few good online converters you can try; keep in mind some of these are limited in the number of characters they can handle:
To learn more and go deeper on Pandoc, I recommend going through their excellent user’s guide.
And finally a big recommendation for Dillinger, a great online tool for editing Markdown text with live HTML rendering. I use that for writing these blog articles as well, before moving them in to WordPress.
I like to periodically drop my podcast subscription list here for anyone interested, and so I can look back and see how my interests have changed :) (Search here for some previous updates.) Lately I’m mostly listening to software or startup podcasts, but have started following a lot of woodworking ones as well as I try to find time for my woodworking hobby!
Online meetings continue to rise in popularity, in particular for companies with remote workers or distributed teams. The effectiveness of online meetings can be improved significantly by following a few simple techniques and habits.
First of all, what kind and size of meetings are we talking about?
One-on-one (2 people)
Smaller team meetings (2-10 people)
Medium team meetings, internal training or demo (10-20)
Larger team meetings, company “all hands” (20+)
Public facing webinar (marketing, sales, training)
This guide is targeting categories 3 & 4 – these meetings are big enough that you want to run them effectively but are still internal and less formal compared to public webinars or training. These category 3/4 meetings are often recorded for those not able to attend, so creating a good quality recording is important.
The advice here should be general enough to apply to most online meeting software, even though the exact features may vary and the apps themselves are constantly changing. Over time I’ve used Skype, GoToMeeting, Google Hangouts, WebEx, and most recently BlueJeans. In some cases I’ll reference particular options in certain software which are helpful.
With the intro out of the way, let’s dive in to the list of best practices. What follows here is opinionated based on my own experiences and needs, so make sure to tailor the advice here to fit your own situations.
If you’re using a presentation, make sure to have a shareable version of it. Google Docs is good for sharing with appropriate permissions; PowerPoint/Keynote are best shared in PDF format so that even though without the app can participate.
On the title slide make sure to include the presenter’s name and date (this helps puts the meeting in the proper context for anyone watching the recording later)
If applicable, post the slides and share the link ahead of the meeting
Configure your computer for effective visibility for meeting participants:
When showing a presentation, use slide show mode
In other apps, use full screen mode if available
Zoom in (increase font size) as needed, especially for anything involving code or a command-line/terminal
If you have a 2nd monitor, consider turning it off (some older apps like WebEx had a real problem with this)
Quit or snooze any apps which may show notifications or reminders
If you’ve never presented with your online meeting software before, set up a practice session ahead of time with a coworker joining from their computer
Schedule a unique meeting in your system and include the pertinent details in the calendar invite:
Instructions for joining the meeting
Where will chat/Q&A happen
Will recording be posted afterwards
Link to presentation slides and/or documents
Configure your meeting with settings to help minimize distractions:
Entry/exit tones: off (to avoid annoying beeps)
Mute on entry (not everyone will remember to automatically mute themselves)
If using a separate system like HipChat or Slack for chat and Q&A, disable the built-in chat (to ensure the side conversation only happens in one place)
For bigger meetings with moderators/presenters in multiple locations, consider using a back-channel for coordinating hand-offs and in case of any technical difficulties. Using a mobile app like WhatsApp, GroupMe or SMS/text messaging has the added benefit of being available even if some participants’ internet connections have problems. Also if presenters are muting their other computer notifications (as recommended above), their mobile device can still be useful for urgent notices.
Have a separate moderator who is not presenting; this lets the presenter focus on their content while the moderator focuses on the meeting itself (mute/unmute, watching for questions, checking audio/video quality, etc.).
Join the meeting from a second device like a tablet or phone and leave it on your desk. This makes it easier to confirm and monitor what the attendee view looks like. (Make sure to mute and silence the 2nd device to avoid audio feedback.)
Start and join the meeting 10 minutes early and arrange for all presenters to do the same; check all the controls and screensharing before everyone joins. (For first-time presenters, it’s best to do a separate dry-run meeting earlier to ensure the software is working correctly.)
When joining the meeting, make sure all presenters are identifiable by their names (as opposed to something like “guest_1” or a dial-in phone number)
If your software has the option, turn off entry/exit tones and select mute on entry
At the start of the meeting, make announcements a couple times while waiting for people to join:
Where the chat or Q&A will be happening
Please mute yourself
We’ll be starting soon
This will be recorded and posted afterwards
Recordings are helpful for anythings that may have value later, especially internal product demos or training. They can also be useful for regular project/staff meetings for the benefit of people unable to attend.
If your meeting software has a built-in recording feature, use it. If not (or even in addition to) you can use a desktop application like Screenflow or Camtasia. (For higher-quality recordings, I always use an external recording application.) Make sure to record the presented video screen, the meeting audio, and your local audio device.
If the meeting is important (e.g. you have a guest speaker), have a second person also record from their computer as a backup.
Don’t start the recording until the presentation is about to start (i.e. don’t record your announcements mentioned above).
When you’re ready to start, hit record, wait a moment, then give a good introduction before passing off to the first presenter. That gives your recording a clean starting point with the subject mentioned right away (and avoids all the pre-meeting dead time).
For questions and discussion during or after the presentation, encourage everyone to unmute and ask their question live; this helps with those watching the recording later.
For questions read from chat or other sources, make sure to read the questions out loud before answering (again, for the benefit of the recording).
Clean up and edit the video as needed (depending on how polished you need it). I like to do at least skim through the whole video and do the following:
Make sure the beginning is clean, cut out any dead time before the presentation “starts”
Scan for and remove any obvious dead time (e.g. when switching between presenters)
Rough audio check to remove any coughing or “ums” (particularly when editing my own presentations)
Make sure the ending is clean
Crop video to include just the relevant portion of the screen
Upload/post the video and slides
Send an email to everyone with links to both
Here’s a short list of similar articles for running effective online meetings, from a few different angles than I’ve covered here:
LinkChecker is a utility written in Python for scanning and checking web page links, usually used for finding invalid or outdated pointers which need to be updated. The LinkChecker project is in a bit of flux right now because the original project (GitHub wummel/linkchecker) has gone completely quiet and presumably the original author is no longer interested in maintaining it. Luckily there is a new group of volunteers rallying around a new fork (GitHub linkcheck/linkchecker)
The project has a variety of packaged downloads, but they are not all updated yet from the newest source tree. On my Mac system I always had trouble making the old project work (usually getting an error like ImportError: No module named requests). Switching to the new LinkChecker source and using Virtualenv have solved my problems! These are my steps for making this work; it’s pretty straightforward if you have some experience with Python-based utilities.