Search found 882 matches

by Ras
Sat May 25, 2019 9:52 am
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Eucalyptus - KPK Bitbases Generator
Replies: 14
Views: 3551

Re: Eucalyptus - KPK Bitbases Generator

It takes 800ms to generate these bitbases on my pc. Marcels generator takes a few milliseconds: https://github.com/kervinck/pfkpk Is it worth using KPK as precomputed ? why not on the fly ? I've baked the resulting bitbase into my engine because my target platform has a lot of free ROM, but not RAM...
by Ras
Sun May 19, 2019 8:24 am
Forum: Computer Chess Club: General Topics
Topic: Sideloading on iOS now Possible
Replies: 12
Views: 1649

Re: Sideloading on iOS now Possible

It's still not compliant with the GPL because the GPL doesn't just refer to the source text and building oneself, it refers also to the binaries. You have to be able to give the binary to anyone else on any (compatible of course) device. That is still not possible with the binary from the store. Bes...
by Ras
Fri May 17, 2019 8:25 am
Forum: Computer Chess Club: General Topics
Topic: LC0 for iPad?
Replies: 20
Views: 3582

Re: LC0 for iPad?

I forgot another hurdle for iOS, and that's more serious. The usual partitioning of GUI and UCI/CECP engine is not possible under iOS, that has to be baked into one package. That's because installation is only possible from Apple's app store, and Apple doesn't allow programs that start other program...
by Ras
Thu May 16, 2019 11:33 pm
Forum: Computer Chess Club: General Topics
Topic: LC0 for iPad?
Replies: 20
Views: 3582

Re: LC0 for iPad?

Check in the App Store: it’s under the GPL. No mention of any other license is made. It is in violation of the GPL. See here why: https://www.fsf.org/news/2010-05-app-store-compliance Just as with GNU Go, any spoilsport, not just the authors, can contact Apple and get stockfish yanked from the App ...
by Ras
Thu May 16, 2019 6:52 pm
Forum: Computer Chess Club: General Topics
Topic: LC0 for iPad?
Replies: 20
Views: 3582

Re: LC0 for iPad?

How do you explain the existence of the GPL’d stockfish in the App Store? By the agreement of all Stockfish authors to tolerate the GPL violation that the additional store limitations cause. Effectively, the Stockfish team is dual licencing Stockfish. They have that right, but in order to do that, ...
by Ras
Wed May 15, 2019 3:52 pm
Forum: Computer Chess Club: General Topics
Topic: LC0 for iPad?
Replies: 20
Views: 3582

Re: LC0 for iPad?

One of the problems with iOS is that installation can be from Apple's app store only. Developer membership costs 99 EUR per year, and more importantly, Apple made its store incompatible with any GPL version. LC0 happens to be under GPL 3, so that wouldn't work unless all LC0 authors would agree to d...
by Ras
Wed May 15, 2019 3:37 pm
Forum: Computer Chess Club: General Topics
Topic: Chess for Android: version 6.1.1
Replies: 55
Views: 8200

Re: Chess for Android: version 6.1.1

abik wrote:
Wed May 15, 2019 4:13 am
other ideas are welcome too of course
Is the full parsing and evaluation of engine specific UCI options already implemented? If not, that would be a nice feature.
by Ras
Thu Apr 25, 2019 3:27 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: UCI flexibility
Replies: 3
Views: 718

Re: UCI flexibility

Hash table size doesn't matter much because e.g. CCRL tests are usually done with 128 or 256 MB, see here: http://ccrl.chessdom.com/ccrl/404/about.html . If your hash table design requires powers of 2, then it wouldn't make sense to allocate only 128 MB when 256 MB are allowed just because you'd end...
by Ras
Sat Apr 20, 2019 7:43 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pointers in C++, please help
Replies: 17
Views: 2868

Re: Pointers in C++, please help

Hi Ras, Thanks! How would it be done with good practice in C++? I have no clue. You'd use some of the STL provided types. You could use either a std::vector inside another std::vector, or std::array inside another std::array. I think the latter will be faster here because the dimensions are fixed s...
by Ras
Sat Apr 20, 2019 7:08 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Pointers in C++, please help
Replies: 17
Views: 2868

Re: Pointers in C++, please help

If you have this: *(mvs + (((fs << 3) + n))) = ts; // I want to do something like, mvs[fs][n] = ts; then the shift suggests that the n variable stretches over 3 bit, i.e. it can go from 0 to 7. That means a lower array dimenion of 8. Assuming that the other dimension is also 8 because it is about a ...