Exceptional Code

Coding away life...

Monday, January 22, 2018

Writing a Scheduler for Tasks with DAG Dependencies using CompletableFuture and Async I/O

›
I had to write a task scheduler in Java recently. The tasks had dependencies with each other and the dependencies formed a Directed Acyclic...
6 comments:
Tuesday, December 26, 2017

Consistent Hashing implementation using BST in Python

›
I was reading a bunch of papers and articles on Distributed Systems for my work recently when I stumbled into the concept of consistent has...
1 comment:
Tuesday, May 21, 2013

A C++ Thread Pool Implementation Using POSIX Threads

›
Threads are very useful but potentially very tricky constructs in computer programming. They are also generally hard to get right. Building...
7 comments:
Friday, April 5, 2013

Waiting for a child process with a timeout on Linux

›
Recently at work we were developing a backend server for a Web app. The server process creates a child process for each request that arrive...
1 comment:
Sunday, September 9, 2012

Generating all permutations, combinations, and power set of a string (or set of numbers)

›
Combinatorics is a branch of mathematics that deal with counting of discrete structures. Two concepts that often come up in the study of c...
14 comments:
Monday, February 20, 2012

Life on a Tree - Creating, Copying, and Pruning Tree Data Structures

›
The tree is one of the most important data structures in computer programming. A very common of example of the tree data structure b...
3 comments:
Friday, February 10, 2012

Solving the Boggle Game - Recursion, Prefix Tree, and Dynamic Programming

›
I spent this past weekend designing the game of Boggle. Although it looks like a simple game at a high level, implementing it in a programm...
99 comments:
Friday, January 20, 2012

The Power of Perl Regular Expressions

›
I am not a big scripting language person. C++ and Java (and occasional C#) have been my stronghold so far. But recently I have been strolli...
2 comments:
Wednesday, August 17, 2011

A Binary Search Trees Tutorial

›
This is a short tutorial on Binary Search Trees covering the basic operations that are often done on such trees. A Binary Search Tree (B...
6 comments:
›
Home
View web version

About Me

Golam Kawsar
NY, NY, United States
I am a software engineer living in the city that never sleeps - New York. I dream of a day when software will be more intelligent than humans, but humans will still control it :)
View my complete profile
Powered by Blogger.