Welcome to Learning at Lambert Labs session #12. This week, Rafiq Hilali, takes us asyncio, part of the Python standard library, and how you can use it to achieve concurrency with asynchronous coroutines.
In Today’s Learning Session:
Different types of concurrency (threading, multiprocessing, asynchronous coroutines).
What are asynchronous coroutines?
When should you use asyncio?
Demo using app that uses IP address to find local weather
aiohttp client framework for asynchronous requests.
Welcome to Learning at Lambert Labs session #11. This week, our founder George Lambert, takes us through the runtime typing checking with MonkeyType (made by Instagram) and how you can use it to make your code more readable.
MonkeyType
In Today’s Learning Session:
History of dynamic and static typing in Python
Argument names, docstrings and the typing modules
Problem: old legacy code is hard to type
Solution: use MonkeyType to generate typing stubs or even annotate your code.
Example usage and demo
Q&A from our developers – how does MonkeyType deal with more generic or abstract types?
Welcome to Learning at Lambert Labs session #10. This week, Tom Schafer shows us how to train machine learning models on language and actually produce code snippets using trained neural networks.
In Today’s Learning Session:
Quick breakdown of neural networks, deep learning and transformers
What are language models?
Demonstration of language model using Keras library
Training and testing the model using Django docs
OpenAI GPT3 trained model introduction from OpenAPI
Welcome to Learning at Lambert Labs session #8. This week, Aaron Elijah gives an introduction to using the Cython project to overcome bottlenecks in Python applications.
In Today’s Learning Session:
CPython PyObjects.
Machine code vs. Bytecode.
Python garbage collection and CPU caching.
Introduction to Cython programming language.
Advantages of Cython vs. Python
Demo with Flask and Mandelbrot sets.
Profiling Cython and adding static types.
Learn more about how we optimise real-world applications on our Python page.
Welcome to Learning at Lambert Labs session #7. This week, Ramin Tawab gives an introduction to the first steps of making a decentralised app using the Ethereum blockchain.
In Today’s Learning Session:
Client-Server model.
Decentralised model.
What is a Blockchain?
How all regular Web API requests and messages are eventually handled by the backend server.
Ethereum blockchain (gas and transactions per blocks).
Overview of local development tools including Ganache , Metamask and Truffle
Welcome to Learning at Lambert Labs session #6. This week, Tom Kobialka, takes us through how the popular business communication platform, Slack, suffered a disastrous outage on 4th Jan 2021 and what could have been done to prevent it.
In Today’s Learning Session:
The origins of the Slack outage on 4th Jan 2021 and the ensuing twitter storm.
Deep dive into how Slack’s app architecture works.
Websocket connection of clients to a message server.
How all regular Web API requests and messages are eventually handled by the backend server.
Welcome to another Learning at Lambert Labs session. Each week we release videos, presented by our developers, giving quick lectures on a chosen topic in technology.
This week’s presenter is Guy King and his presentation takes us through a simple demo of how to use a Docker container as your Python virtual environment in your project.
In Today’s Learning Session:
What’s wrong with existing Python virtual environment setups?
Our engagement aims to be conversational and developers are encouraged to ask questions to expand on the ideas that they heard. Each presenter has the freedom to choose whatever topic they wish, as long as it is within a genre of technology or computer science. We are a Python development agency at heart, but that doesn’t stop us showing off our strong computer literacy and broad technical knowledge!
Welcome to another Learning at Lambert Labs session. Every week, we release videos, presented by our developers, giving quick lectures on a chosen topic in technology.
This week’s presenter is Amelia Crowther and her presentation takes us through programming a GPU using OpenCL and how you can use it to improve performance for mathematical operations.
In Today’s Learning Session:
Overview of GPUs.
General purpose programming on GPUs.
OpenCL vs. vendor-specific frameworks.
How OpenCL allows you to interface and program GPUs.
Our engagement aims to be conversational and developers are encouraged to ask questions to expand on the ideas that they heard. Each presenter has the freedom to choose whatever topic they wish, as long as it is within a genre of technology or computer science. We are a Python development agency at heart, but that doesn’t stop us showing off our strong computer literacy and broad technical knowledge!