Hugo + Dokku + Wercker = Goodness

Hugo Hugo is a static site generator with many powerful features like archtypes, themes, customization, etc. Combined with tools like bower and brunch it makes for a pretty powerful app that could be more than a blog. The workflow is simple - build your assets with brunch, run the hugo generator. The end result is a complete static html site you can deploy. Dokku Dokku has been great for running multiple small apps on a single digitalocean droplet.

Read more

c hacking: polymorphing 2

While working on cparse I found another nifty way to sort of simulate polymorphism. cparse Another exercise in futility, a C implementation for the REST api at parse.com. Really the core of it is a web client and an object structure using json. polymorphing I started off by having separate structure for the different type of objects, but I quickly realized there was a lot of code duplication. To solve this I used a combination of type defines and function pointers to the library API appear to be working with a seperate type, but are indeed still working with the base object type.

Read more

Elixir and Phoenix

Saw a post on reddit about this new web framework phoenix. It is an elixir based framework. Elixir is based upon erlang. Erlang has been around a while (open-sourced in 1998) and is a massively scalable and highly reliable language used in telecoms, banking and instant messaging (among others). Elixir brings very ruby-ish syntax to the language. Phoenix framework is like rails for elixir, and is pretty full featured. A simple chat app should be enough to exercise this framework.

Read more

Elixir and Phoenix

Saw a post on reddit about this new web framework phoenix. It is an elixir based framework. Elixir is based upon erlang. Erlang has been around a while (open-sourced in 1998) and is a massively scalable and highly reliable language used in telecoms, banking and instant messaging (among others). Elixir brings very ruby-ish syntax to the language. Phoenix framework is like rails for elixir, and is pretty full featured. A simple chat app should be enough to exercise this framework.

Read more

Gobo / Homebrew and Linux Application Organization

I really liked the way Gobo Linux refactored the organization of a linux filesystem. The short story of Gobo was to have each Recipe (application/library) install everything it needs into its own directory. The app files are then linked to support the legacy filesystem that the OS needs (You can read more at Gobo at Glance or the history of gobo linux). Sound familiar? It’s very much like Homebrew which installs each Formula in a Cellar with links to /usr/local.

Read more

Gobo / Homebrew and Linux Application Organization

I really liked the way Gobo Linux refactored the organization of a linux filesystem. The short story of Gobo was to have each Recipe (application/library) install everything it needs into its own directory. The app files are then linked to support the legacy filesystem that the OS needs (You can read more at Gobo at Glance or the history of gobo linux). Sound familiar? It’s very much like Homebrew which installs each Formula in a Cellar with links to /usr/local.

Read more

Yahtsee

Introducing an unabashedly self-indulgent project Yahtsee. Play the classic dice game from your terminal. It’s even multiplayer online! Strategically not named Yahtzee to avoid lawsuits! Admittedly I only built it to demo/test app the networking features of my libarg3 library. Its smart enough to open a port on your UPnP enabled router though. There is an online service for the app, basically a registry of games and how to connect to them that the app uses.

Read more

Yahtsee

Introducing an unabashedly self-indulgent project Yahtsee. Play the classic dice game from your terminal. It’s even multiplayer online! Strategically not named Yahtzee to avoid lawsuits! Admittedly I only built it to demo/test app the networking features of my libarg3 library. Its smart enough to open a port on your UPnP enabled router though. There is an online service for the app, basically a registry of games and how to connect to them that the app uses.

Read more

Blackberry + Push + Android Hacking

I would like to track my experience with setting up push messaging for blackberry using an android application. The main blackberry link on this subject provides some basics, however I will try go into some detail on the process I used. There is an accompanying github project for this post you can reference. Phase 1: Client Side Build Configuration The android api for push messaging is now included in the Google Play Services, which is not supported on blackberry devices.

Read more

Blackberry + Push + Android Hacking

I would like to track my experience with setting up push messaging for blackberry using an android application. The main blackberry link on this subject provides some basics, however I will try go into some detail on the process I used. There is an accompanying github project for this post you can reference. Phase 1: Client Side Build Configuration The android api for push messaging is now included in the Google Play Services, which is not supported on blackberry devices.

Read more