<?xml version="1.0" encoding="utf-8"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Word Aligned - Latest Comments</title><link>http://wordaligned.disqus.com/</link><description>Tales from the code face</description><atom:link href="https://wordaligned.disqus.com/comments.rss" rel="self"></atom:link><language>en</language><lastBuildDate>Thu, 13 Nov 2025 14:57:48 -0000</lastBuildDate><item><title>Re: Life on Canvas</title><link>http://wordaligned.org/articles/life-on-canvas#comment-6796216525</link><description>&lt;p&gt;Hi tag ❣️&lt;/p&gt;&lt;p&gt;Are you still there?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Geppetto</dc:creator><pubDate>Thu, 13 Nov 2025 14:57:48 -0000</pubDate></item><item><title>Re: Word Aligned</title><link>https://wordaligned.org/#comment-6779596456</link><description>&lt;p&gt;Thanks for great content.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Torrance Bruxner</dc:creator><pubDate>Wed, 08 Oct 2025 07:23:13 -0000</pubDate></item><item><title>Re: Word Aligned</title><link>https://wordaligned.org/#comment-6158384953</link><description>&lt;p&gt;Thanks for great content.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Karol</dc:creator><pubDate>Mon, 10 Apr 2023 10:17:11 -0000</pubDate></item><item><title>Re: Copy, load, redirect and tee using C++ streambufs</title><link>http://wordaligned.org/articles/cpp-streambufs#comment-6058825958</link><description>&lt;p&gt;Personally, I don't like inheritance when it doesn't implement the 'is-a' relationship, and private inheritance seems especially bad to me. The standard library (libstdc++) uses a two stage initialisation process for &lt;code&gt;std::fstream&lt;/code&gt; and the like. In this case, it would look like this:&lt;/p&gt;&lt;p&gt;&lt;code&gt;&lt;br&gt;/** Construct an ostream which tees output to the supplied ostreams.&lt;br&gt;*/&lt;br&gt;class teestream : public std::ostream&lt;br&gt;{&lt;br&gt;public:&lt;br&gt;    teestream(std::ostream&amp;amp; o1, std::ostream&amp;amp; o2)&lt;br&gt;    : _buf(o1.rdbuf(), o2.rdbuf())&lt;br&gt;    {&lt;br&gt;        this-&amp;gt;init(&amp;amp;_buf);&lt;br&gt;    }&lt;br&gt;&lt;br&gt;private:&lt;br&gt;    teebuf _buf;&lt;br&gt;};&lt;br&gt;&lt;/code&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jeremy Stanger</dc:creator><pubDate>Tue, 06 Dec 2022 11:41:35 -0000</pubDate></item><item><title>Re: Python maths updates</title><link>http://wordaligned.org/articles/python-maths-updates#comment-5983552701</link><description>&lt;p&gt;math's is really good and interesting and if you understand the process and know how to solve the question then you become interested in doing math's and solving this. i was looking for &lt;a href="https://manhattancondocoop-alabanglotforsale.com/" rel="nofollow noopener" target="_blank" title="https://manhattancondocoop-alabanglotforsale.com/"&gt;Alabang Lot For Sale&lt;/a&gt; in USA and then started checking this post for the improvement.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">john alex</dc:creator><pubDate>Thu, 15 Sep 2022 17:24:33 -0000</pubDate></item><item><title>Re: Longest common subsequence</title><link>http://wordaligned.org/articles/longest-common-subsequence#comment-5946367153</link><description>&lt;p&gt;Thanks for letting me know Wayne. I moved this blog to https and it was making a request to load jQuery over http. I hope it is fixed now. I'll take a look for more broken content.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tag</dc:creator><pubDate>Sat, 13 Aug 2022 05:01:47 -0000</pubDate></item><item><title>Re: Longest common subsequence</title><link>http://wordaligned.org/articles/longest-common-subsequence#comment-5945196164</link><description>&lt;p&gt;Sadly the animation seems to be broken today in all modern browsers, including firefox :(&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Wayne</dc:creator><pubDate>Fri, 12 Aug 2022 03:11:23 -0000</pubDate></item><item><title>Re: Copy, load, redirect and tee using C++ streambufs</title><link>http://wordaligned.org/articles/cpp-streambufs#comment-5825504131</link><description>&lt;p&gt;Hi, might you recall any details about the undefined behavior? Unfortunately the link below that demonstrated the behavior no longer works. Thanks for your suggestion here -- I wonder if it might address the occasional crashes I'm seeing code based on the article.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">xyzyx</dc:creator><pubDate>Tue, 12 Apr 2022 18:11:34 -0000</pubDate></item><item><title>Re: Next permutation: When C++ gets it right</title><link>http://wordaligned.org/articles/next-permutation#comment-5807067911</link><description>&lt;p&gt;The original puzzle from Google Code Jam 2009 (Round 1B) can now be found here:&lt;br&gt;&lt;a href="https://codingcompetitions.withgoogle.com/codejam/round/0000000000432b7a/00000000004330f8" rel="nofollow noopener" target="_blank" title="https://codingcompetitions.withgoogle.com/codejam/round/0000000000432b7a/00000000004330f8"&gt;https://codingcompetitions....&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Tobias T.</dc:creator><pubDate>Sat, 26 Mar 2022 12:26:25 -0000</pubDate></item><item><title>Re: Python maths updates</title><link>http://wordaligned.org/articles/python-maths-updates#comment-5781982553</link><description>&lt;p&gt;I am not very good at maths but I am able to help for the best financial management help and provide, So I have the same feeling and thus I am providing the best &lt;a href="https://www.theresearchguardian.com/services/thesis/phd-thesis-writing/" rel="nofollow noopener" target="_blank" title="https://www.theresearchguardian.com/services/thesis/phd-thesis-writing/"&gt;Phd Thesis Services&lt;/a&gt; which is more helpful for you.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jack Ruth</dc:creator><pubDate>Tue, 08 Mar 2022 00:42:10 -0000</pubDate></item><item><title>Re: Priority queues in Python</title><link>https://wordaligned.org/articles/priority-queues-in-python#comment-5766304419</link><description>&lt;p&gt;For another priority queue alternative in Python, see the fibonacci-heap-mod at &lt;a href="https://stromberg.dnsalias.org/~strombrg/datastructures/" rel="nofollow noopener" target="_blank" title="https://stromberg.dnsalias.org/~strombrg/datastructures/"&gt;https://stromberg.dnsalias....&lt;/a&gt;  (also at &lt;a href="https://pypi.org/project/fibonacci-heap-mod/)" rel="nofollow noopener" target="_blank" title="https://pypi.org/project/fibonacci-heap-mod/)"&gt;https://pypi.org/project/fi...&lt;/a&gt;  I'm told it's pretty fast.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Dan Stromberg</dc:creator><pubDate>Fri, 25 Feb 2022 20:55:25 -0000</pubDate></item><item><title>Re: Driving down the road of innovation</title><link>http://wordaligned.org/articles/driving-down-the-road-of-innovation#comment-5675358441</link><description>&lt;p&gt;Thank you for writing such a short but interesting article. I would like to tell you that I am a &lt;a href="https://theonetechnologies.com/outsourcing/software-development-company" rel="nofollow noopener" target="_blank" title="https://theonetechnologies.com/outsourcing/software-development-company"&gt;software developer&lt;/a&gt; but I also love to do cycling on riverfront on weekends.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Ankush Agrawal</dc:creator><pubDate>Wed, 05 Jan 2022 07:58:53 -0000</pubDate></item><item><title>Re: Copy, load, redirect and tee using C++ streambufs</title><link>http://wordaligned.org/articles/cpp-streambufs#comment-5605781008</link><description>&lt;p&gt;Why not just directly inherit the `teebuff`? See my comment: &lt;a href="http://disq.us/p/2kpj47k" rel="nofollow noopener" target="_blank" title="http://disq.us/p/2kpj47k"&gt;http://disq.us/p/2kpj47k&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Craig Hutchinson</dc:creator><pubDate>Fri, 12 Nov 2021 07:34:49 -0000</pubDate></item><item><title>Re: Copy, load, redirect and tee using C++ streambufs</title><link>http://wordaligned.org/articles/cpp-streambufs#comment-5605770512</link><description>&lt;p&gt;Great article.&lt;/p&gt;&lt;p&gt;To solve the undefined behaviour) inheriting the `teebuf` as the first base appears to be the simplest solution imho, opinions welcome :)&lt;br&gt;&lt;code&gt;/** Construct an ostream which tees output to the supplied ostreams.&lt;br&gt;*/&lt;br&gt;class teestream &lt;br&gt;      : private teebuf //&amp;lt; @note `teebuf` constructed before `std::ostream`&lt;br&gt;      , public std::ostream&lt;br&gt;{&lt;br&gt;public:&lt;br&gt;    teestream(std::ostream&amp;amp; o1, std::ostream&amp;amp; o2)&lt;br&gt;          : teebuf(o1.rdbuf(), o2.rdbuf())&lt;br&gt;          , std::ostream((teebuf*)this)&lt;br&gt;    {&lt;br&gt;    }&lt;br&gt;};&lt;/code&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Craig Hutchinson</dc:creator><pubDate>Fri, 12 Nov 2021 07:20:56 -0000</pubDate></item><item><title>Re: He Sells Shell Scripts to Intersect Sets</title><link>http://wordaligned.org/articles/shell-script-sets#comment-5501572108</link><description>&lt;p&gt;Oh, a bug above.  When you use $@, always put it in double quotes.  That causes each member of it to be quoted when it is expanded, which will save you when you run into a file with spaces or other characters that are significant to the shell in its name.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">johnwcowan</dc:creator><pubDate>Fri, 20 Aug 2021 08:41:16 -0000</pubDate></item><item><title>Re: Copy, load, redirect and tee using C++ streambufs</title><link>http://wordaligned.org/articles/cpp-streambufs#comment-5491906296</link><description>&lt;p&gt;Sorry, my previous message wasn't formatted correctly. You can delete that one and this reply, of course.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gennaro Prota</dc:creator><pubDate>Thu, 12 Aug 2021 14:47:08 -0000</pubDate></item><item><title>Re: Copy, load, redirect and tee using C++ streambufs</title><link>http://wordaligned.org/articles/cpp-streambufs#comment-5491904374</link><description>&lt;p&gt;Note that, as currently written, &lt;code&gt;teestream&lt;/code&gt; has undefined behavior; see e.g.:&lt;/p&gt;&lt;p&gt;&lt;a href="https://github.com/gennaroprota/breeze/blob/master/breeze/stream/stream_buffer_wrapper.hpp" rel="nofollow noopener" target="_blank" title="https://github.com/gennaroprota/breeze/blob/master/breeze/stream/stream_buffer_wrapper.hpp"&gt;https://github.com/gennarop...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gennaro Prota</dc:creator><pubDate>Thu, 12 Aug 2021 14:45:36 -0000</pubDate></item><item><title>Re: Copy, load, redirect and tee using C++ streambufs</title><link>http://wordaligned.org/articles/cpp-streambufs#comment-5491899526</link><description>&lt;p&gt;Note that, as currently written, &lt;code&gt;teestream&lt;/code&gt; has undefined behavior; see e.g.: &amp;lt;https: &lt;a href="http://github.com" rel="nofollow noopener" target="_blank" title="github.com"&gt;github.com&lt;/a&gt;="" gennaroprota="" breeze="" blob="" master="" breeze="" stream="" stream_buffer_wrapper.hpp=""&amp;gt;.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Gennaro Prota</dc:creator><pubDate>Thu, 12 Aug 2021 14:41:54 -0000</pubDate></item><item><title>Re: Top Ten Percent</title><link>http://wordaligned.org/articles/top-ten-percent#comment-5425143173</link><description>&lt;p&gt;I'm disappoint. Why is that not being discussed?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jon Kalb</dc:creator><pubDate>Fri, 18 Jun 2021 21:55:13 -0000</pubDate></item><item><title>Re: Aligning the first line of a triple-quoted string in Python</title><link>http://wordaligned.org/articles/aligning-the-first-line-of-a-triplequoted-string-in-python#comment-5380137027</link><description>&lt;p&gt;I like these type of simple and to the point explanations. Thanks for the help.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Jake Clarke</dc:creator><pubDate>Wed, 12 May 2021 03:21:35 -0000</pubDate></item><item><title>Re: Why MVP1 is wrong</title><link>http://wordaligned.org/articles/why-mvp1-is-wrong#comment-5308235274</link><description>&lt;p&gt;Maybe you don't truly know it's V until the customer sees it. So the 1 is "first attempt at finding minimum viability". Would that work? Or is your PO actually throwing more features in at this point?&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Paul Thomas</dc:creator><pubDate>Thu, 18 Mar 2021 04:09:25 -0000</pubDate></item><item><title>Re: Copy, load, redirect and tee using C++ streambufs</title><link>http://wordaligned.org/articles/cpp-streambufs#comment-5307561532</link><description>&lt;p&gt;After 11 years, this is still the best answer for tee! Thanks a lot!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Shaheen G</dc:creator><pubDate>Wed, 17 Mar 2021 14:12:29 -0000</pubDate></item><item><title>Re: Keyword Substitution - Just say No!</title><link>http://wordaligned.org/articles/keyword-substitution-just-say-no#comment-5167408731</link><description>&lt;p&gt;Not there in the executables !!!  ...which may have been copied by G-d knows who from G-d knows where.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Carlie Coats</dc:creator><pubDate>Thu, 26 Nov 2020 11:42:02 -0000</pubDate></item><item><title>Re: Life on Canvas</title><link>http://wordaligned.org/articles/life-on-canvas#comment-4872870306</link><description>&lt;p&gt;sad news indeed&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tag</dc:creator><pubDate>Mon, 13 Apr 2020 13:57:01 -0000</pubDate></item><item><title>Re: Life on Canvas</title><link>http://wordaligned.org/articles/life-on-canvas#comment-4872622917</link><description>&lt;p&gt;:'(&lt;br&gt;&lt;a href="https://www.i-programmer.info/news/82-heritage/13614-john-conway-dies-from-coronavirus.html" rel="nofollow noopener" target="_blank" title="https://www.i-programmer.info/news/82-heritage/13614-john-conway-dies-from-coronavirus.html"&gt;https://www.i-programmer.in...&lt;/a&gt;&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Matt Burns</dc:creator><pubDate>Mon, 13 Apr 2020 10:54:20 -0000</pubDate></item></channel></rss>