<br><br><div class="gmail_quote">On Wed, Feb 1, 2012 at 4:12 PM, Raymond Wagner <span dir="ltr">&lt;<a href="mailto:raymond@wagnerrp.com">raymond@wagnerrp.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div class="HOEnZb"><div class="h5">On 2/1/2012 15:32, Matt Emmott wrote:<br>
&gt; If you&#39;d like to see how MythicalLibrarian does its thing, here&#39;s the<br>
&gt; output from my log as it figured out a recording of In Living Color -<br>
&gt; Posted to pastebin at <a href="http://pastebin.com/HqPq265Q" target="_blank">http://pastebin.com/HqPq265Q</a><br>
<br>
</div></div>I know the basic operation.  I spent a decent amount of time with the<br>
author about a year and a half back working out some bad things he was<br>
doing to the database, and trying to encourage him to learn a more<br>
capable and more sensible language.  Of course I failed, because it was<br>
already written in BASH, &quot;which everyone knows is designed for textual<br>
data&quot;.  All that built in capability for textual data must be why the<br>
script is a mess of calls out to curl, sed, grep, and awk to fake XML<br>
processing.<br>
<br>
This script really kicked off my hatred of bash.  There&#39;s nothing<br>
inherently wrong with bash, per se.  If you&#39;re doing some limited<br>
variable manipulation, and just intend to string together or run<br>
external utilities, it&#39;s great.  That, plus the fact that it&#39;s light<br>
weight, and can be statically linked, is why it&#39;s used for init scripts<br>
so often.  On the other hand, I see far too many instances on this<br>
mailing list where people write absurdly long bash scripts, doing all<br>
sorts of database manipulation, because bash is what they know and<br>
they&#39;re afraid to leave their comfort zone.  That&#39;s not to say more<br>
advanced interpreted languages are immune to that, as there are plenty<br>
of other examples of things that would do well to be implemented<br>
directly into the code base, but are left in perl/python because<br>
&quot;compiled languages are hard!&quot;<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br></div></div></blockquote><div><br>So, does anybody want to write a feature that does it &quot;the right way&quot;?  I need to read more about mythvidexport to see if it does what we&#39;re (I&#39;m) looking for. I have a boatload of dual-opteron servers, anybody want to write this feature into Myth in exchange for some hardware? If I&#39;m violating the TOS or good nature of this mailing list, then please disregard this as just a joke. :-) </div>
</div>