KBD

Keith Devens .com

Thursday, December 4, 2008 Flag waving
"Child," said the Voice, "I am telling you your story, not hers. I tell no one any story but his... – C.S. Lewis (The Horse and His Boy, ch 11)
← Awesome stuff in the news todayStick to the user-agent, or RSS readers misuse the referrer header →

Daily link icon Thursday, January 30, 2003

Programming stuff for the day

REST for AOLserver, PyWX, and Quixote:

This document provides an introduction to REST plus suggestions and instructions on how to deliver RESTful applications on top of AOLserver, PyWX, and Quixote, possibly with help of a relational database such as PostgreSQL

Also related is this REST and FSM and BP for Quixote How-to:

This document describes the use of finite state machines (FSM) to implement complex processes in a REST style. Example implementations built on top of the Quixote Web application server are provided.

Check out PiP - Python in PHP:

Both Python and PHP are what has become known as interpretted scripting languages. Each has achieved substantial popularity due primarily to their ability to facilitate rapid prototyping. As both a Python and PHP enthusiast, I wanted to bring these two systems together to promote even greater and more interesting development opportunities.

To that end, I've written a Python extension for PHP. In short, this extensions allows the Python interpretter to be embedded inside of PHP (think of PHP as the parent language with Python as its child). This allows native Python objects to be instantiated and manipulated from within PHP. There is also initial support for accessing PHP functions and data from within the embedded Python environment.

How awesome would this be? I'd love to be able to use Python from PHP.

Ok, now I'm looking up stuff on Quixote, which I haven't really looked at before. Check out their overview. I just printed out this article from Linux Journal, and I'm about to print out some of their document describing their architecture. Also, see Why We Don't Use Zope and Scalability, Three-Tiered Architectures, and Application Servers by Philip Greenspun.

← Awesome stuff in the news todayStick to the user-agent, or RSS readers misuse the referrer header →

Comments XML gif

M. Bean wrote:

Hey Keith, I'm putting this comment in your programming post, seeing as it's about programming... Anyway, you haven't been online and I'm too lazy to email, so I was wondering what you knew about/thought of the Jabber protocol? I've been looking into it (only slightly) and I was wondering how useful it really was. Nobody I know here has any experience with it, however.

If you haven't already, you might want to poke around the site, they are doing some really interesting things, I'm just not sure if I want to jump onboard just yet. What do you think?

http://www.jabber.org/

∴ M. Bean | 31-Jan-2003 2:27am est | #1360

Keith (http://www.keithdevens.com/) wrote:

I looked into Jabber back in the day, before it was ever released, and I idealistically hoped that it would become the basis of some unified instant messaging framework, but unfortunately that never happened.

I don't have any recent experience with it, but the impression I get is that it's very well designed. It seems to have plenty of libraries available and good documentation, and it's "real" and people actually build things off of it.

If you have something it would be useful for, there's no reason not to jump on board. What were you thinking of using it for?

Keith | 31-Jan-2003 2:40am est | http://www.keithdevens.com/ | #1361

M. Bean wrote:

Well, they have a neat data push model, where users can subscribe to a message feed and get the messages automatically... something I thought was kind of neat.

I was considering writing a weblog/news/whatever updater through the jabber protocol. Ex. type a weblog post in a jabber chat window and it gets published to the blog. Payload is XML, and while I loathe it, there are enough things out there to do the parsing for me (yay expat!). Also, when people comment on the site, it could send me a jabber message about it. Likewise, I could do crazy stuff like track visitors by IP... like if you had a Jabber account, any IM system can gather your IP address... if your IP address was viewing my site, it would send me a message saying you were currently visiting my site. It could also help manage the site... when a 404 happens it could message me, for example... I just find IM so much more elegant than email, especially if I'm right at my computer when it happens and I can do a realtime diagnostic. There is also the obvious possibility to allow people to subscribe to the jabber feed for a certain post and then they will be IMed any time someone comments on a post, and possibly (haven't looked into it) they could just comment right back in the IM window and the comment will appear on the blog, and be sent to everyone else who subscribed, etc... instant topical chat!

Of course, I'm just throwing out ideas. I came across the site, having heard of Jabber back well before it had anything tangible (and thus I dismissed it), and it looked kinda neat. What do you think?

∴ M. Bean | 31-Jan-2003 3:00am est | #1362

Keith (http://www.keithdevens.com/) wrote:

What do I think? It all sounds cool, though I'm not sure if quite all of that would be feasible. Smiley In any case, Jabber seems to me like it's so much more than just IM, but A. I don't understand the design enough to know exactly what it can and can't do, and B. I'm not creative enough to think of all kinds of super-cool uses for it.

Keith | 31-Jan-2003 7:06pm est | http://www.keithdevens.com/ | #1365

M. Bean wrote:

It just pisses me off that Trillian doesn't support Jabber. I use Trillian for AIM, ICQ, MSN, and Yahoo (and I do actually have people I talk to who use only one of the four, making Trillian a very welcome program on my machine), and even though Trillian 1.0 (the retail version) has a plugin architecture, nobody has written a Jabber plugin for it. I've been toying with the idea of taking that charge, but you know my time restrictions and other outside factors, so I'm really not in the position to make those promises. I'm just not too keen on having to run multiple IM clients again, even if Jabber is really cool.

I guess I'll have to look into it more and research the feasibility of some of the stuff I mention above. I'll let you know what I find out.

∴ M. Bean | 1-Feb-2003 12:47am est | #1367

M. Bean wrote:

In regards to the updating via Jabber thing... http://jogger.jabber.org/

∴ M. Bean | 1-Feb-2003 1:39am est | #1368

Feel free to post a comment below. Please see my comment policy.

Formatting Rules (No HTML):

  • **bold**, *italic*, _underlined_, --strikeout--
  • "text"="url" creates a link, and URLs are auto-highlighted
  • Blockquote: Like e-mail, begin paragraph with > (greater-than sign)
  • Lists: begin paragraph with *,-, or + (unordered), or # (ordered)
  • Code block: ?!code:language=perl|php|sql|javascript|etc.{\n}...{\n}?!/code

:
(will be your IP address if blank)
: (optional)
(Will not be shown on site)

: (optional)
:

December 2008
SunMonTueWedThuFriSat
 123456
78910111213
14151617181920
21222324252627
28293031 



RSS feed RSS feed for Keith's Weblog
Atom feed Atom feed for Keith's Weblog
Weblog archive
Recent comments
  on 4 posts

Recent comments XML

Girls, please don't get breast implants

I have 34 A breast but at 22 years​old they seem to be growing again​which ...

76.64.120.153: Dec 3, 10:00am

Perl 6 1.0 in March?

Doh, my mistake. I'm aware of the​relation between Parrot and Rakudo​but I'...

Keith: Dec 2, 1:03am

Free image hosting sites

Well, TinyPic has this in its​FAQ:

> Images and videos is in​your accoun...

Keith: Dec 1, 1:13am

Join a NameValueCollection into a querystring in C#

Well with a lamba expression, this​is what I came up​with:

?!code:csharp...

Gustaf Lindqvist: Nov 30, 4:38pm

Generated in about 0.193s.

(Used 8 db queries)

mobile phone