Time Series Visualization using SQL Window Functions

How to get a better time series graph by using window functions comparing to naive DATE_TRUNC. Here I Also explore some techniques for generating realistic-looking datasets.

Read the full post

Composability: from Callbacks to Categories in ES6

A tour of abstract constructs for handling asynchronous operations and error handling in JavaScript. We check their similarities and build monads and Kleisli categories.

Read the full post

Reduce

The zen of reduce or fold function as an abstraction over recursion. Check how we can re-interpret all the operations over arrays using reduce and then re-define reduce using the functions that we build up during this process.

Read the full post

Timing asynchronous functions in JavaScript ES6

A simple higher order function to time JavaScript asynchronous functions, which we can use for debugging or logging in production.

Read the full post

Pipe

Pipe is a Web-based tool for querying any data source (SQL, MongoDB, ElasticSearch, Redis ...), and analyzing and visualizing the result. The repo has not been updated for a while, but Pipe is well alive and in-use by us. Ping me if you need help setting it up.

Read the full post