Jan 13, 2019How To Create Hand Painted Textures Without PaintingThe hand-painted look is a compelling game art style. It adds a whimsically fantastical feel that photorealism lacks. However, actually achieving the look can be quite tedious — sometimes requiring hours for a single texture.Game Development10 min read
Dec 18, 2018How to Create 3D Games with PureScript Native and C++When I last wrote about binding PureScript to C++, I demonstrated animating the PureScript logo with SFML. Since then, PureScript Native (PSN) has superseded Pure11 and the details for using PSN have changed.Java Script13 min read
Oct 23, 2018Your Easy Guide to Functional Reactive Programming (FRP)Managing state. It’s the bane of programmers everywhere. The more stateful processes, subroutines, objects, components, widgets, doodads, etc. there are, the harder it is to keep your app from becoming a giant mud pit.Java Script8 min read
Sep 20, 2018Your easy guide to Monads, Applicatives, & FunctorsAre you curious about monads? 🤔 Or maybe you’re further down the rabbit 🐰 hole, looking into applicatives? Does “functor” sound alien 👽 to you? No worries! 😃 Monad, applicative functor, and functor are just functional programming patterns you can use to deal with effects like lists/arrays, trees, hashes/dictionaries, and…Functional Programming15 min read
Published in codeburst·Jun 28, 2018How to Style Your GTK App with CSS and HaskellFor the upcoming release of Gifcurry — an open-source, video-to-GIF maker — a completely custom theme was made using CSS and Haskell. The new theme will help maintain a more consistent look and feel across platforms and for Linux — across distros. …CSS5 min read
Published in codeburst·Jun 18, 2018How To Build A Custom GTK Widget With HaskellGTK, if you’re unfamiliar with it, is a library for creating graphical widgets for the desktop. These widgets can take in user input and/or show application output. GTK comes with a nice selection of widgets. Widgets range from the humble checkbox to a full-blown file explorer. …Haskell5 min read
May 6, 2018How to Flatpak a Haskell App into FlathubYou’ve modeled your life around Kleisli composition. On your right arm is a tattoo that reads, “point free or die.” You can tie the knot in your sleep. Zygohistomorphic prepromorphism is your go-to recursion scheme. You looked out from atop the Haskell pyramid and found the view boring. …Flatpak7 min read
Feb 23, 2018Your Guide to Latent Dirichlet AllocationBefore we get started, I made a tool (here’s the source) that runs LDA right inside your browser (it’s pretty neat). Be sure to have that open as I go along, it will make things a lot clearer. All of the emoji I use come from this page. Just select…Machine Learning11 min read
Feb 12, 2018How to Snap your Awesome Haskell AppThere comes a time in most every app’s life when it needs distribution. If you can, it’s best to ship it in as many ways as possible. Still, if you’re targeting Ubuntu—or Linux in general — a decent solution is to create a snap. What is a snap? According to the Snapcraft website, “Snaps…Ubuntu5 min read
Feb 17, 2016Text Analysis of Death Row Prior OccupationsFound in a list of 100+ interesting data sets, the Texas Department of Criminal Justice provides different collections of information on death row inmates both present and past. Prior occupations for each current offender are listed here. Dependencies We’ll need some packages to scrape, cluster, and chart our findings. rvest: “Wrappers…Data Science8 min read