<< Sunday panel: "Net Art: What is it and Can it Survive?" |
| "What time is it going to rain?" >>
Posted Tuesday, November 1, 2005 | Tagged: ruby
Fellow Rubyists! How many times have you thought to yourself: “If only there was a more elegant way to download and execute code from all over the internets!” Well, urirequire is the lib for you. By hijacking Kernel.require, urirequire makes it a snap to include code from anywhere on the World Wide Whatever. Sure, eval’ing code that you don’t own might be dangerous; for all you know, that remote Ruby file could be undefining Class or emailing your ex-girlfriends. But I say it’s time to get with the bleeding edge! Control of your own code is so February 2005.
require 'urirequire' require 'http://fhwang.net/urirequire_test'
Run this, if you feel lucky. Do ya, punk?
ruby -rurirequire -e "require 'http://go.hobix.com/'"
This installs Hobix, that fantabulous blahhg engine by your friend and mine, why the lucky stiff. Sure, it looks like there’s a lot of code at that URI, but if you can’t trust _why, who can you trust? I mean, you trust your mom, and she couldn’t draw a cartoon fox if her life depended on it.
urirequire: The network Pwns the computer!
urirequire: Now I’ll never get that job working for Bruce Schneier.
urirequire: It’s not just a solution looking for a problem. It’s a solution looking for a victim.
james britt
First tracked January 12, 2006
… code just handles HTTP, but expanding it would be fairly trivial.)
I then pretty much forgot about it.
However, it seems that Francis has been revamping his Web site, causing older posts to resurface in my RSS reader.
This prompted me to take another look at my code and write up an example for the O'Reilly Ruby blog, showing off what I dubbed HyperActiveRequire …
The Year of Living Dangerously - O'Reilly Ruby
First tracked January 10, 2006
… Learning Lab
eDocuments
Podcasts
The Year of Living Dangerously
Monday January 2, 2006 10:13PM
by James Britt in Technical
Francis Hwang once posted an item about modifying Ruby’s require method so that you can load files over HTTP (or, really, pretty much any file transfer protocol).
It’s really quite clever. I think, though, …
lixo.org » Piece of cake dependency management in Ruby
First tracked November 2, 2005
…
Filed under: General, OpenSource, Agile, WebServices, Web, Ruby, Geek, Security, Programming — Carlos Villela @ 11:51 pm
I just stumbled across Francis Hwang’s urirequire library, via _why, and I just had one of those ‘why didn’t I come up with this?’ moments.
If you haven’t played with Ruby yet, or just don’t feel like …
RedHanded » require 'thin_ice'
First tracked November 2, 2005
… government guys didn’t even feel like giving you much of a toss anyway.
require 'urirequire' require 'http://fhwang.net/urirequire_test'
Fortunately, Francis says other hilarious things to cheer us up:
Taglines which will probably make nobody download my lib but I think are funny anyway
urirequire: The network Pwns the computer!
urirequire: …