Author: Liran B.H

Building a Web App with Angular, Django and Django REST

18 months ago i posted the following post about integrating Angular and Django. Meanwhile, we have new releases and some updates. Angular 7 is one of the best javascript frameworks. With typescript as a regular programming language , its separation of data and views,  CSS and HTML, its finally feels like real programming on client […]

Read more

Introduction To Network Filters – Linux

One of the great advantages of Linux is its networking features. Many networking products such as routers, switches  are based on Embedded Linux operating system. Linux is open source so you can see and change the code (under the licensing limitations) and fit it to your needs. Network filtering is a great infrastructure in Linux […]

Read more

Linear Regression With Numpy

One of the simplest models of machine learning is linear regression When there is a linear relationship between the features and the target variable, all we need to find is the equation of the straight line in the multidimensional space For example, we have  real estate sales data: apartment size, floor, area code, distance from […]

Read more

Python – Working With Virtual Environments

When you work with python for web development, data analysis or other solution , you need to install packages from pip and sometimes we have conflicts: Web framework X needs one package  version 1.2 and Web framework Y needs the same package but version 1.4.  One Great solution for that problem is virtual environment – […]

Read more

Python – Text Processing Introduction

One field in Machine Learning is Natural Language Processing (NLP). It can be useful for example while building an automatic system to manipulate CVs. The user upload a CV document , we are looking for keywords and classify it based on the result As part of feature engineering, we create a new input features based […]

Read more

Linux Kernel Development – Creating a Proc file and Interfacing With User Space

On The first post we built a Simple Kernel Module with init and exit functions and covered the basic concepts in kernel programming Next, We added a Kernel Module Parameters to configure the kernel module data In this post, We will create the first interface to user space application using procfs (/proc) file Proc File […]

Read more

Python Closure and Function Decorators

Python is a great programming language , you can write procedural, functional and object oriented code and develop almost anything. While writing code and using some infrastructures, you sometimes need to extend code without touching the original. The object oriented solution for that is inheritance but what if you are writing a procedural code? the […]

Read more

Linux Kernel Development – Kernel Module Parameters

In the previous post , I covered the basics of kernel development with a simple example of loadable kernel module that has only init and exit functions. In this post we will add a parameters to the module. Using the parameters, you can access the module global variables while loading the module and on runtime […]

Read more

Porting Python 2 Code to Python 3

Python 3 was released in Dec 2008 – almost 10 years and we still found a lot of python 2.7 developers. Python 3 is Not backward compatible with Python 2. Most language features are the same,  some detail has changed and many deprecated features have been tided up and removed The main reason today to work with […]

Read more

Linux Kernel Development and Writing a Simple Kernel Module

This post is the first post in linux kernel series. Writing code to run in the kernel is different from user application. While developing in the kernel, you don’t write code from scratch, you need to implement one or more interfaces and register your implementation within the a kernel subsystem. Kernel Interfaces The kernel is […]

Read more