mahdihaghverdi retweeted
the hypermedia enthusiast market is woefully underserved & growing quickly!
opportunity!
Hey @htmx_org - who knew? Turns out people really don't want to write Javascript and React.
(And really want to use html-style attributes with htmx) - my best performing article so far!
levelup.gitconnected.com/no-…
mahdihaghverdi retweeted
Why is PostgreSQL voted as the most loved database by developers?
The diagram shows the many use cases by PostgreSQL - one database that includes almost all the use cases developers need.
OLTP (Online Transaction Processing)
We can use PostgreSQL for CRUD (Create-Read-Update-Delete) operations.
OLAP (Online Analytical Processing)
We can use PostgreSQL for analytical processing. PostgreSQL is based on HTAP (Hybrid transactional/analytical processing) architecture, so it can handle both OLTP and OLAP well.
FDW (Foreign Data Wrapper)
A FDW is an extension available in PostgreSQL that allows us to access a table or schema in one database from another.
Streaming
PipelineDB is a PostgreSQL extension for high-performance time-series aggregation, designed to power real-time reporting and analytics applications.
Geospatial
PostGIS is a spatial database extender for PostgreSQL object-relational database. It adds support for geographic objects, allowing location queries to be run in SQL.
Time Series
Timescale extends PostgreSQL for time series and analytics. For example, developers can combine relentless streams of financial and tick data with other business data to build new apps and uncover unique insights.
Distributed Tables
CitusData scales Postgres by distributing data & queries.
--
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/42Ex9oZ
mahdihaghverdi retweeted
This will most likely be the most impactful thing I do in my life.
if you use a bank, use a car, care about climate change, look at images from NASA, or get tested for cancer; you've probably already used Pydantic.
mahdihaghverdi retweeted
My next open source stack:
API - @FastAPI * @modal_labs
Frontend - @nextjs
LLM - @langchain @OpenAI
Vector DB - @pinecone
Database - @SnowflakeDB
Hosting - @vercel
Website analytics - @umami_software
Rate limiting - @upstash
Auth - @nextauthjs
Css - @tailwindcss
mahdihaghverdi retweeted
Visualizing a SQL query
SQL statements are executed by the database system in several steps, including:
- Parsing the SQL statement and checking its validity
- Transforming the SQL into an internal representation, such as relational algebra
- Optimizing the internal representation and creating an execution plan that utilizes index information
- Executing the plan and returning the results
–
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/42Ex9oZ
mahdihaghverdi retweeted
تونی فادل تیمهایی را رهبری کرد که آیپاد، آیفون و ترموستات هوشمند Nest را ایجاد کردند و در 30+ سال در سیلیکون ولی در مورد رهبری، طراحی، استارتآپها، اپل، گوگل، تصمیمگیری، مربیگری، شکست ویرانگر و موفقیت باورنکردنی آموختند.
⬇️
mahdihaghverdi retweeted
Did you know that you can visualize YAML, JSON and Data of many other formats in comprehensive and easy to navigate graphs directly in your favourite 𝗜𝗗𝗘 or in an 𝗼𝗻𝗹𝗶𝗻𝗲 𝗲𝗱𝗶𝘁𝗼𝗿?
Check out PlantUML.
Here is how you can take advantage of the tool:
➡️ Install PlantUML extension in your favourite 𝗜𝗗𝗘 - it supports 𝗣𝘆𝗖𝗵𝗮𝗿𝗺, 𝗜𝗻𝘁𝗲𝗹𝗹𝗶𝗝, 𝗩𝗦𝗖𝗼𝗱𝗲 and many more.
➡️ Create a file with .𝗽𝘂𝗺𝗹 extension.
➡️ Add 𝗬𝗔𝗠𝗟/𝗝𝗦𝗢𝗡 content or one of many other supported formats enclosed in a specific decorators. e.g. @𝘀𝘁𝗮𝗿𝘁𝘆𝗮𝗺𝗹 <𝗰𝗼𝗻𝘁𝗲𝗻𝘁> @𝗲𝗻𝗱𝘆𝗮𝗺𝗹 for yaml.
➡️ See your diagram created and changed in real time as you type!
𝗧𝗵𝗲𝗿𝗲 𝗶𝘀 𝗺𝗼𝗿𝗲:
➡️ The graphs are interactive, each time you press on an object in the graph you get the source code representing the object highlighted and ready to be edited!
➡️ You can style the output graph using code!
➡️ You can save the graph as a picture in different formats making it easy to be used as part of documentation!
➡️ There is an online editor as well, link in the comment section.
𝗡𝗲𝘃𝗲𝗿 𝗴𝗲𝘁 𝗹𝗼𝘀𝘁 𝗶𝗻 𝘁𝗵𝗲 𝗬𝗮𝗺𝗹 𝗝𝘂𝗻𝗴𝗹𝗲 𝗮𝗴𝗮𝗶𝗻!
--------
Follow me to upskill in #MLOps, #MachineLearning, #DataEngineering, #DataScience and overall #Data space.
Also hit 🔔to stay notified about new content.
𝗗𝗼𝗻’𝘁 𝗳𝗼𝗿𝗴𝗲𝘁 𝘁𝗼 𝗹𝗶𝗸𝗲 💙, 𝘀𝗵𝗮𝗿𝗲 𝗮𝗻𝗱 𝗰𝗼𝗺𝗺𝗲𝗻𝘁!
Join a growing community of Data Professionals by subscribing to my 𝗡𝗲𝘄𝘀𝗹𝗲𝘁𝘁𝗲𝗿.
mahdihaghverdi retweeted
📚 Z-Library now has an official Twitter channel! Follow us for all the latest news, updates, and events happening at the library. 📖 Join in and stay informed!
#zlibrary #library #BookCommunity
mahdihaghverdi retweeted
Adding instrumentation to your Python @FastAPI projects is as easy as adding a single decorator with @AutometricsDev. Now you're tracking error rate, response time and production usage of your application. Autometrics for #python is open source and on GitHub: github.com/autometrics-dev/a…
mahdihaghverdi retweeted
Wanna come and help maintain FastAPI? 💪
@marcelotryle is showing you here exactly how. 🤓
By doing that, you can become an official FastAPI Expert (Marcelo is currently the top one). 😎
Wanna join him in the elite FastAPI ranking? 🚀
fastapi.tiangolo.com/fastapi…
I've recorded a video on how you can contribute to @FastAPI 😁
youtu.be/u3pIyv5u_PU
mahdihaghverdi retweeted
Finally, someone did it. Python for React.
React is the most popular front-end framework used to build interfaces and now all python devs can use it.
This means you can code an ML model, develop a backend and design a front end all in one language.
github.com/reactive-python/r…
mahdihaghverdi retweeted
Building a Startup: My mistakes as CTO
egor-romanov.medium.com/buil…
mahdihaghverdi retweeted
In a new tutorial, @qtalen continues to explore the power of Python's asyncio queue and explains how to make the most of it through some real-world examples. buff.ly/43JU3vp
mahdihaghverdi retweeted
Top 5 Most-Used Deployment Strategies
In this video, we will talk about:
- Big Bang Deployment
- Rolling Deployment
- Blue-Green Deployment
- Canary Deployment
- Feature Toggle
Watch and subscribe here: youtu.be/AWVTKBUnoIg
mahdihaghverdi retweeted
Great repository with packed #devops content! 🥳
#gitops #terraform #kubernetes github.com/Pradumnasaraf/Dev…
mahdihaghverdi retweeted
DevOps vs. SRE vs. Platform Engineering. What is the difference?
DevOps as a concept was introduced in 2009 by Patrick Debois and Andrew Shafer at the Agile conference. They sought to bridge the gap between software development and operations by promoting a collaborative culture and shared responsibility for the entire software development lifecycle.
SRE, or Site Reliability Engineering, was pioneered by Google in the early 2000s to address operational challenges in managing large-scale, complex systems. Google developed SRE practices and tools, such as the Borg cluster management system and the Monarch monitoring system, to improve the reliability and efficiency of their services.
Platform Engineering is a more recent concept, building on the foundation of SRE engineering. The precise origins of Platform Engineering are less clear, but it is generally understood to be an extension of the DevOps and SRE practices, with a focus on delivering a comprehensive platform for product development that supports the entire business perspective.
It's worth noting that while these concepts emerged at different times. They are all related to the broader trend of improving collaboration, automation, and efficiency in software development and operations.
--
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): bit.ly/42Ex9oZ
mahdihaghverdi retweeted
TIL: #Python 3.12 will allow any Python syntax (including nested quotes, backslashes, or newlines/comments) inside {…} in an f-string:
docs.python.org/3.12/whatsne…
PEP 701 – Syntactic formalization of f-strings peps.python.org/pep-0701/
I updated fstring.help/ accordingly!
mahdihaghverdi retweeted
🏷️Deal of the Day🛒
Get your #APIdesign Swagger!
@LukasRosenstock and @jponelat will teach you skills essential for design-first API development: mng.bz/6gG5
#swaggerAPI #webdev
mahdihaghverdi retweeted
TLDR is a newsletter for people who work in tech, programming, and science.
No politics or sports. Just the most captivating headlines in tech that we can all geek out on.
We summarize the most interesting stories, so you can stay up to date in less than 5 minutes a day.
mahdihaghverdi retweeted
Good news: rye 0.2.0 is out now. Still an experiment, still with plenty of bugs, but it works now with private indexes which means you can now use it with pytorch :) — also comes with improved docs. rye-up.com/changelog/#020
































