We hacked Gemini's Python sandbox and leaked its source code (at least some)
https://www.landh.tech/blog/20250327-we-hacked-gemini-source-code/
  https://www.landh.tech/blog/20250327-we-hacked-gemini-source-code/
I Let Python Pick My March Madness Bracket - Bracket Simulation Tutorial
This tutorial guides viewers through creating a Python program that simulates the March Madness tournament, using team seeds to generate realistic probabilities and predict potential upsets. The program utilizes Python's dataclasses and the random module to build a tournament function that determines the champion.
https://www.youtube.com/watch?v=4TFQD0ok5Ao
  
  This tutorial guides viewers through creating a Python program that simulates the March Madness tournament, using team seeds to generate realistic probabilities and predict potential upsets. The program utilizes Python's dataclasses and the random module to build a tournament function that determines the champion.
https://www.youtube.com/watch?v=4TFQD0ok5Ao
YouTube
  
  I Let Python Pick My March Madness Bracket - Bracket Simulation Tutorial
  In this video, we'll be creating a March Madness bracket simulator using Python. We'll build a program that simulates tournament games with realistic probabilities based on team seeds, allowing for both expected outcomes and potential upsets. The tutorial…
  coredumpy
coredumpy saves your crash site for post-mortem debugging
https://github.com/gaogaotiantian/coredumpy
  
  coredumpy saves your crash site for post-mortem debugging
https://github.com/gaogaotiantian/coredumpy
GitHub
  
  GitHub - gaogaotiantian/coredumpy: coredumpy saves your crash site for post-mortem debugging
  coredumpy saves your crash site for post-mortem debugging - gaogaotiantian/coredumpy
  If-if-if or If-elif-elif when each condition is computationally expensive?
https://www.reddit.com/r/learnpython/comments/1jeapm0/ififif_or_ifelifelif_when_each_condition_is/
  
  https://www.reddit.com/r/learnpython/comments/1jeapm0/ififif_or_ifelifelif_when_each_condition_is/
Reddit
  
  From the learnpython community on Reddit
  Explore this post and more from the learnpython community
  How we started our async python migration
Have you ever wanted to try an Async Python migration, but were unsure where to start? Read this post to find out!
https://blog.duolingo.com/async-python-migration/
  
  Have you ever wanted to try an Async Python migration, but were unsure where to start? Read this post to find out!
https://blog.duolingo.com/async-python-migration/
Duolingo Blog
  
  How we started our async python migration
  Have you ever wanted to try an Async Python migration, but were unsure where to start? Read this post to find out!
  nova-act
Amazon Nova Act is a research preview of a new AI model for developers to build agents that take actions in web browsers.
https://github.com/aws/nova-act
  
  Amazon Nova Act is a research preview of a new AI model for developers to build agents that take actions in web browsers.
https://github.com/aws/nova-act
GitHub
  
  GitHub - aws/nova-act: Amazon Nova Act is a research preview of a new AI model for developers to build agents that take actions…
  Amazon Nova Act is a research preview of a new AI model for developers to build agents that take actions in web browsers - aws/nova-act
  Deploy Django 5.2 from Scratch. Complete Guide
This video provides a tutorial on deploying a Django project to Railway using modern deployment practices and covers setting up Python environments, Git, and configuring Django for production. It demonstrates how to use Railway's platform services to host and deploy Django applications with proper configurations, using Nixpacks or custom Dockerfiles.
https://www.youtube.com/watch?v=A4Pn2lEdoLQ
  
  This video provides a tutorial on deploying a Django project to Railway using modern deployment practices and covers setting up Python environments, Git, and configuring Django for production. It demonstrates how to use Railway's platform services to host and deploy Django applications with proper configurations, using Nixpacks or custom Dockerfiles.
https://www.youtube.com/watch?v=A4Pn2lEdoLQ
YouTube
  
  Deploy Django 5.2 to Railway. From Scratch. Complete Guide.
  In this course we take a Django project from development to production using modern deployment practices.
To make this happen, we use Railway's platform services to host and deploy our Django applications with proper configuration. Railway will build, host…
  To make this happen, we use Railway's platform services to host and deploy our Django applications with proper configuration. Railway will build, host…
PyTorch and Python Free-Threading
This post examines multi-threaded parallel inference on PyTorch models using the new No-GIL, free-threaded version of Python. Using a simple 124M parameter GPT2 model that we train from scratch, we explore the novel new territory unlocked by free-threaded Python: parallel PyTorch model inference, where multiple threads, unimpeded by the Python GIL, attempt to generate text from a transfo...
https://trent.me/articles/pytorch-and-python-free-threading/
  
  This post examines multi-threaded parallel inference on PyTorch models using the new No-GIL, free-threaded version of Python. Using a simple 124M parameter GPT2 model that we train from scratch, we explore the novel new territory unlocked by free-threaded Python: parallel PyTorch model inference, where multiple threads, unimpeded by the Python GIL, attempt to generate text from a transfo...
https://trent.me/articles/pytorch-and-python-free-threading/
Trent Nelson
  
  PyTorch and Python Free-Threading – Trent Nelson
  This post examines multi-threaded parallel inference on PyTorch models using the new No-GIL, free-threaded version of Python. Using a simple 124M parameter GPT2 model that we train from scratch, we explore the novel new territory unlocked by free-threaded…
  AI Runner
AI Runner is a local-first tool that allows you to run open-source large language models (LLM) and AI image generators (Stable Diffusion) on your own hardware, without the need for a web server or cloud service.
https://github.com/capsize-games/airunner
  
  AI Runner is a local-first tool that allows you to run open-source large language models (LLM) and AI image generators (Stable Diffusion) on your own hardware, without the need for a web server or cloud service.
