all posts

categorized in technicals

Phabricator - Automate Data Backup using Dropbox

Phabricator does not currently have a comprehensive backup system, but creating backups is not particularly difficult. We will share an approach to automate backups and save them onto Dropbox. We don't like to think about what might happen, but its always good to have some backups.

Diffusion - Phabricator Repository Browser

Phabricator can host Git, Mercurial and Subversion repositories. It also works well with existing repositories (like GitHub, Bitbucket, or other repositories you already have elsewhere) without needing to host them itself.

Node.js on a Raspberry Pi

A bell cannot tell time, but it can be moved in just such a way as to say twelve o’clock – similarly, a man cannot calculate infinite numbers, but he can be moved in just such a way as to say pi. Hello Pi!

Express routes middleware chains

I have worked with node.js for two years now, and have enjoyed every bit of it. It wasn't an easy switch from Java but with help available in plenty, I wasn't going to be worried at all. Here's an article from Tomas "wereHamster" Carnecky that helped me learn middlewares in express apps.

How to sort an array of objects by multiple fields

How would you apply a sort on array of objects by multiple fields? This article offers an elegant solution.

10 Steps to nodejs nirvana in production

We have been using node.js in production environments since a few years now, back when it was still in 0.4. Node.js has sure come a long way since.

Running mysql on a separate XFS volume

This article explains setting up mysql on a separate XFS volume.

Node.js Code & Style Guide

There is no official document that governs the style of node.js applications. This guide is my opinionated attempt to bring you a good set of instructions that will allow you to create beautiful and consistent software. You are free to adapt to your own code style and practice, and stick to it.

Effective Git Work flow

Linus Torvalds has quipped about the name git, which is Irish slang for a child born out of wedlock, and British English slang for a stupid or unpleasant person. Torvalds said: "I'm an egotistical bastard, and I name all my projects after myself. First Linux, now git." The man page describes git as "the stupid content tracker".

Use Phabricator for Code Reviews

Phabricator is an open source collection of web applications which makes it easier to scale software companies. It is currently available as a continuous release.

Getting Started with Node.js

The secret of getting ahead is getting started. The secret of getting started is breaking your complex overwhelming tasks into small manageable tasks, and then starting on the first one.

How to Design a Search Engine to Actually Search

There are several simple techniques to develop a search-engine that actually finds information, rather than just millions of matching pages. Searches should default to looking within paragraphs/sections, not across entire pages. Today's popular search-engines are mostly primitive word-scanners, not usually searching for sections of information, nor hunting the exact names being requested, such as with dashes & slashes in ID names.