]> git.sesse.net Git - remoteglot-book/log
remoteglot-book
9 years agoHighlight the last move.
Steinar H. Gunderson [Sun, 14 Dec 2014 11:16:02 +0000 (12:16 +0100)]
Highlight the last move.

9 years agoOutput some cleaner statistics at end of book building.
Steinar H. Gunderson [Sun, 14 Dec 2014 11:06:27 +0000 (12:06 +0100)]
Output some cleaner statistics at end of book building.

9 years agoFix off-by-one in move history handling.
Steinar H. Gunderson [Sun, 14 Dec 2014 10:52:46 +0000 (11:52 +0100)]
Fix off-by-one in move history handling.

9 years agoMake move history clickable.
Steinar H. Gunderson [Sun, 14 Dec 2014 10:45:33 +0000 (11:45 +0100)]
Make move history clickable.

9 years agoMinor aesthetic tuning.
Steinar H. Gunderson [Sun, 14 Dec 2014 10:42:10 +0000 (11:42 +0100)]
Minor aesthetic tuning.

9 years agoFix number-of-moves display in root PGN.
Steinar H. Gunderson [Sun, 14 Dec 2014 10:39:18 +0000 (11:39 +0100)]
Fix number-of-moves display in root PGN.

9 years agoFix an issue with NaN causing invalid JSON.
Steinar H. Gunderson [Sun, 14 Dec 2014 10:28:54 +0000 (11:28 +0100)]
Fix an issue with NaN causing invalid JSON.

9 years agoFix history display with dropped pieces.
Steinar H. Gunderson [Sat, 13 Dec 2014 23:52:00 +0000 (00:52 +0100)]
Fix history display with dropped pieces.

9 years agoAdd back a line that was inadvertedly removed.
Steinar H. Gunderson [Sat, 13 Dec 2014 23:45:47 +0000 (00:45 +0100)]
Add back a line that was inadvertedly removed.

9 years agoShow game history under the board.
Steinar H. Gunderson [Sat, 13 Dec 2014 23:43:43 +0000 (00:43 +0100)]
Show game history under the board.

9 years agoA small tweak in navigation.
Steinar H. Gunderson [Sat, 13 Dec 2014 23:42:16 +0000 (00:42 +0100)]
A small tweak in navigation.

9 years agoFix move numbering when navigating in history.
Steinar H. Gunderson [Sat, 13 Dec 2014 23:40:06 +0000 (00:40 +0100)]
Fix move numbering when navigating in history.

9 years agoFix totals line.
Steinar H. Gunderson [Sat, 13 Dec 2014 23:16:46 +0000 (00:16 +0100)]
Fix totals line.

9 years agoShow move number.
Steinar H. Gunderson [Sat, 13 Dec 2014 23:13:12 +0000 (00:13 +0100)]
Show move number.

9 years agoRename the moves variable so it doesn't clash anymore.
Steinar H. Gunderson [Sat, 13 Dec 2014 23:08:50 +0000 (00:08 +0100)]
Rename the moves variable so it doesn't clash anymore.

9 years agoShow totals.
Steinar H. Gunderson [Sat, 13 Dec 2014 23:06:43 +0000 (00:06 +0100)]
Show totals.

9 years agoRemove dead code.
Steinar H. Gunderson [Sat, 13 Dec 2014 23:06:40 +0000 (00:06 +0100)]
Remove dead code.

9 years agoShow a game summary instead of the entire PGN.
Steinar H. Gunderson [Sat, 13 Dec 2014 20:17:29 +0000 (21:17 +0100)]
Show a game summary instead of the entire PGN.

9 years agoLess bogosity when we have no position info.
Steinar H. Gunderson [Sat, 13 Dec 2014 17:13:02 +0000 (18:13 +0100)]
Less bogosity when we have no position info.

9 years ago(Sort of) fix a hang.
Steinar H. Gunderson [Sat, 13 Dec 2014 17:09:56 +0000 (18:09 +0100)]
(Sort of) fix a hang.

9 years agoRemove some debugging.
Steinar H. Gunderson [Sat, 13 Dec 2014 17:07:49 +0000 (18:07 +0100)]
Remove some debugging.

9 years agoRedo mapping entirely; now dumps constant-sized shards for reducing. Much more consis...
Steinar H. Gunderson [Sat, 13 Dec 2014 15:40:15 +0000 (16:40 +0100)]
Redo mapping entirely; now dumps constant-sized shards for reducing. Much more consistent RAM usage, much less I/O since we pipe from pgn-extract.

