Tag: coding

Wakeup with a fresh cup of CoffeeScript

I like programming languages with rich object models. I love dynamic languages. Sure, minimizing execution time and resource optimization may demand speed, and c variants and java (mirah!) are screamers. Yet after having coded heavily in one of these languages for years, it’s a breath of fresh air letting go of the training wheels of type safety and discarding the mental overhead of complex inheritance trees. Verbosity be damned! (more…)

First Steps Sorting out Python

After wrapping up a little c++ code and a fantastic walk yesterday morning, I settled down in front of my iMac without an immediate looming task and it felt grand. Twitter’s an unmatched wide band serendipity delivery engine, and in a few minutes I found myself reading about pypy’s 1.5 alpha release. Even if you’re far removed from code, you’ve likely at least heard of Python but… (more…)

Folding in c++

Today’s post is short and sweet, like a peach.

On the odd chance you’re morbidly curious how to fold an array with a function in c++ like myself, you’re in for a pleasant surprise (unless you’re intimately familiar with boost’s lambdas, in which case you will be appalled at how little thought was put into this whimsical hack).

(more…)

Currying in c++

Variable argument parameter lists

While brushing up on some coding samples I came across va_args which is included within the stdargs header file. Here’s an example of how it’s used:

(more…)

Open Source PaaS Cloud Foundry

It’s possible the buzzword density broke my discerning application taste filter, but a roll your own platform as a service is definitely worth trying on for size. The dream is to have a a platform that can perform like WordPress.org, but instead of serving bloggers it’s an open source Heroku like stack. Ideally I could deploy this platform on any ubuntu host and begin serving apps immediately.

(more…)

A little fun with Github’s repo APIĀ 

This morning I’m away on a rough sea voyage1 so the post will be short and sweet. Last night I finally found a few moments to setup a default landing page at victusfate.github.com. I had procrastinated building a github landing page because I had an idea of what I wanted, but wasn’t sure how to begin. It turns out the github repo API is easy to use, and a jQuery getJSON call later I was parsing my repos. The example linked to above is embedded below.

(more…)