Блог пользователя euclidstellar

Автор euclidstellar, история, 7 месяцев назад, По-английски

Hi everyone,

I made a chess engine using an alpha-beta pruning / negamax algorithm along with a transposition table to optimise the pre-calculation of moves in a game tree.

please have a look and let me know how can i improve this chess engine and optimise its recursive calls(depth) to manage latency.

GitHub : https://github.com/EuclidStellar/Sepentia-ChessEngine ( if you find it good please do star it )

also if you are interested to know how i made this here's a medium article I wrote on it :https://medium.com/@euclidstellar_57634/creating-a-chess-engine-sepentia-835a86aa25da

Полный текст и комментарии »

  • Проголосовать: нравится
  • +68
  • Проголосовать: не нравится

Автор euclidstellar, история, 10 месяцев назад, По-английски

TWT is a command-line tool written in Go that allows you to post tweets to Twitter directly from your terminal.

Usage :

  1. Obtain your Twitter API keys from the Twitter Developer Portal.
  2. Run twt in your terminal.
  3. Use twt -c to configure your Twitter API keys.
  4. Enter your Twitter API keys when prompted.
  5. Enter your tweet content when prompted.

github repo for more information : TWT repo website : website Installation

Linux

sudo curl -L -o /usr/local/bin/twt https://github.com/EuclidStellar/twitter-cli-golang/releases/download/V1.0.2/twt_linux
sudo chmod +x /usr/local/bin/twt

macOS

sudo curl -L -o /usr/local/bin/twt https://github.com/EuclidStellar/twitter-cli-golang/releases/download/V1.0.2/twt_macos
sudo chmod +x /usr/local/bin/twt

Windows

  1. Download the twt.exe binary from the Releases page and add it to your system's PATH.
    1. Move the downloaded twt.exe file to a directory of your choice. For example, you can create a directory named C:\twt and move twt.exe there.
  2. Right-click on the Start button and select "System".
  3. In the System window, click on "Advanced system settings" on the left side.
  4. In the System Properties window, click on the "Environment Variables..." button.
  5. In the Environment Variables window, under "System variables", select the "Path" variable and click on "Edit...".
  6. In the Edit Environment Variable window, click on "New" and enter the path to the directory where you placed twt.exe (e.g., C:\twt).
  7. Click "OK" on all windows to save the changes.
  8. Open a new Command Prompt window and you should be able to run twt from anywhere.

From Source

If you have Go installed, you can build twt from source:

go install github.com/EuclidStellar/twitter-cli-golang@latest

if path is not in usr/local/bin then use this command

sudo mv twt /usr/local/bin

Полный текст и комментарии »

  • Проголосовать: нравится
  • -24
  • Проголосовать: не нравится

Автор euclidstellar, история, 11 месяцев назад, По-английски

Hi Codeforces ,

How to tackle this when I know what's the logic behind this problem and I am able to dry run the problem in my textbook but when it comes to writing code I get stuck and I don't get any idea of what next should i write

so , what should i do ? and also help me to know that how to find patterns in a problem :)

Полный текст и комментарии »

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится