You are browsing as a guest. Sign up (or log in) to start making projects!

DarshJ

@DarshJ

Joined May 31st, 2026

  • 5Devlogs
  • 2Projects
  • 0Ships
  • 0Votes
Open comments for this post

2h 29m 40s logged

PersistApi

Since the stockfish wasm was too slow, i made an api to store all the positions analyzed like i had before with the stockfish worker. I decided to use ai for this cuz i alr made it before and kinda needed to complete this fast

0
0
2
Open comments for this post

5h 36m 38s logged

Added stockfish wasm on frontend

Connected stockfish to the frontend and can now send all eval data to the backend. idk why it took me so long i was kinda distracted half the time lmao. Oh wait, I had to make some fixes in the backend and frontend cuz it had so many bugs because I forgot to actually run the backend to test. Prob because I thought it was too much hassle to migrate everything n all

0
0
2
Open comments for this post

3h 26m 6s logged

Removal of stockfish server

In this session I removed one of the most expensive parts of running DeepPly, which was the stockfish server. Initially, I had batched all stockfish analyses to a cloud server with multiple stockfish instances. To reduce analysis time, I used a persistent position db to store all previously analyzed positions and I had to use a at least 4 cpu core server. Now, the stockfish analysis can be done on the users computer directly, which is how top sites like chess.com and lichess do it. Im done with the django side of it, and will do the client side next session. Also I added django-environ for robust environment variable handling, started using logging library in 2 files as well.

0
0
2
Open comments for this post

3h 30m 12s logged

More cleanup

I think im gonna have to do this for a while. Today I cleaned up the lichess import code, to make it less error prone. Rn the main issue was that I wasnt using .get, so it would throw errors if key wasnt found, now it handles much better. Although a lot of time was spent on changing the game model as I wanted more info and better indexing n all. I think next session will be more cleanup and making the code look actually production level before I move on with the ui changes

0
0
5
Open comments for this post

4h 19m 59s logged

Cleaning up task management code

When I shipped during flavortown, the code for handling and executing analysis was kinda messy, so I streamlined it to highlight the task status n all using only my model instead of celery’s task result, and made the updating part more robust and removed any potential race conditions

0
0
19

Followers

Loading…