๐ŸŽ Give the #1 gift request of 2024... a ZTM membership gift card! ๐ŸŽ

Python Monthly Newsletter ๐Ÿ’ป๐Ÿ

Andrei Neagoie
Andrei Neagoie
hero image

Welcome to the 55th issue of Python Monthly!

If itโ€™s your first time here, welcome, I like you already. If you want the full back story on this monthly newsletter, head here.

The quick version: I curate and share the most important Python articles, news, resources, podcasts, and videos.

Think the Pareto Principle (80/20 rule) meeting the Python world. I give you the 20% that will get you 80% of the results.

If you're a long time reader, welcome back old friend.

Alright, let's not waste any valuable time and jump right into this month's updates.

Here's what you missed in June 2024 as a Python Developerโ€ฆ

Where is William!? Python Edition ๐Ÿง”๐Ÿผโ€โ™‚๏ธ

This may be the most fun way for you to learn about hashable objects in Python. But seriously, "WHERE'S WILLLIAAAM?".

PyCon US 2024 Recap ๐Ÿ

A bunch of Pythonistas, Pydudes and Pydudettes got together for the annual conference. What did they talk about? What did you miss out on?

Here is the recap of the big week long event to keep you up to date with the latest.

Python CLI Time ๐Ÿ–

Did you know that some Python modules can double-up as handy command-line tools? For example, you can run Python's webbrowser module from the command-line to open up a given URL in your default web browser:

$ python -m webbrowser https://pym.dev/p
Opening in existing browser session.

Learn more of Python's many command-line utilities you can use like the one above.

NVIDIA Loves Python โค๏ธโ€๐Ÿ”ฅ

NVIDIA (now the most valuable company in the world) loves GPUs and loves Python. So they released a new library: Warp.

It's a Python framework for writing high-performance simulation and graphics code. Warp takes regular Python functions and JIT compiles them to efficient kernel code that can run on the CPU or GPU.

Best Discussion of the Month ๐Ÿคณ

A great discussion around the topic: Why do message queue-based architectures seem less popular now?

It turns into revealing that "just because Big Tech/Google does it, doesn't mean all startup/projects should do it". I highly recommend reading some of the top comments.

An Alternative AI Universe ๐Ÿ‘ฝ

Here is an alternate perspective on AI and how useful it is to companies. As with all things in life, it's never black and white. This article, however you may receive it, is hilarious though...

News Around the World ๐Ÿ—บ

Big Tech News ๐Ÿข

Apple's AI Day was the big talk this month especially because of what it means for the industry moving forward and Apple's plans for generative AI: โ€˜Apple Intelligenceโ€™.

I personally think that as usual, Apple is right on the money on how to use the power of A.I.. My favourite part was their ideas around AI privacy for individuals.

You can read the full article on the Apple AI strategy here which is super fascinating, or read the summary below.

Benedict Evans (a VC) summarized the whole event nicely:

  1. A LLM (SLLM?) on the device, with variants tuned for different capabilities, will power a wide range of new features within existing Apple apps, and available to third party apps. Tasks that need more compute will be passed to a full-sized Apple foundation model running in an Apple cloud on custom Apple Silicon (sorry Nvidia) with a new and sophisticated security architecture meaning that Apple itself never sees the data. Apple provided benchmarks claiming that both models have comparable quality to competing on-device and large models from competitors (sorry OpenAI).
  2. Most of these features are about suggestion, image generation, autocorrect and complete etc - โ€˜rewrite this mail to be more friendlyโ€™. As Iโ€™ve said, I think GenAI is a tech that can enable new features much more than it is a product in itself. Meanwhile there are no open-ended prompts, and thereโ€™s an image generator but it doesnโ€™t do photorealism - Apple is trying to close off the obvious paths for abuse or misunderstanding.
  3. Apple is also very focused on personal context. LLMs mean that Siri will now actually (maybe) work - you can ask โ€˜how long will it take to get to the restaurant my mother mentioned the other day?โ€™ Thereโ€™s a (secure, private) index of your activity and content on the device, an expanded system of โ€˜intentsโ€™ (with an API) to track which apps can do what, and a brokerage system to work out which apps to combine for your request (you could call this an agent, if you like). Obviously, a cloud LLM like ChatGPT has none of this context today, Google Search and Meta have bits of it, and arguably only the device (iOS/Android/Windows) has this holistic view of your context: so far only Apple has really articulated this model.
  4. An OpenAI partnership: for tasks that Apple describes as needing a โ€˜worldโ€™ model - โ€˜suggest recipes for this photo of my groceriesโ€™ - your device will suggest sending the query to ChatGPT, for free, with no account needed and no data retained. This seems to have confused some people: to make it clear, none of the other features use ChatGPT at all.
  5. All of this needs a lot of local compute and RAM and so only the iPhone 15 Pro (last yearโ€™s model) and M1 and later Macs and iPads (the last few years) will get these features. You can argue whether this will drive a refresh cycle, but the underlying hardware justification is plausible.

Completely useless to your career but still great ๐Ÿ™ƒ

Best Resource of the Month ๐Ÿฅฝ

When Google gives their opinions on software best practices, usually the industry listens. This time they share their thoughts on how software engineers should use AI tools.

I think they are right on the money with this one. If you work in software, you need to read this one.

Trick of the Month ๐ŸŽฉ

wow reaction

The most useless but fun thing you have ever had on your desktop while working. You're welcome from making you procrastinate even more at your job.

Thanks for reading!

See you next month everyone... also share this with your friends... pretty please! โค๏ธ

By the way, I teach people how to code and get hired in the most efficient way possible as an Instructor at the Zero To Mastery Academy. You can see a few of our courses below or see all ZTM courses here.

More from Zero To Mastery

Learn Python for Free, Get Hired, and (maybe) Change the World! preview
Learn Python for Free, Get Hired, and (maybe) Change the World!

Looking to learn Python? Learn the exact process we recommend, in this step-by-step guide - all for free!

The No BS Way To Getting A Machine Learning Job preview
The No BS Way To Getting A Machine Learning Job

Looking to get hired in Machine Learning? Our ML expert tells you how. If you follow his 5 steps, we guarantee you'll land a Machine Learning job. No BS.

AI & Machine Learning Monthly Newsletter ๐Ÿ’ป๐Ÿค– preview
AI & Machine Learning Monthly Newsletter ๐Ÿ’ป๐Ÿค–

54th issue of Daniel Bourke's must-read monthly AI + ML Newsletter. Get up-to-date with the most interesting AI & ML news and updates from June 2024.