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/
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/
www.circumeo.io
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.
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
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
YouTube
Run Llama 3 locally using Ollama and LlamaEdge
Note - As an AI model running locally it does not have direct access to the internet, although you can use python or any other language to access data and then pass on the information to the model. But in the demo it mimics the URL that I provided and tries…
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
Command-line interface. Use this to chat with the model or train the model (training consumes the taxonomy data)
https://github.com/instructlab/instructlab
GitHub
GitHub - instructlab/instructlab: InstructLab Core package. Use this to chat with a model and execute the InstructLab workflow…
InstructLab Core package. Use this to chat with a model and execute the InstructLab workflow to train a model using custom taxonomy data. - instructlab/instructlab
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/
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/
adamj.eu
Django: Pinpoint upstream changes with Git - Adam Johnson
Django’s release notes are extensive and describe nearly all changes. Still, when upgrading between Django versions, you may encounter behaviour changes that are hard to relate to any particular release note.
Everything Google's Python team were responsible for
https://simonwillison.net/2024/Apr/27/everything-googles-python-team-were-responsible-for/
https://simonwillison.net/2024/Apr/27/everything-googles-python-team-were-responsible-for/
Simon Willison’s Weblog
Everything Google’s Python team were responsible for
In a questionable strategic move, Google laid off the majority of their internal Python team [a few days ago](https://social.coop/@Yhg1s/112332127058328855). Someone on Hacker News asked what the team had been responsible …
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
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
Photondesigner
Build a Connect Four game with HTMX and Django in 8 minutes 🟡🔴
Use HTMX with Django for fast and neat web apps. Keep state changes server-side.
anthropic-cookbook
A collection of notebooks/recipes showcasing some fun and effective ways of using Claude.
https://github.com/anthropics/anthropic-cookbook
A collection of notebooks/recipes showcasing some fun and effective ways of using Claude.
https://github.com/anthropics/anthropic-cookbook
GitHub
GitHub - anthropics/anthropic-cookbook: A collection of notebooks/recipes showcasing some fun and effective ways of using Claude.
A collection of notebooks/recipes showcasing some fun and effective ways of using Claude. - anthropics/anthropic-cookbook
Python Big O: Time complexities of different data structures in Python
https://www.pythonmorsels.com/time-complexities/
https://www.pythonmorsels.com/time-complexities/
Pythonmorsels
Python Big O: the time complexities of different data structures in Python
The time complexity of common operations on Python's many data structures.
Pydantic 2.7 released: the fastest version yet
It finally integrates jiter, a high speed JSON parser
https://github.com/pydantic/pydantic/releases/tag/v2.7.0
It finally integrates jiter, a high speed JSON parser
https://github.com/pydantic/pydantic/releases/tag/v2.7.0
GitHub
Release v2.7.0 (2024-04-11) · pydantic/pydantic
The code released in v2.7.0 is practically identical to that of v2.7.0b1.
What's Changed
Packaging
Reorganize pyproject.toml sections by @Viicos in #8899
Bump pydantic-core to v2.18.1 by @sydn...
What's Changed
Packaging
Reorganize pyproject.toml sections by @Viicos in #8899
Bump pydantic-core to v2.18.1 by @sydn...
I accidentally built a meme search engine
Or: how to learn about clip/siglip and vector encoding images.
https://harper.blog/2024/04/12/i-accidentally-built-a-meme-search-engine
Or: how to learn about clip/siglip and vector encoding images.
https://harper.blog/2024/04/12/i-accidentally-built-a-meme-search-engine
Harper Reed's Blog
I accidentally built a meme search engine
I built a magical meme search engine using siglip/CLIP and vector encoding images. It was a fun way to learn about this powerful technology. I'm sharing the code so you can build your own and discover forgotten gems in your photo library. Let's unleash the…
Learn to use Websockets with Django by building your own ChatGPT
Everything you need to know about websockets to use them in your applications, with Django, channels, and HTMX.
https://www.saaspegasus.com/guides/django-websockets-chatgpt-channels-htmx/
Everything you need to know about websockets to use them in your applications, with Django, channels, and HTMX.
https://www.saaspegasus.com/guides/django-websockets-chatgpt-channels-htmx/
SaaS Pegasus
Learn to use Websockets with Django by building your own ChatGPT
Everything you need to know about websockets to use them in your applications, with Django, channels, and HTMX.