This post will go over a practical implementation of writing a bot for
Messenger, using Elixir.
Posts
If you’ve ever worked with Ruby, Python, Node.js, or a variety of other
programming languages and environments, one thing you may have learned is that
managing different versions can be a royal pain.
It’s almost impossible to use Slack without encountering a bot, especially
as slackbot sends you a message whenever you first join an organisation
(that’s the one that asks you for your profile information). Ever since I first
joined a Slack organisation I’ve loved how they use slackbot to gather that
information as it’s a great on boarding experience.
TL;DR I built hellostranger.xyz, a Phoenix app for chatting anonymously with a random stranger.
If you’re interested in why this example is here, this is the post it
originated from: Versioning your HTTP API
If you’re interested in why this example is here, this is the post it
originated from: Versioning your HTTP API
So you’ve made an API, congratulations! Whether you used Rails, NodeJS, or
Phoenix, you’ve got something out there and people are making HTTP requests.
Now comes the interesting part: making changes to something people are using.
As I write this, I’m sitting in Gregory’s Coffee shop on 30th and 7th in New
York City, trying to make the most of their WiFi so that I can get some
entertainment for the flight home. As I sit here I’m wondering what is going to
happen in 2016, as some things are changing.
So you’ve made the decision to use webfonts on your website, which is great,
because webfonts are amazing. Typography is incredibly important, especially
for setting the tone and expectations for the user about what they’re viewing.
It can be difficult to achieve those things with system fonts, and you can’t
always rely on the user having those fonts to begin with.
On a recent project, unfortunately we had to add some device specific
JavaScript. There were some elements that were present on mobile and not on
desktop, which needed to have some JavaScript applied to them. I say it’s
unfortunate because it wasn’t a nice feeling having to do this (we typically
don’t want to write any code for special circumstances).