Author: Liran B.H

Linux 4.10 ARM System Calls Table

As a result of continues changes in linux kernel, new system calls are added all the time. In version 4.9, to support a new system call we need to change a source assembly file (arch/arm/kernel/calls.S) and to add the source file with SYSCALL_DEFINEx macro and the function declaration From version 4.10 it is done by […]

Read more

Linux Shared Libraries

While writing applications in linux , the developer can use tons of libraries. Each library can packs functions, classes and variables and it is very  important to understand how to create and work with it. Lets start with simple example: Implicit link int add(int a,int b) { return a+b; } int sub(int a,int b) { […]

Read more

Angular 2+ Components

One great thing with Angular is the ability to build a component for reuse There are a lot of components and libraries you can find in npm You can find some interesting libraries in this blog post

Read more

Using mprotect system call to debug memory problems

One of the decisions you need to take when you write a multi tasking application is whether to use processes (using fork system call) or threads (using posix library) The main benefit of using multiple threads is the memory that is shared between them but this feature can also make problems while one thread for […]

Read more

C Pitfalls – Test yourself (what will be printed)

C is a great programming language , very fast , almost low level but its because the responsibility to write a good working code (and secure) is the developer. Array access , type casts, function parameters and more are not checked by the runtime so if you do something wrong – you crash It is […]

Read more

Angular and Django – Adding NumPy, Pandas, Matplotlib and Seaborn

In the first post I covered the process of building a simple site with Angular 4 on the client and Django on the server and how to deploy it to heroku. One great benefit to use python is the huge amount of packages it has Python is great choice for data analysis , it has […]

Read more

Pandas for SQL Users

Pandas is a great python library for data handling. It declares 2 main classes: Series – for one dimensional array DataFrame – for 2 dimensional tables (and with multi-indexing can display more dimensions) Typical flow of using Pandas will be – load the data, manipulate and store again. This is very similar to SQL use […]

Read more

Building a Simple Website with Angular 4 and Django (and deploy it to heroku)

There are many alternatives to build a site , you need to select a client framework , a server platform, a database server and many other building blocks to help you link everything , develop, debug and deploy One great option for server side development is python. With its huge number of packages and tools […]

Read more

Practical GIT and GitHub

GIT has many advantages over earlier systems such as CVS and Subversion (SVN), it is More efficient, and better workflow.
Many git tutorials and guides cover a lot of details make it hard to use as a practical guide. You can find a lot of cheat sheets for git but again, if you are a beginner […]

Read more

The C preprocessor

The C preprocessor is the first step of the code translation process. It performs some editing tasks before the compiler starts . With Standard C has come a number of useful and powerful techniques that make the preprocessor a genuinely useful tool to the C programmer. The preprocessor is a powerful but must be used carefully (pitfalls) […]

Read more