≡ Menu

Selecting and operating on a subset of items from a list or group is a very common idiom in programming.

Python provides several built-in ways to do this task efficiently.
[continue reading…]

While processing large set of data, we should definitely address scalability and efficiency in the application code that is processing the large amount of data.

Map reduce algorithm (or flow) is highly effective in handling big data.

Let us take a simple example and use map reduce to solve a problem.
[continue reading…]

Hyper-V Integration Services (IS) provides performance enhancements to a child partition (i.e. Guest machines, Virtual machines).

It provides better user interaction between child and parent partitions while accessing virtual machines.

It provides drivers to all virtual components that are installed in the virtual machine. For example, Network Cards, IDE/SCSI Drives, Human interface devices, etc.
[continue reading…]

A keybinding is simply the mapping of a specific key combination to an action.

Keybindings that we are all familiar with outside of the command line environment are things like:

  • Control-c: copies selected text
  • Control-v: pastes copied text

In this tutorial, we’ll take a look at some of the default keybindings provided in the command line environment (and also where to look if you forget one).
[continue reading…]

How to use C++ Namespaces with an Example Code

When we talk about namespaces, we should understand certain things about one important operator from the world of C++.

That one important C++ Operator is “::”

When you confront a C programmer with “::” operator, he might look at it but not understand it.

It is one of the things that distinguish the C++ world from C world.
[continue reading…]

Earlier, we discussed about how to rearrangement the relative relation of buttons in the scope of activity to do a custom auto-wrap layout.

This time, we will also implement such a layout, but using a different approach by customizing a layout class.

The layout class (linear, relative, list, grid, etc), is a subclass of view group, with particular way of placing its child views.
[continue reading…]

Wireshark is an open-source packet analyser used for network analysis.

It can capture, dissect, and decode various protocols.

In this tutorial we will discuss couple of problematic scenarios and how to use wireshark command line tools to analyse the packet.
[continue reading…]

How to use kdump for Linux Kernel Crash Analysis

Kdump is an utility used to capture the system core dump in the event of system crashes.

These captured core dumps can be used later to analyze the exact cause of the system failure and implement the necessary fix to prevent the crashes in future.

Kdump reserves a small portion of the memory for the secondary kernel called crashkernel.

This secondary or crash kernel is used the capture the core dump image whenever the system crashes.
[continue reading…]