Search found 130 matches

by Codesquid
Sun Feb 02, 2014 11:21 am
Forum: Computer Chess Club: General Topics
Topic: Profit open source code ?
Replies: 9
Views: 2306

Re: Profit open source code ?

I do not understand what advantage it gives to a developer to make his source code open source code. Perhaps if you stop developing and would have removed it anyway ? The same could be said the other way around: What advantage does it give to a developer to make his source code closed and proprieta...
by Codesquid
Fri Jan 24, 2014 7:26 am
Forum: Computer Chess Club: General Topics
Topic: Which engines allow Black knight sac for three pawns here?
Replies: 14
Views: 2158

Re: Which engines allow Black knight sac for three pawns her

Assuming you mean B e 3, Octochess occasionally wants to play it, though exd or dxc eventually replace it if searching deep enough: 20 0.00 350.0M 0:41.27 d4xc5 d6xe5 f4xe5 Nd7xe5 Qd1-e2 Ne5xf3 Qe2xf3 O-O O-O Qd8-a5 g2-g4 Bg7xc3 b2xc3 Nh5-f6 Bc1-h6 Rf8-d8 g4-g5 Qa5xc5 Kg1-h1 Nf6-h5 19 +0.18 248.7M 0...
by Codesquid
Thu Jan 16, 2014 7:13 pm
Forum: Computer Chess Club: General Topics
Topic: WinBoard 4.7.3 released
Replies: 24
Views: 3399

Re: WinBoard 4.7.3 released

Thanks for this new version and including the multimonitor fix. I've created another small patch for a different problem. Namely, when starting analyze mode first thing after starting Winboard and selecting an engine, the engine output windows does not show the multipv and move exclusion line. The s...
by Codesquid
Tue Jan 14, 2014 10:03 pm
Forum: Computer Chess Club: General Topics
Topic: Preferred Platform for Mobile Chess Apps
Replies: 8
Views: 1503

Re: Preferred Platform for Mobile Chess Apps

Missing option: Kindle e-book reader together with the pbchess program.
by Codesquid
Thu Jan 02, 2014 6:19 pm
Forum: Computer Chess Club: Tournaments and Matches
Topic: New Blood 4CPU
Replies: 23
Views: 2852

Re: Rounds 3-4

Stellar start :)
by Codesquid
Mon Dec 09, 2013 10:48 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: strcpy() revisited
Replies: 192
Views: 12271

Re: strcpy() revisited

a = b + c If it's anything like the undefined behavior sanitizer in Clang, it's working at runtime. If you actually call at runtime a=b+c with values that cause an overflow, it'll print a message at runtime. Which on x86 means a "jo error" after EVERY integer add, subtract, multiply? Not to mention...
by Codesquid
Mon Dec 09, 2013 9:10 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: strcpy() revisited
Replies: 192
Views: 12271

Re: strcpy() revisited

I don't know how helpful and complete it will be, but gcc-4.9 will have an UB detector: UndefinedBehaviorSanitizer (ubsan), a fast undefined behavior detector, has been added and can be enabled via -fsanitize=undefined. Various computations will be instrumented to detect undefined behavior at runti...
by Codesquid
Mon Dec 09, 2013 8:38 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: strcpy() revisited
Replies: 192
Views: 12271

Re: strcpy() revisited

What is sad is that they COULD have fixed the bug, removed the undefined behavior, and now all those thousands of applications would STILL work, and would no longer fall into any undefined behavior pitfall To change undefined into defined, the C-standard needs to be changed. However, the newly defi...
by Codesquid
Mon Dec 09, 2013 6:51 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: strcpy() revisited
Replies: 192
Views: 12271

Re: strcpy() revisited

I've grown up in an era of trusting the compiler. You got a bug, it is almost certainly a programming bug. Undefined behavior in your program is a programming bug. That era seems to be coming to an end, because a change to a compiler really should not change program behavior, if the original compil...