atlas news
    
NSKM
20  janvier     00h00
C Pointers (WIP)
   In my last post, I’ve written about lots of things but not about C pointers. I tought the topic deserves a post in itself because it’s one of the most important feature of the C language. Let’s start with some music please. ToC Introduction Declaration amp; initialization Operators Use cases ...
25  septembre     00h00
C
   I spent some time adding type annotations to some Python code. Shoutout to all the people at Logilab, a really awesome team doing really awesome things. All those type annotations made me more and more interested in static typing... and in C programming. Target audience: people who already have an...
06  février     00h00
Decorators
   I was watching a really interesting video about buildings architecture in New York, when one of my DIT student asked me to explain to him what was happening in this piece of code. A function I have written few months ago to check for valid authentication tokens. In this post, I will try to show how...
16  octobre     00h00
Test driven interview
   Introduction: Test Driven Development TDD is a method of implementing software that rely on software requirements being converted to test cases before software is fully developed. Red, Green and Refactor is the phases of TDD. When followed, this order of steps helps ensure that you have tests for...
24  juillet     00h00
Linear regression
   For the Dakar Institute of Technology, I give Python introductory classes. During one of my sessions I was asked about simple linear regression with Python. Let the music play TOC: Introduction First solution Reading the data set Plotting the data set Splitting the data set Least squares...
    00h00
Scafold
   It’s been a very long time since I’ve written my first post about the way I use make. Now that I’m reading it again, I realize I don’t even use Makefiles anymore. Since few years now, I use Tox, too much Python development I guess. I started again learning C programming, I had to write a simple...
    00h00
Yasnippet
   The following is a Yasnippet I’ve created to quickly insert getzola front matters. mode: snippet name: Zola header key: zheader title quot; quot; date : format time string quot; Y m d quot; updated : format time string quot; Y m d quot; slug ...
04  juillet     00h00
Wall of Fame
   Here it is, the Wall of Fame. ...
20  mai     00h00
Writing
   I often receive resumes from people looking for a job and asking me for help. To all of them I always ask: quot;Do you have a website quot;, quot;Do you write quot;. And most of the time, the answer is negative. Writing skills are important because they allow the reader to get their first...
29  avril     16h15
Function pointers
   In Python, we say, functions are first class citizen. This means, functions can be used like any other objects. They can be stored inside variables, they can be passed as argument to a function, they can be returned from a function. The following is a very basic example: square lambda x: x x...
08  novembre     03h40
My journey to type checking 7521 lines of Python
   I’ve spent the last couple of months adding type hints to the RQL package. In the first part, I talked you the reasons I think Mypy may be useful. In this part, I’ll talk about the process I’ve followed for adding type annotations to RQL. Recap of the first part: Type hints are mainly useful for...
22  août     03h40
To type or not to type? That is the question
   I’ve spent the last couple of months adding type hints to the RQL package. In this first part, I’ll try to tell you when I think Mypy may be useful. In a second part, I’ll talk about the how, the process I’ve followed for adding type annotations to RQL. In a last part, I’ll talk about what I’ve...
25  mai     03h40
Elephant in the room (part 1)
   I’m living in a Continent where it sounds like nobody really cares about software freedom, data privacy, surveillance. I guess, people here are simply too busy trying to stay alive, not enough time to think about FOSS. Or maybe they’re simply confused, maybe they simply don’t know. The topic is...
10  juillet     01h09
Django single file project. Again
   This article is a follow up on the one I’ve written few years ago. Special shoutout and thanks and hugs and kudos to Javier Buzzi for taking the time to improve the original script. TL;DR: download old version amp; download new version VERY IMPORTANT DISCLAIMER The content associated with mlvin...
04  avril     00h00
Free and Open Source Software
   I x ;m often asked why do I prefer to use free software in places Dakar, Libreville, Kinshasa, ... , where basically every human being is using closed source and proprietary software Here are some of the reasons. Not being able to pay for a license Learning informatics was equivalent to...
08  mars     04h30
Threads
   I’ve written something about processes Let’s write some notes about threads. This is not really an introduction to threads. It’s more like a little bit of introspection, so we can have an interesting perspective of what are threads. What’s really a thread Processes each have their own address...
12  janvier     17h17
Django single file project
   Disclaimer The main purpose of this post is learning. Like any tool we should explore and find ways to bend it until it breaks. You should normally not use those techniques in real life projects right For this post, I’m assuming you’re using Django . . , and Python . . Single file Before...
25  novembre     00h00
Make
   if you have some complex and esoteric shell commands that you have to run on a regular basis, it can be convenient to just package them up somewhere, so you don’t have to remember them or type them out every time. Why, I don’t use Makefiles more often Even though I know I should. One of the...
22  août     03h40
How to create processes
   We’ve seen processes, We’ve said lots of things about processes, but we did not talk about process creation. Let’s see how to create a process in C, in Golang, and in Rustlang Disclaimer: I’m not doing a comparison to find out which one is better than the other. I just want to explore how the same...
09  août     03h40
Processes
   As a Debian user, I often want to see the active processes, sometimes, I want to kill them. I know how to launch a new process, inside my Python scripts. But what is a process A process is the execution context of a running program. When an executable program is read into memory by the kernel and...
08  juillet     00h00
Network namespaces
   I use LXC containers mainly as isolated environments when I’m writing code, but also when I just want to try the last version of a package without being obliged to break something on my current configuration. This is the first part of a serie about LXC containers. In this post, I’ll share with you...
24  juillet     00h00
Introduction
   Hello, I’m Patrick, born and raised in central Africa, currently based in West Africa, Dakar Senegal. I am an experienced software engineer, passionate about free software. I have a strong background in developing backend solutions. With almost years of hands on experience in the field, I have...