PinnedExplained in 5 minutes: Monads in plain JavaScriptDespite the intimidating cover photo, I’ll try to explain monads using as little hard math as possible. No mentions of the category theory, no Kleisli, not even Curry. Although there will be a NaN. In the words of the great Douglas Crockford: In addition to its being good and useful…JavaScript5 min readJavaScript5 min read
Published inJit Team·PinnedHow to create a musical instrument using Computer Vision in JavaScriptHave you ever heard about theremin? If you’re into spy stories, you’ve probably heard of The Thing, a listening device developed by Leon Theremin. If you’re a fan of The Big Bang Theory, this name probably rings a bell (pun intended!): Pretty neat, huh? And you know what’s even…JavaScript9 min readJavaScript9 min read
Dec 16, 2022Calculating the maximum diagonal distance in a given collection of GeoJSON features using turf.js and lots of speedI worked really hard to write an engaging, catchy, intelligent, and funny introduction to this article, but it was a hard struggle. Being a problem solver, I solved this problem with modern tooling. …Algorithms10 min readAlgorithms10 min read
Dec 10, 2022Advent of Code 2022, but in JS and point-free style: Day 6The complete list of articles up to date: Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 In my last article, we helped the Elves unload the cargo ship by writing a really, really long and complicated function that made us think if all of this Ramda.js…JavaScript3 min readJavaScript3 min read
Dec 10, 2022Advent of Code 2022, but in JS and point-free style: Day 5The complete list of articles up to date: Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 In my previous article, we cleaned up the Elves’ camp before the arrival of the supply ship using Ramda.js and the point-free style. …JavaScript6 min readJavaScript6 min read
Dec 7, 2022Advent of Code 2022, but in JS and point-free style: Day 4The complete list of articles up to date: Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 In my previous article, we checked the Elves’ backpacks for duplicate items using Ramda.js and the point-free style. …JavaScript4 min readJavaScript4 min read
Dec 7, 2022Advent of Code 2022, but in JS and point-free style: Day 3The complete list of articles up to date: Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 In my previous article, we played Rock-Paper-Scissors with some Elves using nothing but Ramda.js and the point-free style approach. …JavaScript4 min readJavaScript4 min read
Dec 6, 2022Advent of Code 2022, but in JS and point-free style: Day 2The complete list of articles up to date: Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 In my previous article, we counted the calories of foods carried by Elves. We used nothing but Ramda.js and tried to stick to the point-free style as much as possible…Advent Of Code7 min readAdvent Of Code7 min read
Dec 6, 2022Advent of Code 2022, but in JS and point-free style: Day 1The complete list of articles up to date: Day 1 Day 2 Day 3 Day 4 Day 5 Day 6 Being a massive fan of the functional programming paradigm and using it wherever possible, I’ve decided to attempt to tackle this year’s Advent of Code challenge with nothing but point-free…JavaScript6 min readJavaScript6 min read
Nov 22, 2022GammaCV: a simple custom operation exampleA couple of weeks ago, I was doing a proof of concept for a new feature and needed to perform some computer vision operations in the process. I wanted to use this as an opportunity to try out a JavaScript computer vision library other than jsfeat, which helped me build…Computer Vision10 min readComputer Vision10 min read