Tag: CPU

Go when pointers hide the benefits of CPU caching

We often use the (*Struct) syntax for receivers, as in this example, even though in this case, we don’t need a pointer since we aren’t planning to modify the User structure. So why do we do it? Because we’ve been taught that working with pointers is much faster ...

Multiprocessing for NodeJS Web Servers: Dealing with CPU-bound tasks

This article is heavily based on Hussein Nasser’s video on a similar topic. Check it out if you haven’t. Prerequisites: I don’t fancy putting big ‘pre-requisite’ blocks in my text — I find they can do more harm than good, sometimes — but I wo...

A Reluctant Leader: How I Embraced the Role I Never Wanted

Becoming a manager: Should I pursue it? How to become an effective people leader? Why would I trade coding for a life largely of meetings and navigating human dynamics? These are common questions regularly posed by software engineering leaders, including myself, as well as those contemplating their ...

Let’s take a Byte into Computers

Have you ever wondered what is happening inside the computers when they run? I have. I imagined tiny little ants working hard, pressing buttons, and running the machine in the background of computers. But that’s far from the truth. After reading, researching, and watching more information, her...

Running Llama 2 on CPU Inference Locally for Document Q&A

Third-party commercial large language model (LLM) providers like OpenAI’s GPT4 have democratized LLM use via simple API calls. However, teams may still require self-managed or private deployment for model inference within enterprise perimeters due to various reasons around data privacy and com...

Boosting PyTorch Inference on CPU: From Post-Training Quantization to Multithreading

Welcome to another edition of “The Kaggle Blueprints”, where we will analyze Kaggle competitions’ winning solutions for lessons we can apply to our own data science projects. This edition will review the techniques and approaches from the “BirdCLEF 2023&rdqu...

Through the Ages: Apple CPU Architecture

The King of CPU Architecture Migrations I’m no evangelist, but it doesn’t take a fanboy to acknowledge that Apple is an impressive company. They invented the most successful product in the history of capitalism, and subsequently became the first business to hit a $1T market ca...

Switching from Docker Desktop to Podman on macOS M1/M2 ARM64 CPU

Background In a previous post, I discussed how to replace Docker Desktop with Minikube and Hyperkit on older AMD64 architecture machines running macOS. However, with the introduction of the new M1/M2 machines that use ARM64 architecture CPUs, Hyperkit is not compatible wi...

What is the WMI Provider Host and why is it eating my CPU?

The WMI Provider Host, also known as WmiPrvSE.exe, is a Windows system process that provides information about the performance and status of software and hardware components on a computer. It is a part of the Windows Management Instrumentation (WMI) infrastructure, which is used by many system manag...