Loading...

Developers Area

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

C and Assembly

No one wants to write assembly code!!!. It is complex, hard to code, hard to debug and not portable. Sometimes we have no choice for example if performance is super critical or if we want to use some specific SIMD instructions etc. So why we need to learn and write assembly code? Optimization – in […]

Read more