Sunday, June 10, 2018

Appboy/appboy-fb-messenger-bot

Appboy/appboy-fb-messenger-bot

Building a Messenger bot for Appboy About Messenger bots Introduction On April 12, 2016, Facebook launched its Messenger Platform, intended to provide support for bots, or automated messaging interfaces capable of delivering ordering updates, customer service and executing business functions automat

Monday, June 4, 2018

Video Game Physics Tutorial - Part III: Constrained Rigid Body Simulation

Video Game Physics Tutorial - Part III: Constrained Rigid Body Simulation

This is Part III of our three-part series on video game physics. For the rest of this series, see: In Part I of this series, we saw how the free motion of rigid bodies can be simulated. In Part II, we saw how to make bodies aware of each other through collision and proximity tests.

Friday, June 1, 2018

Nicolas Mattia

Nicolas Mattia

You can find this code on Github and follow along in ghci. Last week a friend of mine asked me how I would implement the game 2048 in Java (at least the update logic) and we gave it a try. It went something like this:

Thursday, May 31, 2018

We review PredicSis AI, PredictionIO and Seldon, three analytic services based on predictive APIs

We review PredicSis AI, PredictionIO and Seldon, three analytic services based on predictive APIs

The value of analytics as a key element in business decision-making is beyond question. Companies have gradually incorporated analytics and the concept of metrics of success into their decision-making processes, although it is something not yet universally extended.

Wednesday, May 23, 2018

The Y Combinator (Slight Return)

The Y Combinator (Slight Return)

Tiger got to hunt, Bird got to fly; Lisper got to sit and wonder, (Y (Y Y))? Tiger got to sleep, Bird got to land; Lisper got to tell himself he understand.

Thursday, May 17, 2018

Algebraic Data Types in General

Algebraic Data Types in General

In general, an algebraic data type has one or more data constructors, and each data constructor can have zero or more arguments. This specifies that a value of type AlgDataType can be constructed in one of four ways: using Constr1, Constr2, Constr3, or Constr4.

Algebraic data type

Algebraic data type

This is a type where we specify the shape of each of the elements. Wikipedia has a thorough discussion. "Algebraic" refers to the property that an Algebraic Data Type is created by "algebraic" operations. The "algebra" here is "sums" and "products":

Appboy/appboy-fb-messenger-bot

Building a Messenger bot for Appboy About Messenger bots Introduction On April 12, 2016, Facebook launched its Messenger Platform, intende...