<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/rss2full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.wordaligned.org/~d/styles/itemcontent.css"?><rss xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title>Word Aligned - Latest Comments</title><link xmlns="http://www.w3.org/2005/Atom" rel="http://api.friendfeed.com/2008/03#sup" href="http://disqus.com/sup/all.sup#forumcomments-4e0fcddc" type="application/json" /><link>http://wordaligned.disqus.com/</link><description>Tales from the code face</description><language>en</language><lastBuildDate>Mon, 30 Aug 2010 16:10:31 -0000</lastBuildDate><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/rss+xml" href="http://feeds.wordaligned.org/wordaligned/comments" /><feedburner:info xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" uri="wordaligned/comments" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><item><title>Re: The Etch-A-Sketch User Interface</title><link>http://wordaligned.org/articles/etch-a-sketch-and-user-interfaces#comment-73191164</link><description>haha!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Kitty7oz</dc:creator><pubDate>Mon, 30 Aug 2010 16:10:31 -0000</pubDate></item><item><title>Re: A Subversion Pre-Commit Hook</title><link>http://wordaligned.org/articles/a-subversion-pre-commit-hook#comment-72787034</link><description>Why would you want to reject files with tabs? Its the only way to indent! We have scripts that take bad code (multiple spaces instead of tab) and correct it. Indent amount is a preference that should be set by each developer, not the developer that necessarily created the file. It annoys me when I need to hit backspace 8 times instead of only 2...move on, spaces are dead!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Support</dc:creator><pubDate>Sat, 28 Aug 2010 07:57:14 -0000</pubDate></item><item><title>Re: One svnserve, multiple repositories</title><link>http://wordaligned.org/articles/one-svnserve-multiple-repositories#comment-72685559</link><description>Since each repository was created separately,
&lt;br&gt;&amp;gt;    $ svnadmin create red_bear
&lt;br&gt;&amp;gt;    $ svnadmin create blue_goat
&lt;br&gt;each repository has its own set of version numbers that are independent of the other as well as being independent of yellow_dog.
&lt;br&gt;
&lt;br&gt;A commit to one repository will therefore ONLY affect the version numbers in that repository, and not in any other!
&lt;br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Guest</dc:creator><pubDate>Fri, 27 Aug 2010 17:23:16 -0000</pubDate></item><item><title>Re: One svnserve, multiple repositories</title><link>http://wordaligned.org/articles/one-svnserve-multiple-repositories#comment-72682863</link><description>Helpul post.... thank you!</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Cwilde</dc:creator><pubDate>Fri, 27 Aug 2010 17:10:14 -0000</pubDate></item><item><title>Re: Converting integer literals in C++ and Python</title><link>http://wordaligned.org/articles/integer-literal-values#comment-67520345</link><description>i already used this codings but it seems that it is hard to understand</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Punctuation_09</dc:creator><pubDate>Tue, 10 Aug 2010 03:26:11 -0000</pubDate></item><item><title>Re: One svnserve, multiple repositories</title><link>http://wordaligned.org/articles/one-svnserve-multiple-repositories#comment-65848208</link><description>thanks for the info! works perfectly</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Bokaal</dc:creator><pubDate>Tue, 03 Aug 2010 10:07:20 -0000</pubDate></item><item><title>Re: One svnserve, multiple repositories</title><link>http://wordaligned.org/articles/one-svnserve-multiple-repositories#comment-63757766</link><description>Nice article, whilst I knew most of this already, you wouldn't believe the trouble caused by lack of up-to-date useful documentation. There are unfortunately too many places (not just config files) that this kind of thing can go wrong, and if you get stuck it can be nigh impossible to fix it. I assumed my config was correct due to the examples, and plowed on further only to find out that it wasn't, and I've had to completely restart XD</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Neofish</dc:creator><pubDate>Thu, 22 Jul 2010 14:38:47 -0000</pubDate></item><item><title>Re: One svnserve, multiple repositories</title><link>http://wordaligned.org/articles/one-svnserve-multiple-repositories#comment-62186120</link><description>Hi, I have a doubt (I didn't try so far):&lt;br&gt;Once having created the two repos, are the two repos versions handled separately?&lt;br&gt;I mean, at the beginning both blue_goat and red_bear are at version number 1.&lt;br&gt;Let's imagine I update a file on red_bear. What happen?&lt;br&gt;Both go to version 2 or blue_goat stais at version 1?</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Lviggiani</dc:creator><pubDate>Wed, 14 Jul 2010 06:24:51 -0000</pubDate></item><item><title>Re: Hiding iterator boilerplate behind a Boost facade</title><link>http://wordaligned.org/articles/boost-iterator-facade#comment-61554739</link><description>Quick comment, on your "missing methods" Python implementation:  x &amp;lt; y is not the same as !( y &amp;gt; x ) because you don't check for the possibility of x == y.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">wheaties</dc:creator><pubDate>Sun, 11 Jul 2010 09:13:46 -0000</pubDate></item><item><title>Re: Hiding iterator boilerplate behind a Boost facade</title><link>http://wordaligned.org/articles/boost-iterator-facade#comment-61086612</link><description>Yes, the tag name misled me too :) The iterator_facade documentation is not the best in Boost...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Giuseppe</dc:creator><pubDate>Thu, 08 Jul 2010 05:53:40 -0000</pubDate></item><item><title>Re: Hiding iterator boilerplate behind a Boost facade</title><link>http://wordaligned.org/articles/boost-iterator-facade#comment-61058350</link><description>Thanks Marius. You are quite right: the class passed in to the decorator function is modified directly and is also returned. I have tweaked the wording.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tag</dc:creator><pubDate>Thu, 08 Jul 2010 02:47:47 -0000</pubDate></item><item><title>Re: Hiding iterator boilerplate behind a Boost facade</title><link>http://wordaligned.org/articles/boost-iterator-facade#comment-61014099</link><description>Nice article. Yes, I often feel that boost documentation could use some work. It seems to have gotten better over time though.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">openid-28622</dc:creator><pubDate>Wed, 07 Jul 2010 20:42:48 -0000</pubDate></item><item><title>Re: Hiding iterator boilerplate behind a Boost facade</title><link>http://wordaligned.org/articles/boost-iterator-facade#comment-61011214</link><description>"total_ordering(X) returns a new version of the class with the missing operators filled-in"&lt;br&gt;&lt;br&gt;This may give the reader an incorrect impression that the old version of the class is still around, and doesn't have the missing operators.  What actually happens is that the class always is modified in-place and then returned.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">openid-11409</dc:creator><pubDate>Wed, 07 Jul 2010 20:12:52 -0000</pubDate></item><item><title>Re: Hiding iterator boilerplate behind a Boost facade</title><link>http://wordaligned.org/articles/boost-iterator-facade#comment-60992835</link><description>Many thanks for putting me straight, Giuseppe: you are quite right. The "random access" in "boost::random_access_traversal_tag" misled me. I guess I should have read the reference documentation and indeed the source code a little more carefully. I've corrected the code in SVN, and added a note to the article.&lt;br&gt;&lt;br&gt;I also like your suggestions on how best to use ifstreams.&lt;br&gt;&lt;br&gt;Thanks again.&lt;br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tag</dc:creator><pubDate>Wed, 07 Jul 2010 17:37:12 -0000</pubDate></item><item><title>Re: Hiding iterator boilerplate behind a Boost facade</title><link>http://wordaligned.org/articles/boost-iterator-facade#comment-60988668</link><description>A quick check reveals that distance_to is never called, which means that binary_search is using the (slow) linear std::distance. This is because boost::random_access_traversal_tag is not a random access iterator, but a "new style iterator" which has no O(1) distance. &lt;br&gt;Changing the category in iterator_facade parameters to std::random_access_iter_tag gives the same performance as the iterator implementation.&lt;br&gt;&lt;br&gt;About the "mutable", iterators are value types, so they are often copied. They should be as lightweight as possible. Having an ifstream as a member, requiring to reopen the file on every copy of the iterator (because the ifstream is noncopyable), is IMHO not a very good idea. Would be probably better to have the ifstream object instantiated outside of the iterator, and keep a pointer to it in the iterator object, so the state of the iterator would be (std::ifstream* in, std::streamoff pos), and you would have to do the seek at every read operation. ifstreams don't have a very nice interface for random access...</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Giuseppe</dc:creator><pubDate>Wed, 07 Jul 2010 17:02:44 -0000</pubDate></item><item><title>Re: Hiding iterator boilerplate behind a Boost facade</title><link>http://wordaligned.org/articles/boost-iterator-facade#comment-60969386</link><description>/const/ methods are there for the caller, not the method body.  They demonstrate that no matter how many times you call them, their behaviour won't change.  This is logical constness.  Often your methods are bit-const, so no memory changes, as well as logical. Hoewever this is just a coincidence.
&lt;br&gt;
&lt;br&gt;/mutable/ allows you to break bit constness to keep logical constness, and I don't think this makes it a hack or a cheat, or that you should be uncomfortable using it.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Andrew Fray</dc:creator><pubDate>Wed, 07 Jul 2010 14:29:08 -0000</pubDate></item><item><title>Re: Keyword Substitution - Just say No!</title><link>http://wordaligned.org/articles/keyword-substitution-just-say-no#comment-60948068</link><description>I know I am commenting on a really old thread, but I only just found it and the point I am about to make might be useful to others.&lt;br&gt;&lt;br&gt;We have a large developer base who maintain SQL scripts which contain definitions of among other things, database stored procedure code. It is immensely valuable for a production support bod to be able to examine source code on the dataserver and immediately know from the header block who modified the current version and which change request the modification relates to.&lt;br&gt;&lt;br&gt;We have traditionally manually maintained header blocks in these scripts, but frustratingly people are not discplined about this. It is very powerful to have the source control system enforce the basics of the audit trail using keyword replacement in this manner.&lt;br&gt;&lt;br&gt;I grant you, although ideally suited to this scenario, it probably should not be used in others.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Sean Healey</dc:creator><pubDate>Wed, 07 Jul 2010 12:01:21 -0000</pubDate></item><item><title>Re: A Subversion Pre-Commit Hook</title><link>http://wordaligned.org/articles/a-subversion-pre-commit-hook#comment-60590914</link><description>Good :)</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Waseem Bokhari</dc:creator><pubDate>Mon, 05 Jul 2010 01:26:57 -0000</pubDate></item><item><title>Re: A Subversion Pre-Commit Hook</title><link>http://wordaligned.org/articles/a-subversion-pre-commit-hook#comment-60589263</link><description>你这个 prevents commit of certain file extensions such as .exe, .jar, .tar, etc. 
&lt;br&gt;脚本在哪呢  能否用一下  thanks</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Liuzengyou</dc:creator><pubDate>Mon, 05 Jul 2010 00:52:47 -0000</pubDate></item><item><title>Re: Bike charts by Google</title><link>http://wordaligned.org/articles/bike-charts#comment-60300727</link><description>The available google charts (line, bar etc.) didn't offer what I needed so I wrote my own. Very satisfying!&lt;br&gt;&lt;a href="http://code.google.com/p/gwtstationmodel/" rel="nofollow"&gt;http://code.google.com/p/gwtstationmodel/&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">floater81</dc:creator><pubDate>Fri, 02 Jul 2010 12:29:33 -0000</pubDate></item><item><title>Re: Bike charts by Google</title><link>http://wordaligned.org/articles/bike-charts#comment-60001993</link><description>Yes, I submitted those charts. Thanks for the timely reminder. This year's tour is shaping up nicely. Roll on the prologue!&lt;br&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">tag</dc:creator><pubDate>Wed, 30 Jun 2010 11:49:09 -0000</pubDate></item><item><title>Re: Bike charts by Google</title><link>http://wordaligned.org/articles/bike-charts#comment-59997293</link><description>I read this post back when you wrote it but today I was looking at the chart API and recognised these at the top of the user submitted gallery...&lt;br&gt;&lt;a href="http://code.google.com/apis/chart/docs/user_submitted_gallery.html" rel="nofollow"&gt;http://code.google.com/apis/chart/docs/user_submitted_gallery.html&lt;/a&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">floater81</dc:creator><pubDate>Wed, 30 Jun 2010 11:17:33 -0000</pubDate></item><item><title>Re: Essential Python Reading List</title><link>http://wordaligned.org/articles/essential-python-reading-list#comment-58370064</link><description>&lt;a href="http://blog.objectmentor.com/articles/2009/11/21" rel="nofollow"&gt;http://blog.objectmentor.com/articles/2009/11/21&lt;/a&gt;/</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">jimmy choo</dc:creator><pubDate>Thu, 24 Jun 2010 02:12:52 -0000</pubDate></item><item><title>Re: Ignoring .svn directories</title><link>http://wordaligned.org/articles/ignoring-svn-directories#comment-57706617</link><description>I get too lazy to type print, so I use:&lt;br&gt;find . -not \( -name .svn -prune \) -type f&lt;br&gt;&lt;br&gt;But I like James' suggestion which uses -print0 and -0 to support filenames with spaces.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Anonymouse</dc:creator><pubDate>Sat, 19 Jun 2010 22:29:32 -0000</pubDate></item><item><title>Re: A Subversion Pre-Commit Hook</title><link>http://wordaligned.org/articles/a-subversion-pre-commit-hook#comment-57613943</link><description>Excellent.  Thank you.  Just what I was looking for.</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">Justin</dc:creator><pubDate>Sat, 19 Jun 2010 06:05:36 -0000</pubDate></item></channel></rss>
