Tech with Mak (@technmak) 's Twitter Profile
Tech with Mak

@technmak

Senior Technology Specialist | AI, coding, software, and whatever’s on my mind.

ID: 1818381581897412608

calendar_today30-07-2024 20:22:27

1,1K Tweet

5,5K Takipçi

403 Takip Edilen

Tech with Mak (@technmak) 's Twitter Profile Photo

If you’ve got 5 minutes, I’ll help you pick the right Python Web Framework Quick Decision Tree ▹ REST API? → FastAPI ▹ Full web app? → Django ▹ Learning/Prototyping? → Flask ▹ Max performance? → Falcon ▹ Real-time? → Sanic/FastAPI Framework Comparison Django ✓

If you’ve got 5 minutes, I’ll help you pick the right Python Web Framework

Quick Decision Tree
▹ REST API? → FastAPI
▹ Full web app? → Django
▹ Learning/Prototyping? → Flask
▹ Max performance? → Falcon
▹ Real-time? → Sanic/FastAPI

Framework Comparison

Django
✓
Tech with Mak (@technmak) 's Twitter Profile Photo

✔ Follow the AAA pattern with precision # Arrange: Set up dependencies and inputs clearly. # Act: Test a single behavior at a time. # Assert: Use focused, targeted assertions that verify specific outcomes. ✔ Test micro-behaviors, not features # Break features into atomic

✔ Follow the AAA pattern with precision
# Arrange: Set up dependencies and inputs clearly.
# Act: Test a single behavior at a time.
# Assert: Use focused, targeted assertions that verify specific outcomes.

✔ Test micro-behaviors, not features
# Break features into atomic
Tech with Mak (@technmak) 's Twitter Profile Photo

Sometimes solving a bug requires walking away and letting the universe whisper the answer while you wash the dishes your wife told you to. 😆

Sometimes solving a bug requires walking away and letting the universe whisper the answer while you wash the dishes your wife told you to.  😆
Tech with Mak (@technmak) 's Twitter Profile Photo

What is MQTT? MQTT (originally "Message Queuing Telemetry Transport") => a lightweight, publish-subscribe messaging protocol. => designed for fast, efficient, and reliable communication between devices, especially in environments with limited bandwidth and high latency =>

What is MQTT?

MQTT (originally "Message Queuing Telemetry Transport") 

=> a lightweight, publish-subscribe messaging protocol.

=> designed for fast, efficient, and reliable communication between devices, especially in environments with limited bandwidth and high latency

=>
Tech with Mak (@technmak) 's Twitter Profile Photo

Scalable, reliable, forgetful => that’s the beauty of stateless services. When the state is pushed out of the app: - Deployments get boring (in a good way) - Failures isolate cleanly - Scaling stops being heroic But statelessness isn’t just about removing things, it’s about

Scalable, reliable, forgetful => that’s the beauty of stateless services.

When the state is pushed out of the app:
- Deployments get boring (in a good way)
- Failures isolate cleanly
- Scaling stops being heroic

But statelessness isn’t just about removing things, it’s about
Tech with Mak (@technmak) 's Twitter Profile Photo

When I started coding, I used to think the best devs were the ones who had all the answers. The ones who could name every method, shortcut, tool, from memory. I’d watch tutorials, read docs, and still feel like I was miles behind. But then I worked with this one dev on a

When I started coding, I used to think the best devs were the ones who had all the answers.

The ones who could name every method, shortcut, tool, from memory.

I’d watch tutorials, read docs, and still feel like I was miles behind.

But then I worked with this one dev on a
Tech with Mak (@technmak) 's Twitter Profile Photo

I'll explain the 𝐆𝐈𝐓 𝐖𝐨𝐫𝐤𝐟𝐥𝐨𝐰 to you and introduce you to an amazing tool. I will keep it very simple and straightforward. [1.] 𝐈𝐧𝐢𝐭𝐢𝐚𝐥 𝐒𝐭𝐚𝐭𝐞 ◾ You have a remote repository on a server (File 𝐀 exists). ◾ Your local machine has no project files yet.

I'll explain the 𝐆𝐈𝐓 𝐖𝐨𝐫𝐤𝐟𝐥𝐨𝐰 to you and introduce you to an amazing tool.

I will keep it very simple and straightforward.

[1.] 𝐈𝐧𝐢𝐭𝐢𝐚𝐥 𝐒𝐭𝐚𝐭𝐞
◾ You have a remote repository on a server (File 𝐀 exists).
◾ Your local machine has no project files yet.
Tech Fusionist (@techyoutbe) 's Twitter Profile Photo

🔥Major update: Email platforms as we know are outdated! Why pay $300+ for Constant Contact or Mailchimp when BillionMail gives you everything for free (as Open Source)? Unlimited emails, total control, no monthly fees. Let’s see how to set it up in 5 minutes:

🔥Major update: Email platforms as we know are outdated!

Why pay $300+ for Constant Contact or Mailchimp when BillionMail gives you everything for free (as Open Source)?

Unlimited emails, total control, no monthly fees.

Let’s see how to set it up in 5 minutes:
Tech with Mak (@technmak) 's Twitter Profile Photo

The unofficial rules of Tech Interviews If you solve the problem too quickly, they think you cheated. If you struggle for too long, they think you’re incompetent. The optimal solution? Pretend to struggle, then “figure it out” dramatically. 😎

Tech with Mak (@technmak) 's Twitter Profile Photo

If you like engineering, you should read this before touching distributed systems. (Hard truths of Distributed Systems) 1./ No matter how perfect your code or infrastructure, parts of your system will fail. Machines die, networks glitch, clocks drift, and bugs survive staging.

If you like engineering, you should read this before touching distributed systems. (Hard truths of Distributed Systems)

1./ No matter how perfect your code or infrastructure, parts of your system will fail. Machines die, networks glitch, clocks drift, and bugs survive staging.
Tech with Mak (@technmak) 's Twitter Profile Photo

# B+ trees are balanced multi-level index structures widely used in databases for efficient data storage and retrieval. # All actual data is stored in the leaf nodes, while internal nodes contain only keys for navigation. # All leaves are at the same level and are linked,

# B+ trees are balanced multi-level index structures widely used in databases for efficient data storage and retrieval.

# All actual data is stored in the leaf nodes, while internal nodes contain only keys for navigation.

# All leaves are at the same level and are linked,
Tech with Mak (@technmak) 's Twitter Profile Photo

Let's understand the evolution of the HTTP protocol. HTTP -> Hypertext Transfer Protocol -> The Backbone of the Web 😊 📌 Let's understand it, with an analogy - Imagine a conversation between you and a friend across a vast distance. ◾ You ask a question, your friend