Comments on: Shipped! http://178.63.27.54:8080/statictangents/2014/10/29/shipped/ Random tangents Tue, 10 May 2016 08:11:25 +0000 hourly 1 By: Jonathan O'Connor http://178.63.27.54:8080/statictangents/2014/10/29/shipped/comment-page-1/#comment-386259 Tue, 10 May 2016 08:11:25 +0000 http://178.63.27.54:8080/statictangents/?p=2202#comment-386259 I think the main reason that C++ and Java are bad at string processing in comparison to say Ruby, is that you have to constantly calculate the length of substrings in these languages. The Ruby standard library allows you to ask for say the first 10 chars of a string, and if there are only 5, it gives you those 5, and doesn’t blow up in your face like Java. It also helps that you can characters at the end of a string using negative indexes.

You could definitely write a C++ library which would mimic Ruby string behaviour. It’s harder in Java, because of the lack of language extension mechanisms.

]]>
By: James http://178.63.27.54:8080/statictangents/2014/10/29/shipped/comment-page-1/#comment-225276 Fri, 21 Nov 2014 08:13:28 +0000 http://178.63.27.54:8080/statictangents/?p=2202#comment-225276 Hi, thanks for this post – I’m just getting into Scid and it’s comforting that it doesn’t seem to be too difficult to integrate with LaTeX.

Question: do you have an example LaTeX file I could use as a basis for generating my own annotated games with Scid? I’m less interested in what the chess engines have to say and more interested in organizing my opening repertoire, as it has been 10 years since my last tournament!

Thanks in advance for your help!

]]>