faustinelli.wordpress.com
The state monad in Java 8, eventually… – Marco Faustinelli's Muzietto Blog
https://faustinelli.wordpress.com/portfolio/the-state-monad-in-java-8-eventually
Marco Faustinelli's Muzietto Blog. Learning Functional Programming in Javascript and getting ready for ECMAScript 6. The state monad in Java 8, eventually…. This is no tutorial about the state monad and I’d be foolish if I hoped to use all these convoluted snippets of strongly-typed generics-laden Java code to show the monad’s beautiful essence. To someone who hasn’t yet caught at least a glimpse of it elsewhere. Leave a Reply Cancel reply. Enter your comment here. Address never made public).
faustinelli.wordpress.com
Fold Right in JavaScript – Marco Faustinelli's Muzietto Blog
https://faustinelli.wordpress.com/portfolio/fold-right-in-javascript-with-all-thinkable-examples
Marco Faustinelli's Muzietto Blog. Learning Functional Programming in Javascript and getting ready for ECMAScript 6. Fold Right in JavaScript. Aka reduce right) is the basic list recursion operator. Way more intelligent than its cousin fold left. It has a non-intuitive way to handle its own parameters (trying to follow the nested calls with paper and pen or with the stepper of DrRacket is kind of funny), but the operation you entrust it with (represented by a function usually called. I work for Onebip.
faustinelli.wordpress.com
December 2015 – Marco Faustinelli's Muzietto Blog
https://faustinelli.wordpress.com/2015/12
Marco Faustinelli's Muzietto Blog. Learning Functional Programming in Javascript and getting ready for ECMAScript 6. The pain of handling CORS headers. December 17, 2015. December 17, 2015. This is a sort of collection of all real-life issues that make usage of cross-origin ajax such a pain the… Read more The pain of handling CORS headers. Follow Marco Faustinelli's Muzietto Blog on WordPress.com. I am a technology professional, currently active in Italy. I work for Onebip.
faustinelli.wordpress.com
The Little Funky JavaScripter – Marco Faustinelli's Muzietto Blog
https://faustinelli.wordpress.com/portfolio/the-little-funky-javascripter
Marco Faustinelli's Muzietto Blog. Learning Functional Programming in Javascript and getting ready for ECMAScript 6. The Little Funky JavaScripter. Back in the day I was involved as a student in a lab. And all that jazz to create expert systems for manufacturing mechanical parts. I enjoyed that time a lot, but carried on with my life feeling that those things were far from being applicable in the “real” world. Moments, like the discovery of the mind-blowing beauty of multirember&co. I went instead for im...
faustinelli.wordpress.com
September 2015 – Marco Faustinelli's Muzietto Blog
https://faustinelli.wordpress.com/2015/09
Marco Faustinelli's Muzietto Blog. Learning Functional Programming in Javascript and getting ready for ECMAScript 6. Understanding monad transformers (5): add a few good reads. September 30, 2015. October 12, 2015. In the first, second, third and fourth post of this series I describe a test case (a function evaluator) and… Read more Understanding monad transformers (5): add a few good reads. Understanding monad transformers (4): put in some creative writing. September 27, 2015. October 12, 2015. The trou...
faustinelli.wordpress.com
Understanding Monad Transformers – Marco Faustinelli's Muzietto Blog
https://faustinelli.wordpress.com/portfolio/understanding-monad-transformers-mastery-is-in-the-details
Marco Faustinelli's Muzietto Blog. Learning Functional Programming in Javascript and getting ready for ECMAScript 6. You’ve read about a bunch of monads and that each one of them has a particular role to fulfill, then you start using them and soon realize that one monad at a time is just a one-off trick. Case of yours is another story. How can you make then knowledge. So you turn to the standard Haskell libraries, like mtl. Until GHC strikes back with some extremely long and obscure error message. My cod...
faustinelli.wordpress.com
Beyond “Monads and Gonads” – Marco Faustinelli's Muzietto Blog
https://faustinelli.wordpress.com/portfolio/beyond-monads-and-gonads
Marco Faustinelli's Muzietto Blog. Learning Functional Programming in Javascript and getting ready for ECMAScript 6. Beyond “Monads and Gonads”. There’s this famous “Monads and Gonads”. Video from Doug Crockford. To me it is cryptic, kind of elitist: it flies over a lot of fairly complex stuff without giving sound grip on the matter. I can’t imagine anyone ‘seeing’ monads for the first time thanks to this presentation. That monads ought to be objects. Using a terse, straightforward syntax. I am a technol...
faustinelli.wordpress.com
Multithread background executor using Guava – Marco Faustinelli's Muzietto Blog
https://faustinelli.wordpress.com/portfolio/multithread-background-executor-using-guava
Marco Faustinelli's Muzietto Blog. Learning Functional Programming in Javascript and getting ready for ECMAScript 6. Multithread background executor using Guava. We have a bunch of audio files that must be downloaded from a remote site and stored locally. After all the downloads have completed, we must persist data about the local files inside a db. This routine uses a pool of threads (Guava. To perform in parallel the downloads. Each download is expressed as a. Is added to a. Leave a Reply Cancel reply.