Modern Pubsubhubbub Implementation

I modified pubsubhubbub implementation. No longer original impl does not work, because it has no update from 2011.

My forked impl will works fine with Python 2.7 and Google App Engine for Python 1.8.9.

I’m unfamiliar with Python and GAE. Any improvements are welcome.

How to Run the servers

$ git clone


$ hub


$ --port=8081 --admin_port=8001 publisher


$ --port=8082 --admin_port=8002 subscriber

[Vagrant] object failure: RPC_S_SERVER_UNAVAILABLE error on Windows7

If you see error like this on Vagrant 1.2.2 and VirtualBox 4.2.14, when you do ‘vagrant up’

C:\Users\kazuki-h>vagrant up
Bringing machine 'default' up with 'virtualbox' provider...
[default] Importing base box 'hogehoge'...
There was an error while executing `VBoxManage`, a CLI used by Vagrant
for controlling VirtualBox. The command and stderr is shown below.

Command: ["import", "C:/Users/kazuki-h/.vagrant.d/boxes/hogehoge/virtualbox/box.ovf"]

Stderr: 0%...10%...20%...30%...40%...50%...60%...70%...80%...90%...100%
Interpreting C:\Users\kazuki-h\.vagrant.d\boxes\hogehoge\virtualbox\box.ovf...

Progress object failure: RPC_S_SERVER_UNAVAILABLE 0x800706BA
Downgrade VirtualBox to 4.2.12, it will works fine.
It could raise again on Mac OS X or Linux, because VirtualBox’s changes might be directly responsible for this error.



This problem has been fixed in the version 4.2.16.

rbenv does not work in aptana terminal for Mac OS X

rbenv is the best solution to to pick a ruby version for your specific environment.
However, even if rbenv has been installed successfully, the “Terminal” in Aptana Studio cannot stop choose the system default ruby version.

Because aptana terminal does not load ~/.bash_profile



My Environments

  • Mac OS X Mountain Lion
  • Aptana Studio 3
  • rbenv 0.4.0

Aptana terminal load the .aptanarc instead of .bashrc when start up. You can insert a path configurations for rbenv on it like this

$ echo 'export PATH="$HOME/.rbenv/bin:$PATH"' >> ~/.aptanarc
$ echo 'eval "$(rbenv init -)"' >> ~/.aptanarc

Enjoy, rubymongers!