I’m teaching a new course: Generative AI for Everyone, which is coming soon!
Learn how Generative AI works, how to use it in professional or personal settings, and how it will affect jobs, businesses and society. This course is accessible to everyone, and assumes no prior coding or AI experience. Please join the waitlist to be among the first to know when it goes live!
https://t.co/8JwOYFs0LJ
My recommended materials for cracking your next technical interview:
Coding
- Leetcode
- Cracking the coding interview book
- Neetcode
System Design Interview
- System Design Interview book 1, 2 by Alex Xu
- Grokking the system design by Design Guru
- Design Data-intensive Application book
Behavioral interview
- Tech Interview Handbook (Github repo)
- A Life Engineered (YT)
- STAR method (general method)
OOD Interview
- Interviewready
- OOD by educative
- Head First Design Patterns Book
Mock interviews
- Interviewingio
- Pramp
- Meetapro
Apply for Jobs
- Linkedin
- Monster
- Indeed
Over to you: What is your favorite interview prep material?
–
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): https://t.co/uc5M7Cdq84
𝗥𝗮𝗯𝗯𝗶𝘁𝗠𝗤 vs 𝗞𝗮𝗳𝗸𝗮 vs 𝗔𝗰𝘁𝗶𝘃𝗲𝗠𝗤
Let's briefly look at how each of these stands out:
1️⃣ 𝗥𝗮𝗯𝗯𝗶𝘁𝗠𝗤
• 𝗟𝗮𝗻𝗴𝘂𝗮𝗴𝗲: Built on Erlang
• 𝗣𝗿𝗼𝘁𝗼𝗰𝗼𝗹𝘀: Supports a multitude of protocols, including AMQP, MQTT, and STOMP.
• 𝗘𝗮𝘀𝗲 𝗼𝗳 𝗨𝘀𝗲: Known for being developer-friendly.
• 𝗨𝘀𝗲-𝗰𝗮𝘀𝗲: Excellent for complex routing to multiple consumers.
2️⃣ 𝗞𝗮𝗳𝗸𝗮
• 𝗟𝗮𝗻𝗴𝘂𝗮𝗴𝗲: Built on Scala and Java
• 𝗣𝗿𝗼𝘁𝗼𝗰𝗼𝗹𝘀: Proprietary Kafka Protocol over TCP
• 𝗦𝗰𝗮𝗹𝗮𝗯𝗶𝗹𝗶𝘁𝘆: Highly scalable with the ability to handle huge volumes of data.
• 𝗨𝘀𝗲-𝗰𝗮𝘀𝗲: Perfect for real-time analytics and monitoring, data lakes, aggregating data from different sources.
3️⃣ 𝗔𝗰𝘁𝗶𝘃𝗲𝗠𝗤
• 𝗟𝗮𝗻𝗴𝘂𝗮𝗴𝗲: Built on Java
• 𝗣𝗿𝗼𝘁𝗼𝗰𝗼𝗹𝘀: Supports various protocols like AMQP, STOMP, MQTT, and more.
• 𝗙𝗹𝗲𝘅𝗶𝗯𝗶𝗹𝗶𝘁𝘆: Provides a lot of features and can be used in multiple configurations.
• 𝗨𝘀𝗲-𝗰𝗮𝘀𝗲: Often used in enterprise systems and excels in scenarios that require complex routing and transformations.
Credit: Brij kishore Pandey
Follow along Khouloud El Alami's beginner-friendly guide to learn how to identify top features and understand how they affect prediction outcomes of machine learning models with SHAP. https://t.co/9el1m6Ov7y
What is an 𝗔/𝗕 𝘁𝗲𝘀𝘁 and why do you need to master it as an 𝗠𝗟 𝗲𝗻𝗴𝗶𝗻𝗲𝗲𝗿?
An A/B test is a testing strategy that helps you decide if an ML model is good enough to be used in production.
But, wait a second.
Isn't a low test error (e.g. low mean absolute error) enough to decide if the model is good or not?
Well, nope.
But why?
Because of 2 reasons
𝗥𝗲𝗮𝘀𝗼𝗻 𝟭
An ML system is way more than just the model artifact you generated with your training script.
Test metrics (like test mean absolute error) only verify your model artifact is okay. The rest of the system remains untested.
𝗥𝗲𝗮𝘀𝗼𝗻 𝟮
An end-2-end ML app has to move business metrics. Otherwise, it produces no value for the business.
Checking your standard metrics is often not enough to guarantee that your overall business impact is positive.
So the question is: Is there a way to evaluate the business impact of the entire ML system?
Yes. Here is where the A/B test comes in.
𝗔/𝗕 𝘁𝗲𝘀𝘁
An A/B test is a standard strategy to test software releases, which helps you answer the question: is the new version of my app better than the previous one?
How does it work? Here is an example
Imagine you work at Spotify, and you have developed a new (and maybe better) ML system to recommend songs to users (aka a recommender system).
Your ML system will be better only if it increases click-through-rates (CTR), that is, users like its recommendations more than the old system, so they click and listen to the song.
To run an A/B test you first randomly split the user base into 2 groups:
- Group A (aka control group) will receive recommendations from the old system.
- Group B (aka test group) will receive recommendations from the new system you developed.
You set an experiment duration (e.g. 2 weeks) that is long enough, so the overall CTRs you observe for groups A and B are as reliable as possible, so you can compare them and extract statistically valid conclusions.
The more samples you have, the more reliable it is, but the longer you need to wait.
To find the right experiment duration you can use a calculator like this -> https://t.co/Tz5cqcOK7X
At the end of the day, if your test group shows significantly better CTR than the control group, you can deploy the new version of the model to the entire user base.
This is how you deploy ML models safely.
Top 4 Forms of Authentication Mechanisms
1. SSH Keys:
Cryptographic keys are used to access remote systems and servers securely
2. OAuth Tokens:
Tokens that provide limited access to user data on third-party applications
3. SSL Certificates:
Digital certificates ensure secure and encrypted communication between servers and clients
4. Credentials:
User authentication information is used to verify and grant access to various systems and services
Over to you: How do you manage those security keys? Is it a good idea to put them in a GitHub repository?
–
Subscribe to our weekly newsletter to get a Free System Design PDF (158 pages): https://t.co/4QcX8btXGL
Spreadsheets are powerful tools for working with and analyzing data.
And you can add in ChatGPT to help you become even more efficient.
In this tutorial, @KhadkaNibesh shows you how to integrate ChatGPT with Google Sheets using Google Apps Script.
https://t.co/GxfM7OX1kK