9 years agoLoad and display the root PGN.
Steinar H. Gunderson [Sat, 13 Dec 2014 14:53:16 +0000 (15:53 +0100)]
Load and display the root PGN.

9 years agoFix a field ordering messup caused by the memory saving changes.
Steinar H. Gunderson [Sat, 13 Dec 2014 14:29:52 +0000 (15:29 +0100)]
Fix a field ordering messup caused by the memory saving changes.

9 years agoReduce binloader RAM requirements by over 40%.
Steinar H. Gunderson [Sat, 13 Dec 2014 11:37:21 +0000 (12:37 +0100)]
Reduce binloader RAM requirements by over 40%.

9 years agoSet parallel merges to a value different from parallel loads.
Steinar H. Gunderson [Sat, 13 Dec 2014 01:02:59 +0000 (02:02 +0100)]
Set parallel merges to a value different from parallel loads.

9 years agoStore and merge the file number information. Still unused in the UI.
Steinar H. Gunderson [Sat, 13 Dec 2014 01:02:46 +0000 (02:02 +0100)]
Store and merge the file number information. Still unused in the UI.

9 years agoUse the new pgn-extract partitioning to get the file offsets right.
Steinar H. Gunderson [Sat, 13 Dec 2014 00:09:06 +0000 (01:09 +0100)]
Use the new pgn-extract partitioning to get the file offsets right.

9 years agoStore and handle the PGN start position.
Steinar H. Gunderson [Fri, 12 Dec 2014 21:56:30 +0000 (22:56 +0100)]
Store and handle the PGN start position.

