emacs/var/elfeed/db/data/73/730ad7ea3c5af8934356c3733546864281295ae7
2022-01-03 12:49:32 -06:00

4 lines
1.3 KiB
Plaintext
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<p>Just a quickie today. Bill over at ATMakers has a short video on <a href="https://www.youtube.com/watch?v=wFCO__0prCM">Why He Uses Emacs</a>. Its actually a nice example of using keyboard macros to convert raw data into the required form.</p>
<p>I like it because its a realistic example. Very often when we want to convert a data set to some other format, we have the problem that the source data is not completely regular. Theoretically, this means we cant write a quick and easy macro to do the conversion but, of course, that is not how we work. If there are one or two outliers in the data, we just convert everything according to the canonical data and fix up the outliers by hand afterwards.</p>
<p>Thats exactly what Bill does in his video. Most of the data is converted perfectly but the two outliers are easy to fix by hand and the entire process is much more efficient than converting each datum by hand or writing an app that does the right thing for each entry. Instead of an hour or two of tedious work or programming, Bill converts the first entry while recording his keystrokes and then applies that to all the other entries. The fact that it doesnt work on a couple of irregular entries doesnt matter; they are easily fixed by hand.</p>
<p>The video is only 6 minutes, 15 seconds long so it should be easy to find time for it.</p>