Having slept on ML for the last few years, I woke up and decided I’d figure out what I’m missing. I’m a senior developer with 20+ years of mostly web and mobile experience. It’s a great time to explore the space, since Sean Moriarity and the Elixir team have introduced a whole suite of ML tools. Nx and Axon are shiny and new so I thought I’d take them for a spin.Read more
Configuring Commanded for a single-node
This post (series?) is intended to walk the reader through installing, configuring Commanded for use in a single-node Phoenix web app backed by Postgres. Commanded is a CQRS/Event Sourcing library for Elixir. It can use Postgres as a backing event store or it can use “Event Store”. It can be used in single-node as well as in clustered configuration.
Commanded by default wants you to use a separate database for it’s work.Read more
Using Postgres & Rails to create monthly breakdowns.
The problem I was faced with implementing a dashboard on a recent project. The client asked to see their data sliced up by category along with running monthly and yearly breakdowns.
The data to an approximation looked like this: There are Posts and Rejection. A Rejection references a Post and gives a reason for rejection. Something like:
posts id body rejections id reason post_id Posts are written and moderators can reject them, giving a reason (“spam”, “boring”, “mansplaining”).Read more
Hunting and eliminating memory leaks in Backbone.js
It is very easy to find yourself in a situation where your views are leaking memory if you aren’t careful.Read more