## Code Review and Audit with Phabricator

Wiki Phabricator is a collection of web applications which help software companies build better software. Including the Differential code review tool, the Diffusion repository browser, the Herald change monitoring tool, the Maniphest bug tracker and the Phriction wiki. Phabricator integrates…

## Profiling PHP Applications with Xdebug

Introduction Xdebug is a PHP extension for powerful debugging. It supports stack and function traces, profiling information and memory allocation and script execution analysis. Install Xdebug on Windows Download php_xdebug.dll from official website. Edit php.ini like this: [xdebug] xdebug.profiler_enable =…

## LRU and LFU Cache Algorithms

Least Recently Used (LRU) Discards the least recently used items first. This algorithm requires keeping track of what was used when, which is expensive if one wants to make sure the algorithm always discards the least recently used item. General…

## Disjoint-set Forests Golang Implementation

Disjoint-set Disjoint-set data structure also called a union–find data structure or merge–find set. It maintains a collection $S = \lbrace S_1, S_2,...,S_k\rbrace$ of disjoint dynamic sets. We identify each set by a $representative$, which is some member of the set.…