9 years agoUse GNU parallel instead of rolling our own (parallel-parse-pgn.sh is unchanged,...
Steinar H. Gunderson [Fri, 12 Dec 2014 18:12:25 +0000 (19:12 +0100)]
Use GNU parallel instead of rolling our own (parallel-parse-pgn.sh is unchanged, though). Allows us to limit parallel binloader instances, since we have had some RAM issues.

9 years agoMake PGN partitioning work better with DOS-style line endings.
Steinar H. Gunderson [Fri, 12 Dec 2014 18:11:15 +0000 (19:11 +0100)]
Make PGN partitioning work better with DOS-style line endings.

9 years agoFixes for filenames with spaces.
Steinar H. Gunderson [Fri, 12 Dec 2014 18:10:09 +0000 (19:10 +0100)]
Fixes for filenames with spaces.

9 years agoFix a sort-of rare and silly castling bug.
Steinar H. Gunderson [Fri, 12 Dec 2014 01:16:12 +0000 (02:16 +0100)]
Fix a sort-of rare and silly castling bug.

9 years agoKey the table by position, not position+move. Makes for more complex exploration...
Steinar H. Gunderson [Fri, 12 Dec 2014 01:09:20 +0000 (02:09 +0100)]
Key the table by position, not position+move. Makes for more complex exploration, but is generally much more sane (e.g. we can store root games for each position in the future).

9 years agoSwitch value format to protobuf. Slightly smaller, easier to deal with extensions...
Steinar H. Gunderson [Fri, 12 Dec 2014 00:06:51 +0000 (01:06 +0100)]
Switch value format to protobuf. Slightly smaller, easier to deal with extensions that will come soon.

9 years agoParse timestamps from the binary format. Needs some rework, though.
Steinar H. Gunderson [Thu, 11 Dec 2014 23:01:31 +0000 (00:01 +0100)]
Parse timestamps from the binary format. Needs some rework, though.

9 years agoChange to even shorter prefix length; down from 3.8 to 3.1 GB (single partition is...
Steinar H. Gunderson [Thu, 11 Dec 2014 19:51:38 +0000 (20:51 +0100)]
Change to even shorter prefix length; down from 3.8 to 3.1 GB (single partition is 3.0 GB).

9 years agoFix inverted logic in the hash. Gets me every time.
Steinar H. Gunderson [Thu, 11 Dec 2014 19:21:21 +0000 (20:21 +0100)]
Fix inverted logic in the hash. Gets me every time.

9 years agoMake number of shards in build-book.sh a configurable constant.
Steinar H. Gunderson [Thu, 11 Dec 2014 19:02:26 +0000 (20:02 +0100)]
Make number of shards in build-book.sh a configurable constant.

9 years agoPartition the SSTable; somewhat less efficient space-wise, it seems, but we avoid...
Steinar H. Gunderson [Thu, 11 Dec 2014 18:55:22 +0000 (19:55 +0100)]
Partition the SSTable; somewhat less efficient space-wise, it seems, but we avoid the huge serialization step in the end.

9 years agoRemove leftover import from opening-stats.pl.
Steinar H. Gunderson [Thu, 11 Dec 2014 18:51:11 +0000 (19:51 +0100)]
Remove leftover import from opening-stats.pl.

9 years agoUpdate .gitignore.
Steinar H. Gunderson [Thu, 11 Dec 2014 00:58:36 +0000 (01:58 +0100)]
Update .gitignore.

9 years agoAdd an end-to-end build script.
Steinar H. Gunderson [Thu, 11 Dec 2014 00:58:01 +0000 (01:58 +0100)]
Add an end-to-end build script.

9 years agoDrop parse-pgn.pl and use (our patched) pgn-extract.
Steinar H. Gunderson [Thu, 11 Dec 2014 00:57:46 +0000 (01:57 +0100)]
Drop parse-pgn.pl and use (our patched) pgn-extract.

9 years agoAdd a small hack for the start position.
Steinar H. Gunderson [Thu, 11 Dec 2014 00:36:00 +0000 (01:36 +0100)]
Add a small hack for the start position.

9 years agoUse the new opening data from pgn-extract.
Steinar H. Gunderson [Thu, 11 Dec 2014 00:31:18 +0000 (01:31 +0100)]
Use the new opening data from pgn-extract.

9 years agoAdd some shell magic to split a PGN file into almost equal pieces.
Steinar H. Gunderson [Thu, 11 Dec 2014 00:00:47 +0000 (01:00 +0100)]
Add some shell magic to split a PGN file into almost equal pieces.

9 years agoFix some paths after git rewriting.
Steinar H. Gunderson [Wed, 10 Dec 2014 23:55:31 +0000 (00:55 +0100)]
Fix some paths after git rewriting.

9 years agoClean up module usage in parse-pgn.pl.
Steinar H. Gunderson [Wed, 10 Dec 2014 00:44:06 +0000 (01:44 +0100)]
Clean up module usage in parse-pgn.pl.

9 years agoRemove now obsolete Postgres support.
Steinar H. Gunderson [Wed, 10 Dec 2014 00:39:49 +0000 (01:39 +0100)]
Remove now obsolete Postgres support.

9 years agoNow make sorting click both ways.
Steinar H. Gunderson [Wed, 10 Dec 2014 00:27:56 +0000 (01:27 +0100)]
Now make sorting click both ways.

9 years agoClick on book line headings to sort by that heading.
Steinar H. Gunderson [Wed, 10 Dec 2014 00:23:03 +0000 (01:23 +0100)]
Click on book line headings to sort by that heading.

9 years agoRefactor/unify book line display.
Steinar H. Gunderson [Wed, 10 Dec 2014 00:17:58 +0000 (01:17 +0100)]
Refactor/unify book line display.

9 years agoLet book headings be dynamic.
Steinar H. Gunderson [Tue, 9 Dec 2014 23:36:20 +0000 (00:36 +0100)]
Let book headings be dynamic.

9 years agoAdd more columns, and hide Elo variables if we have less than 10 samples.
Steinar H. Gunderson [Tue, 9 Dec 2014 23:28:54 +0000 (00:28 +0100)]
Add more columns, and hide Elo variables if we have less than 10 samples.

9 years agoTune compression options a bit for intermediates (binloader) vs. final output (binmer...
Steinar H. Gunderson [Tue, 9 Dec 2014 21:09:20 +0000 (22:09 +0100)]
Tune compression options a bit for intermediates (binloader) vs. final output (binmerger).

9 years agoAdd some utilities to be able to build books in parts, so we do not need as much...
Steinar H. Gunderson [Tue, 9 Dec 2014 19:58:22 +0000 (20:58 +0100)]
Add some utilities to be able to build books in parts, so we do not need as much memory.

9 years agoStore sum and number of Elo values instead of averages, for easier merging.
Steinar H. Gunderson [Tue, 9 Dec 2014 19:22:33 +0000 (20:22 +0100)]
Store sum and number of Elo values instead of averages, for easier merging.

9 years agoSome path fixes for the standalone lookup.
Steinar H. Gunderson [Tue, 9 Dec 2014 01:17:22 +0000 (02:17 +0100)]
Some path fixes for the standalone lookup.

9 years agoAdd a Makefile for the book builder stuff.
Steinar H. Gunderson [Tue, 9 Dec 2014 01:03:12 +0000 (02:03 +0100)]
Add a Makefile for the book builder stuff.

9 years agoReuse the remoteglot library for a new book project.
Steinar H. Gunderson [Tue, 9 Dec 2014 01:00:36 +0000 (02:00 +0100)]
Reuse the remoteglot library for a new book project.

Remove everything not related to the (new) book building.
It will keep on living in the remoteglot repository.

9 years agoUpdate the .gitignore field to keep my sanity.
Steinar H. Gunderson [Tue, 9 Dec 2014 00:43:55 +0000 (01:43 +0100)]
Update the .gitignore field to keep my sanity.

9 years agoFix misattribution.
Steinar H. Gunderson [Mon, 8 Dec 2014 23:06:16 +0000 (00:06 +0100)]
Fix misattribution.

9 years agoSupport constructing Position objects from FEN strings.
Steinar H. Gunderson [Thu, 4 Dec 2014 18:58:19 +0000 (19:58 +0100)]
Support constructing Position objects from FEN strings.

9 years agoWe do not need to prettyprint a move if we already have the pretty form.
Steinar H. Gunderson [Wed, 3 Dec 2014 23:07:22 +0000 (00:07 +0100)]
We do not need to prettyprint a move if we already have the pretty form.

9 years agoBe lazier when parsing pretty moves. About 25% speedup in PGN parsing.
Steinar H. Gunderson [Wed, 3 Dec 2014 22:58:56 +0000 (23:58 +0100)]
Be lazier when parsing pretty moves. About 25% speedup in PGN parsing.

9 years agoA little serve-analysis bugfix I forgot to commit.
Steinar H. Gunderson [Wed, 3 Dec 2014 22:49:12 +0000 (23:49 +0100)]
A little serve-analysis bugfix I forgot to commit.

9 years agoAdd board/position output to a bitpacked format.
Steinar H. Gunderson [Wed, 3 Dec 2014 22:38:50 +0000 (23:38 +0100)]
Add board/position output to a bitpacked format.

9 years agoRemove en passant hack for Rybka 2, which is now obsolete; we would rather have the...
Steinar H. Gunderson [Wed, 3 Dec 2014 17:44:15 +0000 (18:44 +0100)]
Remove en passant hack for Rybka 2, which is now obsolete; we would rather have the canonically correct FEN.

9 years agoMore header squeezing.
Steinar H. Gunderson [Tue, 25 Nov 2014 17:25:39 +0000 (18:25 +0100)]
More header squeezing.

9 years agoSome pointless HTTP header microoptimization.
Steinar H. Gunderson [Tue, 25 Nov 2014 17:22:00 +0000 (18:22 +0100)]
Some pointless HTTP header microoptimization.

9 years agoNo longer serve Expires header; it is not needed.
Steinar H. Gunderson [Tue, 25 Nov 2014 17:17:09 +0000 (18:17 +0100)]
No longer serve Expires header; it is not needed.

9 years agoFetch a custom build of jQuery and compile that in; now we actually seem to make...
Steinar H. Gunderson [Tue, 25 Nov 2014 17:15:43 +0000 (18:15 +0100)]
Fetch a custom build of jQuery and compile that in; now we actually seem to make some size progress by compilation.

9 years agoMake sure we do not try to process more than one analysis.json update at a time.
Steinar H. Gunderson [Tue, 25 Nov 2014 16:48:09 +0000 (17:48 +0100)]
Make sure we do not try to process more than one analysis.json update at a time.

9 years agoMake some constants SHOUT_A_BIT.
Steinar H. Gunderson [Tue, 25 Nov 2014 16:44:42 +0000 (17:44 +0100)]
Make some constants SHOUT_A_BIT.

9 years agoAdd support for delta JSON, to squeeze the request size down further.
Steinar H. Gunderson [Tue, 25 Nov 2014 16:43:44 +0000 (17:43 +0100)]
Add support for delta JSON, to squeeze the request size down further.

9 years agoAdd a lazy safeguard against the JSON output being updated when there are actually...
Steinar H. Gunderson [Tue, 25 Nov 2014 00:08:50 +0000 (01:08 +0100)]
Add a lazy safeguard against the JSON output being updated when there are actually no updates.

9 years agoStick most of the properties of the served object in serve-analysis into one package.
Steinar H. Gunderson [Mon, 24 Nov 2014 23:40:58 +0000 (00:40 +0100)]
Stick most of the properties of the served object in serve-analysis into one package.

9 years agoRemove the obsolete text.pl.
Steinar H. Gunderson [Mon, 24 Nov 2014 20:24:38 +0000 (21:24 +0100)]
Remove the obsolete text.pl.

9 years agoAdd the historic text.pl, so we can delete it right afterwards.
Steinar H. Gunderson [Mon, 24 Nov 2014 20:24:29 +0000 (21:24 +0100)]
Add the historic text.pl, so we can delete it right afterwards.

9 years agoUpgrade to jQuery 2.1.1; 10 kB smaller, and we have nearly no IE8 users (or older).
Steinar H. Gunderson [Mon, 24 Nov 2014 20:21:22 +0000 (21:21 +0100)]
Upgrade to jQuery 2.1.1; 10 kB smaller, and we have nearly no IE8 users (or older).

9 years agoClean up the minification stuff a bit; still not really in use.
Steinar H. Gunderson [Mon, 24 Nov 2014 20:17:50 +0000 (21:17 +0100)]
Clean up the minification stuff a bit; still not really in use.

9 years agoRemove unused JavaScript.
Steinar H. Gunderson [Mon, 24 Nov 2014 19:46:08 +0000 (20:46 +0100)]
Remove unused JavaScript.

9 years agoFix some warnings.
Steinar H. Gunderson [Mon, 24 Nov 2014 19:41:10 +0000 (20:41 +0100)]
Fix some warnings.

9 years agoDeal with strange PGN download failures.
Steinar H. Gunderson [Sun, 23 Nov 2014 13:44:28 +0000 (14:44 +0100)]
Deal with strange PGN download failures.

9 years agoDeal with inconsistent zero padding in PGN clocks.
Steinar H. Gunderson [Sun, 23 Nov 2014 12:02:46 +0000 (13:02 +0100)]
Deal with inconsistent zero padding in PGN clocks.

9 years agoDo not bold anything when there is no running clock.
Steinar H. Gunderson [Sun, 23 Nov 2014 11:23:52 +0000 (12:23 +0100)]
Do not bold anything when there is no running clock.

9 years agoSet the active clock in bold.
Steinar H. Gunderson [Sun, 23 Nov 2014 00:52:38 +0000 (01:52 +0100)]
Set the active clock in bold.

9 years agoDo not show seconds in the clocks; a bit too distracting.
Steinar H. Gunderson [Sun, 23 Nov 2014 00:48:04 +0000 (01:48 +0100)]
Do not show seconds in the clocks; a bit too distracting.

9 years agoAdd clock support.
Steinar H. Gunderson [Sun, 23 Nov 2014 00:42:13 +0000 (01:42 +0100)]
Add clock support.

9 years agoAdd the Varnish configuration we are currently using (stripped of everything irrelevant).
Steinar H. Gunderson [Sat, 22 Nov 2014 14:01:24 +0000 (15:01 +0100)]
Add the Varnish configuration we are currently using (stripped of everything irrelevant).

9 years agoExplicitly prefer Opus over MP3.
Steinar H. Gunderson [Sat, 22 Nov 2014 11:13:14 +0000 (12:13 +0100)]
Explicitly prefer Opus over MP3.

9 years agoIn <title>, there is nothing to align, so remove the funny-looking space.
Steinar H. Gunderson [Sat, 22 Nov 2014 01:53:01 +0000 (02:53 +0100)]
In <title>, there is nothing to align, so remove the funny-looking space.

9 years agoStore sound and sorting settings in HTML5 local storage.
Steinar H. Gunderson [Sat, 22 Nov 2014 01:43:52 +0000 (02:43 +0100)]
Store sound and sorting settings in HTML5 local storage.

9 years agoSupport a ding sound per move. Off by default, of course.
Steinar H. Gunderson [Sat, 22 Nov 2014 01:28:47 +0000 (02:28 +0100)]
Support a ding sound per move. Off by default, of course.

9 years agoFix the red note on moves where we have no historic analysis.
Steinar H. Gunderson [Fri, 21 Nov 2014 23:56:45 +0000 (00:56 +0100)]
Fix the red note on moves where we have no historic analysis.

9 years agoShow correct highlight also for historical moves with no analysis.
Steinar H. Gunderson [Fri, 21 Nov 2014 23:35:34 +0000 (00:35 +0100)]
Show correct highlight also for historical moves with no analysis.

9 years agoAdd a favicon (it is the white knight from chessboard.js/Wikipedia, scaled down to...
Steinar H. Gunderson [Fri, 21 Nov 2014 21:21:51 +0000 (22:21 +0100)]
Add a favicon (it is the white knight from chessboard.js/Wikipedia, scaled down to 32x32).

9 years agoShow highlight and arrows for history moves.
Steinar H. Gunderson [Fri, 21 Nov 2014 21:21:05 +0000 (22:21 +0100)]
Show highlight and arrows for history moves.

9 years agoUnbreak history storing again.
Steinar H. Gunderson [Thu, 20 Nov 2014 23:17:09 +0000 (00:17 +0100)]
Unbreak history storing again.