Seg Fault

a blog thing?

A Riak Protobuf Php Ext

10 Sep 2012

A real Riak Protobuf PHP Extension After a few failed starts, over the last few weeks I’ve been making some actual progress on a real, working PHP extension for the Riak protocol buffer interface. When I first started working on it (quite some time ago), I had no experience working with PHP extensions and was exceptionally rusty with c/c++. After getting frustrated time and again, I had taken a break (read: given up) for the...

Read more...

A Brand New Blog

09 Sep 2012

Well, not exactly. I'm tired of Wordpress's antics on my current VPS host, so since this blog doesn't get updated much and really does not have any dynamic content I'm moving it to Github Pages and using Jekyll to generate the pages. What you see here is literally the work of untold... minutes. It's really quite simple, and of course I will need to spend some more time figuring it all out, but so far...

Read more...

Riak erlang stream_list_keys example

07 Aug 2011

I’m not sure how long ago I forgot about this, but I just remembered about a nice little feature when I wasmoving some data around on a Riak cluster. As the post title points out, this feature is streaming list keys in a bucket. Since I like to write lots of little helper code when messing around with data in Riak, this quick little example shows how riak_client:stream_list_keys() can work: -module(stream_keys). -export([stream_it/1]). stream_it(Bkt) -> %%...

Read more...