lila
Django
lila | Django | |
---|---|---|
796 | 488 | |
14,746 | 77,543 | |
1.1% | 1.0% | |
10.0 | 9.8 | |
about 8 hours ago | about 18 hours ago | |
Scala | Python | |
GNU Affero General Public License v3.0 | BSD 3-clause "New" or "Revised" License |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
lila
-
Creating a chess.com/lichess clone using Go and Vue
A simplified version of chess.com or lichess.org, that works like this:
-
How to make a Lichess bot in Python
Once you’re finished, we’re going to set up a lichess bot account. Head over to https://lichess.org/ and create a new account.
-
Lessons from Open-Source Game Projects
Lichess - Online Chess Server. Scala, TypeScript
-
Avoid blundering: 80% of a winning strategy
> the player who committed more blunders lost 86% of the time
In some sense this is almost tautological. While finding an exact definition for a chess blunder isn't straightforward, here is one example from the Lichess UI:
https://github.com/lichess-org/lila/blob/b527746b179cdde6438...
Basically, if you make a move which decreases your winning probability more than 14% over the best move, that's a blunder. But winning probability is a nonlinear function of stockfish centipawns. A drop in 100 centipawns when you're up 15 points isn't a blunder. When the game was equal, it is.
Point is, by the time you know it's a blunder you already know something about the outcome of that move, that it swung the winning probability by more than 14%. So the analysis is kind of just measuring some function of winning probability and saying that it is highly correlated with winning probability.
- How I hacked chess.com with a rookie exploit
-
So bad at chess that it’s genuinely upsetting at this point, I need some hope
If you want to improve make it your goal to play the best chess you can, not increase an arbitrary number. Watch YouTube series like John Bartholomew's "Climb the Rating Ladder" for some general insight into what you might be doing wrong. Read Irving Chernev's "Logical Chess: Move By Move" to see the thinking process of high level players. Do lots of puzzles (I like lichess.org for puzzles). And always analyze your games. When you analyze make it your goal to find at least two things you could have improved.
-
Humans vs. Stockfish’s eval function
The easiest way to play against Stockfish is perhaps on https://lichess.org/, but it's not the only chess engine that evaluates positions with a neural network.
-
Venruki’s take on the current issues with PvP
Lichess.com
- Death wants to take you, but you can challenge it to a game (virtual or not) to stay. what do you play?
- Ask HN: What fuel for my data furnace?
Django
-
How To Build a Simple GitHub Action To Deploy a Django Application to the Cloud
Django is a Python web application framework that’s been around since the early 2000s. It follows a model-view-controller (MVC) architecture and is known as the “batteries-included” web framework for Python. That’s because it has lots of capabilities, including a strong object-relational mapping (ORM) for abstracting database operations and models. It also has a rich templating system with many object-oriented design features.
-
Awesome List
Django - A high-level Python web framework.
-
Using Google Cloud Firestore with Django's ORM
Django has long been the most popular Python framework for developing web applications. One of its most powerful features is its built in object-relational mapper (ORM) which is designed to flexibly and safely interact with SQL databases in an abstract way.
-
Do not Reinvent the Wheel: Utilize Django’s Built-in Auth App to Create a Robust Authentication System
If you peruse Django’s official docs or the source code available on Github, you should locate the auth app documentation. The auth app ships with Django, and is installed in your project when you run the django-admin start project command. Let us observe this in real-time by creating a Django project.
-
AutoCodeRover resolves 22% of real-world GitHub in SWE-bench lite
>As an example, AutoCodeRover successfully fixed issue #32347 of Django.
This bug was fixed three years ago in a one-line change.[0] Presumably the fix was already in the training data.
[0] https://github.com/django/django/pull/13933
-
An Introduction to Testing with Django for Python
You should not test Django's own code — it's already been tested. For example, you don't need to write a test that checks if an object is retrieved with get_object_or_404 — Django's testing suite already has that covered.
-
Django Hello, World
Django is a high-level Python web framework that prioritizes rapid development with clear, reusable code. Its batteries-included approach supplies most of what you need for complex database-driven websites without turning to external libraries and dealing with security and maintenance risks. In this tutorial, we will build a traditional "Hello, World" application while introducing you to the core concepts behind Django.
-
Where can I create a website for free (no domain needed, basic server hosting, not something like Wix)
If you want to get into Python web development then Django can be a good place to start. https://www.djangoproject.com/
-
I like this docstring from django source code
If found this:
-
No changes detected with MAKEMIGRATION command after moving to new DataBase
Django's auth and session migration files are included with Django at https://github.com/django/django/tree/b287af5dc954628d4b336aefc5027b2edceee64b/django/contrib/auth/migrations and https://github.com/django/django/tree/b287af5dc954628d4b336aefc5027b2edceee64b/django/contrib/sessions/migrations
What are some alternatives?
listudy - Listudy - chess training server
Nest - A progressive Node.js framework for building efficient, scalable, and enterprise-grade server-side applications with TypeScript/JavaScript 🚀
Anki-Chess-2.0 - An interactive chess template for anki.
fastapi - FastAPI framework, high performance, easy to learn, fast to code, ready for production
Mindustry - The automation tower defense RTS
Flask - The Python micro framework for building web applications.
katrain - Improve your Baduk skills by training with KataGo!
Masonite - The Modern And Developer Centric Python Web Framework. Be sure to read the documentation and join the Discord channel for questions: https://discord.gg/TwKeFahmPZ
monkeytype - The most customizable typing website with a minimalistic design and a ton of features. Test yourself in various modes, track your progress and improve your speed.
AIOHTTP - Asynchronous HTTP client/server framework for asyncio and Python
logseq - A local-first, non-linear, outliner notebook for organizing and sharing your personal knowledge base. Use it to organize your todo list, to write your journals, or to record your unique life.
Nuxt.js - Nuxt is an intuitive and extendable way to create type-safe, performant and production-grade full-stack web apps and websites with Vue 3. [Moved to: https://github.com/nuxt/nuxt]