62 questions
- Bountied 0
- Unanswered
- Frequent
- Score
- Trending
- Week
- Month
- Unanswered (my tags)
Advice
0
votes
0
replies
44
views
What should I replace a newline character with when newlines aren't allowed?
I'm building a hobby chess engine that communicates through the UCI protocol. This is communication done through standard out/in of the program, with each line representing a single command.
One of ...
1
vote
3
answers
113
views
How to check search time limits efficiently in a C++ UCI chess engine?
I’m writing a chess engine in C++ that communicates via the UCI protocol, and I need an efficient way to check whether the allocated search time has been exceeded without adding too much overhead. The ...
0
votes
0
answers
20
views
uci_save() has problems when multiple daemons uses it?
When uci_save write delta values to /tmp/.uci/, if many daemons write same uci values to the same file, will there be a problem? Or will it just be overwritten?
uci_save() should do file open/write ...
0
votes
1
answer
67
views
TimeoutError with python-chess when trying to initialize Stockfish on macOS
I'm trying to use the python-chess library to interface with Stockfish on macOS, but I'm encountering a TimeoutError during the initialization process. Here's a simplified version of my code:
import ...
1
vote
2
answers
184
views
chess engine keeps calculating old fen position once a new fen is given
I'm trying to create a chess engine eval bar for React. For this I've added stockfish.js to my project and using the web worker api, initialized the engine inside a useEffect that gets re-rendered ...
1
vote
0
answers
874
views
Chess UCI get position as FEN
Trying to code a chess engine for the first time. I have connected my engine to the cutechess GUI cutechess. Currently my engine is receiving the current position from cutechess as something like: ...
1
vote
0
answers
155
views
Unable to make a python-chess engine communicating with Arena GUI
I've been trying to make a custom python engine, that uses UCI protocol to communicate it's moves. I'm able to understand how the UCI protocol works, but I don't understand how to make my python ...
2
votes
0
answers
539
views
Chess analysis over UCI protocol
I'm working on a chess UI and am trying to implement a game analysis feature by calling UCI engines. For showing analysis of a specific position two things are needed:
get the cp value for the move ...
0
votes
1
answer
1k
views
Luci openWRT UCI firewall rule update without position number
Hey all I have been trying find some code that would allow me to update my firewall rule via the UCI.
The way I am currently adding the new rule is like this:
uci add firewall rule
uci set firewall.@...
0
votes
0
answers
168
views
How to use InvalidPluginExecutionException in UCI
I use Mscrm 365 on-premise, in my last version (2016) there was a use in InvalidPluginExecutionException function to show the user an error.
In 365 I get the error but not the text I wrote, example in ...
0
votes
1
answer
245
views
How to import a whole folder of CSVs in python (pandas) from UCI ML Repo?
this is the link from which I want the csv files:http://archive.ics.uci.edu/ml/datasets/selfBACK
My approach right now is to download it locally, by simply clicking it. But, this folder has a lot of ...
0
votes
1
answer
28
views
Timed calculation with additional stop signal in Python
I have the following scenario (for reference, I want to implement the UCI chess engine protocol):
I need to perform a calculation for some time x (possibly infinite). When the time is up, I want to ...
0
votes
0
answers
1k
views
Openwrt : file modifications of /etc/config on custom-compiled firmware not saved after reboot
I am building an openwrt firmware for an old mt7620 board for commercial purpose (captive portal)
I am encountering a strange behaviour when I try to save updated config files. I am trying to figure ...
0
votes
2
answers
867
views
D365 - UCI - A validation error occurred. The value 895390001 of 'MULTISELECT' on record of type ENTITY' is outside the valid range. Accepted Values:
I am trying to use the Multiselect option set and want to build it dynamically, the addOption() is populating the multiselect field correctly, but on save of record it is prompting the validation ...
1
vote
1
answer
535
views
Any function like uci_load() but load config file not under /etc/config?
Any uci function like uci_load() but load config file not under /etc/config?
Can we specify directory not in /etc/config?