occasionally useful ruby, ubuntu, etc

1Jan/094

Accessing GM_xmlhttprequest from event handlers bound by jQuery

So I like jQuery. And I like Greasemonkey. I especially like the ability of Greasemonkey's ajax calls to go cross-domain. But how do I get access to this functionality in my event handlers? Calling GM_xmlhttprequest in a method that doesn't execute while the Greasemonkey sandbox is still alive doesn't work. At first I didn't think it was possible, but I discovered a way...using setInterval.

28Oct/080

Startling Discovery

So I have made a startling discovery -- the plastic cap on the end of your shoelaces is called an aglet.

Filed under: musing No Comments
2Oct/080

Game ideas?

Well, another day, another quest for game ideas. An online game would be fun to make, but my problem is always I think too damn big. My last idea was a Utopia clone, and I got so far as to create a scripting language that compiled into Ruby, but I just never got around to finishing it. What would be nice is a game that's fun in its simplicity -- simple to play, simple to program, just something you spend half an hour or an hour on a day, tops. There'd be a way to interact with other people easily; there'd be chat rooms and forums, and discernible "hot spots" where a lot of people were chatting or posting messages. But the most important thing is core gameplay: unique, rewarding, and fun. I'll get right on that...

1Jul/080

Reading a lot

Hey all. I've had a lot of free time on my hands lately, so I've been splitting that between watching TV, reading online articles, and designing Stick Diablo (name pending). There's a lot of interesting news out there though...if you're curious about what I'm checkin' out, take a look at my shared Google Reader list, here. Hope you find something interesting!

Filed under: musing No Comments
13Jun/080

Ideas!

So I always have a lot of ideas bouncing around in my head. I think I'm going to try to write about them here before attempting to implement them, partly so I can just walk through the idea and get it down in writing.

On that note, one of my recent ideas was this idea of a "distributed webserver". Okay, great, turns out it's actually been done and/or researched before. But I hadn't quite found the idea I was thinking about. My idea was to have a [email protected] the same way you have [email protected] or [email protected] or BOINC. The goal would be to have a distributed webserver that ran on untrusted clients with full site rendering and database capaibilities, serving pages to users' browsers. Sounds like sort of a cool idea, right? Distributed stuff is always cool, plus you might actually get better end-user performance if you whip some geocoding into the mix (i.e. servers are picked based on proximity to user). To install on your server, you could download what would essentially be VirtualBox plus an image, and then run a bit of config and be good to go.

My inspiration for the idea is that it would be cool to be able to get a VPS for myself and sell the excess cycles/bandwidth/storage to web sites I like.

Filed under: idea, musing Continue reading