Small maintenance update
* Name of some source files changed for better organization (they are gtb-*.c and gtb-*.h now)
* Number of paths are only limited by memory (before it was accepted only up to 5, the rest were rejected silently)
* Number of files that could be open at the same time has been increased. It is up to FOPEN_MAX in Windows, and more on Linux.
* Some variables that started with double underscored were renamed to avoid problems with certain compilers
* License.txt separated from readme.txt
http://sites.google.com/site/gaviotache ... e/releases
Thanks Aaron for your feedback.
Miguel
Gaviota Tablebases Probing Code (v0.1.2) UPDATE
Moderator: Ras
-
- Posts: 6401
- Joined: Thu Mar 09, 2006 8:30 pm
- Location: Chicago, Illinois, USA
-
- Posts: 1356
- Joined: Wed Mar 08, 2006 9:41 pm
- Location: Morgantown, WV, USA
-
- Posts: 4052
- Joined: Thu May 15, 2008 9:57 pm
- Location: Berlin, Germany
- Full name: Sven Schüle
Re: Gaviota Tablebases Probing Code (v0.1.2) UPDATE
Very minor hint ...
(i.e., remove all backup copies with a ~ at the end of the file name) will make your source archive slightly smaller and - more important - look a bit cleaner 
Sven
Code: Select all
% rm *~

Sven
-
- Posts: 6401
- Joined: Thu Mar 09, 2006 8:30 pm
- Location: Chicago, Illinois, USA
Re: Gaviota Tablebases Probing Code (v0.1.2) UPDATE
Sven Schüle wrote:Very minor hint ...
(i.e., remove all backup copies with a ~ at the end of the file name) will make your source archive slightly smaller and - more important - look a bit cleanerCode: Select all
% rm *~
Sven

I thought I did not have that. "git archive" spits a compressed folder with the sources that are in the project. I looks like I must have "added" the files at the beginning when I had the *~ floating around. If that is the case, git thinks that *~ belong to the project and includes them. Sorry and thanks, I will fix it.
Miguel
PS: There are lots of things that need to cleaned in the source files...
-
- Posts: 292
- Joined: Tue Jul 07, 2009 4:56 am
Re: Gaviota Tablebases Probing Code (v0.1.2) UPDATE
If you're keeping this all in git, would you be willing to make a public repository available? I integrated gtb into Daydreamer, but if there was a public repository I could manage updates (like this one) a lot better, and also submit patches easily.
-
- Posts: 6401
- Joined: Thu Mar 09, 2006 8:30 pm
- Location: Chicago, Illinois, USA
Re: Gaviota Tablebases Probing Code (v0.1.2) UPDATE
I am all open to suggestions. Where do I put it?Aaron Becker wrote:If you're keeping this all in git, would you be willing to make a public repository available? I integrated gtb into Daydreamer, but if there was a public repository I could manage updates (like this one) a lot better, and also submit patches easily.
Miguel
-
- Posts: 292
- Joined: Tue Jul 07, 2009 4:56 am
Re: Gaviota Tablebases Probing Code (v0.1.2) UPDATE
I've used github.com for hosting public copies of my code, and I'm quite happy with it.
-
- Posts: 481
- Joined: Thu Apr 16, 2009 12:00 pm
- Location: Slovakia, EU
Re: Gaviota Tablebases Probing Code (v0.1.2) UPDATE
Hi Miguel,
how about building a "gtb.dll" (under windows) or "libgtb.so" (under linux)?
This would reduce the size of executables and allows for future optimizations in TB access without recompiling. Just a thought.
---
Richard
how about building a "gtb.dll" (under windows) or "libgtb.so" (under linux)?
This would reduce the size of executables and allows for future optimizations in TB access without recompiling. Just a thought.
---
Richard
-
- Posts: 292
- Joined: Tue Jul 07, 2009 4:56 am
Re: Gaviota Tablebases Probing Code (v0.1.2) UPDATE
I already put together a Makefile that generates a gtb.a to avoid recompiling the gtb library excessively, so this wouldn't be hard to provide if there's demand. It's kind of a pain to make your program find and load the shared library dynamically compared to just compiling it in, though.
-
- Posts: 6401
- Joined: Thu Mar 09, 2006 8:30 pm
- Location: Chicago, Illinois, USA
Re: Gaviota Tablebases Probing Code (v0.1.2) UPDATE
I just took a look at it, and it seems fine. So GitHub will be.Aaron Becker wrote:I've used github.com for hosting public copies of my code, and I'm quite happy with it.
Miguel