Re: [Scid-users] Wither ratings.ssp?

2015-04-11 Thread Alexander Wagner
Hi!

 Does anyone know what method he used to keep the file current.

Asked Franz years ago to share his code but he didn't want to back then. 
Probably, he may change his opinion now?

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15utm_medium=emailutm_campaign=VA_SF
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] TimeSeal

2015-03-12 Thread Alexander Wagner
Hi!

 I don't think SCID's code comes with Timeseal.

Nope. And it would be problematic as timeseal to the best of my knowlege 
is available as binaries only. They still believe in security by obscurity.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Dive into the World of Parallel Programming The Go Parallel Website, sponsored
by Intel and developed in partnership with Slashdot Media, is your hub for all
things parallel software development, from weekly thought leadership blogs to
news, videos, case studies, tutorials and more. Take a look and join the 
conversation now. http://goparallel.sourceforge.net/
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


[Scid-users] ekiga

2014-09-15 Thread Alexander Wagner


--

Kind regards,/ War is Peace.
|Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
|
| Theory : G. Orwell, 1984
   /  In practice:   USA, since 2001


ekiga.tar.gz
Description: application/gzip
--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] ICCF changes to xfcc secure server (patch)

2014-09-10 Thread Alexander Wagner
On 08/23/2014 06:57 PM, Andrew Hunt wrote:

Hi!

 I wrote a patch for correspondence.tcl that adds https support, but it 
 should be reviewed. Apologies if this isn't the best way to receive 
 patches, I tried to access the How to create patches link in the wiki, 
 but received: Error 403: Create access required

 Thanks for your help.
 I pushed a slightly modified version of your code: can you try if it works?

Also reflected in the help.

 BTW - I'm also seeing the following error (running on OSX 10.8.5)

 --
 invalid command name .menu.tools
  while executing
 $m entryconfigure 0 -state normal
  (procedure ::CorrespondenceChess::EnableEngineAnalysis line 22)
  invoked from within
 ::CorrespondenceChess::EnableEngineAnalysis 1
  (command bound to event)

I can check into this, though not on OSX (don't think it has to do 
anything with the fruits.)

Only on OSX and only for ICCF? This is menat for disabling the engines 
in case Xfcc doesn't allow for it.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Want excitement?
Manually upgrade your production database.
When you want reliability, choose Perforce
Perforce version control. Predictably reliable.
http://pubads.g.doubleclick.net/gampad/clk?id=157508191iu=/4140/ostg.clktrk
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] larger boards in scid

2013-11-12 Thread Alexander Wagner

On 11/12/2013 05:22 PM, Fulvio wrote:

Hi!

Probably, the attached two scripts would be of help. I actually thought 
they were in the source tree.



Alexander Klimov wrote:

Fortunately it is not that hard to do this using ImageMagick by
running the following bash script in img/pieces/Merida/

for s in 25 31 38 46 57 70 86 106 130 160; do
 convert -size $((12*s*4))x$((s*4)) xc:white\
 -family Chess Merida -pointsize $((4*s))\
 -gravity North-West \
 -annotate +0+0 pnbrqkomvtwl -background white \
 -fill none -draw color 0,0 floodfill \
 -resize $((12*s))x$((s)) \
 Merida_$s.png
done




cool!

--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users



--

Kind regards,/ War is Peace.
|Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
|
| Theory : G. Orwell, 1984
   /  In practice:   USA, since 2001
#!/bin/sh

input=$1
target=$2

# input=/opt/chess/stow/Share/share/xboard/src/Themes/Pieces/Merida/
# target=/tmp/scid

pieces=B K N P Q R b k n p q r

sizes=25 30 35 40 45 50 55 60 65 70 75 80

for size in $sizes
do
for pic in $pieces
do
convert $input/$pic.png -geometry $sizex$size 
$target/$pic-$size.png
done
## montage -geometry $sizex$size+0+0 -background transparent -tile 
6x1 \
##  $target/P-$size.png $target/N-$size.png $target/B-$size.png \
##  $target/R-$size.png $target/Q-$size.png $target/K-$size.png 
$target/black-$size.png

## montage -geometry $sizex$size+0+0 -background transparent -tile 
6x1 \
##  $target/p-$size.png $target/n-$size.png $target/b-$size.png \
##  $target/r-$size.png $target/q-$size.png $target/k-$size.png 
$target/white-$size.png

montage -geometry $sizex$size+0+0 -background transparent -tile 
12x1 \
$target/p-$size.png $target/n-$size.png $target/b-$size.png \
$target/r-$size.png $target/q-$size.png $target/k-$size.png \
$target/P-$size.png $target/N-$size.png $target/B-$size.png \
$target/R-$size.png $target/Q-$size.png $target/K-$size.png 
$target/scid-$size.png

done





toscid.pl
Description: Perl program
--
November Webinars for C, C++, Fortran Developers
Accelerate application performance with scalable programming models. Explore
techniques for threading, error checking, porting, and tuning. Get the most 
from the latest Intel processors and coprocessors. See abstracts and register
http://pubads.g.doubleclick.net/gampad/clk?id=60136231iu=/4140/ostg.clktrk___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Chess Fonts

2013-05-09 Thread Alexander Wagner
On 05/09/2013 09:53 AM, Fulvio wrote:

Hi!

 1) add a img/boards/ReadMe.txt and a img/pieces/ReadMe.txt (both with
 CRLF) that explains to users how to create their own board textures and
 piece images: file format and size, naming conventions, etc...