https://github.com/capsize-games/airunner
GitHub
  
  GitHub - Capsize-Games/airunner: Offline inference engine for art, real-time voice conversations, LLM powered chatbots and automated…
  Offline inference engine for art, real-time voice conversations, LLM powered chatbots and automated workflows - Capsize-Games/airunner
  FastMCP
The fast, Pythonic way to build Model Context Protocol servers.
https://github.com/jlowin/fastmcp
  
  The fast, Pythonic way to build Model Context Protocol servers.
https://github.com/jlowin/fastmcp
GitHub
  
  GitHub - jlowin/fastmcp: 🚀 The fast, Pythonic way to build MCP servers and clients
  🚀 The fast, Pythonic way to build MCP servers and clients - jlowin/fastmcp
  agent-file
An open file format for serializing stateful agents with persistent memory and behavior. Share, checkpoint, and version control agents across compatible frameworks.
https://github.com/letta-ai/agent-file
  
  An open file format for serializing stateful agents with persistent memory and behavior. Share, checkpoint, and version control agents across compatible frameworks.
https://github.com/letta-ai/agent-file
GitHub
  
  GitHub - letta-ai/agent-file: Agent File (.af): An open file format for serializing stateful AI agents with persistent memory and…
  Agent File (.af): An open file format for serializing stateful AI agents with persistent memory and behavior. Share, checkpoint, and version control agents across compatible frameworks. - letta-ai/...
  microsoft / RD-Agent
Research and development (R&D) is crucial for the enhancement of industrial productivity, especially in the AI era, where the core aspects of R&D are mainly focused on data and models. We are committed to automating these high-value generic R&D processes through our open source R&D automation tool RD-Agent, which lets AI drive data-driven AI.
https://github.com/microsoft/RD-Agent
  
  Research and development (R&D) is crucial for the enhancement of industrial productivity, especially in the AI era, where the core aspects of R&D are mainly focused on data and models. We are committed to automating these high-value generic R&D processes through our open source R&D automation tool RD-Agent, which lets AI drive data-driven AI.
https://github.com/microsoft/RD-Agent
GitHub
  
  GitHub - microsoft/RD-Agent: Research and development (R&D) is crucial for the enhancement of industrial productivity, especially…
  Research and development (R&D) is crucial for the enhancement of industrial productivity, especially in the AI era, where the core aspects of R&D are mainly focused on data and mode...
  Programming a Robotic Hand to Crawl
This video demonstrates using a robotic hand to perform gestures like rock, paper, and scissors, programmed with the help of language models, highlighting the model's ability to understand and execute these gestures even if they aren't explicitly defined in the hand's code. The creator explores how language models can abstract and translate general knowledge into specific robotic actions...
https://www.youtube.com/watch?v=57cPmzwCqd4
  
  This video demonstrates using a robotic hand to perform gestures like rock, paper, and scissors, programmed with the help of language models, highlighting the model's ability to understand and execute these gestures even if they aren't explicitly defined in the hand's code. The creator explores how language models can abstract and translate general knowledge into specific robotic actions...
https://www.youtube.com/watch?v=57cPmzwCqd4
YouTube
  
  Vibe Coding a Robotic Hand to Crawl (Inspire RH56DFQ)
  Continuing with our work with the Inspire RH56DFQ robotic hands, this time trying some more gestures and then seeing if we can get a language model to program the hand to crawl. 
Previous video: https://www.youtube.com/watch?v=MeHWIXLV3Zo
The github package…
  Previous video: https://www.youtube.com/watch?v=MeHWIXLV3Zo
The github package…
Training and Finetuning Reranker Models with Sentence Transformers v4
This post explains how to train and fine-tune reranker models using Sentence Transformers v4, detailing components like datasets, loss functions, and evaluators. It demonstrates that fine tuning models on specific domains outperforms general-purpose models, providing practical examples for improving relevance in information retrieval.
https://huggingface.co/blog/train-reranker
  
  This post explains how to train and fine-tune reranker models using Sentence Transformers v4, detailing components like datasets, loss functions, and evaluators. It demonstrates that fine tuning models on specific domains outperforms general-purpose models, providing practical examples for improving relevance in information retrieval.
https://huggingface.co/blog/train-reranker
huggingface.co
  
  Training and Finetuning Reranker Models with Sentence Transformers v4
  We’re on a journey to advance and democratize artificial intelligence through open source and open science.
  I Really HATE Brittle Python Functions
This video explains principles for writing less brittle Python code by avoiding type constraints, using value constraints inside functions, and carefully considering optional values. It also advocates for raising errors instead of returning None when a function expects to find an object by ID but cannot.
https://www.youtube.com/watch?v=g-Cytq7YDCc
  
  This video explains principles for writing less brittle Python code by avoiding type constraints, using value constraints inside functions, and carefully considering optional values. It also advocates for raising errors instead of returning None when a function expects to find an object by ID but cannot.
https://www.youtube.com/watch?v=g-Cytq7YDCc
YouTube
  
  How To Design Robust Python Functions
  ➡️ Try Lokalise today: https://bit.ly/arjancodes.
In this video, I’m going to show you the main principles I use to write code that’s less likely to fail, with of course plenty of Python examples. Watch to find out how to avoid writing brittle functions…
  In this video, I’m going to show you the main principles I use to write code that’s less likely to fail, with of course plenty of Python examples. Watch to find out how to avoid writing brittle functions…