Build a Connect Four game with HTMX and Django in 8 minutes
By the end, you'll have built a multiplayer game using HTMX, using neat server-side logic and storing all results in your database. HTMX is a great way to use javascript without writing javascript.
https://www.photondesigner.com/articles/connect4-htmx
Portr
Open source ngrok alternative designed for teams
https://github.com/amalshaji/portr
InstructLab
Command-line interface. Use this to chat with the model or train the model (training consumes the taxonomy data)
https://github.com/instructlab/instructlab
Run Llama 3 locally using Ollama and LlamaEdge
Meta has unveiled Llama3, and now you can run it locally using Ollama. In this video, I explain how to use Ollama to operate various language models, specifically focusing on Llama2 and Llama3. I'll also guide you through the WebUI for the project, demonstrating how to serve models with Ollama and interact with them using Python.
https://www.youtube.com/watch?v=wPuoMaD_SnY
Llama 3: Get building with LLMs in 5 minutes
Get started building transformative AI-powered features within 5 minutes using Llama 3, Ollama, and Python.
https://www.denoise.digital/llama-3-get-started-with-llms/
fudan-generative-vision / champ
Champ: Controllable and Consistent Human Image Animation with 3D Parametric Guidance
https://github.com/fudan-generative-vision/champ
Hashquery
A Python framework for defining and querying BI models in your data warehouse.
https://github.com/hashboard-hq/hashquery
Develop an Asyncio Echo Client and Server
You can develop an echo client and server using asyncio connections and streams. An echo server ...
https://superfastpython.com/asyncio-echo-client-server/
Testing with Python (part 1): the basics
SummaryThis intro is about dumb test writing, as it's the necessary foundation to learn what comes ...
https://www.bitecode.dev/p/testing-with-python-part-1-the-basics
OpenInterpreter / 01
The open-source language model computer
https://github.com/OpenInterpreter/01
Cosine Similarity and Text Embeddings In Python with OpenAI
The article discusses how to use cosine similarity to compare text embeddings, which are vector representations of text that capture semantic meaning, in order to determine the similarity between different text inputs. It provides example code for calculating cosine similarity between text embeddings generated using the OpenAI API.
https://earthly.dev/blog/cosine_similarity_text_embeddings/
SQLAlchemy: The BEST SQL Database Library in Python
Ever heard of SQLAlchemy and thought it sounded like a medieval potion? Well, it's not! SQLAlchemy combines the robustness of SQL with Python's flexibility, making database management not just easier, but kinda fun too! In this video, I’ll take a closer look at this awesome tool.
https://www.youtube.com/watch?v=aAy-B6KPld8
Everything Google's Python team were responsible for
https://simonwillison.net/2024/Apr/27/everything-googles-python-team-were-responsible-for/
Django: Pinpoint upstream changes with Git
In this post, we’ll cover Django’s branching structure, determining and searching through those commits, a worked example, and advanced behavioural searching with git bisect.
https://adamj.eu/tech/2024/04/24/django-pinpoint-upstream-git/
Building a Voice Notes App with Django and OpenAI
We'll build a voice notes app that uses OpenAI to perform speech to text. As a bonus, we'll use AlpineJS to manage state on the frontend.
https://circumeo.io/blog/entry/building-a-voice-notes-app-with-django-and-openai/
Build your Jupyter dashboard using Solara
https://solara.dev/documentation/getting_started/tutorials/jupyter-dashboard-part1
PyTorch 2.3
PyTorch 2.3 offers support for user-defined Triton kernels in torch.compile, allowing for users to migrate their own Triton kernels from eager without experiencing performance regressions or graph breaks. Tensor Parallelism improves the experience for training Large Language Models using native PyTorch functions, which has been validated on training runs for 100B parameter models. As wel...
https://pytorch.org/blog/pytorch2-3/
llama3
This release includes model weights and starting code for pre-trained and instruction tuned Llama 3 language models — including sizes of 8B to 70B parameters.
https://github.com/meta-llama/llama3
Leibniz formula for π in Python, JavaScript, and Ruby
Different ways to calculate the value of π using the Leibniz ...
https://www.peterbe.com/plog/leibniz-formula-for-pi
An unbiased evaluation of Python environment and packaging tools (2023)
https://alpopkes.com/posts/python/packaging_tools/
Running Python on a serverless GPU instance for machine learning inference
I was experimenting with some speech-to-text work using OpenAI’s Whisper models
...
https://saeedesmaili.com/posts/running-python-on-a-serverless-gpu-instance/
Py2wasm – A Python to WASM Compiler
https://wasmer.io/posts/py2wasm-a-python-to-wasm-compiler
FreeAskInternet
FreeAskInternet is a completely free, private and locally running search aggregator & answer generate using LLM, without GPU needed. The user can ask a question and the system will make a multi engine search and combine the search result to the ChatGPT3.5 LLM and generate the answer based on search results.
https://github.com/nashsu/FreeAskInternet
9 Advanced Python Type Hints That Will Improve Your Code Significantly
https://medium.com/techtofreedom/9-advanced-python-type-hints-that-will-improve-your-code-significantly-ae09ab3b3493
AutoCodeRover
A project structure aware autonomous software engineer aiming for autonomous program improvement.
https://github.com/nus-apr/auto-code-rover