INTRODUCTION This post attempts to explain the difference between multi-threading and multi-processing in simple terms, and uses visualization to clarify the distinction. MULTI-THREADING PROGRAMMING Multithreading programming is a powerful technique that allows a program to perform multiple tasks concurrently. By dividing a program into multiple threads, the program can utilize the processing power of multiple [...]
INTRODUCTION This blog post aims to compare sequential and asynchronous programming in Python and demonstrate how to convert a sequential program to an asynchronous one. SEQUENTIAL PROGRAMMING Sequential programming is a traditional programming paradigm where the program instructions are executed sequentially, one after the other. This means that each instruction is executed in order, and [...]
THE INITIAL THOUGHTS The idea behind this device is to provide a portable tool that allows you to stop the radios of a Mist Access Point. To make it more relatable, let's consider a scenario: Imagine a school with Wi-Fi access for students. However, teachers are unhappy to see students scrolling through their phones during [...]
INTRODUCTION Raspberry Pi Pico is a microcontroller board designed by the Raspberry Pi Foundation. It features the RP2040 microcontroller chip, which contains two ARM Cortex-M0+ cores clocked at 133 MHz, 264KB of RAM, and 2MB of onboard Flash memory for code storage. The Pico also includes 26 GPIO pins, which can be used for a [...]
MicroPython is a software implementation of the Python 3 programming language that is optimized to run on microcontrollers and other resource-constrained devices. It is a great tool for developers who want to write Python code to control hardware devices and build Internet of Things (IoT) applications. BENEFITS OF MICROPYTHON The eye-catching of MicroPython is that [...]
Regular expressions (regex) are a powerful tool for matching patterns in text. They can be used in Python to search, replace, and manipulate strings. In this blog post, we will explore the basics of regular expressions in Python, and provide some examples of how to use them. USING REGULAR EXPRESSIONS IN PYTHON In Python, the [...]
Git is a widely used version control system that allows developers to work together on a project efficiently. It is an essential tool for any developer, and the command line is one of the most powerful ways to use Git. In this blog post, we will discuss how to start a new Git project using [...]
0
1
https://semfionetworks.com/blog/tag/programming/