Tue20Dec

  1. Sun18Dec

  2. 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

    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

  3. Wed14Dec

  4. Slanger - Open Source Pusher protocol powered by Ruby and Redis←link!

    I just got changelog’d

    :D

    thechangelog:

    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-secret
    

    You’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 = 8080
    

    The 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.

  5. Fri02Dec

  6. mrs g

    mrs g

  7. Thu01Dec

  8. instagram is my shit. it makes look like david bailey, when i am in fact visually retarded.
follow me sjtgraham

    instagram is my shit. it makes look like david bailey, when i am in fact visually retarded.

    follow me sjtgraham

  9. Sun13Nov

  10. vim_and_ruby: HATEOAS ←link!

    vim-and-ruby:

    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…

  11. Mon31Oct

  12. my friend cory winning at halloween as lil wayne. everything is fake: hair, tats, etc. brilliant!

    my friend cory winning at halloween as lil wayne. everything is fake: hair, tats, etc. brilliant!

  13. Tue25Oct

  14. dynosaur: an sms interface for administering your heroku apps
http://github.com/stevegraham/dynosaur

    dynosaur: an sms interface for administering your heroku apps

    http://github.com/stevegraham/dynosaur

  15. Sat15Oct

  16. Arrrr!

    Arrrr!

  17. Sat08Oct

  18. magic @ 30,000ft

    magic @ 30,000ft

  19. because you have to have a pairing station in your own home

    because you have to have a pairing station in your own home

  20. Fri07Oct

  21. the apple store at the end of my street

    the apple store at the end of my street

  22. Thu06Oct

  23. 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

    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

  24. Wed28Sep

  25. just another day at the office guys.

    just another day at the office guys.