Separation Anxiety: A Tutorial for Isolating Your System with Linux Namespaces

With the advent of tools like Docker, Linux Containers, and others, it has become super easy to isolate Linux processes into their own little system environments. This makes it possible to run a whole range of applications on a single real Linux machine and ensure no two of them can interfere with each other, without having to resort to using virtual machines. These tools have been a huge boon to PaaS providers. But what exactly happens under the hood?

These tools rely on a number of features and components of the Linux kernel. Some of these features were introduced fairly recently, while others still require you to patch the kernel itself. But one of the key components, using Linux namespaces, has been a feature of Linux since version 2.6.24 was released in 2008.

Anyone familiar with chroot already has a basic idea of what Linux namespaces can do and how to use namespace generally. Just as chroot allows processes to see any arbitrary directory as the root of the system (independent of the rest of the processes), Linux namespaces allow other aspects of the operating system to be independently modified as well. This includes the process tree, networking interfaces, mount points, inter-process communication resources and more. Continue reading

How to check the activation type and status of Office 2010 installations

Use the following steps to see detailed information about what type of activation your Office 2010 installation us using and what the status of your activation is.

  1. Open an administrative level command prompt.
  2. Navigate to the Office14 folder:
    • 32bit Office on 64bit OS – “cd \Program Files (x86)\Microsoft Office\Office14”
    • 32bit Office on 32bit OS and 64bit Office on 64bit OS – “cd \Program Files\Microsoft Office\Office14”
  3. Execute “cscript ospp.vbs /dstatus”
  4. Look at “LICENSE NAME” for license type and “LICENSE STATUS” for activation status

Continue reading

Send better email: Configure SPF and DKIM for Google Apps

Google, like most major email providers, actively works to combat forged email, spam, and scam email. For the most part, their defenses work. Open your Gmail spam folder to see the Google spam fighting team’s work. The vast majority of email there will be spam.

If a legitimate email somehow ends up in spam, select the email, then mark it as “Not Spam”. (This is what’s known as a false positive.) Conversely, if a spam email somehow ends up in your Inbox, select the email, and then mark it as “Spam”. Your changes help improve Gmail’s spam filters. Continue reading

Meet Bond, Microsoft Bond – A New Data Serialization Framework

Microsoft Bond is a new serialization framework for schematized data created by Microsoft.

Let’s recap where data serialization is used most:

Data persistence in files, streams, NoSQL, and BigData.
Data transmission in networks, IPC, etc.
Commonly, these applications have to deal with schematized data, where schema means:

Structure: hierarchy, relations, order.
Semantic: age in number of years since born.

Actually, any data has schema even if it is implicitly defined or supported by your programming language out-of-box. When it comes to complex data structures, we end up writing supporting data transfer objects (DTOs) and code responsible for IO, often in different languages. As soon as it grows and evolves, it quickly becomes a nightmare to maintain all these pieces. Here is where the serialization frameworks win the game. Continue reading

How Can I Transfer My Domain from one registrar to another?

This article is a complete guide on how to transfer a domain from one registrar to another and will cover the following information:

  1. What to Do Before Transferring Your Domain
  2. How to Begin Your Domain Transfer
  3. How to Ensure Your Transfer is Uninterrupted
  4. Check Your Transfer Status
  5. Troubleshooting a Failed Transfer

What to Do Before Transferring Your Domain

There are several blocks in place to protect your domain name ownership that can cause difficulty in transferring your domain to a new registrar. Before you transfer your domain, it is essential that you ensure that the domain is ready to be transferred. Please go through below pre transfer checklist for preparing a domain for transfer: Continue reading

Step by Step to Change website hosting without downtime

Switching to a new host can be a complicated process. Follow our steps to ensure that your move is smooth and painless

  1. The first step is to join your new host. Make sure to NOT cancel with your old hosting provider, and do not tell them you will be canceling. Keep this a secret from your old host, or they could prematurely terminate your site and cause downtime.
  2. At this point, you should have hosting accounts with two hosting providers (the old and the new one). You will now migrate your entire site from the old host to the new one. This can be done by connecting to the old host’s FTP and downloading all your files, and then by connecting to the new host’s FTP and uploading all your files (maintain the same file and folder structure).
  3. You must also backup any databases on the old host (contact the old host for instructions) and upload the backup files to the new host via FTP. You must then restore your databases from those backup files; this can be done via SSH or cPanel’s phpMyAdmin. Emails do not normally transfer, but you can archive your emails from the old host. You can accomplish this by making a POP3 connection to each email address; this way all the old emails are downloaded to your local computer. The new host will not have those old emails, but the new host will be able to get new emails.
  4. After you have all your files on both hosting accounts, it is time to change your domain name’s DNS. Your new host will provide you with the correct name servers (DNS). You may need to contact the new host to find out what DNS settings you will use for your domain name.DNS name servers usually looks like this (replace “yourhostname.com” with your host’s actual domain name):
    yourhostname.com
    ns2.yourhostname.com

Continue reading

Windows 10 Development: Addressing Old Problems And Opening New Doors For Developers

I hope readers will pardon the carpentry pun, but Windows 10 is just around the corner, and Redmond’s new OS will create many possibilities for software and hardware developers.

Windows 10 represents a departure from Microsoft’s traditional OS strategy. It’s not just a new operating system, it’s an automatic and free update for millions of Windows 8.1 devices. It’s also designed to address a number of user complaints related to the Windows 8.x UI (formerly known as Metro design language or Metro UI). The changes aren’t just skin deep, as Windows 10 is not a mere redesign with a new UI and fancier apps; it might even mark the start of a new era for Microsoft, and in this post I will explain why.

First, let’s take a look at what Microsoft is trying to do in terms of addressing Windows 8.x foibles. After all, that’s what Windows 10 is all about, at least on the surface. Continue reading