Search found 299 matches

by Terje
Mon Jul 26, 2021 7:07 am
Forum: Computer Chess Club: Tournaments and Matches
Topic: The July Joust
Replies: 16
Views: 3475

Re: The July Joust

Thanks for the entertainment, Weiss started out great but reality caught up I guess :D Looking forward to next time :)
by Terje
Sat Jul 24, 2021 10:27 am
Forum: Computer Chess Club: Tournaments and Matches
Topic: Blitz tournament 2021 (21st edition)
Replies: 37
Views: 3067

Re: Blitz tournament 2021 (21st edition)

Division 4 (final results) Score (Tie) Berser Clover Weiss Texel Senpai Protec Hannib Marvin Vajole Chess2 Invict Minic ---------------------------------------------------------------------------------------------------------------------------- 1: Berserk 4.5.1 54.5 / 66 1642.75 XXXXXX =11=0= 1==11...
by Terje
Sun Jul 11, 2021 10:11 pm
Forum: Computer Chess Club: Tournaments and Matches
Topic: CCRL 40/15, 40/2 and FRC lists updated (10th July 2021)
Replies: 4
Views: 1274

Re: CCRL 40/15, 40/2 and FRC lists updated (10th July 2021)

Thanks for testing, so far looks like the 110 ish I expected :D
by Terje
Sat Jul 10, 2021 6:41 pm
Forum: Computer Chess Club: General Topics
Topic: Koivisto 5.0
Replies: 85
Views: 8942

Re: Koivisto 5.0

I've never seen any trolling in the OpenBench discord, it's a wonderfull place to discuss chess engine related ideas. It's a good place to talk about chess engine ideas until Andrew Grant, noobpwnftw, and Terje decide to turn Openbench into a World of Warcraft themed discord. Openbench discord was ...
by Terje
Thu Jul 08, 2021 9:02 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Code Question
Replies: 12
Views: 2105

Re: Code Question

Without kidding: at some point, I'll have to go through the code and "un-C" it a bit. I wish I could use enums more, to differentiate between pieces and squares, but enums vs. ints and converting between them is a hairy and somewhat cumbersome topic in Rust. (Obviously, because in Rust, an enum isn...
by Terje
Thu Jul 08, 2021 8:01 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Code Question
Replies: 12
Views: 2105

Re: Code Question

Elvis is very useful for avoiding evaluating twice. int x = readInt() ? readInt() : 0; The above obviously fails (reads twice), so you'd need to write something like: int inputInt = readInt(); int x = inputInt ? inputInt : 0; Which is ugly compared to: int x = readInt() ?: 0; Since the operator exi...
by Terje
Thu Jul 08, 2021 3:43 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Code Question
Replies: 12
Views: 2105

Re: Code Question

Elvis is very useful for avoiding evaluating twice. int x = readInt() ? readInt() : 0; The above obviously fails (reads twice), so you'd need to write something like: int inputInt = readInt(); int x = inputInt ? inputInt : 0; Which is ugly compared to: int x = readInt() ?: 0; Since the operator exis...
by Terje
Tue Jul 06, 2021 6:10 pm
Forum: Computer Chess Club: Programming and Technical Discussions
Topic: Code Question
Replies: 12
Views: 2105

Re: Code Question

The Elvis operator is cool. A ?: B is equivalent to A ? A : B... OMG. A shorthand for a shorthand. I thought Rust was the only language doing stuff like that (with their generics, where they now have something like... 4 ways... to write them). And those namse: Elvis, Walrus, Spaceship. Some time ag...