You could ease up that quite a bit if you just allow some 
dir/pieces/*.png files to be loaded in Scids initialization step. This 
did work in the past, just Pascal didn't like loading files instead of 
using precompiled tcl/tk piece images. (Basically, those compiled 
images are just base64-encoded pngs anyway.) I think the possibility to 
drop some K.png k.png and so on to a defined set of dirs below ~/.scid 
or (share/scid/... for globals) and thus adopting procedures of many 
other programs would be far easier that base64 include to some tcl and 
stuff.

 (i really
 hope that someone will draw a nice anime piece set :-)

Beware ;)

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Learn Graph Databases - Download FREE O'Reilly Book
Graph Databases is the definitive new guide to graph databases and 
their applications. This 200-page book is written by three acclaimed 
leaders in the field. The early access version is available now. 
Download your free book today! http://p.sf.net/sfu/neotech_d2d_may
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] 16.7mio game limit

2013-04-21 Thread Alexander Wagner
On 04/19/2013 05:04 PM, Fulvio wrote:

Hi!

 I've found scid has a limit of 16.7 million (2^24) games per database,
 is there an easy way to change this to 32bit or something?


 Easy: i don't think so.

 However the code already use a 32bit uint as gameNumberT.
 I looked at src/index.h:
 const gameNumberT  MAX_GAMES  = 16777214;
 // max. number of games is 2^(3*8)-1-1,
 // The 2^(3*8)-1 as si4 only uses three bytes to store this integer,

   From the comment it seems that the three byte is a limit introduced
 with the 4th database version of Scid.
 The limit is enforced in Index::WriteHeader():
 FilePtr-WriteThreeBytes (Header.numGames);

 and it's easy to change, but will make scid incompatible with older version.

Sounds like it should be changed only if one is going for some si5.

Just out of shear curiosity: is 16.7e06 indeed a real world limit? I 
mean, are there larger databases of /sensible/ games? AFAIK even cb 
online is only at something about 6-7e06 and they already cover quite a 
lot of lower end games.

Probably, one could accumulate a lot of games if one is ingesting all 
blitz games on ICC/FICS and the like but would that make any sense for a 
chess database?

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] error importing .pgn file

2013-04-10 Thread Alexander Wagner
On 04/10/2013 04:36 AM, Fernando Javier wrote:

Hi!

 when i try to import a single .pgn or a .pgn database, i get this mesagge:

 Opening polgar.pgn read-only...
 Importing PGN games from polgar.pgn...

 Error opening PGN file.

 what should i do???

PGN is always read only. If you want to work on it import it to a 
database, work on a real scid database then. You can export back to pgn 
if you want to for whatever reason. (Note that the clipbase is indeed a 
full featured database as well. But it lives only in RAM.)

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis  visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] [Scidvspc-users] Printing Games with LaTeX (Help or Feature Request)

2013-04-07 Thread Alexander Wagner
On 04/05/2013 05:47 PM, Alan Whiteman wrote:

Hi!

 I understand that LaTex is not a priority right now since you are
 getting this whole docking issue squared out. Let's just leave it as a
 nice-to-have feature request for future reference.

Fixing Scids LaTeX output (acutally the output as such should be quite 
ok, but the compiler calls are all completely outdated and cluttered 
around in the code; one should also migrate from calling latex to 
calling xelatex or probably even better lualatex both with utf-8 
encodings in their repsective exports, which is easy as Scid is utf-8) 
would make a /very nice/ initial project for new programers who want to 
contribute to Scids codebase.

It is actually very, simple straight forward stuff collection all calls 
to the compilers to one module. One could learn a lot of Scids Tcl/Tk 
frontend and logic of Scids without to much knowlege necessary to start 
out. (Except that one should know what LaTeX is.) Especially, one would 
need almost no knowlege in the inner workings, C/C++ backend and such.

It would also make a /very nice/ project for someone willing to learn 
Tcl/Tk as only simple stuff is required here and the final code should 
be quite short.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Minimize network downtime and maximize team effectiveness.
Reduce network management and security costs.Learn how to hire 
the most talented Cisco Certified professionals. Visit the 
Employer Resources Portal
http://www.cisco.com/web/learning/employer_resources/index.html
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Donations?

2013-03-11 Thread Alexander Wagner
On 03/08/2013 11:02 PM, Ben St-Pierre wrote:

Hi!

 Since Pascal left the project, there are no donate buttons anymore.
 I am still unsure of they were properly made at the time.
 Your question made me look for information about donations at SF.
 I found this, which seems different than the last time I checked:
 http://sourceforge.net/apps/trac/sourceforge/wiki/Donations
 So it would be possible to manage a donation system.

Donations to Scid in the past forwared by Pascal to some charity AFAIK.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and remains a good choice in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Testing

2013-01-03 Thread Alexander Wagner
 just not possible at all. 
Probably my schedules get better this year but there are no resources 
anyway. Too much computer stuff @work. I need to do other things @home.

 As an outsider to step in now and fix the issues previously addressed
 (both by me and what Steven wrote), I feel I would have to invest way
 too much time. Spending € 100,- on Hiarcs would be the much more
 sensible and saner option, I'm afraid.

No offense, but feel free. Scid does NOT need to sell anything to 
anybody and it is not there to save money either ;) If you think the way 
to go is commercial software it's up to you. If you think it's better to 
do the world a favour by developing something, there is the possibility 
as well.

 Sorry, but if Scid wants to attract more developers, the people most
 involved in the project need to step up and join forces first, and
 make the barrier to entry much, much lower.

The barrier was very low for quite some time and for a lot of that time 
almost on my time budget alone. I can not do that anymore, I can not 
invest time into Scid at the amount I did some time ago for the 
foreseeable future. The job I have to do for a living is just to 
demanding. Maybe I can start some smaller parts I wanted to do for quite 
a while now, but I'm not sure of that either.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001


--
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. ON SALE this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122712
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] script for annotating games.

2012-05-14 Thread Alexander Wagner
On 05/02/12 13:51, rzan...@fastmail.fm wrote:

Hi!

 I was very impressed by Mike's script. Do you have one for annotating games.
 I have a server I would like to ssh to and just leave annotating games
 during the night without a graphical interface.
 Thanks a lot.
 I'm also interested to learn about any helpful documentation on
 scid/scripting.

Actually, Scid can annotate a bunch of games in a given database right 
from the GUI with whatever UCI engine you like. Anything wrong with 
that? Just start the engine and hit the Annotate button and adjust 
parameters in the upcoming dialogue.

In short:

- Open database
- Tools / Analysis Engine (Ctrl-A)
- Select the engine of your choice
- in the upcoming window just hit the 7th button right of the number of 
lines to display

Get a good coffee...

Now, if you want for whatever reason to do this without GUI 
tcl/tools/analysis.tcl is your friend. But beware: this stuff is a bit 
more complex than you might consider.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Fwd: Bug#661091: xfcc: I cannot resign on SchemingMind

2012-03-15 Thread Alexander Wagner
On 03/11/12 23:17, Oliver Korff wrote:

Hello Oliver!

 I have received this bug report, that I can't handle. If there is any
 hint or suggestion, that would be greatly appreciated.


 Trying to resign for the first time on SchemingMind.com :-)  I have no
 luck with that.  scid seems to be sending _my opponent's_ last move
 instead and of course the server is flagging that as an invalid move.

I think the solution is simple: he should make a valid last move and hit 
Resign instead of Send move.

 OTOH, I know that accepting a draw offer works.

Anyway, could the reporter of this bug please contact me on 
SchemingMind? E.g. in the Announcement-Forum via topic

 Scid and Correspondence Chess

or via personal mail (paradox)? I'd need to check this live in an 
(unrated) game.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Compiling

2012-03-06 Thread Alexander Wagner
On 02/29/12 23:59, Gerardo Fernandez wrote:

Hi!

 is it necessary Tcl/Tk 8.6 to compile the Scid version from the Git 
 repository?

Shouldn't be.

[...]
 This is the error I'm getting when trying to compile on Linux Mint 9
 (based on Ubuntu 10.04):
 src/sortcache.cpp: In static member function ‘static bool
 SortCache::CanLoad(char*, uint)’:
 src/sortcache.cpp:923: warning: comparison between signed and unsigned
 integer expressions
 make: *** [src/sortcache.o] Error 1

This is more an error from you c compiler.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001


--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] scid scid vs pc

2012-03-06 Thread Alexander Wagner
On 03/06/12 09:53, Thomas Malloy wrote:

Hi!

 I'd rather not start a war.  But if possible could anyone explain what
 scid vs pc is.

A fork of Scid at a certain point in the code. Steve could comment on 
his motivation in more detail. But if I remember correctly there was 
basically a disagreement on which GUI widgets to use.

Additionally, Steve worked more on game playing features and tried some 
limited 960 support.

As far as I'm concerned @scid, I'd happily see quite some functions in 
Steves code to come back into Scid, though I found that some would need 
a bit of work.

 It looked interesting so I compiled it. I have not really looked at it
 to closely.  I was a little surprised that it took the scid executable
 name.

As I said it started out as a fork.

 I have no problem with having different versions of vi, or xemacs
 and emacs available on the same system.  But it seemed odd that this
 program would not use a different name.  Obviously I know how to fix
 that.  I just thought it odd.

Well, the hack is to just rename the created scid to scidvspc. Should go 
into Steves makefile, I agree.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Fwd: Bug#656701: scid: correspondence list navigation

2012-02-05 Thread Alexander Wagner
On 01/30/12 21:56, Oliver Korff wrote:

Hi!

 I received this Bug Report at the debian bug tracker, and I wanted
 to report it to the upstream mailing list. Any help or Ideas to the
 problem would be appreciated.

[...]
After games are retrieved they are loaded to Scids clipboard database
and new moves are added and stored in the correspondence chess database
opened. The most convenient way to step through the games is by the two
buttons (up) and (down) which go to the previous and the next game,
respectively.

Note that those buttons are gone in the current git to save space.

 where (up) and (down) are actual arrow icons.

 However, my correspondence tab has no such buttons, and (even worse IMHO)
 there seems to be no keyboard binding for these actions.

There should be bindings to ctlr + up/down arrow keys. At least they are 
in current git. Direct up/down is not available as you need to be able 
to scroll the games list itself which is done by those bindings. 
Depending on the version you use for building the deb packages, however, 
it could be that these bindings didn't exist. I didn't introduce them in 
the first place.

Oliver, I could give you some sort of patch to add this missing 
function. Actually, it should already work out to replace 
correspondence.tcl with current git version. Though I'm not sure that 
you want to do such sort of mixing, CC code is quite self contained. The 
necessary bindings are in l.2074..2081.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Ubuntu 11.10 and menu bar

2012-02-05 Thread Alexander Wagner
On 11/30/11 09:50, Fulvio wrote:

Hi!

 In Unity the menu bar (File, Edit, View, etc.) is hided and showed only
 when you move the cursor over the title bar.
 But for Scid this don't works, i suppose it may depend by tcl/tk.

I'd guess, that yes. Probably the cleanest way would be to tcl/tk to 
recognize Unity, but...

 Someone knows how Unity works and if it is possible to make Scid behave
 like the other programs?

...shouldn't this Unity stuff handle X11 properly? ;) I guess they just 
assume to new frameworks for this.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Fwd: Bug#657668: scid: no generic menu key?

2012-01-29 Thread Alexander Wagner
On 01/28/12 17:05, Oliver Korff wrote:

Hi!

 I received this Bug Report at the debian bug tracker, and I wanted
 to report it to the upstream mailing list. Any help or Ideas to the
 problem would be appreciated.

Argl. Seems a sideffect of docking mode again as all the stuff mentioned 
works for me like a charm in classical mode.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Search within search results

2012-01-29 Thread Alexander Wagner
On 11/17/11 10:12, Ben Hague wrote:

Hi!

 I commonly search within search results, e.g. search for a player, and then 
 search for games they've played with a particular opening. This no longer 
 works (with git code), as the second search ignores the And option and 
 searches the whole database. This seems to be because of the 
 initDbFilter(db); line within the sc_search function in the tkscid.cpp file 
 in the src directory. I know there's been quite a bit of work done on 
 searches recently, is this a known byproduct?

It seems so, I already tried to reach Gerd about a similar issue.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Try before you buy = See our experts in action!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-dev2
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] A Simple Step to Help TWIC (or any other Ad Site)

2012-01-15 Thread Alexander Wagner
On 01/15/12 04:19, Ben St-Pierre wrote:

Hi!

[...]
 With specific regard to automated downloads from TWIC or anywhere else,

 I can't recall where that was discussed.
 But I do recall what was being discussed here:
 A shell script to download many TWIC
 was being frowned upon by Alex.

I just raised one little point some people might have missed.

 If somebody wants this, it should be his burden to switch it on, not my
 burden to switch it off.

 Yes, of course.  We should talk about burden when comes the time to
 set and save preferences once.  Just think how many clicks this means
 in one's life.

 If you get your games from TWIC and Mark asks us to implement this and
 it gets implemented, I wonder who's burden will it be to find another
 free games provider.

Mark didn't ask us anything to implement, he asked us not to implement 
for a IMHO good reason. We should just respect that.

Besides: personally, I see no room for any advertisements be it links or 
whatever to be placed within Scids code. Regardless, who will profit 
from them.

To Marcins suggestion: one could in principle have a Source tag that is 
a link, but that would require the link to be persistent. I see no 
system of persistent identifiers for chess games.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] A Simple Step to Help TWIC (or any other Ad Site)

2012-01-14 Thread Alexander Wagner
On 01/13/12 21:30, Mark Morss wrote:

Hi!

 Since you ask, I perhaps should say that I am an old Unix hand and I
 fully subscribe to the do one thing well philosophy.

Me too.

 Much of what I
 see from the SCID list server causes me to worry that SCID is on the
 path to becoming bloatware.

I fear you're pretty safe from that. Actually Scid should get a lot of 
polishing but not new features at the moment. Unfortunately however, 
I've currently nearly no time to work on Scid myself. I'd have a bunch 
of things on my list, however.

 With specific regard to automated downloads from TWIC or anywhere else,
 I would much rather see this delivered in a separate executable than as
 an integral part of SCID.

Perfectly agree. And to assure you: we will not add such a function. I 
asked Mark if he'd like to have something like that, he doesn't, we'll 
not do it.

 I hope those responsible for SCID's direction take into account that
 more and more functionality does not always add to the utility

He does :)

 of a piece of software.  From this point of view, ChessBase and Chess
 Assistant are very bad models to follow.

Agree.

 In line with this, I find the thought of links in the game headers,
 which would undoubtedly call some sort of attention to themselves,
 pretty horrifying.

Probably, this would depend on how it is handled. If you just place 
something like

Source TWIC

there where you could click on the TWIC you'd hardly notice it. But to 
make sure that you've not to be concerned about it to happen:

1) Someone would have to do it in real life code. Experience tells me 
that chances are not good for this to happen.

2) The devil lives in the details here: What would you link to? It would 
only make sense to link to some sort of URI (persistent URL) as 
databases, aka _archives_, tend to live quite some time so all URLs will 
lead to nowhere in almost no time (compared to the time scale of a 
database). So, as long as chess games do not get URIs assinged that make 
sure that the source it links to is available next year, it doesn't make 
sense to store any links anyway. You may get back in the list archive to 
a lengthy discussion about the feasibility of such links, how one could 
build up URIs on basis of persistent identifiers and so on...

 If somebody wants this, it should be his burden to switch it on, not my
 burden to switch it off.

The only way to handle it decently would be like the outbound linking we 
currently do in the players information. Note that this is indeed based 
upon persistent IDs for the players, and as such only available for a 
comparatively small number of them. (Check out Anand or Kasparov e.g.)

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
RSA(R) Conference 2012
Mar 27 - Feb 2
Save $400 by Jan. 27
Register now!
http://p.sf.net/sfu/rsa-sfdev2dev2
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] bug: SCID and FHS

2011-12-31 Thread Alexander Wagner
On 11/27/11 22:29, John wrote:

Hi!

The FHS is a Linux standard that describes the directory structure
[...]
 Since the engines are executable code, and are usable outside of Scid,
 they should be stored in /usr/local/bin or maybe /usr/local/games.

 On a side note, since users may already have some of the engines
 installed, building them from source should be optional, and their
 binaries should be delivered in separate containers, whether packages as
 debs or requivalent (and so install to /usr/bin etc) or tarballs which
 users unpack into /usr/local/bin etc.

Perfectly agree with you, in principle. The reason why it is handled 
differently at the moment is in fact due to this other OS-like entity 
that doesn't care about FHS at all. Additionally, Scids build structure 
is grown over the years. You may notice that ./configure is some 
tcl-script and not what you might imagine it is. Joost started some work 
on Scids build structure, but I'm not sure if he already succeeded. In 
case you have some code here you might want to team up with him.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


[Scid-users] Happy new year!

2011-12-31 Thread Alexander Wagner
Hi!

It's been quite a while since you read me here on the list, but I'm 
still around. Unfortunately, still at a work and travel load that 
doesn't allow me to contribute to Scid, at the moment. Indeed, I'm 
currently barely able to follow the list as closely as I'd like to, not 
to speak of actually playing Chess that much. Still, I hope this gets 
better, but yet I can give no detailed timeframe. (Depends a quite bit 
on when we get some project @work to GA.)

Anyway, I want to take the opportunity to thank all those contributing 
to the project for all their work. Keep up, and all the best for 2012! :)

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] PGN notation time per move

2011-07-25 Thread Alexander Wagner
On 07/19/11 19:17, Esteban Cervetto wrote:

Hi!

 is it possible annotate in PGN standads the time issued per move?
 It is an important data when you have to analize your performance.

 I agree.
 I like the ICC format, just a comment with the remaining time (
 h:mm:ss )
 For example:

 1. e4 {1:40:30} c6 {1:40:25} 2. d4 {1:40:02} d5 {1:40:50}

 I don't have time for scid development now, but after the summer i
 will write some code to interpret a comment starting with h:mm:ss as
 clock values and show it on the right of the board.

 Great! It would be remarkable keep in mind that some points and
 ideas before begin to write code:

 1) Usually, the reflection time per game doesn't last more
 than 120 minutes. In my personal games, I only wrote the total
 minutes expended.

You're only considering OTB gameplay here. One should
howerver strive for a general solution to the issue. Also
note that there's also another AFAIK estabilished form of
time notation, something linke

[%ccsnt 2011.06.16,17:53]

(This is CC gameplay, therefore the date matters as well.)

Nevertheless, it might be wise to check out [% ] notations.
Especially, considering that it's perfectly simple to hide
those annotations and avoid crowding PGN notation. (Just
switch off arrow marks.)

AFAIK it is common to use [%ct ] and [%emt ] for usual game
times. Note that this is also the way input engine stores
times if timing is provided. It might also be worth while to
check what some larger commercial company uses as
commentaries for time storage. (I think it's the above but
I'm not 100% sure about it.)

 2) Annotate time for all the moves is a very boring task.

One should keep in mind that in real game play you might
already get the time stamps from a digital clock or, in
Scids game play functions by the internal clock.

For external time sources input engine comes to mind again,
e.g. I store timings from a DGT clock right into the
notation. The format used by Scid is

[%ct $wHrs:$wMin:$wSec] [%emt $timediff]

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Storage Efficiency Calculator
This modeling tool is based on patent-pending intellectual property that
has been used successfully in hundreds of IBM storage optimization engage-
ments, worldwide.  Store less, Store more with what you own, Move data to 
the right place. Try It Now! http://www.accelacomm.com/jaw/sfnl/114/51427378/
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] how to add shortcuts?

2011-06-26 Thread Alexander Wagner
On 06/19/11 19:32, J. Wesley Cleveland wrote:

Hi!

[...]
 So, all we need is a menu item Run Script that allows the user to
 choose a tcl file and loads and runs it and we all can destroy our
 databases any way we choose. This would also be convenient for testing
 new features. Perhaps also a configuration entry to enable or disable
 (default disabled) this feature would also be good

In principle this is indeed very simple. The ugly part, however, is that 
you have to be pretty careful what you script, and I'm absolutely not 
sure that it is advisable to make this a standard interface and 
encourage people to use it. Especially it will be hell of complex in 
case of trouble to track down what's going on.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Comments buggy!

2011-06-26 Thread Alexander Wagner
On 06/19/11 18:06, Joost 't Hart wrote:

Hi!

 I don't seem to be able to recreate the problem now... followed my own 
 steps below and it didn't happen this time.   Well, I'll keep an eye on it 
 when I'm adding comments, and if it pops up again, I'll report back!
 Your comments should get stored as soon as the comment editor window
 looses the focus. Save is bound to the fact of loosing the focus, this
 should be absolutely ignorant of the way how this is accomplished. If
 you move along the game from within comment editor all keys that allow
 this should also trigger an autosave. Just for you as a key what to look
 for.

 Note that this is _not_ the case if you (only) clear a comment.

Though even if you just clear the comment you have somehow to leave the 
comment window or close it or ... it will loose the focus. Right?

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
All of the data generated in your IT infrastructure is seriously valuable.
Why? It contains a definitive record of application performance, security 
threats, fraudulent activity, and more. Splunk takes this data and makes 
sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-d2d-c2
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] New Best tree games window

2011-06-19 Thread Alexander Wagner
On 06/17/11 15:44, f...@libero.it wrote:

Hello Fulvio!

 I pushed into the git repository the code for the new
 dockable best tree games window:

I fear I have to report some issues. First of all please
keep in mind not to break classical mode, this is
imperative.

Anyway, the first issue I see is the following:

--
Error in startup script: invalid command name ttk::bindMouseWheel
 while executing
ttk::bindMouseWheel $w.glist glist.ybar_ $w.glist
 (procedure glist.create line 49)
 invoked from within
glist.create $w.f2 switcher
 (procedure ::windows::switcher::Open line 37)
 invoked from within
::windows::switcher::Open 
 invoked from within
if { !$::docking::USE_DOCKING } {
   if {$startup(switcher)} { ::windows::switcher::Open }
   if {$startup(pgn)} { ::pgn::OpenClose }
   if {$startup(gam...
 (file ./scid line 150078)
X Error of failed request:  RenderBadPicture (invalid Picture parameter)
   Major opcode of failed request:  152 (RENDER)
   Minor opcode of failed request:  7 (RenderFreePicture)
   Picture id in failed request: 0x0
   Serial number of failed request:  11807
   Current serial number in output stream:  11889
--

This stems from ttk::bindMouseWheel in l.1054 of
gamelist.tcl. Why do you use ttk:: instead of bindMouseWheel
which is used in all other places? I can easily resolve this
(resuting in an immediate crash of Scid) by removing ttk::

Next I get

--
can't unset ::glistResized(.baseWin.f2.glist): no such element in array
can't unset ::glistResized(.baseWin.f2.glist): no such element in array
 while executing
unset ::glistResized($w)
 (procedure glist.destroy_ line 15)
 invoked from within
glist.destroy_ .baseWin.f2.glist
 (command bound to event)
--

immediately, if I try to open the database switcher (started
by default in my classic mode setup.)

If I ignore it and open a database and then try to fire up
the db switcher I get:

--
bad window path name .baseWin.c.f1.img
bad window path name .baseWin.c.f1.img
 while executing
grid $w.c.f$i.img -row 0 -column 0 -rowspan 2 -padx 2 -pady 2
 (procedure ::windows::switcher::Refresh line 16)
 invoked from within
::windows::switcher::Refresh
 (command bound to event)
--

I even get this if I temporarily enable docking mode.

Finally I found that if I load a database, open the tree, go
to best games and scroll with the mouse wheel I get

--
invalid command name glist.ybar_ .treeBest1.glist
invalid command name glist.ybar_ .treeBest1.glist
 while executing
{glist.ybar_ .treeBest1.glist} yview scroll 1 units
 (command bound to event)
--

Please have a look at those issues :)

After all those problem reports, the new best games looks
nice. I also like the footnote markers showing sorting
criteria. If you set a new criterion, however, sometimes you
have to recalculate the column width for the marker not to
overlap with the heading. (See e.g. W/B-ELO, Length, Result)
I would however tidy it up a bit using smaller line spacing
like in the games list.

Probably one could reuse the widget for the games list.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] DGT board in SCID under Windows

2011-06-19 Thread Alexander Wagner
On 06/01/11 13:57, Jan Krabbenbos wrote:

Hello Jan!

 Is there anybody who has experience how to connect a DGT EBoard with SCID 
 under Windows? Is it just compiling dgtdrv and connect this through an Input 
 Engine with the board? I have a customer asking this and have not done this 
 yet myself.

I never tried to compile dgtdrv myself on Windows, still I think dgtdrv 
wouldn't actually pose a problem here. It's plain C/C++ using only std 
i/o and doesn't contain any hardware specific code. If you use it you'll 
most likely run into difficulties with dgtnix libs in the backend 
containing all hardware specific code or the way how Windows handles a 
serial USB connection. E.g. I got dgtnix compiling out of the box on a 
Mac, dgtdrv startet up nicely, but it never got any answer back from the 
board at all.

If I understood the issues correctly they stem from the missing 
handshake in the DGT protocol specs. It seems that the Mac drivers 
insist on hardware handshake or any handshake at all while the DGT board 
doesn't use either kind. So I sent the hello to the board, it might even 
have answered, but the driver sat there and waited forever for the 
handshake to complete. I think Pascal had a similar issue with the Novag 
Citrine connecting to Scid, at least I have some solution in mind 
involving a soldering iron and connecting two pins to get the Citrine 
working with his Windows CE port, so it seems to be similar there as well.

@dgtdrv/Mac I was not able to resolve this issue myself being almost 
ignorant of hardware stuff and I didn't want to use a soldering iron and 
connect something I soldered together to the MacPro of a colleague. At 
least not without proper insurance... ;)

Anyway, I think the easiest way for you @DGT is to build a simple input 
engine based on your own libs. In Scid you can specify which engine to 
call, so it doesn't have to share a name or whatever. Just go to 
Tools/Connect Hardware/Configure. Scid expects a port, an engine command 
and an engine parameter. You can see those for dgtdrv here:

http://dgtdrv.sourceforge.net/dgtdrv-6.html

They are just passed to the external program in the form

external.exe port parameter

literally. So you can come up with whatever you want here.

The procotol for input engine is also simple, it's mainly xboard/uci 
(for this usecase the difference doesn't matter as I ignore most of the 
input from the GUI anyway as they are not applicable) plus some 
extensions specified here:

http://dgtdrv.sourceforge.net/dgtdrv-3.html

There might even be a suitable tool for Windows around (I'm ingorant of 
that platform myself, so I don't know). You could basically use every 
tool that allows to use xboard in an engine-engine match where the other 
engine is the DGT. Such a tool however will not allow for the special 
moves defined in input engine protocol like position setup, the DGT's 
version of new game and so on, so I think it is wise to add the 
parameters input engine protocol adds. It really tries to be a minimal 
superset to xboard/uci.

You might like to note that the current maintainer of xboard/winboard 
just contacted me to implement those additions there as well and as an 
official addition to xboard protocol.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] New Best tree games window

2011-06-19 Thread Alexander Wagner
On 06/19/11 13:04, f...@libero.it wrote:

Hi!

 I suppose you have a tk version   8.5.9

 Right. Debian stable is at 8.5.8. I think to avoid
 trouble with any distribution we should be compatible to
 that. Debian squeeze is pretty new now, still most other
 distributions, even the professional ones, will be at
 least on that level.
 I agree.

Fine :)

 In fact, i wrote a workaround to deal with right-click
 over headings in the new best games window with tk
 8.5.9.  Can you please confirm that it works?

Hm, depending on what you want to achieve. I actually get a
context menu once I click on the heading, as I would suspect
to work. Is this a yes?

 Ok as it's you asking. :) I removed the whole .scid, so I have the plain
 basic setup. Initial startup, docking mode is on now:

 --
 bad window path name .baseWin.c.f1.img
 bad window path name .baseWin.c.f1.img
  while executing
 grid $w.c.f$i.img -row 0 -column 0 -rowspan 2 -padx 2 -pady 2
  (procedure ::windows::switcher::Refresh line 16)
  invoked from within
 ::windows::switcher::Refresh
  (command bound to event)
 --


 I cannot understand this.
 can you try:
 git reset --hard HEAD^1
 (this will completely delete my last patch that modify the db switcher window)
 and see if solves the problem?

It does. So it's definitely in your last changes.  I'm about
to explore what is going on. What I found so far is that the
call

bind $w Configure +::windows::switcher::Refresh

is the source of trouble, this seems to call the
Refresh-function before the window exists at all.

The second observation I made just now is that the switcher
window is actually not restored in size as it should be. In
fact I get a window which is 1px wide and hardly larger
than the windows titlebar + resizebar at the bottom. That
window is hardly visible so I just missed it.

Anyway, exploring this, I found that moving

bind $w Configure +recordWinSize $w

to the end of the routine also solves that problem. Now, no
errors are thrown and the window shows up in proper size and
position.

So I think, the solution to the issue is moving both
bindings for window configure to the end of the routine,
just before setWinSize and replace ttk::bindMouseWheel by
bindMouseWheel. But please cross check this!

BTW: your addition of best games to the database switcher.
I'm not sure that this is sensible all the time. I admit
that I use the switcher just for what its name says:
switching databases. For this reason I'd like to have a
_small_ window. Usually it's 2x2 bases not larger.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] how to add shortcuts?

2011-06-19 Thread Alexander Wagner

On 05/29/11 16:24, Fred Mellender wrote:

Hi!


I would like to see a general scripting capability that would have
commands for all the menu items in SCID as well as keyboard shortcuts.
  As an example project: construct mate in one puzzles (which I have
done via the current interface to SCID, game by game):


Though a nice idea to have some sort of macro recorder, I feel that at 
the moment no one has capacities to work on this. Do you? Could you 
contribute the code? I fear this could get quite complex. And I'm not 
sure how much use a macro recorder is in the end.


[...]

If there were a scripting capability that would include language for all
menu commands and key short cuts it would make SCID very powerful for
projects like the above.  Perhaps a separate script interpreter (outside
of SCID) that could send commands to SCID (say, via STDIN) and receive
results back would be simplest to implement.  If SCID would define the
command protocol, that would be enough to get us started (leaving the
script language definition and interpreter to the user community).


Well, if you want a full scale scripting language within Scid you can 
just do it right now. You can even do it for years. There is no need to 
invent yet another language (a wast of time anyway) and in fact not to 
write a single line of code.


Just use TCL as language and use Scid as API backend. It's all there, 
it's the very way how Scid is done itself. For simple examples on how to 
do such things see e.g. sc_spell, sc_addmove, sc_spell, sc_import, sc_...


Doing automatic searches within the Scid database to find individual 
games by some criteria is e.g. done extensively in the correspondence 
chess code. (tcl/tools/correspondence.tcl) All the cc functionality 
lives on top of the tcl ie. scripting layer of Scid. Not a single line 
of C code is involved here. Though it integrates with Scids menues it 
was in fact written almost entirely without this linkage, in a way it is 
a sample of a (well, by now pretty large) Scid macro. If one drops the 
requirement for NLS support, one could even move all menues and buttons 
geneated right into the very module itself and it would have no 
interference with Scids main code at all.


If you want to check out how such things can be done I've attached a 
simple macro that embeds itself into Scids CC functions to provide 
better blending with some functionalities my favourite chess club. This 
is used as a plugin. This plugin adds it's own menu entries (in this 
case to the CC window) and lives completely on it's own. It doesn't 
provide NLS for that reason. (But personally I don't care about NLS 
myself as long as everything is in English.)


However beware: if you do such scripting you can easily trigger side 
effects and/or destroy your work. So place your favourite disclaimer 
here before you proceed. You've been warned! ;)


--

Kind regards,/ War is Peace.
|Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
|
| Theory : G. Orwell, 1984
   /  In practice:   USA, since 2001
#=
#
#SchemingMind.tcl: Plugin for Scids Correspondence Chess features
#
#
#This Plugin adds usefull functions in combination with
#SchemingMind Correspondence Chess Club.
#
#Plugin Code requires CC interface to be at least 1.30
#
#$Id: $
#Last change: Sun, 2011/06/19 16:28:49 arwagner agamemnon
#Author : Alexander Wagner
#Language   : Tcl/Tk
#
#-
#
#Copyright (C) 2008 by Alexander Wagner
#
#This is free software; you can redistribute it and/or modify it
#under the terms of the GNU Genereal Public License as published
#by the Free Software Foundation; either version 2, or (at your
#option) any later version.
#
#This program is distributed in the hope that it will be usefull,
#but WITHOUT ANY WARRANTY; without even the implied warranty of
#MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
#General Public License for more details.
#
#You should have recieved a copy of the GNU General Public License
#along with this program; if not, write to the Free Software
#Foundation Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
#
#=

#--
# WSFC: Web Services for Chess
#--

namespace eval WSFC {

	#--
	# Header and footer of the SOAP-messages. Linebreaking is imporant
	#
	set SOAPstart {?xml version=1.0 encoding=utf-8?
	soap:Envelope xmlns:xsi=http

Re: [Scid-users] Comments buggy!

2011-06-19 Thread Alexander Wagner
On 06/01/11 23:02, Mike Morrison wrote:

Hi!

 I don't seem to be able to recreate the problem now... followed my own steps 
 below and it didn't happen this time.   Well, I'll keep an eye on it when I'm 
 adding comments, and if it pops up again, I'll report back!

Your comments should get stored as soon as the comment editor window 
looses the focus. Save is bound to the fact of loosing the focus, this 
should be absolutely ignorant of the way how this is accomplished. If 
you move along the game from within comment editor all keys that allow 
this should also trigger an autosave. Just for you as a key what to look 
for.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] New Best tree games window

2011-06-19 Thread Alexander Wagner
On 06/19/11 17:31, f...@libero.it wrote:


Hi!

 I cannot understand this.  can you try: git reset --hard
 HEAD^1 (this will completely delete my last patch that
 modify the db switcher window) and see if solves the
 problem?

 It does. So it's definitely in your last changes.  I'm
 about to explore what is going on. What I found so far is
 that the call

 bind $wConfigure  +::windows::switcher::Refresh

 is the source of trouble, this seems to call the
 Refresh-function before the window exists at all.

 Scid's mysteries :-)
 I have no clue why works on my ubuntu and not on your debian.

Well, probably a different version of tcl?

 The only thing that i may guess is that in someway the
 [sc_base current] call at line 641 in switcher.tcl change
 in some way the result of [sc_base count total]

But that should be the case on either system then. Still,
please check if moving the configure bindings is ok. I think
it is harmless indeed and maybe it's even a bit more
defensive in the way that it avoids a trouble that might
possibly occur. But you're more in the details here.

 BTW: your addition of best games to the database
 switcher.  I'm not sure that this is sensible all the
 time. I admit that I use the switcher just for what its
 name says: switching databases. For this reason I'd like
 to have a _small_ window. Usually it's 2x2 bases not
 larger.

 Please notice that the games list in db switcher window
 is different from the one into best games window.

Yes. Still, what I want to point out is that it is probably
not the perfect place at least if it has to be there and is
not optional.

This placement goes a bit in the direction of, I think,
Gerds suggestion to move db switching functionality to the
games list. Though I am not sure myself that it belongs
there either (I prefer dedicated windows instead of
everything crowded in one place kind of GUI) at least I'd
find it very helpful that the db switcher can be kept a
small window. The Games List by definition is a at least
wide window due to the ammount of data to show there by
default.

Thus, if the feedback is to unify games list and db
switcher, I'd vote for having db switching in the games list
as an option and keep db switcher small.

 The idea that i wanted to show is a sort of database
 window where typical operations (load/copy/search games)
 can be perfomed all in one place.  I think that the ideas
 and opinion of scid users can be very useful to find the
 optimal solution.

Thats why I placed my vote ;)

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Analysis Tree (IE not just for openings)

2011-06-05 Thread Alexander Wagner
On 06/05/11 01:59, Rex Butler wrote:

Hi!

[...]
 Essentially, all that would be involved would be a table of lines sorted
 so lines along the same branches are placed next to each other, for example:

It sounds liek you want to check out the Masks in the tree window. Do 
they match your expectations? Did you check them out? (See Help Index / 
Masks for Trees).

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] how to add shortcuts?

2011-05-29 Thread Alexander Wagner
On 04/25/11 15:08, Ingo Schwarz wrote:

Hi!

 how can I add a shortcut for e.g. Strip:Moves from the Beginning in
 the PGN window?

 I didn't find any possibility to set it in SCID and I'm not crazy enough
 to modify the scid.gui where I find a lot of the other shortcuts.

This is only possible by changing the source code.

I would suggest that you set up a collection of what you think that 
should get a shortcut and we might be able to include them in upcoming 
versions.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] [Help] Ubuntu 11.04 install scid

2011-05-29 Thread Alexander Wagner
On 05/10/11 08:36, Alessio Tomelleri wrote:

Hi!

 Thanks for the quick response! My system is AMD64 same! Added the line
 you suggested, but did not work.

 I think you should install the X11 dev packages. Default Ubuntu setup is
 quite centred on Desktop user so you usually lack the dev-environment.
[...]
 hack configure on my system.


 it seem I've been able to solve this one...

 following the upper advice to work in configure... :

 set x11Path {
/usr/lib
/usr/X11/lib

 ...iv added this path, I recovered by command apt-file search libX11.so

 + /usr/lib/i386-linux-gnu/
 + /usr/lib/lsb3/
 + /usr/lib/debug/usr/lib/i386-linux-gnu/

This sounds a bit a strange path, as I think it refers to the 32bit 
userland, which should not be necessary on a 64bit Linux. wondering

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
vRanger cuts backup time in half-while increasing security.
With the market-leading solution for virtual backup and recovery, 
you get blazing-fast, flexible, and affordable data protection.
Download your free trial now. 
http://p.sf.net/sfu/quest-d2dcopy1
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


[Scid-users] Photos Ratings

2011-04-25 Thread Alexander Wagner
Hi!

Franz Nagl has generated a bunch of new data files:

* spelling.ssp
* ratings.ssp

both dating 04-23-2011.

Additionally, he just uploaded

* FIDE.spf
* Wikipedia.spf
* historic.spf

containing photos from FIDE, Wikipedia and historic players all in close 
sync with his ratings/spell checking files and properly deduped.

To ease access for our users all of this is now maintained at the Scid 
website and you can fetch them from

http://scid.sourceforge.net/download.html

or if you prefer the direct download link from Sourceforges File release 
page:

http://sourceforge.net/projects/scid/files/Player%20Data/Latest%20data

Many thanks to Franz for his continued effort in providing especially 
spellings/ratings files and now also a decent collection of photos :)

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Piece translation on OSX

2011-04-23 Thread Alexander Wagner
On 04/23/11 09:39, guivho wrote:

Hi!

I can not comment on your Mac issues (lacking such a system).

 Keyboard move entry apparently does not use 'piece translation'. Even on
 windows 7, when using 'Nederlands' or 'Deutsch', one has to enter 'Nf3'
 to get the piece moved. It does not understand keyboard entry Pf3 nor
 Sf3. So this is not an OSX-problem really.

This point, however, is understood. Actually, the way Scid handles 
keyboard move entry does not use those translations at all. I do not 
really know if it would even be feasible, given the fact that it would 
involve to check for all possible side effects (duplicate meaning of 
characters) within the move entry as such. So, at the moment, Scid does 
not even try to understand any other keyboard input beyond English notation.

Having said that, I'm for myself, not even sure that it's consistent to 
translate the piece letters at all. But I may again be a minority. I'm 
using English notation throughout all my chess stuff even if I use paper 
and pencil to jot down moves. Thus, I actually tend to stumble upon 
those silly S and L notations in German literature ;)

Anyway, I'd rather prefer figurine notations within Scid and only use 
English notations inside to keep the stuff consistent. I did some work 
on the Figurines in the past but it didn't turn out as straight forward 
as I wished it to be (mainly due to the display routines Scid uses), so 
it's not yet finished. However, even figurines wouln't solve your problem.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Fulfilling the Lean Software Promise
Lean software platforms are now widely adopted and the benefits have been 
demonstrated beyond question. Learn why your peers are replacing JEE 
containers with lightweight application servers - and what you can gain 
from the move. http://p.sf.net/sfu/vmware-sfemails
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] sound under scid and a patch to announce the conclusion of games

2011-04-10 Thread Alexander Wagner
On 03/14/11 21:00, Ermenegildo Beltrame wrote:

Hi!

 Google didn't show any hits for this issue with respect to SCID in
 particular so I thought I'd report it. SCID relies on snack for
 announcing moves. Snack has been maintained to varying degrees on
 different distributions, there is a catch {} around the actual move
 announcement call so it was silently failing for me on ubuntu.
 Apparently snack now needs to be compiled with ALSA support enabled
 (which Ubuntu doesn't do) or it will complain about the absence of
 /dev/sound/dsp.

On debian there're two snack-libs that are mutually exclusive:

libsnack2
libsnack2-alsa

I fancy it's the same on Ubunutu. Adding libsnack2-alsa works for me 
(Debian 6 stable), should do on the same way on Ubuntu.

 The speak script from crafty was initially a quick workaround but it
 doesn't make blocking calls to esdplay so sounds aren't always clear.

Right. It is a quick hack, you may also note that it even used aplay in 
some of it's incarnations. When I did that one there were quite some 
different things how to do sound on Linux, esd being one of the more 
standardised back then later alsa.

 I tried out the move announcement feature in SCID today because I like
 to walk through master's games on a physical board and I find it
 distracting to move my eyes back and forth from the board to a sheet
 with the list of moves. Grandmasters frequently resign many moves
 before checkmate and it is a bit unsettling to simply have it stop
 announcing moves so after having familiarized myself with SCID a
 little bit to diagnose the aforementioned problem I added a black
 resigns, white resigns, draw feature. I didn't add the
 localization field for quite every language because I wasn't convinced
 that a patch would be accepted. The patch for this can be found here:
 http://pastebin.com/GTLFby3c  One will obviously need additional .wav
 files - I just recorded it myself.

I'll add your patch as a suggestion and check it out. :)

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Keyboard move entry

2011-04-10 Thread Alexander Wagner
On 04/04/11 22:30, Israel Chauca F. wrote:

Hi!

 That's strange; I've never had a problem with keyboard entry.  For
 what it's worth, I'm using version 4.2.2 (built from source) on Kubuntu
 9.10.

 On a new game, typing e4 doesn't move the pawn, and unless I'm
 mistaken, it should.

 I switched back to version 4.2.2 while the Play/Training options where
 completely absent in version 4.3.

 Too bad, I'll have to use the trackpad or mouse to move the pieces,
 quite unfortunate...

 It doesn't work in docked window mode, it does with the standard window mode.

Do you understand this issue? I mean keyboard entry is done by ususal 
bind-methods we use throughout the app for hotkeys. Except for the fact 
that the focus issue is a bit clumsy in docked mode (ie. you have to 
give focus to the main board, probably moste easily done by just clickin 
into it) it should just work as all other hotkeys. Ie. either all are 
broken or none.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] [Help] Ubuntu 11.04 install scid

2011-04-10 Thread Alexander Wagner
On 04/10/11 04:17, Welton Vaz de Souza wrote:

Hi!

 Thanks for the quick response! My system is AMD64 same! Added the line
 you suggested, but did not work.

I think you should install the X11 dev packages. Default Ubuntu setup is 
quite centred on Desktop user so you usually lack the dev-environment. 
Packages like libx11-dev etc. come to mind (don't know about Ubunutus 
precise namings, I draw from Debian). If you add them the setup should 
be such that your system will find them. I don't think this is an amd64 
issue. At least I don't have to add any env-variables on Debian nor do I 
hack configure on my system.

-- 

Kind regards,/ War is Peace.
 |Freedom is Slavery.
Alexander Wagner| Ignorance is Strength.
 |
 | Theory : G. Orwell, 1984
/  In practice:   USA, since 2001

--
Xperia(TM) PLAY
It's a major breakthrough. An authentic gaming
smartphone on the nation's most reliable network.
And it wants your games.
http://p.sf.net/sfu/verizon-sfdev
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Opening a second base by double clicking on it

2011-03-11 Thread Alexander Wagner
On 03/10/11 22:21, Joost 't Hart wrote:

Hi!

 I often open game files by double clicking on them from Nautilus and
 would like the system not to launch a second Scid instance when there
 is already one. Is that possible?
 There is a helper app called sc_remote that should do the trick. Ie.
 calling sc_remote instead of Scid. However, as I try it I fear that
 something got messed up there. I'll take a note.
 For me it works, but launches the wrong scid version - the one in my
 path (4.2.2). Hm, again my scid preferences (board and the like) are
 nuked :-(

 $ sc_remotepath-to-dbase/dbase-name-without-file-extension

 If it does not work for 4.3 (only systems), something in scid seems to
 have fallen apart.

 No worries. Got it working here by patching lines 480 and 497 of sc_remote:

I fell upon the main issue you mentioned. (Ie. it invoked the wrong scid 
version). It works indeed one just gets a superflous window.

 scid =  ./scid

 thus making sure the local scid app is invoked.

 Not the most elegant solution...

I think setting the PATH environment variable correctly would be a more 
elegant solution.

cu
Alexander

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Opening a second base by double clicking on it

2011-03-10 Thread Alexander Wagner
On 03/04/11 10:11, Gerardo Fernandez wrote:

Hi!

 I often open game files by double clicking on them from Nautilus and
 would like the system not to launch a second Scid instance when there
 is already one. Is that possible?

There is a helper app called sc_remote that should do the trick. Ie. 
calling sc_remote instead of Scid. However, as I try it I fear that 
something got messed up there. I'll take a note.

cu
Alexander

--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] setting up a position with black at the bottom

2011-03-10 Thread Alexander Wagner
On 03/04/11 10:30, Fred Mellender wrote:

Hi!

 I occasionally I run across a position on the internet with black at the
 bottom (8th rank at the bottom). When I use SCID’s edit/setup start
 board, white is at the bottom. Is there any way I can flip the start
 board so that I can copy the diagram from the internet into SCID?
 Otherwise, I have to turn the internet board mentally, which is difficult.

There're several ways to achieve this.

1. Use the . shortcut (right, the dot). This will rotate the board.

2. If you prefer the mouse, you can use the button in the second icon 
bar next to the little hammer which will rotate the board.

3. If you often have games of that kind from the same player (ie. you) 
you can set My player names. (Options / Chessboard / My Playernames) 
to set the player you prefer to play upwards. Scid will then 
automatically rotate the board that way as soon as you load a game.

cu
Alexander


--
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Arrow keys in 4.3

2011-02-28 Thread Alexander Wagner
On 02/27/11 22:48, Steve Steinitz wrote:

Hi!

 I'll try to look into this. It seems to be an issue with docking mode
 only as I don't experience anything like that in classical mode.

 I confirm, on Mac OS X, the problem goes away if I un-check
 Options - Windows - Dock windows.

Ok, then it's a docking issue.

 No. There was [no beta test], we just packed up cvs when no pending
 issues were reported. There was just some freezing stage for cvs and
 a bunch of people who actually use cvs versions all day long and gave
 the go.

 OK, I spent some time remembering how to use cvs and did a checkout. I
 used this command:

 cvs -z3 -d:pserver:anonym...@scid.cvs.sourceforge.net:/cvsroot/scid co
 -P scid

 Can you please confirm that that's OK?

Looks good. But notice that we will move to another version
management system soon. So all you get here at the moment it
4.3 tarball.

 By improving the build process we hope to be able to
 release binary snapshots, especially for Windows,

 I hope Mac OS X gets a fair shake, too :)

I think Israel will continue his excellent work on this end.
But surely, he, as well as the project, can need skilled
helping hands ;)

 But in case you build Scid yourself, please feel free to
 report issues on current cvs right away.

 I can't find a ticketing system for Scid. What is the best
 way to report issues for the current source?

Actually, at the moment it is only the list. Enabling the
bug tracker doesn't have a big fan Club till now and
actually the projects core is pretty small.

Please use decent subjecting and the usual things for email.
Ie. start a new thread for a new issue, do not use reply to
other threads if it is not a reply, as this will break
threading.

 May I ask if you are thinking of moving to subversion?
 git?

subversion or git are the two options. No clear decision
yet. Both have some advantages on their own, we're
discussing which would suite best.

 This is also some lessons learned on the way from 4.2
 - 4.3.

 Thanks for sharing your feelings on the current state of
 development.

You're welcome.

 My apologies to Mark Cooper, the original poster, for
 temporarily hijacking his thread.

Especially for reporing issues this should be avoided as it
sometimes leads to loosing issues.

cu
Alexander

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Namespelling Scid bases

2011-02-28 Thread Alexander Wagner
On 02/27/11 21:15, Gerardo Fernandez wrote:

Hi!

 I am trying to normalize a Scid database. It contains many local
 players who don't appear on FIDE's rating list and many different
 spellings for the names (one or two surnames, capital letters, the
 name before the surname, etc), because different people have
 transcribed the games.

 What I'm doing is:

 * Export the database to a pgn file
 * Run a little shell script to get all the names sorted alphabetically
 * Create a spelling.ssp file using the previous list, which I do manually
 * Apply the spelling procedure to the Scid database

 I was wondering if there is a better way to approach the task. Any ideas?

Definitely. You can just set up your personal spell checking file. Its
no magic around it. The basic layout is


@PLAYER .,-_*

Lastname, Firstname#gm GER [maxelo]
%Bio Whatever biographic info you have
= Alias1
= Alias2

User, Joe#- USA [maxelo]
= JOE USER
= USER JOE
= J USER
= USER, J



and so on. I think the idea is clear? You can find a full description at 
the start of Franz' excellent FIDE files. There's no magic of the format 
it's just plain text. After you created your spelling corrections and 
saved it to a file use Optoins/Load Spellcheck file to use it.

HTH :)

cu
Alexander

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Tree window loses formatting in 4.3

2011-02-26 Thread Alexander Wagner
On 02/26/11 13:17, Mark Cooper wrote:

Hi!

 Just upgraded to 4.3 and I've noticed that the tree window keeps loosing
 its layout/formatting. Any suggestions on how I can remedy this?

What do you mean by loosing formatting? The columns are not aligned? 
Most likely then you didn't set your fixed font to a real fixed font. 
On any system you should have something called Courier. Could you 
check this one? Solves this the issue? Then you just set a proporional 
font here. (There're quite a number of fixed fonts, though most are 
indeed proportional ones.)


cu
Alexander

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Sorting by variations patch

2011-02-26 Thread Alexander Wagner
On 02/25/11 20:09, f...@libero.it wrote:

Hi!

 I had in mind something like this:

I'll leave algorithmic stuff in the hands of those who knows that area 
best...

I tend to agree with Gerds comment that it is difficult to find a 
perfect formula, so it might indeed be a good thing to make the weights 
adjustable. (I'm not sure that this needs a GUI for the time being. I 
think variables would be enough.) I think, however, that by playing 
around here one could come up with a decent preset. Therefore, I like 
the approach and I think it is indeed feasable. To the comment that it 
adds a complex sorting criteria I think this is right, indeed. But I'd 
also say: who knows the formulae used by google and even if, who cares? 
There is a famous quote of the old chancelor of Germany that applies 
here and which would translate like only the result is important. 
(Well the original German formulation was slightly more colourful and 
actually a bit ambiguously.) Anyway.

To me it's similar to some complex optimisation problem solved by a 
linear approximation formula. And we do not really need the absolute 
optimal solution here as it just sorts the list and you can still 
review the result. (Ie. we don't spit out only one game which is the 
best and nothing more.) It's a bit like google in this regard and 
sometimes you do have to go to page 25.

[...]
 For the 'interest' value i need some chess help.

 The actual formula is:

 interest = avg_elo + bonus_comment - penalty_old - penalty_earlydraw -
 penalty_rapid - penalty_blind

 and
 bonus_comment = 400
 penalty_old = 20*each_year_old (max 400)
 penalty_earlydraw = -250 if  30 moves; -100 if  40 moves
 penalty_rapid = -250
 penalty_blind = 400

avg_elo, which we have now is probably a good starting point. I wonder 
if difference in ELO should be taken into account. Given the definition 
of the ELO system it is even a measure for the probable outcome of a 
game. So if a game, due to elo difference, should end to 1-0 in 90% of 
the cases but ends in 0-1 it should probably be of more interest then a 
similar game that indeed ended 1-0, not?

For bonus commented I think, it is actually referring to several 
parts. In Scid speak we have comments referring to free text 
commentary, annotations referring to the presence of NAGs and 
variations referring to their very presence. Scid also knows their 
number for a given game. E.g. I've many games that are commented cause 
they have exactly one comment, and if you check out the comment it 
should have been written to a Source header line instead. :S So these 
are actually worthless comments for analysis and a reason why I feel 
that just sorting commented game on top as most relevant isn't the whole 
story.

So I had the idea, if one shound't consider the number of 
comments/variations/annotations present. I'm also not entirely convinced 
that all three types of comments are worth the same. One could say 
that a variation is 3x the worth of an annotation which itself is 2x the 
worth of text or something the like just to put up some random numbers. 
I'm not really sure that just adding up the bare numbers of variations, 
comments and NAGs is a perfect way to weight this but usually I'd guess 
that a heavily annotated game is more important than one that just 
contains one source comment and a single ! on move 25. So this part is 
then probably something like

bonus_comments *
  ( A * number_variations +  B * number_nags + C * number_comments)

Probably starting out with A=B=C=1 and then start playing around.

Besides that, one should probably include flags. Those can be added by 
a user to mark a game for some characteristics. Think of white opening 
or black opening or pawn structure. As usually you'd flag only games 
that are representative in some way it might be a good idea to respect 
this criterion. Eg. when you analyse your opening a game flagged white 
opening might be more relevant as it is probably a typical game for the 
setup. Or I use a custom flag Lit which points me to some printed 
material that is probably worth checking out.

For the last part of your formula, I wonder. How do you know if a game 
was played in a rapid or blind tournament? (BTW: I think the sign of 
either penality is wrong, isn't it?) Would it then be sensible to give a 
bonus for correspondence games then? One could think of a Mode header 
field (which is the way I use it but I don't have such tags for Rapid or 
Blindfold). I fear however it would be a bit expensive to evaluate 
this on a large list.

Which brings me to a further question: the best games list is limited to 
a certain amount of games. (Gerd, here this is very different from the 
games list. For best games you usually don't have to sort 5*10^6 games 
but merely 500.) How do you do the preselect?

 It is a huge improvement versus the old simple avg_elo, but i'm not
 really satisfied.

I do believe that, indeed.

cu
Alexander


Re: [Scid-users] parenthesized WhiteElo and BlackElo

2011-02-24 Thread Alexander Wagner
On 02/23/11 21:31, Mark Morss wrote:

Hi!

 Thanks for that suggestion.  I must say, though, that if Scid has this
 number handy, it should be an option to have it written out at export
 time.  That's a whole lot less work for the user than the procedure you
 suggest.  I understand that this may be a rather specialized need.

If you use the spell checker with one of Franz excellent ratings files 
Scid does actually a bit more than estimating the ratings. It really 
looks them up in the ratings file compares to the time frame and name 
and adds the rating that was published by FIDE for this very player at 
that time. If and only if, this comparison returns only one result.

This still has some issues with ambiguous names (you can't individualise 
a person by her name only and you don't have better data in the usual 
PGN headers; most of the time you don't even have the full correct name 
:S) So in a way Scid tries here to avoid an automatism that might fail 
very well.

Consider one of your junior players in your local Club which happens to 
be named Kasparov, Garry. Spell checking your last Club turnament will 
rate your junior player 2812 Elo. In that way you should definitely do 
this only with some sort of supervision.

Even if you take Scids estimated value to be written to the exported 
game, this might not be correct at all. E.g. if you have two (several) 
players in your base that have the same name and play at different 
levels the estimated value will be wrong.

However, if you write out the ELO to the games headers this suggests 
that these are real values, ie. you know that they belong to the person 
that played this game.

That's the main reason why this is a bit more complex here and not done 
automatically. Given the above problems, the librarian in me tells me 
that this is actually wise to do it that way.

cu
Alexander

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Sorting by variations patch

2011-02-24 Thread Alexander Wagner
On 02/22/11 08:00, Steven wrote:

Hi!

[...]
 Hmmm . I suppose you mean sorting the DB but not writing it to disk.
 Are you sure this is feasible ? I'm not overly familiar with
 DB structure and searches, but it sounds dangerous to me
 considering Scid's complexity. And at least part of Scid's
 stability comes from it's immediate write-to-disk policy imho.

Resorting the DB just to get the games list sorted is actually not a 
good idea. Two point immediately come to my mind:

- it breaks bookmarks. (As far as I can see they rely on the game number 
+ the path to the database. Not perfect as they are broken once you move 
the base as well, but they are a very handy feature and at least I don't 
move around bases to often.)

- you loose the tree cache. Given the fact that it takes about an hour 
to calculate and write the tree cache for my ref base it would be very 
ugly if it gets lost by some clicking at the wrong place. (Yes, I add 
some more lines to the cache than the Scid default, I index my 
openings a bit deeper and with more variations.)

cu
Alexander

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Sorting by variations patch

2011-02-24 Thread Alexander Wagner
On 02/22/11 16:03, Fulvio wrote:

Hi!

 I like to see the most interesting ( == commented) games to replay at
 the top of the gamelist window when the tree filter is enabled. I
 cannot sort the columns, but now I can sort the database. This comes
 in handy.

 I know that everyone loves his own code, but doesn't this maybe suggest
 that you are on the wrong path?
 I still don't understand why you prefer the game list over the best
 games: we can easily add the features that you miss to the new best
 games widget (BTW, had you tried it and noticed that 'most interesting'
 games come first?)

I admit to agree with Fulvio for the use case mentioned. To just get 
the interesting games in a given position on top of the list, IMHO the 
best games is the way to go. I also very much like Fulvios earlier 
suggestion to improve Scids ability to detect the most relevant games of 
this list for this very use case. Probably, only using average elo of 
the opponents is not the best way and more criteria might be considered. 
E.g. the mentioned fact that a game is commented and annotated, or that 
a given game is flagged might well make up for some average elo points.

However, we also recently had the request for a sorting function of the 
games list as such and this might come in handy in some situations, 
indeed. So, Gerd if you have some time to work on this I think it is 
valuable. And if one criterion to sort would be annotated games, well. 
Why not.

BTW: I think you could already achieve what you have in mind by setting 
the filter for Annotated games in the header search (one of the last 
patches you sent me and which is included in 4.3) and then just call 
best games.

cu
Alexander

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Setting for engines on Mac?

2011-02-24 Thread Alexander Wagner
On 02/12/11 11:19, Joost 't Hart wrote:

Hi!

 On Sat, Feb 12, 2011 at 1:45 AM, lo suslos...@hotmail.com   wrote:
   Thank you both for the information and advice.
   Which engines would you advise me to add to SCID?
 In Linux Mint I'm using Stockfish 1.8, because 1.91 makes my (not very
 powerful) system unusable, eating all the resources. I haven't tried
 the more recent versions.

 I noticed the same thing over time/version. Hence, do not blame your
 machine :-)

 As stated, I will look into this. Suspicion is partly that SF is not
 very strict in following
 UCI specificiations, as I had to implement a few nasty workarounds in Scid's
 analysis module.

There is actually one issue I noticed in recent stockfish versions, but 
this depends a bit on how you compile it, so I'm not sure if it really 
relates to a specific version or if it is a bug at all. (Do you use the 
supplied binaries or do you build yourself? Probably they have changed 
the way how they build them.)

However, unless you nice the engine it will surely use 100% of your CPU 
to do calculations. This is normal for a chess engine (actually for any 
program that does calculations; I always used my fortran codes instead 
of a CPU burner if we thought a CPU had an issue and wanted to test 
this). So nothing wrong here and if you use your CPU it gets hot and 
your fans start up. Works as designed.

However, if I compile Stockfish using

make ARCH=x86-64-modern

(the issue is the -modern) I tell stockfish that it may use all 
available CPUs in the system. In the case of my notebook this will 
result in 2 real and 2 virtual cores to go up to maximum speed and 100% 
usage. Of course this invokes the cooling system. If I leave out the 
-modern stockfish will use only one core at 100%. Surely, you'll notice 
less fan activity in this case as the CPU stays relatively cool here.

BTW: you could of course limit the CPU frequency allowed. Don't know how 
to do this on the Mac but on Linux you could use another power 
management govenor (e.g. powersave instead of ondemand) or limit the 
maximum frequency. This will limit the abilities of your chess engine as 
well, of course. But it also avoids the heat issue.

cu
Alexander

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Next release

2011-02-24 Thread Alexander Wagner
On 02/24/11 20:58, Robert Wesley wrote:

Hi!

 When will the next SCID update be released?

4.3 is just up for some days.

http://scid.sourceforge.net/download.html

Or do you refer to 4.4? This is indeed a  bit early to say.

cu
Alexander

--
Free Software Download: Index, Search  Analyze Logs and other IT data in 
Real-Time with Splunk. Collect, index and harness all the fast moving IT data 
generated by your applications, servers and devices whether physical, virtual
or in the cloud. Deliver compliance at lower cost and gain new business 
insights. http://p.sf.net/sfu/splunk-dev2dev 
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Download

2011-02-20 Thread Alexander Wagner
On 02/14/11 12:03, Francesco Bianco wrote:

Hi!

 the sf project homepage (http://sourceforge.net/projects/scid/)
 report the download of FIDE foto related to an event
 did it's ok?
 i think best promote win32 edition!

Should be fixed now but will point you to your version depending on 
the platform.


cu
Alexander

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Support for Chess960 or Fischer Random

2011-02-18 Thread Alexander Wagner
On 02/17/11 21:36, Mario Lacunza wrote:

Hi!

 Ok I understand that, the main important difference is the castle and
 the starting position...

 Any plan to support this option?

If we get someone doing it decently, I see absolutely no reason not to 
incorporate it into Scid.

cu
Alexander

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Scid 4.3 on OS X

2011-02-15 Thread Alexander Wagner
On 02/15/11 09:26, Fulvio wrote:

Hi!

 That's a problem with the new Cocoa based Tk that ships with 10.6 and docked 
 windows mode. I build the regular Tcl and Carbon based Tk 8.5.9 from source 
 and use those to build Scid, there is no problem with that.


 If the problem in ::tree::resfresh is wm stackorder it can be safely
 removed.
 Can you try if this works?

I fear we have wm stackorder calls at various paces, we will need a 
replacement for all of them. This is actually something to think about next.

cu
Alexander

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Scid 4.3

2011-02-15 Thread Alexander Wagner
On 02/14/11 20:13, Joost 't Hart wrote:

Hi!

 Could you next time release source tarball without CVS internal files?
 For instance, the following command from install section of the
 Makefile

 cp -r ./html/* $(DESTDIR)$(SHAREDIR)/html/

 copy also CVS directories what is a bit confusing.

 Consider this a bug...
 Alexander, can you repair this?

In progress (21% and counting)

cu
Alexander

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] lang/greek.tcl missing in CVS

2011-02-13 Thread Alexander Wagner
On 02/12/11 19:32, Adrian Petrescu wrote:

Hi!

 I just noticed that for the last little while, a fresh CVS checkout of
 the Scid source fails compilation with:

Sorry, I missed a cvs add. It was just done right before cvs went down.

Now it's there.

cu
Alexander

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Header search anomoly

2011-02-13 Thread Alexander Wagner
On 02/13/11 10:43, f...@libero.it wrote:

Hi!

 It's strange, but seems to be a wanted feature.
 Search is performed by the function strAlphaContains in misc.cpp that ignores
 spaces.

It seems so. I can actually imagine some cases where you're probably 
lost otherwise. Take e.g. our friends from Scotland. McMiller vs Mc 
Miller? Similar issues might arise other (especially non-english) 
languages.

Therefore, I'm actually not sure if it is a feature, indeed. Other 
opinions here?

cu
Alexander


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] CVS not updated

2011-02-13 Thread Alexander Wagner
On 02/13/11 10:46, f...@libero.it wrote:

Hi!

 Finally sourceforge cvs is back online, but probably they restored an old
 backup version.
 For example many wav files differs from my last checkout.

Nope. For the wavs one of our users reworked them to clean them up a 
bit, so I actually added a bunch there yestereve. This would be ok, 
therefore.

cu
Alexander

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] CVS not updated

2011-02-13 Thread Alexander Wagner
On 02/13/11 15:20, Joost 't Hart wrote:

Hi!

 For example many wav files differs from my last checkout.

 Apparently you have already done a fresh checkout and run a diff on some
 existing workspace? Can you produce a complete and specific list of deltas?

Please note also that I added pending stuff at my end yestereve. That's 
accounting for the missing greek.tcl I missed to cvs add, now it's 
there. I think stuff is all right.

cu
Alexander

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


[Scid-users] Webpages

2011-02-13 Thread Alexander Wagner
Hi!

Someone out there who'd volunteer in reworking Scids webpages?

Your profile:

- You know Scid
- You have some spare time
- You want to help the project to continue
- Ideally, you like to create webpages

Salery:

- Honour

Current stuff is done in text/html using high level tools like vi. 
Depending on your skills and wishes other things might be possible.

For details please contact me in pm.

cu
Alexander

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


[Scid-users] Scid 4.3

2011-02-13 Thread Alexander Wagner
Hi!

Those of you who check out cvs regularly may have noticed
already that I moved up all files to a unique revision.

Those of you who don't compile from cvs might like to point
their browser to our download page to fetch either the
windows binaries or the Unix tarball of 4.3. The Mac-build
is in progress and will be available shortly.

I have to thank all those who contributed to this major
efford and made this release possible.

Please note also that our project will undergo some changes
in the very near future. First of all I like to welcome
Joost t' Hart offically to the Club. He will take over most
of the responsibilities for merging backend stuff, as he did
already in preparation for this release. Also you may have
noticed that Israel Caucha takes care, that everything runs
smoothly on the fruits.

I want to add that further support is much welcome and we
definitely intend to get more people on board. For this we
also plan to move our code repository from cvs to a new
system. We're currently discussing options. Some patience
here please, this involves a bit of work and consideration.

Additionally, I want to encourage everyone to take an active
part in the discussions going on here on the list. I tend
to get a bunch netmails, but I may encourage all to use the
list. Lets discuss things here in public to get the most out
of what we have. And also consider that the sentence: I do
not like ... does not imply that things will not be done
that way. It just expresses some concerns and is most often
followed by: did you consider this and that and here and
there. ;)

Please also continue to report bugs and issues here. All
those involved in the project will try to solve them. Just
keep in mind that everyone of us has to earn their livings
with completley different things. Scid is a spare time
project.

Now to the ChangeLog. It is quite longish this time, so
here's everything without the fixes. Hope you enjoy.

- Mark the Repertoir Editor deprecated, guide users to Masks
- Improvements
   * documentation for opening trainer (thanks to Dale Hards)
   * Some of the programs icons based on GNOME Stock Icons in case 
png-support is available
   * Refresh icons for Database switcher (Thanks to Peter Wong and Steven)
   * Some defaults of Scids empty config
   * Gamelist: show delete-flag to the very left of the list by default
   * Taller information field (Thanks ot Milan Zamazal and Gerd Lorscheid)
   * Replace some buttons in help by proper img tags
   * Bring Best games / tree graph to front if they exist and the button 
is pressed again
   * Toggle autoplay mode was mapped to Ctrl-z instead of Ctrl-Z so it 
confliced with undo
   * Speed improvement for game copy operation
   * New checking option for games consistency
   * Improve proportions of USCF piece set
   * HTML export
   - Move nags rendered in same font as the move
   - Diagram immediately follows the move (order of diagram and 
comments are swapped), which is a more common scenario
   - Indentation of variations enhanced by putting them in indented 
div sections
   - Current move hightlighting, board and diagram colors follow css 
style definition
   - Cursor key navigation works in IE
   - Cursor left key navigation works the same way backwards as 
right works its way forwards, i.e. skipping variations
   - Dotted move numbers for black moves in a main line are also 
applied following a diagram and a variation.
   * Annotation/analysis
   - Added engine thinking time to annotator string
   - Stop engine at end of annotation
   - UCI engine: Added notion of length of mating line to cp score 
(shorter is better)
   - Added annotation at end of variations
   - Added depth to variation scores
   - Added option to score all moves (also those which are not 
annotated)
   - Removed option to annotate only not-best-moves, as it is no 
longer usefull now
 all-moves does no longer produce lines starting with the played 
move
   - Increased maximum engine thinking time to 999 [sec]
   - Removed the blunder signature in the annotation (as we cannot 
tell how sharp the threshold is)
   - Added variation times in multi-pv mode
   - If game just follows book till some book end, last book move 
does not need analysis.
   - Blunder-check annotation spots faster mates, regardless of 
threshold.
   - Annotation adds - in all modes - a '?!' nag if the main move is 
significantly (informant value)
 stronger than the best move the engine expected.
  - Finish game now allows for a shootout between two UCI engines
   if two engines are opened.
   * PGN import always opened in Scids bin folder, now use last dir 
instead and store it.
   * Mask files folder location gets stored and reused
- New features:
   * Correspondence Chess:
 - Allow observation of games on ICCF webchess
 - Add connector file support to configure game relay from the internet
 - Make 

Re: [Scid-users] SCID window maximization?

2011-02-12 Thread Alexander Wagner
On 02/06/11 20:23, CCT TD - Peter Skinner wrote:

Hi!

 Yes. All windows are docked and the main window is maximized as you would
 any other.

 Even after saving the layout, saving the settings manually, and then
 allowing them to be saved upon exit, it still opens non-maximized.

I fear it is a limitation on Windows. At least here on Linux I can scale 
and move the main window in docked mode and it is always restored to the 
very location and size after I reopen Scid.

cu
Alexander

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Preferred reports sequential numbers

2011-02-11 Thread Alexander Wagner
On 02/10/11 10:59, Marco Saba wrote:

Hi!

 I would like to have a command (or the loop) that
 link together 700 pdf files automatically.

Probably, some shell loop? I think the simplest prototype (using 
bash-syntax) would be:

$ for i in *.pdf; do echo \includepdf{$i}  out.tex ; done

Then adding the usual tex header and footer to the resulting out.tex. 
You might improve on this to your liking, e.g. with the optional 
arguments in [] to includepdf.

 I don't understand how to install pdfpages: on Texworks?

Just get it from TeXLive packages which is part of Ubuntu. If you have 
no clue at all selecting the package texlive will give you the whole 
thing. More precisely it should be in texlive-latex-recommended.

You may use synaptics (or your preferred package manager for this).

Does this help?

cu
Alexander

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Sourceforge down?

2011-02-09 Thread Alexander Wagner
On 02/08/11 19:58, Michael G Thomas wrote:

Hi!

 Concerning the move of the repository to some other service,
 I'm not conviced that this solves the problem. Acutally, sf
 has be very reliable till now, and tracking down root
 exploits is a time consuming issue. I don't know if any
 other service would have been up again that much faster. (At
 least not at our budget. ;)

 Does nobody here appreciate the power of distributed source control ?
 http://www.youtube.com/watch?v=4XpnKHJAok8
 http://www.youtube.com/watch?v=LLBrBBImJt4

I referred to leaving our repository @sourceforge. This does not 
necessarily imply that it will be cvs till the end of all times. Still, 
before any changes are considered here at all, we need to be back online.

And please, if I may: I do not have the time to watch endless videos of 
several hours. Please make your statements in text/plain.

cu
Alexander

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Preferred reports sequential numbers

2011-02-08 Thread Alexander Wagner
On 02/07/11 19:54, Marco Saba wrote:
 Thank you. The second solution would be easier for me.

 How to?

I had to check it up in office. PDFPages is your friend. :

\usepackage{pdfpages}

You might want to read up it's docs concerning functionality. It is a 
quite powerful package. cf. 
http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf

Now, with this package you gain a new command: \includepdf. A sample 
usage would be like this:

\includepdf[addtotoc={1,section,1,{Title for the 
TOC},src/pdf/file.pdf}]{src/pdf/file.pdf}

You'd need such a line for each of your PDF files. If you don't care 
about TOC and TOC headings you might easily generate this by some loop 
on the shell.

Does this help?

cu
Alexander

--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Sourceforge down?

2011-02-08 Thread Alexander Wagner
On 02/08/11 02:32, Joost 't Hart wrote:

Hi!

 Ahum,

 It's been a while now, and I must admit I am beginning to get
 this funny feeling of serious irritation.

Indeed.

 By way of recapping the original question: What the whack
 is going on.

 From the blog:

--
We appreciate your patience. All SourceForge services are
operational at this time with the exception of ViewVC and
CVS. Interactive shell service was restored today and we
expect ViewVC to return today (Monday), barring
complications. We intend to have CVS service online by the
end of the week.

Please note that, aside from CVS, our SCM platforms
(Subversion, Git, Hg, Bazaar) have remained online. If
you¿re encountering issues with these platforms, please
confirm that you have reset your password. If problems
persist, please contact our support team
(sfnet_...@geek.net).

CVS service restore has been time-consuming due to the
design of that service. CVS data is housed on
direct-attached storage on a small pool of servers. Data
restore from backups is in-progress and reload of machines
is in-progress as of today (Monday). We intend to have CVS
service online by the end of the week.

We have concluded our review of SCM data for the SourceForge
Beta SCMs and traditional SCM offering (SVN, Git, Hg, Bzr;
excepting CVS, whose data is being restored) and have found
no indicator of data tampering. We will be providing further
data to projects whose repositories were modified in the
attack window (we believe legitimately by their project
team) as that they may conduct further validation using the
repository access provided through interactive shell
service.

Finally, with the rollout of interactive shell service
today, we are completing preparations to start the mass
rollout of our new Project Web service offering tomorrow
(Tuesday). This work will commence with the migration of
projects in the A-G unixname range in a Tuesday/Wednesday
timeframe.

If you have any questions or concerns, please contact our
support team at sfnet_...@geek.net

Thank you,

The SourceForge Team
--

So I think we'll make it till the end of the week.
Hopefully.

Concerning the move of the repository to some other service,
I'm not conviced that this solves the problem. Acutally, sf
has be very reliable till now, and tracking down root
exploits is a time consuming issue. I don't know if any
other service would have been up again that much faster. (At
least not at our budget. ;)

Call me conservative, but till now sf worked very well all
the time, so I do not see why to switch to another hosting
service.

cu
Alexander


--
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Where the games saved in clipboard go?

2011-02-07 Thread Alexander Wagner
On 02/07/11 00:59, Steve Steinitz wrote:

Hi!

 No need for the Clipbase to get involved here. This would
 complicate things unecessarily. (Though it works, you can
 import to the clipbase and then copy to your DB.)

 I may have encountered a bug in the Mac version where if I
 didn't go through the Clipbase first, the game disappeared
 from the target database when I double-clicked it. Unless
 I was hallucinating, I'll submit a more formal report
 later. Lets not get distracted by it.

Oh :(

 double click on the _database_ instead of launching Scid.
 Your Finder should know how to fire up Scid with the DB in
 question.

 Yes, that works fine on the Mac.

Ah, well on Mac you could also Drag  Drop to the Scid
window. (This really works only on the mac as far as I know.)

 ...fire up Scid by double clicking the PGN from your iPhone, you might
 want to open MyGames in paralel ... and just drag your PGN database
 onto MyGames database. This will also do the import mentioned above as
 well.

 ...that is the way I'd like to work.

 However, while double-clicking does open the PGN in Scid,

Right, but read only. You can not (and must not) add
anything there which is meant to be permantent.

 once I open the Scid MyGames database the PGN seems to
 disappear from Scid.

No. Please open Database Switcher (Ctrl-D; Ctrl could be
Command on the Mac, I'm not sure) You should have two bases
n parallel in two different slots. Scids mainboard can,
however, only display one game.

 At any rate, I can't find it. (Or, do you mean drag the
 PGN from the desktop? - but that doesn't seem to work,
 anyway.)

Should open the PGN in scid on the Mac (not anywhere else, I
fear)

 Could my layout be preventing that workflow from working?
 - hiding the PGN? Getting to the bottom of this may be my
 key issue.

Check out database switcher. Also available from the
Windows menu or Ctrl-D. It should show you two slots, you
can switch between them with the mouse.

 Also note that the clipbase feels like a Scid database but it is only
 temporarly in memory and never gets stored to the disk.

 Yes, I suspect many new users, like me, discover that the hard way.

Its a powerful feature, but of course as with all powerful
featrues...

cu
Alexander

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Use-case: entering games played by kids

2011-02-07 Thread Alexander Wagner
On 02/07/11 00:19, Marcin Kasperski wrote:

Hi!

 You can't. Scid enforces the laws of chess here and does not accept
 invalid moves. In your case this is actually a drawback, in most others
 it is definitely an advantage.

 Well, one need not exclude the other. Enforcing laws normally but having
 some force invalid move option/button/whatever could be of noticeable
 help. Leaving apart chess, it could also make it possible to use scid as
 a pad for entering chess variant games.

I see your point. I just wanted to tell, that currently scid enforces 
the laws and you're not able to enter invalid moves.

 I fear the only work around is the same as you'd use for C960 games:
 store the first part of your game till the invalid castling, then create
 a new game with the starting position of the castled king. If you don't
 reorder your base you could switch to the continuation Game / Load Next
 game (Ctrl-down). Not elegant, I agree.

 Yeah, I know this workaround, but here it is even worse than in chess960
 where the invalid castle lasts just one move. If wrong position lasts
 for 5-10 oves, then I both need to reconstruct it in mind without any
 help from scid, and loose the ability to replay it and show what was
 going on.

Right. If it lasts for several moves you're lost.

 I'd only have a work around here as well. You can copy the notation as
 far as you got it to the clipboard (system clipboard not the clipbase).
 File / Copy game to clipboard from PGN window or, if you use cvs version
 Ctrl-C, which adds to clipbase and the current game to the clipboard.
 Then you can  put it into some editor buffer (I guess you've emacs
 opened all the time anyway), change the move in question there and use
 Tools / Import one PGN game to get it back into your base. Not elegant,
 but well, better than redoing everything.

 I am not sure whether it is really less work than reclicking a variation
 ;-)

Depends what your correction is.

 I fear this is not easily possible.
 (...)
 I fear the same as for a).

 Both might involve a bunch of technicalities in the backend. I'm not
 sure but I'd not expect this behaviour to be fixed to your use cases
 especially in the short term.

 Well, I just make a suggestion for some future consideration.

I see that. But till now all requests for C960 were denied as it seems 
to be pretty difficult to tell Scid the extension of the castling rule, 
so I fear allowing for entirely invalid moves is even more complex. We'd 
need a volunteer here.

 From what I saw, the problems I faced (entering and preserving invalid
 games and reconstructing game from incomplete/partially wrong score)
 are fairly popular, especially when paper scores and amateur level
 competitions are considered. So a tool which would offer reasonable
 help here could get some new points among people, khem, khem.

 Of course I can't expect any immediate actions, just wanted to let you
 consider those scenarios.

I see the scenario and even your suggestion pointed out above is almost 
immediate. But I think we're really hitting some wall here unless we can 
find someone willing to dive in these uncharted backwaters of Scids 
source. Do you have any free capacities? I think it can (has to) be done 
in the C++ backend, and I fear pretty deep down there.

cu
Alexander

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Preferred reports sequential numbers

2011-02-07 Thread Alexander Wagner
On 02/07/11 17:00, Marco Saba wrote:

Hi!

 I would like to have an option that when I choose to
 mass print preferred opening reports they would be
 numbered sequentially.

You refer to page numbers?

 Instead, each DVI (PDF) file has his own numbering.
 So I have to renumber each page of subsequent report manually.
 Imagine that: I want to have a single pdf doc of my encyclopedia of gambits
 http://studimonetari.org/edg/latex/indexpdf.html
 which is about 700 preferred opening reports.
 Total pages are in the 3,000 or something
 Can you help me somehow?
 Or, there is a pdf utility where you join those 700
 pdf and have those sequentially numbered?
 Am I asking too much?

If it's page numbering you could of course strip the headers of the TeX 
sources and then build some master file just using \include{} 
directives. If you've the PDF already, there's indeed a pdf package 
available that allows you to include multipage PDFs like you'd do it 
with an image PDF and you end up with a large file. I can lookup the 
syntax, but I actually did this for a book of the size you mentioned and 
it worked like a charme.

cu
Alexander

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Where the games saved in clipboard go?

2011-02-06 Thread Alexander Wagner
On 02/05/11 21:37, Esteban Cervetto wrote:

Hi!

 SCID don t ask me where the games are saved when I
 init a game with Ctrl+x and I stay in the clipboard.

 They are saved in the clip base (not to be confused
 with the clip board).

 If you switch to a regular base, they are created
 there.

 I accidentally close SCID. Can i recover it?

No. As for Steves suggestion: we could dump out the last
game of the clipbase to some file, but I fear it would not
solve your problem at hand. If we dump out the last game you
edited you loose all those you worked on before as it just
gets overwritten. If we always append if you hit save, we'd
accumulate quite a bunch of duplicates there. If we dump out
the whole clipbase this might actually be quite a bunch of
games depending on your usage of the clipbase so it would at
least be slow. It would then acutally be more suitable to
create a temporary database instead and use this as
clipboard. However, this would drop the huge performance
gain you get for certain operations if you do it in memory,
ie.  the current clipbase mode. (Dumping to PGN doesn't seem
the right format, IMHO, as it looses additional information
like flags and so on you might have added and it might
become quite big and inefficient as well.)

 I saved my game, but when I close Scid, I lost the game, or I dont
 know whre the game is located

 The clip base is not saved when you quit scid, indeed.

 Thats the problem! so, Why Can I need save a game in the
 clip base?

If you work on a game nothing gets stored to whatever
database (memory or disk) unless you explicitly store the
game (Game / Save or Save Replace). The important thing to
learn here is that you never save the database but always
work on a per game level _within_ a database. For an analogy
you can think of a database as a folder on your file system
and of a game as a file in that folder.

Having understood that very important point it is clear why
you want to store a game in the clipbase: otherwise all
your changes would not go into that very game. Working in
the clipbase e.g. would make sense if you want to add a
given game to several databases in succession (though I'd
work the other way round here as well). Or if you really
just want to try out some things that should get lost.

 In my point of view, It is easier and safer that, when the
 user tries to save a game from the clipbase, Scid should
 ask for the database to save it.

Actually, you should think the other way round: if I want to
work on a game and store it permanently, first decide which
database it should go to, open that database and add the
game there in the first place. Like in the anology above,
first open the folder, then create the document.

Probably, for your usecase, instead of opening Scid it would
probably be better to just open the database by a double
click in whatever filer you use? Then you're right in the
database to work on and your games get stored into the
correct place. This is what I usually call document
centred. This also avoids this nasty File/Open stuff and
navigation through a file tree with less suitable tools then
a decent filer. But it's another workflow, probably one one
has to get used to first.

I admit, that given the fact that the clipbase in Scid is
actually equipped with all functions of a database one might
be lead to work the other way round. Especially, if one uses
some program centred workflow instead of a document centred
one. Still, the simple fact that the clipbase offers all
functionalities like a real database gives you a very
powerful tool for complex searches and selection, copypaste
functions and so on. So it doesn't seem wise to restrict
this.

As for the suggestion to ask the user you have unsaved
games in the clipboard: first I think it is not entirely
trivial to do on a technical level though it could be done.
But how should it work if you actually add 5 games that
should go to different databases? Asking for all games in
sequence isn't probably to wise as you might well have
several hundreds of games in your clipbase in many other
circumstances. Just as a random example I have every day:
the CC functions of Scid work very heavily with the clipbase
as temporal storage. So usually at the end of a session I
tend to have about 20 or more unsaved games in the
clipbase. However, they're all stored as they get synced
into the CC games base. Or if I do some selections to study
a given position I usually select games from several sources
pack them up in the clipbase to export them to some PGN
file for Droidfish. In all those cases asking about storing
the clipbase would be a bit anoying. I admit that I don't
like the handling of ChessBase here as reported by Gerd, ie.
having only references to some real databases in the
clipbase would introduce quite some issues that break a lot
of functionality or drop some niceties the current approach
has.

cu
Alexander

--

Re: [Scid-users] Where the games saved in clipboard go?

2011-02-06 Thread Alexander Wagner
On 02/05/11 23:03, Steve Steinitz wrote:

Hi!

 I created a database for my games (it doesn't get opened
 automatically).  I typically open a game (created on my
 iPhone by tChess) by double clicking it (to open Scid on
 my Mac), add engine annotation to it and examine the
 wonderful Score Graph.

If you create the game on your iPhone, you'll get it as PGN.
If you open it in Scid this file is opend read only.
Currently you can not directly save to a PGN file. (You
actually don't want to in most occasions either. Scids
native si4 is much more efficient.)

 At that point I find myself bewildered about the best way
 to save the annotated game to my database.  I have indeed
 lost my work more than once.  None of the save menu items
 seem like what I want.

They are in fact, but if I get it correctly you try to use
them on the wrong database.

 In the end, I have a vague recollection of copying
 to(?)/from(?) the clipbase and/or the clipboard, opening
 my database, merging(?), then saving with overwrite (or
 similar).

No need for the Clipbase to get involved here. This would
complicate things unecessarily. (Though it works, you can
import to the clipbase and then copy to your DB.)

 Followed by quitting from Scid, relaunching it, opening my
 database and breathing a sigh of relief when I see my
 annotated game.  (I'll make better notes in future.)

Open the database of your games (say MyGames), then just use
Tools / Import File of PGN games. This will import your game
from the iPhone right into your database and store them
there. After that, just run your analysis on those games
which now live in your database. Storing your work now works
on the database things go to the disk.

You may get the database opened automatically if you just
double click on the _database_ instead of launching Scid.
Your Finder should know how to fire up Scid with the DB in
question. If you use the same bases all the time, you can
create a shortcut / launcher (I don't know how it's called
in MacSpeak) of the database in your panel or on the
desktop for easy access.

Alternatively, if you prefer to work through your file
system with the file open dialogue your you fire up Scid by
double clicking the PGN from your iPhone, you might want to
open MyGames in paralel (the File menu offers a list of
recently opened DBs), and then use the DB switcher window
(Ctrl-D) and just drag your PGN database onto MyGames
database. This will also do the import mentioned above as
well.

In all cases: key is to import your PGN from the iPhone to a
Scid database _before_ doing anything. Also note that the
clipbase feels like a Scid database but it is only
temporarly in memory and never gets stored to the disk.

 While I realize that there is likely a well-trodden Scid
 workflow, second-nature to experienced Scid users, for
 undertakings like mine, I thought it might be helpful to
 relate an inexperienced user's first impressions.  Also, I
 understand that Scid is not a native Mac program and
 will always have its own way of doing things, which is
 fine.

This is acutally not the issue here. Its just the behaviour
of Scid towards PGN (open them read only) and the Clipbase
(temporary db without storage). I think both concepts are
quite wise, but probably do not work as expeced in the first
place.

HTH :)

cu
Alexander

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Use-case: entering games played by kids

2011-02-06 Thread Alexander Wagner
On 02/06/11 00:11, Marcin Kasperski wrote:

Hello Marcin!

 a) Opp of my son castled under check at move 7. My son missed this and
 they happily continued to play until a few moves later they spotted the
 check, so he just moved the king out of it. The game had some
 interesting twists afterwards and is worth preserving, but unfortunately
 scid does not allow me to enter this (invalid) castle so I have no idea
 how to enter it.

You can't. Scid enforces the laws of chess here and does not accept 
invalid moves. In your case this is actually a drawback, in most others 
it is definitely an advantage.

I fear the only work around is the same as you'd use for C960 games: 
store the first part of your game till the invalid castling, then create 
a new game with the starting position of the castled king. If you don't 
reorder your base you could switch to the continuation Game / Load Next 
game (Ctrl-down). Not elegant, I agree.

 b) My daugther played proper moves but forgot to write down a move here
 or there. One of those cases turned out to be particularly troblesome,
 as which exactly move her opp made turned out 20 moves later. I made
 some guess and continued entering other moves, then when it turned out
 clear that sth else happened, I had to go back, swap the move and
 ... reenter everything manually. In fact I id it for a five times, as
 only fifth version tourned out to be proper.

I agree that this is a nasty thing indeed. :S

I'd only have a work around here as well. You can copy the notation as 
far as you got it to the clipboard (system clipboard not the clipbase). 
File / Copy game to clipboard from PGN window or, if you use cvs version 
Ctrl-C, which adds to clipbase and the current game to the clipboard. 
Then you can  put it into some editor buffer (I guess you've emacs 
opened all the time anyway), change the move in question there and use 
Tools / Import one PGN game to get it back into your base. Not elegant, 
but well, better than redoing everything.

 a) It would be nice if scid allowed entering invalid moves - both
 violations of chess rules (like aforementioned play with check active)
 and clearly bad moves (like Nf3-f5). Those could be marked as invalid,
 those could be signalled using red color and whatever you like, but it
 would be great if I could enter invalid move nevertheless.

I fear this is not easily possible.

 b) It would be nice if I could change some move and keep further moves
 on top of it, at least as far as they are correct. For the missed move
 case I would just enter null move, continue, then after getting to the
 moment which clears that something had to move somewhere earlier, I
 would just go back, make proper modificatin and had proper game.

I fear the same as for a).

Both might involve a bunch of technicalities in the backend. I'm not 
sure but I'd not expect this behaviour to be fixed to your use cases 
especially in the short term.

cu
Alexander

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] SCID window maximization?

2011-02-06 Thread Alexander Wagner
On 02/05/11 22:05, CCT TD - Peter Skinner wrote:

Hi!

 When I open SCID the window does not maximize how I would like it. I
 maximize it, save settings, and still each time I open it, the window is
 not correct.

 Is there a way of fixing this?

I'll check that. To make sure: you refer to docked mode on windows, right?

cu
Alexander

--
The modern datacenter depends on network connectivity to access resources
and provide services. The best practices for maximizing a physical server's
connectivity to a physical network are well understood - see how these
rules translate into the virtual world? 
http://p.sf.net/sfu/oracle-sfdevnlfb
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Strange format in pgn window

2011-02-01 Thread Alexander Wagner
On 01/31/11 23:30, Joost 't Hart wrote:

Hi!

 10. h3 e6 {comment} ( 10... 0-0-0 )

 With your patch, a blank line is inserted between the comment and the
 variation (if you enable indent variations as well). The
 modification was there to remove this blank line.

Yes. I may add that the fix back then can not really resolve all issues. 
The main problem is (IMHO) that we can not typeset a table in Scids 
limited html-like markup. Therefore, PGN window uses some fixed font 
indenting to simulate one and you sometimes get an additional blank line 
due to tcl/tk's text widget line break if the window is to slim.

 A proper fix for the spurious blank is still to be found...

Using real tables would solve it. But I think this needs quite a bit of 
work in Scids html markup stuff.

BTW: Joost, you've the patch from Gerd at hand = I'll not care about it :)

cu
Alexander

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Fics won't connect on AMD64 Fedora 14

2011-01-30 Thread Alexander Wagner
On 01/29/11 23:30, Steven wrote:

Hi!

 I get can't get peername: socket is not connected.

 fconfigure $sockChan

 returns

 -blocking 1 -buffering full -buffersize 4096 -encoding utf-8
 -eofchar {{} {}} -translation {auto crlf}
 -sockname {***.**.65.4 pa***-**-65-4.pa.nsw.optusnet.com.au 5471}

 Note, there's no entry for -peername.
 It's obviously a networking issue, but i'm not much of a guru.

I can not reproduce this. Running Scid on amd64 as well, it connects to 
FICS as it should and everything seems to work fine here.

cu
Alexander

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Fwd: Re: try variation remove annotations

2011-01-30 Thread Alexander Wagner
On 01/30/11 18:00, Joost 't Hart wrote:

Hi!

[...]
 True. My idea of trial mode is that you can - literally - try something
 out on the board without actually changing the game. A scratch pad mode.

Agree.

 I do not understand why comments should be hidden. PLUS hitting ctrl/z
 in the pgn window (immediately after enabling trial mode) restores the
 comments without leaving trial mode.

 This is strange, isn't it? Why remove the comments in the first place...

Ah. Now I get it. I can have a look what's going on here. Probably, I've 
some clues. Ctrl-Z behaviour could stem from the fact that it was added 
very recently, so the original trial mode didn't know about its 
possiblity at all.

cu
Alexander

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Best Games List/Games list + Filter interaction was: Potential data loss using trees

2011-01-29 Thread Alexander Wagner
On 01/25/11 11:31, Fulvio wrote:

Hi!

 Alexander Wagner wrote:
 In general we should discuss this point further. Probably, the games
 list should indeed learn some states: all, tree, header and a
 combination of those. What I tried to discuss with Gerd (but he seems
 to miss understand me here a bit) is how we make clear to the user
 what he actually gets where and why. So, IMHO some visual feedback is
 required. Probably we need a function in the backend that signifies
 which filters are active to achieve this.
 Hi Alex, i would try to explain my point of view.
 First of all an important thing: tree filter is a statement with no
 sense.

I agree, I just used the term as we called it that way in
the ongoing discussion.

 We know that in the code exist a treeFilter, but a user that open a
 Game List window and see a tree filter option will be baffled for sure.

This is pretty precisely the usability issue that I
mentioned.

 So if we go back to the old, perfectly clear, Game List window behavior:
 - Show always every game in the filter
 no one can misunderstand that.
 Now we want to add an option that temporarily restrics the current
 filter by the current board position and a simple checkbox as Gerd did
 is the best way in my opinion.
 Please notice too that the new option is a different thing from the
 Ctrl+Shift+B search current board that permanently change the filter.

As far as I understood it we perfectly agree, and this
sounds sensible.  I have to read up your ongoing discussion,
but I want to make a clear cut in current code so we can
come up with 4.3 soon. So all this will go in a later
version, as Gerd mentioned he didn't debug all details on
his filtering stuff.

 P.S.
 I agree that Game List window and Tree Best games window should be
 unified, but there are some big technical difficulties

I see that issue too. Again we agree :)

 P.S.2
 I think that the all option is a bad idea too.
 User scenario:
 - open a big database
 - the Game List window show all the games, no way everyone will try to
 go game by game in a million games database

Agree ;)

 - Search header for last year games
 - Still too many results: AND the filter with elo2500 games
 - Look at some games
 - reset the filter to make another search
 - visual feedback: in many places you get the Filter: number of games /
 total games

 Problems with the all option:
 - open a big database
 - the Game List window show all the games, no way everyone will try to
 go game by game in a million games database
 - Search header for last year games
 - Still too many results: AND the filter with elo2500 games
 - Look at some games
 - click on the all option and make another search

My all was missleading. I agree with all your points.

I'll also read up your ongoing discussion with Gerd later
on, first taking care about releasing what we have reached
now. I think you two are on a good track as far as I
followed it. Go on, and keep your discussions going on the
list.

cu
Alexander

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Sourceforge down?

2011-01-29 Thread Alexander Wagner
On 01/28/11 09:22, Joost 't Hart wrote:

Hi!

 Joost 't Hart wrote:
 Looks like they have stopped CVS. I hope so :-)

 http://sourceforge.net/apps/wordpress/sourceforge/2011/01/27/service-downtime/


 Thanks for noticing this; that explains.

Agrl. This will delay 4.3 till it is up again.

cu
Alexander

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Potential data loss using trees

2011-01-24 Thread Alexander Wagner
On 01/23/11 00:46, Gerd Lorscheid wrote:

Hi!

 1. Switching databases does not remove unsaved games
 2. When you call ctrl-x you can see in the switcher what is the current
 database.
 The harmful operation is sc_game load ..., which does remove an existing
 game and load a new one without warning.

Thats how it is designed, yes. Actually, I think this behaviour is even 
required in certain cases.

 So it should never be called
 without previous check for unsaved changes. All the 20 calls in the tcl code
 today should be packaged in a method doing this check.

You mean ::game::Load()?

 To your question whether database switching is necessary. In general no. But
 there are a couple of methods in the backend, which do not get the target
 database as argument and simply assume they should do their work on the
 current one.

This sounds sensible. Especially, historically.

 It works fine now, but I have some discussion with Alexander who uses Scid
 in a different way and is no fan of these changes.

I think the issues here are most likely related to the fact that there 
needs to be a way to ensure for the user to understand what she sees 
where and why.

cu
Alexander

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Best Games List/Games list + Filter interaction was: Potential data loss using trees

2011-01-24 Thread Alexander Wagner
Hello Fulvio!

 Very interesting.
 I attach a screenshot and a patch.

Just checked out your screenshot. I'm currently on travel so I do not 
had a chance to check your code. Anyway, Steven seems to have had a 
glance and you seem to be interested in some response on the function as 
such.

Some comments:

- I like the context menu for the tree. This works in the direction of 
actually making the best games list an instance of the real games list. 
(Probably worth a consideration, to come to only one control here.)

- I like the ability to apply header filter to the tree or not even for 
the stats. This gives an easy access to repertoir browsing e.g. and IMHO 
blends very well with the masks feature.

- IMHO all games should be grayed out if no db filter is active. This 
could signify the user what's going on. However, I do not see right now 
how to obtain this.

 The code is very rough and probably have many issues, but i would like to have
 your opinion on the tree behavior.
 1) The tree window updates only the best games window and not the game list
 window

In general we should discuss this point further. Probably, the games 
list should indeed learn some states: all, tree, header and a 
combination of those. What I tried to discuss with Gerd (but he seems to 
miss understand me here a bit) is how we make clear to the user what he 
actually gets where and why. So, IMHO some visual feedback is required. 
Probably we need a function in the backend that signifies which filters 
are active to achieve this.

 2) A new checkbutton all games allow to show stats for all the games in the
 database or only for the filtered ones.

This sounds a very good addition.

 I think that blending this with your improved game list window will produce
 the maximum flexibility; giving everyone the possibility to choose his
 preferred way of work.

Indeed.

For me your direction would deserve a go state.

cu
Alexander

BTW: could you please adjust subjects and probably open a new post for 
new stuff? This makes it a lot easier for me to follow discussions, 
especially when I'm on the road. (Sometimes I've only a small Android at 
hand. Acutally, the reason for such a late reply to your interesting 
stuff...) TIA!

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Bug#609062: scid: feature suggestion: merge game moves from an imported PGN file

2011-01-23 Thread Alexander Wagner
On 01/22/11 08:29, Ian Zimmerman wrote:

Ian,


 Ian  The site in question is chess.com , and very likely they _don't_
 Ian  offer xfcc yet, but if I learn that it is available in my version
 Ian  of scid I'm OK with the (nag)* bugfix. :-)

 Alexander  They have a bit a strange starting thread at
 Alexander  http://www.chess.com/forum/view/community/xfcc-support

 As you can see there I have started the nagging (mixed with a bit of
 self-serving generosity :-)

Did you find a way for a work arround? In case no, we should discuss hte 
possibility of that in PM. (I admit that I do not want to register an 
account on every server out there myself.)

cu
Alexander

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Bug: Abs./Rel. Filter Graphs

2011-01-23 Thread Alexander Wagner
On 01/22/11 11:50, Joost 't Hart wrote:

Hi!

 I currently experience

 invalid command name 
 invalid command name 
while executing
 $::utils::graph::_data($graph,canvas) delete -withtag g$graph
(procedure ::utils::graph::redraw line 4)
invoked from within
 ::utils::graph::redraw filter
(command bound to event)

 when calling either absolute or relative filter graph. Anyone an idea
 what's / why this is happening?

 Can you describe your scenario (what is absolute/relative filter graph)?
 I have no idea how to reproduce or where to look.

I just opened a database and choose Tools / Rel. filter
graph or Tools / Abs. filter graph. It's a function I do not
use myself, I admit. I was just about to fiddle out what it
does in more details while I was about to update the docs.

BTW: recent help file at least containes all menu entries
again plus I hope all changes visible to the user since 4.0.

cu
Alexander

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] anyone has experience with dgtnix?

2011-01-23 Thread Alexander Wagner
On 01/21/11 22:26, cruze...@infinito.it wrote:

Hi!

 I have a DGT board with serial interface.
 I am definitely a linux fan and I would like to use my wonderful board with
 my favourite OS and programs, like SCID or eboard.
 Unfortunately so far I've found outdated docs only. In fact this board is
 the only reason for me to keep a Window$ partition on my PC's

 I tried to install the latest version of dgtnix in my ubuntu 10.10 box but
 I'm not sure everything is working fine. Furthermore, I cant' use the board
 with any chess programs.
 Has anyone any experience to share with DGT board and linux?
 Any link to recent docs?
 And, most important, what is the state-of-the-art of SCID with DGT?

Seems my answer didn't make it to the list. For DGT boards
the current way to go is via Input Engine. An implementation
of the Input Engine for DGT using dgtnix as backend exists
in a separate project of mine: http://dgtdrv.sf.net.

Did you try this? Does it work out for you?

cu
Alexander

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Potential data loss using trees

2011-01-21 Thread Alexander Wagner
On 01/20/2011 10:04 AM, Joost 't Hart wrote:

Hi!

 Hmmm... Yes this fixes the reported issue,

 Ok.This is something I know how to reproduce and verify.
 If there is no chance of side impact (without air bags) I will do so
 and commit this.
 If not, we'd better keep things on the shelf until after 4.3, right?

Being almost on the train, but I'll check it as well. Hope to report 
today or maybe tomorrow. As I've to travel this weekend we might come up 
with 4.3 not before next weekend so we should have some time to check 
Gerds patch out.

 but despite the comment, i'm not clear on why
   sc_game load [sc_filter first]
 is being called.

 Is it necessary to load the first filter game
 to directly generate an opening report ?

Isn't otherwise the tree be decoupled from the gameslist of the base in 
question? I think it is(was?)

cu
Alexander

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


[Scid-users] Bug: Abs./Rel. Filter Graphs

2011-01-21 Thread Alexander Wagner
Hi!

I currently experience

invalid command name 
invalid command name 
 while executing
$::utils::graph::_data($graph,canvas) delete -withtag g$graph
 (procedure ::utils::graph::redraw line 4)
 invoked from within
::utils::graph::redraw filter
 (command bound to event)

when calling either absolute or relative filter graph. Anyone an idea 
what's / why this is happening?

cu
Alexander

--
Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)!
Finally, a world-class log management solution at an even better price-free!
Download using promo code Free_Logger_4_Dev2Dev. Offer expires 
February 28th, so secure your free ArcSight Logger TODAY! 
http://p.sf.net/sfu/arcsight-sfd2d
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Database Switcher in Gamelist window ?

2011-01-19 Thread Alexander Wagner
On 01/19/2011 04:20 AM, Chris Lott wrote:

Hi!

 I'm curious about the use (or not) of the game list window. I use it
 all the time. I'm trying to figure out how one could use Scid much
 without using the game list window much. I'm not trying to be
 argumentative, but wondering if I am missing something significant
 about how to use Scid. Which is entirely possible! Thus:

It depends on your usage. If you're scrolling though games eg. after 
header search and so on you'd use the games list. Usually, however, I 
come from the tree window and use the Best games. It's also a sort of 
games list. You can access it by the rightmost icon in tree window.

cu
Alexander

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Database Switcher in Gamelist window ?

2011-01-19 Thread Alexander Wagner
On 01/19/2011 06:54 PM, Joost 't Hart wrote:

Hi!

 I'm curious about the use (or not) of the game list window. I use it
 all the time. I'm trying to figure out how one could use Scid much
 without using the game list window much. I'm not trying to be
 argumentative, but wondering if I am missing something significant
 about how to use Scid. Which is entirely possible! Thus:
 It depends on your usage. If you're scrolling though games eg. after
 header search and so on you'd use the games list. Usually, however, I
 come from the tree window and use the Best games. It's also a sort of
 games list. You can access it by the rightmost icon in tree window.

 I seem to remember to have read that the best games window /is/ filtered
 by the user filter (or whatever name to attach the a.o.-header-search).
 Would be great, imho, but for me that does not work.

Right, this is what Gerd implemented. If you open a tree, and best 
games, issue a header search nothing happens? (The ordering does not 
matter here.)

cu
Alexander

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Database Switcher in Gamelist window ?

2011-01-19 Thread Alexander Wagner
On 01/19/2011 04:01 AM, Benoit St-Pierre wrote:

Benoit,

[...]
 I know that under Scid, everything works around windows.  I am simply
 asking that we access to the window's functionality by way of the list
 of menus (Scid, File, Game, Windows, etc.).  The two are not
 incompatible.

Could you just rework the main windows menu tree to a structure you 
think is better suited? Just reorder to your liking add what you feel is 
missing (ideally with a pointer where it is right now). If you change 
wording please add the current names so it is easy to identify.

Then we could discuss this more precisely.

[...]
 BTW: while I'm at it: any news from the tutorial front?
[...]
 The first one is simply that Scid is not for the casual user and the
 advanced user does not need tutorials, but an active mailing list.

That's sad news. I counted on you here.

cu
Alexander

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Database Switcher in Gamelist window ?

2011-01-19 Thread Alexander Wagner
On 01/19/2011 08:24 PM, Benoit St-Pierre wrote:

 That's sad news. I counted on you here [tutorial].

 Yes, I counted on me too :-(

AFAIK a wiki is possible @ sourceforge, if a Wiki would be the way to 
go. But we need someone who fills in a lot before people take active 
part in it.

 Could you just rework the main windows menu tree to a structure you think is 
 better suited?

 I'll see what I can do.  Actually, it's not unrelated to the tutorial
 and the contextual menus :-)

I don't think it is good to document something already before it is even 
agreed upon, not to speak of implemented.

Probably you should start at this end to save some work.

cu
Alexander

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Database Switcher in Gamelist window ?

2011-01-18 Thread Alexander Wagner
On 01/17/2011 07:05 PM, Benoit St-Pierre wrote:

Hi!

 Finally, maybe a repetition: scid is no editor or no
 webbrowser, it is a database application.

 Semantics do not help here: GUI are becoming standardized.

I'm not talking about semantics.

 Here is one among many examples of what I am talking about:
 http://www.devon-technologies.com/products/devonthink/

This is a reference manager. Usual databases for such an app
are  1000 entries. I keept such stuff for a very long time
in a bibtex file using vi. And I still edit such files with
vi today. With Scid we talk about several orders of
magnitude larger bases with much larger records. If I take
your example seriously you'd have to take databases like
Web of Science for comparison (30*10^6 records but the
records are much much slimmer than a usual Scid record.)

 Yes, there is a way to switch between databases.

Sure. If we implement your suggestion, we would drop all
context menues in db switcher, dd copy and so on. Then we
could move this to a menu. But this would loose quite some
functionality, not? It is IMHO a bad trade.

 What I am suggesting should be obvious enough.

Sure it is. But I think not thought through to the end. I
may remind you that you especially prised Scids DD copy in
your tutorial some time ago, and if I remember correctly
wanted to improve context menues in the DB switcher as well.
Moveing them into a menu does not allow to have a context
menu for a menu entry. (BTW: while I'm at it: any news from
the tutorial front?)

 I am sure to be able to provide many more examples of
 database applications.

There is a difference between a reference manager handling
some 1000 records and a database operating on several
million records. 10^3 to 10^6 to be precisely. A factor of
10^3, so to say. This is a lot.

 Scids menues are quite long already

 If you don't want to add a menu, it's possible to add
 these to Windows, to File, even to Game, which should be
 called Database anyway.

I refered to all those menus being already quite long. At
some point you'll be on happy menu item hunting. There's a
saying in my profession: Users don't like to search, they
like to find.

 dd copy like Scids would not make any sens in an editor
 ;)

 Unless I am mistaken, Scid's only way to copy games into
 another db is by drag and drop.

Just another cause not to drop it, right? ;)

 IMHO, this is a weakness.

Scid has so many weaknesses that I sometimes wonder why we
have any user at all ;)

cu
Alexander

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Database Switcher in Gamelist window ?

2011-01-18 Thread Alexander Wagner
On 01/18/2011 04:11 AM, Benoit St-Pierre wrote:

Hi!

 I want to switch between databases with one mouse-click. This may be no 
 standard, but sorry I cannot live without it.

 I too like to switch with the Database Switcher.

So what is your point then?

 I am not suggesting that we remove the Switcher and build it into the menu.

Eh???

In contemporary GUI, these kinds of switchers are in a menu.

(Not that I care about contemporary GUIs to much, some even removed 
menus for some thing called ribbon.)

 I am merely saying that merging games between databases should be
 accessible via the menu.
 As is switching between databases: File/Switch to Database [1-9].

So we get another 5 enties in the File menu that do nothing beyond 
switching to another base. (Scid can only handle up to 5 bases btw.) 
Given your suggestion to stick to standards we would however add a 
Windows menu for this. It has no other use in Scids working 
environment and it doesn't translate to the concept of Scid, as 
unfortunately, Scid does not use the same concept of windows as you have 
in many other apps. You just don't open another window like in your 
editor. (At some point you really have to understand this major 
difference, it is important.) So we have to name it something 
differently. Ups, we lost the standard. What did we win here? Besides, 
windows is actually a menu with an entirely different functionality in 
Scid. So we rewrite that concept and menu as well, but it opens windows. 
Hm, we'd have to reinvent a name for window. Probably dialogues?

Then we improve the games list to allow for multiple selections and add 
copy  paste functionality there. Maybe on the go we copy some 10.000 
games via system clipboard as this is the standard way to do it in ... 
Notepad.

IMHO we do not win anything in this way.

 More generaly, every action possible in Scid should be accessible in the menu.

Actually, I think it is. It just depends on where this menu is sensible 
and where not. The most sensible ones are smart context menus.

 I vaguely recall that in Nicbase, it was possible to filter and export
 at the same time.

It would be more transparent to the user to add copy all games to base 
X in games list.

 Perhaps the Search menu could be expanded to include actions like that.

What search do you want, we have several: Board / Header / Material / 
Pattern? Doesn't make sense to add it to the search dialouges(!) here. 
If then probably better to the games list.

   I want to see how many games are filtered in a database without any click.

 One gets information by looking at windows or by outputing reports.
 How many games there is in a filter is obtained by looking at the
 Gamelist window.

Nope. I usually look at the db switcher. But I'm old fashioned.

 The Gamelist window is very important, so important it's always there
 in databases.

I disagree here, I really have it open in very rare cases. Needs to much 
space.

 Since right-click opens up a contextual menu, it always depend upon context.
 So we need is to attach relevant actions to the proper contexts.
 What are the relevant actions in the Gamelist window?

[Seems something got lost here.]

 I want to drag and drop databases to copy games instead of ... hmm ... what 
 is here the standard?

 Depends on the verb: exporting, porting, merging, etc.
 It would be nice to export a complete filter into another Scid database.
 In the Tools menu, we already have the Export/All filter games.

 When you're in your Gamelist Window, you can right-click and already
 merge at least one game in another database.

NO! You merge it into the game displayed on the main board. You DO NOT 
merge games into a database, but into a game itself. It is vitally 
important to understand some concepts working with Scid. I feel if you 
can understand chess, however, things in Scid are quite simple.

 So it's not impossible to imagine that we right-click to merge all the
 games in a filter into another database.

Merge would definitely be the wrong word here. At some silent minute you 
should really start to comprehend the difference between a record based 
applications (commonly called database) like Scid and a file based 
application like your text editor. They HAVE to behave differently.

Still this suggestion sounds sensible if named properly. However, I 
believe dd in the DB switcher is much simpler than RMB-Copy to base- 
Popup to select base. Plus you'd have to handle the case that the base 
in question is not opened, followed by an open dialogue to open it, but 
if the're already 5 bases open you can't so you tell the user here sorry.

 (Perhaps it's already possible and is only a limitation to Scid under
 OSX, I can't check now.)

They build from the same source.

 Drag  drop and contextual menus are cool, but they're only tricks.

NO. In an ideal GUI they're actually centre of the whole thing. 
Unfortunately, it is quite a task to do it properly. (That you feel they 
are only a trick may 

Re: [Scid-users] Database Switcher in Gamelist window ?

2011-01-17 Thread Alexander Wagner
On 01/16/2011 03:25 PM, Benoit St-Pierre wrote:

Hi!

 In contemporary GUI, these kinds of switchers are in a menu.

 Think editors, browsers, etc.

Scids menues are quite long already an one might not forget that the DB 
switcher offers additional information and functios e.g. your beloved 
context menu, dragdrop copy and so on. So moving it to a menu is IMHO 
not possible without loosing very handsome functionality.

Finally, maybe a repetition: scid is no editor or no webbrowser, it is a 
database application. This brings some thins along with it. (E.g. dd 
copy like Scids would not make any sens in an editor ;)

cu
Alexander

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Database Switcher in Gamelist window ?

2011-01-17 Thread Alexander Wagner
On 01/16/2011 01:26 PM, Steven wrote:

Hi!

 I thought yesterday that perhaps the database switcher belongs
 in the bottom of the gamelist widget.

 Gerd doesn't agree. Gregor (scidb) does.

I don't either.

 But in undocked mode, it can easily get temporarily lost.

Ctrl-D fires it up again. So having it get lost is IMHO not an issue.

BTW: maybe I'm the only one who sees it that way, but as Scid restores 
window sizes and positions nicely, in classic mode you actually get 
something like a docked mode, but with quick keyboard and mouse navigation.

 As i've started to have more databases, it's become
 more of an issue,

Right. You definitely need it if you're using a bunch of dbs.

 I coded the changes and it's in scidvspc svn if anyone wants to trial.
  I tend to think it's better in the gamelist widget,
 as it makes database management very easy, but i'm not 100%
 convinced yet. The gamelist widget is normally fairly wide
 anyway, and this means the database switcher can be
 reorganised to always fit on one line.

I had just a quick look, and I still agree with my first impression that 
it's better suited for it's own window.

I think placing it in the games list requires you to have all dbs in a 
row while you can use a more quadratic window otherwise. Depending on 
screen layout this could save you some valuable space.

As I need this switcher all the time, having it in the games list will 
require me to have this window open all the time. Usually, I really 
don't need the games list at all so it stays closed and I fire it up 
only if I have something to do there. Ctrl-L is my friend. Now, the 
games ist is a pretty large window as you already noticed.

Why don't I need the games list that much? Well, most of my stuff is 
analysing CC games and there the gameslist will show precisely one game 
anyway. This informatio is also displayed in the main and pgn window. 
The metadata is available easily in the game info area, so no need for 
the big games list floating around. For game browsing I usually come 
from the best games windows(s).

Its very quick to fire up the DB switcher if needs be, just in case it 
got lost you can easily recover it.

If you bind it into the games list you deprive the user to move it 
around freely. Especially as the games list is pretty large you require 
quite a lot of precious space and it even doesn't fit anywhere anymore. 
(The use case of the very popular netbooks comes into mind where you 
don't have 1900x1600 pixels or more.)

cu
Alexander

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] R: Re: Filter trap - Corner case?

2011-01-16 Thread Alexander Wagner
On 01/15/2011 10:05 PM, Axel Moser wrote:

Hi!

 I second that - exactly thats the way I used chessbase to prepare for
 opponents and imo it makes sense to decouple tree window and game filter
 lists, as you suggested.

...cf. Re: to Gerd.

 On a side note, it would also be cool if there was a way to merge tree
 games (lets say annotated super gm games) with the one loaded  -
 including annotations - i can only merge the moves, the annotations
 don't get merged. But maybe I'm just doing this wrong?

No, you don't do anything wrong here. Currently it indeed does not merge 
the variations and comments. This is on the wishlist but once the topic 
came up last (while ago) it was stated that this is not trivial. From 
the code I know I tend to agree to this judgement. Probably there will 
be some solution. (Maybe we find a diligent programer who wants to take 
this job?)

cu
Alexander

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] R: Re: Filter trap - Corner case?

2011-01-16 Thread Alexander Wagner
On 01/15/2011 09:21 PM, Gerd Lorscheid wrote:

Hi!

 here you can see the difference how we work.  When I
 prepare an opening I load a new game, and play the moves
 of the opening. At the same time I follow in the game
 window the matching games.

I copy till here, though I use best games window(s)
instead of the games list for this. This relates to the fact
that I usually check at least two distinct DBs (OTB and CC).
That is usually I do not even have the games list opened at
all. I really fire it up by ctlr-l only in case I do db
editing where I run a bunch of header searches in sequence,
e.g. to attach bibliographic linking or the like.

 There might be a well commented one, a game of a good
 player playing the same kind of positions as me etc. To
 get this info I do not want to click anywhere let's say
 after every move.

Copy that as well.

 I can do this with Chessbase and I can do it with Scid, if
 I open a tree window of my large database.  When I prepare
 for the next opponent I go through the opening I play and
 watch in the game list the games of my opponent.

This is where your filter patch comes in very handy, indeed.

 So I can see where he is leaving my preparations. If I
 have to click here and there every move to get this
 information, I will get mad.

Hm, well, probably not mad but searching for improvement ;)

 So the possibility to filter the games list automatically
 by the current position is essential.

Right. This is what Fulvio refers to search current board.

 What I find a wrong idea is to connect the existence of
 the tree window with the filtering in the game list. This
 is what I would like to decouple.

And here I do not entirly understand this decoupling. If I
have the tree window opened I notice that Scid is actually
searching the tree, updating for the current position. I
also see possible alternatives to the move I might consider
myself, and I understand what's going on inside.

Now with this decoupling you suggest: would that mean that
the games list is _always_ updated for the current board
position? Ie. an automatic tree search? And this all the
time? Though I've opend my tree windows all the time I
indeed freeze them from time to time if I'm working on games
further down the road where the DB actually ended. If I miss
freezing them Scid indeed gets pretty slow due to the
ongoing searching.

The other point is, if you're e.g. on the above DB editing
you run a header search for some event or a player or
whatever. Surely you'd want to freeze the game list with the
result you obtained and it should not update at all but stay
at your results for otherwise you'd have to rerun the
search all the time. That is, quite some work is actually
not related to the current position.

Btw: did (historically) the tree alway update the games
list?

cu
Alexander

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Filter trap - Corner case?

2011-01-16 Thread Alexander Wagner
On 01/15/2011 05:55 PM, f...@libero.it wrote:

Hi!

 I'm sorry, i probably didn't get your point right.
 Are you saying that the actual behavior: a tree window that shows the stats
 for the entire unfiltered database and only the best games for the partial
 filtered database is an intended feature!?!

Right. The tree statistics currently refers to all games in the base 
while the best games gets the filter applied. Currently if you're 
searching for a player your tree does NOT reflect that players repertoir.

 What if i want to look at a list of games of an opponent, and at how the top
 players (Carlsen, Aronian, Kramnik, etc...) played that position?

Well, I feel you've to resort to the way how it was done all day long: 
search for the players you're interested, copy their games to (at least) 
the clipbase and use that base' tree against your opponents game.

IMHO there're quite some reasons why you end up with more that just one 
reference base IRL. This is just one of them.

 Wouldn't it be simpler to just open a different tree window with only the
 games of an opponent (so you have stats and best games only for his games and
 at the same time the ability to check your full database for stats and best
 games of other players)?

If I got Gerd correcly once he supplied the filter patch, it would be 
easily possible to have the tree doing it's bean counting only against 
the filtered games. (Gerd, you might want to comment on this yourself, 
you're the expert here.) The question arises indeed if this would not be 
the more logical behaviour, following the filter logic. If I recall 
correctly one argument against it was that you might actually not be 
interested in your opponents repertoir but in the best move in your 
database. And this doesn't get displayed if you filter the tree stats.

(Side note: in Scid all those things were called searches till now, 
probably this has some meaning.)

cu
Alexander

BTW: for pure technical reasons and make it easier to follow 
discussions, it would be great if all members of this list could switch 
their email programs to use standard subject quoting (ie. Re: and 
nothing else) and get them to correctly handle threads. TIA!

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Filter trap - Corner case?

2011-01-16 Thread Alexander Wagner
On 01/16/2011 03:31 AM, f...@libero.it wrote:

Hi!

 It is funny, but maybe we are saying the same thing :-)

Right. As far as I follow the discussion the argument is between using 
games list for everything or best games. At least in many areas.

 1) Opening study.
 I have a study database where i open a new game to enter the opening moves.
 Then i open the big database as a tree to show stats and interesting games.
 It's the same as you do, except that i use the best games window instead of
 the game list window and i will save my analysis before closing scid.
 Why i prefer the best games window? Because its ordered and it's related to
 the stats.

Agree. Thats why I use it as well. As far as I get it Gerds main 
complaint about the best games is that it is quite limited compared to 
the games list. One point I actually don't like myself is, that I can't 
remove a dupe once I find it in the best games. Also it doesn't show all 
infos the games list shows. (E.g. to find a commented game you'd at 
least have to run current cvs, up to 4.2.2 no flags were displayed in 
the best games.)

Here I'm not sure, however, if his suggestions are not missusing the 
games list and in the end rise confusion.

 Honestly i don't use the simple average elo of players for ordering games, but
 i'm tinkering with a penalty system that subtract to the average elo
 penalties for old games, early draws, blitz and blindfold games, difference of
 players elo, uncommented game.

I'd be greatly interested in this. You mused about this some time ago 
and IMHO average elo really needs some improvement.

 It's very difficult to find a good balance
 between this penalties that makes the best games go up on the list, but i 
 found
 it quite acceptable and better than the unordered game list window.

What are you using?

 The study and big database example should clarify why i say that the games
 list window is not logically related with the tree window. In my case i'm
 working on the study database so correctly the game list window is not
 touched by the tree window.

Same to me.

 2) Looking at a tournament.
 I keep updated the big database with twic pgns, and sometimes i like to
 watch games of a given tournament.
 So i open my big database and filter it accordingly.
 But when looking at an interesting game, if i open a tree window to check the
 stats of an interesting opening, my filter was lost.

This is indeed a bad side effect of automatic games list updates. I 
experience this as well (see my other mail).

 3) Opponent preparation
 I usually open the big database and filter for searching the games of my
 opponent (with the color he will play).
 Than drag it to the clipboard and open two tree window: one for the full big
 database and one for the clipboard.

%s/clipboard/clipbase/g

Wording is difficult here.

 So I have stats for the full database and the stats only for my future
 opponent. I can see at the same time the teoretical lines and the lines 
 usually
 played by my opponent. In one best tree games  window i can see the most
 interesting games of best players, and in other the games of my opponent.

I think this is supposed to be the default Scid workflow since a long 
time. However, I feel most people do not realise the clipbase.

Btw: using the clipbase here would not work out for me as actually the 
CC functions rely on the clipbase quite a bit for game synchronisation. 
So I'd have to use another base.

 4) Correct tree behavior in my opinion
 As it has ever been, except that it shouldn't change the game list window.
 If it's useful, add a button in the game list window that automatically filter
 for the current position (that can be used even if the tree window is not
 opened)

 If this is what you mean with decouple, we perfectly agree.

Agree, but there needs to be some way for the user to understand what he 
currently sees. I feel this is also important. So, probably having 
checkboxes in the games list that signify which filters are applied 
could work. Doing all this in the background might not.

cu
Alexander

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Filter trap - Corner case?

2011-01-16 Thread Alexander Wagner
On 01/16/2011 11:31 AM, Gerd Lorscheid wrote:

Hi!

 so things become clearer. Alexander and Steven are multi-window user and
 Joost and me are single window user. Steven wants to connect the switcher to
 the game list. For me as single window user it is connected anyway.
 But there is a problem for multi. The switcher is also related to the main
 window as the current game does switch with the actual database. And with
 the changes I planning the game list is no longer dependent on the switcher.
 Last point is that multi window users like Alexander don't use the game list
 window in favor of the browser as stated below. Steven, you should think
 twice.

I admit I can not follow entirely why you see a difference between 
having muliple windows and multiple tabs in the logic of a program.

 Filtering on the tree data. In my private code I have a hack. If the
 database is larger than 100.000 games it creates a statistic only on those
 games with rating  2300.

Though I understand the filerting as such, I usually do this by having 
StatBase and RefBase. The latter is the really big thing. StatBase is 
much smaller, cleaned of dupes in the sense that every game that has the 
same moves is a dupe regardless of metadata. (Not much sense in counting 
a move twice if the games are identical. Try to drop GM draws etc. 
here.) The reason for RefBase to exist is actually that it may very well 
contain real dupes, e.g. if I have by some chance the same game several 
times annotated by different persons you'll find it in RefBase, but not 
in StatBase.

Also StatBase uses a bit a softer limit as you suggest. I usually 
generate it from time to time by copy RefBase, dedupe it like mentioned 
and then drop games where both oppoents are below $threshold or if one 
opponent meets the $threshold but the other is far below. (E.g. with a 
2400 threshold +-200: 2400:2400 is included as well as 2400:2300 while 
2400:1800 is not.)

A very nice side effect of this cleansing is that StatBase is pretty fast.

 A good question is how a clean implementation could look like. Again the
 search filter of the database should not be misused for this as it has its
 own useful purpose. One possibility could be a minimum rating field in the
 tree window or just a flag with a hardcoded limit or the possibility to set
 a full or some attributes of the header mask... I am open to alternatives
 here.

Hard coded limits do not work that well, I think. I'm also not sure if 
it's entirely easy to do it all on the fly or if it's not a better 
approach to reduce a large refbase to a statbase in the sense mentioned 
above by more automatised means as I do it now. (But in my slow world, I 
admit that I do it only once a year, so I never worked on implementing 
any code for this.)

cu
Alexander

--
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
___
Scid-users mailing list
Scid-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/scid-users


Re: [Scid-users] Filter trap - Corner case?

2011-01-15 Thread Alexander Wagner
On 01/12/2011 11:35 PM, Joost 't Hart wrote:

Hi!

 So the
 program behaves correct.

 Well, my initial impression was different, because I could not find any
 way to load another game;
 until I realized that closing the tree window might help.

This is a problem where I currently can't see a really good solution. 
With the filter patch enabled we get a (IMHO) very useful function, e.g. 
it is possible to restrict the games list to those games in a given 
position with a given player.

However, at the moment you actually need to know what you did for you to 
know which filters are enabled so you can understand what is displayed.

E.g. you do a header search for all games by Kasparov. The games window 
shows all games by him. All right. same behaviour as in all version of 
Scid. You clean the the header search, al games are back. In the backend 
you have the db filter working for this.

Now the same with some position on board and the tree opened. This gets 
the tree filter working. If you look up the games list you get all games 
that match the current position. Sensible as well. Once you close the 
tree window all games are back as the tree filter is cleaned.

Finally, you open the tree window, go to some position, and initiate a 
header search. Now you'll get the logical AND of the header search and 
the tree search in your games list. Very sensible as well. You can clean 
either filter by closing the tree window or cleaning the filter by the 
button respectively. (The first question that arises here is if clean 
filter should also clean the tree filter. I think no.) This is again 
all very logical.

However, things get a bit messy if you have more than one base opened 
and freeze the tree of some base at a given position and initiate 
different header searches for different bases.

Say you analyse an opening and want to see Kasparovs games from a OTB 
database and compare it with some games of Ulrich Stefan in your CC 
database. So you've two header searches, one against your OTB database 
for Kasparov, one for your CC database for Stefan, and just in case if 
you happen to analyse one of your own ongoing CC games even a third one 
initiated hidden to you entirely by Scids CC functions. Given, that 
header searches can be quite complex and even ran in sequence using 
booleans you might end up with a very complex query where you actually 
don't even know what you asked for, unless you keep a sheet of paper and 
a pencil handy and jot it down.

An especially difficult case is probably, that the tree statistics is 
calculated for the full base while the best games window applies the db 
filter, so if you count up the games in the tree you get more than you 
see in the best games.

Nothing wrong with any of this, but it is hard to grasp, indeed, and we 
should think of a way to tell the user more precisely what he currently 
sees. (I admit, that if I wake up my notebook from hiberantion in the 
evening to track recent changes in my CC games it might very well happen 
that I don't know what filters I initiated yesterday, so I actually 
close down quite a bit and reopen it to come to a known state again.)

 Currently the tree filter is still active, if the tree window is disabled.

 What do you mean by disabled?

I think close the tree window.

 It is just not updated.

 The main thing that puzzles me is what can cause the tree filter to
 result in no games (in tree window and game list). I feel that this
 should never happen, unless I am in a position that has not been added
 to the base yet.

 I mean, if the filter is not changed by the start position change than
 the original game should still be there (although it does not contain
 the position on the board). If the filter _is_ changed by that action,
 than the current game should be in the list, as it does contain the
 position on the board.

 Maybe the filter _result_ should be updated as soon as I save the game
 to the base? Or is that tricky to implement?

I can check this. There's also another update missing for the best games 
as I noticed recently. (Ie. it gets no update if you initiate a header 
search unless the tree changes.)

 It may be a better idea it close the filter and
 recreate it when the window is enabled again. So you do not need to close
 it.
 The second interesting possibility is to decouple the filter of the game
 list and the existence of the tree window.

I am not really sure that this is the solution, as this introduces yet 
another result list.

 A switch at the bottom of the
 list window could enable/disable the filtering of its games independent
 whether a statistic window is open. Then you could disable the filter there.

 Yes, maybe. But the user needs a full grasp of the filter cascading
 mechanism in order to understand that the alternative Search/Reset
 filter operation does not help (as this clears only the filter that he
 explicitly set himself - and I did not do this).

Agree. I could actually introduce a clean tree 

  1   2   3   4   5   6   7   8   9   >