The Blog

Posts from June 2012

Jun 29

Game Face

By David Czarnecki

“Game Face” will be our weekly round-up of our internal and external open source work here at Agora Games. Internal open source refers to our public projects that you can find over at our Agora Games GitHub account. External open source work refers to projects that we contribute to in off-hours and may or may not have anything to do with video games because we’re swell folks like that. Pretty simple right? Here goes…

activity_feed

activity_feed is our library for doing activity feeds in Redis. You might know activity feeds by its other aliases, news feeds or timelines. We released version 2.0.0 of the library today. As discussed in last week’s Game Face, we did a major rewrite of the library last week to make the code cleaner, more modular and offer more functionality in fewer lines of code. The major changes are a difference in namespacing for the library as well as supporting the loading of activity feed items from any ORM (e.g. ActiveRecord) or ODM (e.g. Mongoid). The library supports activity feeds, aggregate activity feeds, feeds between timestamps, trimming feeds, removing feeds and more.

Contributor(s): David Czarnecki (GitHub, Twitter)

Jun 22

Game Face

By David Czarnecki

“Game Face” will be our weekly round-up of our internal and external open source work here at Agora Games. Internal open source refers to our public projects that you can find over at our Agora Games GitHub account. External open source work refers to projects that we contribute to in off-hours and may or may not have anything to do with video games because we’re swell folks like that. Pretty simple right? Here goes…

activity_feed

activity_feed is our library for doing activity feeds in Redis. You might know activity feeds by its other aliases, news feeds or timelines. This week saw a major rewrite of the library to make the code cleaner, more modular and offer more functionality in fewer lines of code. A release candidate, 2.0.0.rc1, has been made available on RubyGems. You can also follow along with the 2.0.0 branch on GitHub for a short while before that will eventually become the master branch. The major changes are a difference in namespacing for the library as well as supporting the loading of activity feed items from any ORM (e.g. ActiveRecord) or ODM (e.g. Mongoid) using plain-old Ruby. The library supports activity feeds, aggregate activity feeds, feeds between timestamps, trimming feeds, removing feeds and more. Any feedback on the 2.0.0 branch is appreciated.

Contributor(s): David Czarnecki (GitHub, Twitter)

kairos

kairos provides time-series storage using a Redis backend. During our Hack-A-Thon this week, we spent time on the beta-refactor branch. This is a major refactor to abstract various time-series types such as series, histogram and count. We are currently working on a release candidate and updated end-user documentation for this branch. We have had an uptick in interest in this library, so any feedback you have on it is welcomed.

Contributor(s): Aaron Westendorf (GitHub, Twitter)

leaderboard

leaderboard allows you to build leaderboards using Redis. This week we added functionality to retrieve members from the leaderboard that fall within a given score range as well as to retrieve a given member from the leaderboard at a specified position.

Contributor(s): David Czarnecki (GitHub, Twitter) and John Gadbois (GitHub, Twitter)

Jun 15

Game Face

By David Czarnecki

“Game Face” will be our weekly round-up of our internal and external open source work here at Agora Games. Internal open source refers to our public projects that you can find over at our Agora Games GitHub account. External open source work refers to projects that we contribute to in off-hours and may or may not have anything to do with video games because we’re swell folks like that. Pretty simple right? Here goes…

brightcove-api

brightcove-api is a gem for interacting with the Brightcove Media API. The release this week integrates a pull request that allows post streaming when you have an file handle instead of a filename. Internal code documentation was also added.

Contributor(s): David Czarnecki (GitHub, Twitter) and keysolutions (GitHub)

leaderboard

leaderboard allows you to build leaderboards using Redis. This week we added the ability to store and retrieve optional member data alongside the leaderboard data. This is particularly useful if you wanted to, for example, store a member name if you were ranking member IDs in a leaderboard or if you wanted to store a timestamp for when a member was last ranked in a leaderboard.

Contributor(s): David Czarnecki (GitHub, Twitter) and John Gadbois (GitHub, Twitter)

sandboxthatad

sandboxthatad is an experiment in using Google’s Caja Compiler to isolate ad network ads if they’re not “playing nice”, e.g. causing insecure content warnings by not using HTTPS for ads when your site is using HTTPS.

Contributor(s): Logan Koester (GitHub, Twitter)

Jun 8

Game Face

By David Czarnecki

“Game Face” will be our weekly round-up of our internal and external open source work here at Agora Games. Internal open source refers to our public projects that you can find over at our Agora Games GitHub account. External open source work refers to projects that we contribute to in off-hours and may or may not have anything to do with video games because we’re swell folks like that. Pretty simple right? Here goes…

capistrano

capistrano is one of those great tools that can help you simplify and automate deployment of web applications in distributed environments. However, it’s default version control system is set to Subversion. Not that there aren’t developers out there using Subversion, but when was the last time you used Subversion? We couldn’t remember, so we submitted a pull request to have the default SCM changed from Subversion to git. It looks like this should get merged in with some other work. Fingers crossed!

Contributor(s): David Czarnecki (GitHub, Twitter)

Jun 1

Game Face

By David Czarnecki

“Game Face” will be our weekly round-up of our internal and external open source work here at Agora Games. Internal open source refers to our public projects that you can find over at our Agora Games GitHub account. External open source work refers to projects that we contribute to in off-hours and may or may not have anything to do with video games because we’re swell folks like that. Pretty simple right? Here goes…

homebrew

homebrew is called the missing package manager for OS X. It’s a great way to install software like git, MySQL, Riak, and more. We submitted a pull request to update the Redis formula to 2.4.14.

Contributor(s): David Czarnecki (GitHub, Twitter)

redis-namespace

redis-namespace is a gem which can be used to namespace Redis keys. Although Redis 2.6 is still in-development, one of our engineers submitted a pull request to add the new Redis 2.6 commands that should be namespaced.

Contributor(s): David Czarnecki (GitHub, Twitter)