Activity

Darko Sabo

Shipped this project!

Hours: 27.29
Cookies: 🍪 461
Multiplier: 16.9 cookies/hr

I built a recipe creator web-app. Ever since I learned HTML and stuff I wanted to make a website like this. I think this is like the 4th iteration… now that I’m more experienced with Next.js and similar technologies.

The most challenging part was getting the drag and drop right.
Im super proud of how there’s no save button, everything autosaves! and client dictates state, so its like super optimistic.

Darko Sabo

Added browsing recipes and ratings!

0
Darko Sabo

Added cool ingredient thing with scaling and metric and imperial conversion!
You can also see all recipes by an author.

Attachment
0
Darko Sabo

Added recipe previews, publishing, and groundwork for search!

Attachment
0
Darko Sabo

Ingredients can now be deleted, steps too. Steps were pretty easy, mostly just copy paste of ingredients

0
Darko Sabo

I fixed the dragging animations by just using framer motion for everything. Added tag functionality, added support for fractions and mixed fractions for imperial units (fractions are only allowed for those).

I had to fight with react dnd to get everything working semi smoothly and I’m happy how it turned out.
TODO: Deleting Ingredients, Everything to do with Steps, Preview, Publishing, Searching, Rating!

Seems doable.

0
Darko Sabo

Added drag and drop features, editing works good now, still a little buggy. kind of a headache!

0
Darko Sabo

Added dnd and qol stuff so its nice and easy to use!

Ingredients arent fully done but like almost and then they also need to be dragged and dropped, then its just like steps and other configs.

Then I gotta do recipe previews, publishing, searching, rating, and maybe banner upload for recipes?

0
Darko Sabo

My main goal with this project is to have a seamless user experience. To do this, Im creating temp_id and then populating it afterwards. so thats kinda neat.

0
Darko Sabo

I liked the dropdown component so much I made it seperated from the account button. Ill use it basically everywhere I can.

You can see the ratings loading for this recipe (there are none so it shows ?/5, and (0) ratings)!

0
Darko Sabo

Finally got hackclub auth and discord. Now it doesnt matter if you dont have an account image, it just makes one. so yeah

0
Darko Sabo

Selected colors, added basic design elements like navbar and button. Also set up database structure. Might be a little too ambitious but its ight.

Its good to be back in web stuff. Rust is much more stressful than this.

Attachment
Attachment
1

Comments

Darko Sabo
Darko Sabo about 1 month ago

if youre looking for colors, realtimecolors is my top recommendation!

Darko Sabo

Shipped this project!

Hours: 44.86
Cookies: 🍪 797
Multiplier: 17.78 cookies/hr

I built a from-scratch chess engine, because I wanted to know how they were build. The most challenging part was figuring out how to setup threading in rust for data generation. I’m proud of the result and there is definitely a huge improvement from v0 to v13. None of my friends were able to beat it.

Darko Sabo

Final small optimizations that didnt quite help that much, fixed README.
Neural network gained ~100 elo!

Attachment
2

Comments

Anass Zakar
Anass Zakar about 1 month ago

Did you train your own NNUE or used stockfish’s NNUE? if you trained your own did you self play or trained with some other engine eval?

Darko Sabo
Darko Sabo about 1 month ago

Hi, its not an NNUE but a regular neural network. NNUE uses a different architecture. I used pytorch and a dataset of 10 million games from lichess, labeled by stockfish to train my own.

Darko Sabo

Integrated NN into engine
Its kinda slow, went from 15 depth in 5 seconds to 10 depth. Ill look into making it faster

Attachment
0
Darko Sabo

For some reason wakatime tracked my neural netowrk training as work, initially I was doing it in a jupiter notebook in vscode, but then I just did a python file cuz like its kind of unfair yk

Anyways, I left the script running overnight and the training is done, I hope this works better than my evaluation function, if not ig ill just make the model bigger and train with more positions.

Attachment
1

Comments

Darko Sabo
Darko Sabo about 1 month ago

nvm I think its back to normal??

Darko Sabo

Lowkey forgot to do devlogs, but basically made the whole engine, started with aplha beta pruning, then added quiesence search, (in saved-brains I have v0 trough the most recent one v11)
the bot is around 1600 elo, which im quite happy with. theres very few things I still want to add. The last thing done today was tuning all the values I set manually for position evaluation.

This is done in a programm called cute-chess, my engine is just on the bottom left, communicating with it using UCI. Ill get it on lichess eventually so anyone can verse it.

Attachment
1

Comments

Anass Zakar
Anass Zakar about 1 month ago

omg cutechess, best chess gui OAT

Darko Sabo

Multiple performance optimizations were made.
Basic UCI interface with position loading, supports moves too.

Attachment
Attachment
0
Darko Sabo

Implemented all move logic, just need to do move-undo-ing for more efficient search when I start making the chess engine.
Board can correctly calculate number of positions with 1-6 moves (7 takes way too long)

Super exciting stuff!

Attachment
0
Darko Sabo

Basic implementation of bitboards for individual pieces and full board rendering (totally not ripping off stockfish for that).

Attachment
Attachment
Attachment
0