Month: November 2017

Simple Image Processing with Python

Python is not a programming language for writing algorithms. It is a dynamic language , secure and high level. If we want to write a complex algorithm we need pointers for efficiency and we will probably use C/C++. Python do have tons of external packages, some of them implemented in C and using a simple […]

Read more

Angular 5 – Routing (Practical Guide)

Angular provides an easy way to create and work with components , In a single page application(SPA) it is essential to work with multiple views/screens, navigate and communicate between them. Angular provides router service to manage this in a very easy way. We can create a routing module while creating a new application or add […]

Read more

Linux – Writing Fault handlers

Every Linux C/C++ developer is familiar with the message “Segmentation fault (core dumped)” , It can happen by accessing wrong memory address, making a floating point error and more. To find out the problem, you need to enter debug mode or use the core dump Post mortem – core dump While the program is loading […]

Read more

Machine Learning With Python – Introduction

Python is a great programming language for data analysis. With tons of packages for data handling it is the best choice for data analysts , algorithm developers and more Lets get started with understanding the relationship between some very popular data packages Numpy is package for multi dimension arrays – very effective implementation Scipy – […]

Read more

Creating Angular Module and Deploy it to npm

Building Angular web application is fun and easy. Angular application is build from modules (at least one) and each module has components and services. One great thing about modules is that you can build your own module as unit of reuse and then deploy it to one or more package managers like npm. While building […]

Read more

Angular and Django – WebSockets Communication

Django is a great Web framework for server side , Angular is a great JS framework for client side. While Integrating both frameworks, we get many benefits. This is the 3rd post about integrating both frameworks For getting started tutorial for using both Angular and Django see this post For integrating data packages – numpy, […]

Read more

Angular 5 Services

Angular application is built from components – organized in modules with hierarchy. The component represent a user interface element with properties, methods, input and output parameters and more. When we want interaction between components we use input and output parameters but if the interaction is not between parent and child (for example 2 brothers components […]

Read more

Django – Simple channels Example

Django is a great python web framework for server side. If we want to communicate with the client it can be done using the request-response model and also using a web socket especially when we want to send push notifications to the client. This is a very simple example of how to create and communicate […]

Read more

Angular 2+ Pipes

Pipes provide a very easy way to manipulate data on the client side. It can be used to change the displayed numbers (for currency for example), manipulate strings (uppercase, lowercase, etc) and more. You can also create your custom pipe and use it anywhere easily   Simple example: In the component code declare:

In […]

Read more