What's up in the python and tech environment? - Issue #118
Welcome to issue #118 of What’s up in the Python and tech environment?
This newsletter is mainly intended for developers and those passionate about computers.
This week we will discuss pipx & PEP 723, Django, Large Language Models, StackOverflow & OpenAI collaboration, Scuba in-memory database, and much more! 🤓
From the Python world
A nice blog post explaining Large Language Models in simple terms.
How LLMs Work, Explained Without Math
A nice article on Django streaming HTTP responses.
Django Streaming HTTP Responses
A seasoned Django developer explains how he optimized the Django system check framework.
Django: Write-up on optimizing the system check framework
In this article, you will learn how you can fine-tune the Gemini Pro Large Language Model with your data.
Fine Tune Gemini 1.0 Pro using Python
For those who use SQLAlchemy for their database operations, you may want to use Alembic for your data migrations. If you don’t know it, here is a gentle introduction to this library.
Handling Database Migrations with Alembic
Although the title mentions Django, the list of ASGI servers defined in this article can be used for all compatible ASGI web frameworks like FastAPI.
ASGI deployment options for Django
A nice explanation of the IPython / Jupyter terminology.
Jupyter & IPython terminology explained
A blog post strangely teaching Numpy. 😅 But the content is excellent!
A nice tutorial about pipx. I highly recommend looking at it if you don’t know this handy tool.
Install and Execute Python Applications Using pipx
In this article, you will discover how you can use pipx to leverage PEP 723 for inline scripts.
Inline run dependencies in pipx 1.4.2
Here is a bunch of projects to quickly create/visualize a data application.
Top-5 Python Frontend Libraries for Data Science: Part 2
From the Web
StackOverflow and OpenAI announced a partnership to train OpenAI Large Language Models with StackOverflow data.
Stack Overflow and OpenAI Partner to Strengthen the World’s Most Popular Large Language Models
For data scientists or AI enthusiasts, here is a technical article on the concept of mixture-of-experts used in some Large Language Models.
How do mixture-of-experts layers affect transformer models?
Here is a nice introduction to Scuba, an in-memory database used at Meta (Facebook).
Scuba: Diving into the extraordinary system Facebook uses to analyse millions of events per second
Here the author advocates writing your utility scripts in the same language as your project. What do you think?
Scripts should be written using the project main language
In this article, you will learn how to install Large Language Models on your computer.
How to Run Open-Source LLM Models Locally
Here is a small PostgreSQL tip.
PostgreSQL parameter statement_timeout
Here the author argues against deploying databases in a Kubernetes cluster, what do you think?
Database in Kubernetes: Is that a good idea?
Some feedback from people using HTMX, a lightweight alternative to SPA frameworks, in production.
What it’s like to run HTMX in Production - Stories from Experienced Software Engineers
A great blog post where the author advises programmers to ask for help when they are stuck for a relatively long time. What do you think?
Asking for help is a core developer skill
Bonus
To start the week well I am sharing with you the following picture.
This is all for this week. I hope you enjoy it and if that is the case, don’t hesitate to share it on your social media.
Take care of yourself and see you soon! 🙂