Adarsh Divakaran

@adarshd
2 Followers
37 Following
11 Posts

“I have no chance against my phone.” – Magnus Carlsen, 5-time world chess champion, on the power of today’s chess engines.

Thanks to open-source tools like `python-chess` and Stockfish, anyone can build their own chess analysis program.

I'll be walking through how to do this live at @pycon poster session this weekend.

If you're around, drop by on May 18th, 10am-1pm. Let’s write some code, analyze some blunders, and build something fun together. ♟️

My first tutorial for Real Python @realpython got published 🎉

"Python Thread Safety: Using a Lock and Other Techniques": https://realpython.com/python-thread-lock/

Unexpected things can happen when we try to introduce multithreading to existing Python code. Read the tutorial to spot such race conditions in multithreaded code and learn to fix them using Python's synchronization primitives.

Read now at: https://realpython.com/python-thread-lock/

#Python #Realpython #ThreadSafety #Tutorial

Python Thread Safety: Using a Lock and Other Techniques – Real Python

In this tutorial, you'll learn about the issues that can occur when your code is run in a multithreaded environment. Then you'll explore the various synchronization primitives available in Python's threading module, such as locks, which help you make your code safe.

It's the season of #Python 🐍 #Conferences!

Had a great time at #Piterpy 2024 in Saint Petersburg. I spoke on "Tackling Thread Safety in Python," which happened to be the only English talk at the offline part of the Piterpy conference.

A huge thanks to the entire JUG.RU team, who made sure everything went smoothly for me. They took extra care since I don’t speak Russian and went above and beyond to ensure I had a seamless experience.