Category: Programming

  • Install Python 3.7 on CentOS with all dependencies

    In this post, I will go through installing Python 3.7 and all its dependencies on CentOS. Unlike Ubuntu, Python is not readily accessible using ‘yum’ package manager on CentOS. Therefore, we first need to install a few packages before installing Python. Now that we installed all the dependencies, we need to download the latest Python […]

  • How to install Lapack on Mac OS?

    This is a question I get asked a lot. Lapack is actually included in Accelerate library provided by Apple. You can include it in the header file of your C++ source code. Refer to this post for more information on how to use Lapack included in Accelerate. If you like to use the latest version […]

  • Write a solver for systems of equations by using Lapack on Mac OS

    Apple provides the Accelerate library which includes the linear algebra library (Lapack). In this post, we will go through writing a simple C++ program to use this library on Mac OS. Let’s solve the following equations: We can rewrite the equations as: Now, let’s write our code: Now, run the code by using the following […]

  • MS SQL on MacOS: Connect to your database using Python

    In this article series, I’ll review the tools and options to connect to an MS SQL server on macOS. Table of contents: Use Oracle SQL manager to access your database Connect to your database using Python Microsoft has released a beta version of its ODBC driver for macOS. Here is a quick and easy guide […]

  • MS SQL on macOS: Use Oracle SQL manager to access your database

    In this article series, I’ll review the tools and options to connect to an MS SQL server on macOS. Table of contents: Use Oracle SQL manager to access your database Connect to your database using Python In order to connect to Azure SQL Database from MacOS (OS X) for free, you need two things: 1- […]