C++ Compile Libraries
In C++ we constantly deal with libraries that are compiled in our system like the standard libraries or other libraries such as OpenCV (for computer vision) Boost (for linear algebra, pseudorandom...
In C++ we constantly deal with libraries that are compiled in our system like the standard libraries or other libraries such as OpenCV (for computer vision) Boost (for linear algebra, pseudorandom...
Normally when dealing with C++ projects, developers structure their code in source files and headers. Here I want to show how to create a simple project without external dependencies. The entire ex...
As mentioned in other posts C++ is a rich programming language that has been out there for a while, it’s predecessor C was created in the 70s and C++ in 1979. Naturally many projects flourished usi...
This post is about C++ and the way we can compile a C++ program. I remember in the early days of my PhD in physics that I used to write all my code into one main.cpp and compile it into an executab...
I’m a big fan of Raspberry Pi’s (RP), so far I had three, the second, the third and the fourth generation. It all started as a side project to have fun: host services, setup an ssh server, install ...
uv is a more modern tool to build environments and manage python projects. It’s built in Rust and claims to be extremely fast in resolving dependencies (10x-100x speedup compared to pip). TLDR Ge...
Python Poetry is a tool for package dependency management and packaging. It has become very popular among developers. TLDR To create a virtual environment, first install poetry in your project p...
As they describe in pipenv documentation: Pipenv is a Python virtualenv management tool that supports a multitude of systems and nicely bridges the gaps between pip, python (using system python, py...
The easiest way to distribute your code is to packagify it, this is create a package that can be pip installed, in this post I am going to show how to do that. Project structure First you need to...
virtualenv is a convenient tool to install virtual environemnts. Part of it is already implemented in venv for python>=3.3. Install virtualenv virtualenv is a package of python so you can inst...
We have seen so far how to get different python versions in your system and briefly how to install packages using pip install. In real projects you want to take control over both, python version as...
In the previous posts we have seen how to install different python versions in the system but in a cumbersome way, either using brew to install another version in your system (and modify manually t...
Anaconda is a distribution of the Python and R programming languages for scientific computing, data science, machine learning, and large-scale data processing. It simplifies package management and ...
In the previous posts of this series we have used installers that are platform specific so we don’t need to go through the process of compiling Python. In this post we will explore how to build pyt...
HomeBrew is a popular Linux/MacOS package installer. We will use it to install python. MacOS TLDR Download and install homebrew and install python /bin/bash -c "$(curl -fsSL https://raw.githubus...
Python is a very popular scripting language, according to StackOverflow 2023 survey it is the third most commonly used language and the fourth in the ranking for professional developers. All in all...
Prime numbers are the building blocks of arithmetics. In this short post we will investigate some attributes of prime numbers and how to work with them in a computer. One of the main applications ...