Muhammad Fawi

Calling C Posix Threads from Python Through Cython

Call C Parallel Function from Python C language is fast. Let alone parallelism in C. It is a great speed boost especially for heavy operations. Here we will see how…

Read more

Interprocess Communication and Parallelism in C

Building a Weather Application Using IPC and Parallelism Building a weather application using interprocess communication (IPC) like named pipes and shared memory. In addition to parallelism through posix threads to…

Read more

Task Scheduler in C using Struct Pie

Using Struct Pie C Shared Libraries to Develop a Priority Queue Scheduler Suppose you have a list of scripts or tasks that you want your computer to do in a…

Read more

Import C Code in Python (Part 2)

Importing C libraries and functions in Python using ctypes library and Cython C is known by its speed, so sometimes when the performance and the speed are an issue, developers…

Read more

Import C Code in Python (Part 1)

Importing C libraries and functions in Python using ctypes library and Cython C is known by its speed, so sometimes when the performance and the speed are an issue, developers…

Read more

From Relational to Graph Database (Neo4j)

From PostgreSQL to Neo4j Database We're going to explore how we can convert relational tabular data to graph data. We will look at two different databases from two different types.…

Read more

Data Processing (in Parallel) at Command Line

Importing & Cleaning Data (in Parallel) with Command Line Importing data from APIs sometimes isn't easy especially when we want to import so much data, as we'll have to make…

Read more

Simulated Annealing with C

Solving Optimization Problems with C We will look at how to develop Simulated Annealing algorithm in C to find the best solution for an optimization problem. The problem we are…

Read more

Pytholog as a Logical Database

DVD Rental Database in pytholog logic programming in python using pytholog library which is similar to prolog syntax and backtracking to answer queries. We will use DVD Rental database to feed a…

Read more

Recommendation Engine with Neo4j

Collaborative Filtering Recommendation Engine with Neo4j & Python Introduction In a previous blog, we created a graph database in Neo4j using the DVDRENTAL database which you can download from here.…

Read more