-
-
-
i admire thoughtbot hugely, everything they do is super high level, both design and code. so when they followed me on twitter and tweeted that they liked me and my open source projects, it literally made my week.
nerdy i know, but true. :D
-
Slanger - Open Source Pusher protocol powered by Ruby and Redis←link!
I just got changelog’d
:D
Pusher has become a favorite for developers looking to add real-time events to their applications quickly and reliably. For developers who would rather keep everything in-house, Stevie Graham has released Slanger, an open source Ruby implementation of the Pusher protocol that uses Redis on the backend.
Presence channel state is shared using Redis. Channels are lazily instantiated internally within a given Slanger node when the first subscriber connects. When a presence channel is instantiated within a Slanger node, it queries Redis for the global state across all nodes within the system for that channel, and then copies that state internally. Afterwards, when subscribers connect or disconnect the node publishes a presence message to all interested nodes, i.e. all nodes with at least one subscriber interested in the given channel.
With the gem installed, and Redis running, you can fire up Slanger, passing it your Pusher API keys:
$ slanger --app_key 765ec374ae0a69f4ce44 --secret your-pusher-secretYou’ll also need to modify the host and port settings in your server-side Ruby and client-side JavaScript:
# Ruby ... Pusher.host = 'slanger.example.com' Pusher.port = 4567 // JavaScript ... Pusher.host = 'slanger.example.com' Pusher.ws_port = 8080The project is brand new, but it looks to be a promising alternative to Pusher if you need to control data end-to-end or just need to run a development environment when your Internet connection is dodgy.
If you’re new to Pusher, websockets, and the real-time web, be sure and check out Episode 0.3.1 for a proper introduction.
-
mrs g
-
instagram is my shit. it makes look like david bailey, when i am in fact visually retarded.
follow me sjtgraham
-
vim_and_ruby: HATEOAS ←link!
I’m veering further from the simple vim and ruby path and may need to rename this blog.
I’ve been trying to gain insight into the meaning of HATEOAS.
This started off as a README for my fork of Steve Klabnik’s Hateos project.
I have an intuitive sense that there must be value in the principle…
-
my friend cory winning at halloween as lil wayne. everything is fake: hair, tats, etc. brilliant!
-
dynosaur: an sms interface for administering your heroku apps
-
Arrrr!
-
magic @ 30,000ft
-
because you have to have a pairing station in your own home
-
the apple store at the end of my street
-
Considering how apparent it was that Steve’s health was gravely bad and rapidly deteriorating, we all in the back of our minds knew the time we had him in this world was limited and precious. So it comes as a complete shock to me how upset i actually am by Steve’s passing.
Even though most of us never knew him, we all feel as if we did know him very well; his inventions, complete labours of love, have become so central to how we live our lives. The profound impact his creations have had on us cannot make us feel any other way.
I didn’t go to college, and I remember having a shitty job back in the day, saving so hard to buy a PowerBook G4, but it was completely worth it because purchasing that machine literally changed my life. Without a computer that was an absolute joy to use, I would have never spent so many hours learning how to code and consequently now have the career opportunities that I do.
I feel eternally indebted to Steve, despite having never met the man myself. By creating the wonderful tools he did for us to work with, I feel he is significantly responsible for the career I have today.
To one of the few that can say ‘I changed the world’, thank you.
Rest in peace Steve
-
just another day at the office guys.
Tue20Dec
Sun18Dec
Wed14Dec
Fri02Dec
Thu01Dec
Sun13Nov
Mon31Oct
Tue25Oct
Sat15Oct
Sat08Oct
Fri07Oct
Thu06Oct
Wed28Sep