all posts
categorized in technicals
Phabricator - Automate Data Backup using DropboxMay 9, 2014
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 BrowserMay 7, 2014
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 PiJan 5, 2014
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 chainsJul 2, 2013
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 fieldsJun 28, 2013
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 productionMay 29, 2013
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 volumeApr 11, 2013
This article explains setting up mysql on a separate XFS volume.
Node.js Code & Style GuideFeb 20, 2013
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 flowFeb 18, 2013
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. FirstLinux
, nowgit
." The man page describes git as "the stupid content tracker".
Use Phabricator for Code ReviewsFeb 14, 2013
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.jsFeb 12, 2013
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 SearchJul 26, 2011
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.