Hi all, I liked a lot the squekapeople metric idea and in general its organization. In which language is written that site? Is perl used? or something else? I have searched in the various link, but without so much success!!
SqueakPeople at the moment uses mod_virgule, a C-coded Apache module originally developed for www.advogato.org
Now, that couldn't be farther removed from Squeak than we'd like, so I am about to rewrite the whole thing in Squeak. However, everything is stored as XML documents and my first attempts at parsing XML (with the parser that comes with Squeak 3.7) weren't quite succesful, from a performance point of view (it takes multiple seconds to parse a single document that has just account info and a list of pointers to articles/diary entries). As soon as that hurdle is cleared, I'll move the site part for part into Squeak (making use of Apache's mod_rewrite to make sure that no-one will notice ;))
On Thu, 30 Dec 2004 14:35:45 +0100, Giovanni Giorgi giovanni.giorgi@siforge.org wrote:
Hi all, I liked a lot the squekapeople metric idea and in general its organization. In which language is written that site? Is perl used? or something else? I have searched in the various link, but without so much success!!
Cees de Groot wrote:
Now, that couldn't be farther removed from Squeak than we'd like, so I am about to rewrite the whole thing in Squeak. However, everything is stored as XML documents and my first attempts at parsing XML (with the parser that comes with Squeak 3.7) weren't quite succesful, from a performance point of view (it takes multiple seconds to parse a single document that has just account info and a list of pointers to articles/diary entries).
I've got a look/work-alike of SqueakPeople, done with Seaside 2.3. It's not feature complete (i.e. logged-in vs. not logged-in behaviour, and the ranking computation). The data is saved in PostgreSQL.
I use it as a way to drive out requirements for some frameworks I'm working on. My tool is far from ready, but I can send out the Seaside GUI code. Or, I can help with Squeakifying SqueakPeople if you're looking for help.
On Fri, 31 Dec 2004 16:15:55 -0500, Yanni Chiu yanni@rogers.com wrote:
I've got a look/work-alike of SqueakPeople, done with Seaside 2.3. It's not feature complete (i.e. logged-in vs. not logged-in behaviour, and the ranking computation). The data is saved in PostgreSQL.
Seaside is the least of my trouble (note that I think we want SqP to publish static data "directly", e.g. with Kom or similar, so that we have clean static URL's just like SqP currently has). Biggest issue for a smooth transfer is the handling of SqP's XML data store, especially w.r.t. performance.
What is the fastest XML parser for Squeak at the moment?
I will suggest you to use xml only for import/export and compatibility with the current implementation. I have used succesfully SIXX for saving my data adn I like it a lot, but for a quite medium application with more then 100 users I will strong suggest to do not use XML as a storage medium. XML is good for data manipulation but it is very very slow, and in my past project I passed a lot of time tring to optimize the XML transformer INSTEAD of testing or bug fixing.
Cees de Groot ha scritto in data 02/01/2005 22.12:
On Fri, 31 Dec 2004 16:15:55 -0500, Yanni Chiu yanni@rogers.com wrote:
I've got a look/work-alike of SqueakPeople, done with Seaside 2.3. It's not feature complete (i.e. logged-in vs. not logged-in behaviour, and the ranking computation). The data is saved in PostgreSQL.
Seaside is the least of my trouble (note that I think we want SqP to publish static data "directly", e.g. with Kom or similar, so that we have clean static URL's just like SqP currently has). Biggest issue for a smooth transfer is the handling of SqP's XML data store, especially w.r.t. performance.
What is the fastest XML parser for Squeak at the moment?
Yanni Chiu wrote:
Cees de Groot wrote:
Now, that couldn't be farther removed from Squeak than we'd like, so I am about to rewrite the whole thing in Squeak. However, everything is stored as XML documents and my first attempts at parsing XML (with the parser that comes with Squeak 3.7) weren't quite succesful, from a performance point of view (it takes multiple seconds to parse a single document that has just account info and a list of pointers to articles/diary entries).
I've got a look/work-alike of SqueakPeople, done with Seaside 2.3. It's not feature complete (i.e. logged-in vs. not logged-in behaviour, and the ranking computation). The data is saved in PostgreSQL.
I use it as a way to drive out requirements for some frameworks I'm working on. My tool is far from ready, but I can send out the Seaside GUI code. Or, I can help with Squeakifying SqueakPeople if you're looking for help.
I haven't tried Squeak and PostgreSQL yet, but will the PostgreSQL driver work with the coming 8.0 release? Or is a driver that will in the works?
Thanks.
Jimmie Houchin
Jimmie Houchin ha scritto in data 04/01/2005 7.04:
[...] I haven't tried Squeak and PostgreSQL yet, but will the PostgreSQL driver work with the coming 8.0 release? Or is a driver that will in the works?
As far as I know, the Postgres driver of squeak support an old protocol. It should work with the 7.x and (I hope) even with the 8.x. I will try the 7.x driver in the next weeks, and I will post my impression to the list... bye bye
On Tue, 04 Jan 2005 10:12:23 +0100, Giovanni Giorgi giovanni.giorgi@siforge.org wrote:
Jimmie Houchin ha scritto in data 04/01/2005 7.04:
[...] I haven't tried Squeak and PostgreSQL yet, but will the PostgreSQL driver work with the coming 8.0 release? Or is a driver that will in the works?
As far as I know, the Postgres driver of squeak support an old protocol. It should work with the 7.x and (I hope) even with the 8.x. I will try the 7.x driver in the next weeks, and I will post my impression to the list... bye bye
The PostgreSQL driver uses the 2.5 protocol instead of the 3.0 protocol, but the newer versions of PostgreSQL support it fine. I used the current Squeak driver with 7.4.6 for a MASSIVE project this past semester, and it worked very well, even under a heavy load. It also worked on the 8.0 alpha stream in light testing, but PostgreSQL logged a warning that the 2.5 protocol is outdated. I also did not test this configuration extensivley, so there may have been issues I didn't catch. The only component that's missing functionality-wise that I noticed--and it doesn't work on 7 or 8--is MD5 password authentication. Adding it is on my ever-growing TODO list, but if you want to add it, it would be a relatively trivial modification to the state machine.
-- Benjamin Pollack
Benjamin Pollack wrote:
I used the current Squeak driver with 7.4.6 for a MASSIVE project this past semester, and it worked very well, even under a heavy load.
Is there a link to more info?
It also worked on the 8.0 alpha stream in light testing, but PostgreSQL logged a warning that the 2.5 protocol is outdated.
Ah, not so pretty. I guess that some time down the road I'll have to update the code to the new protocol (it's not that hard).
The only component that's missing functionality-wise that I noticed--and it doesn't work on 7 or 8--is MD5 password authentication.
Only cleartext authentication is coded for. The other 4 or so auth. methods have no code support (I thought there would at least be a warning - very bad if it's just silent).
Giovanni Giorgi wrote:
Jimmie Houchin ha scritto in data 04/01/2005 7.04:
[...] I haven't tried Squeak and PostgreSQL yet, but will the PostgreSQL driver work with the coming 8.0 release? Or is a driver that will in the works?
The driver is coded for Version 2 of the frontend/backend protocol. Starting with PostgreSQL 7.4.x, an updated Version 3 protocol was introduced, but the old protocol was still supported. I run with 7.4.x, so the backward compatibility seems to work.
I've not seen mention of any further protocol change for 8.0, so I'd expect 8.0 to work too. But, I've not tried any 8.0 (beta/RC's).
At this point, there's no new driver in the works for the version 3 protocol on my end.
As far as I know, the Postgres driver of squeak support an old protocol. It should work with the 7.x and (I hope) even with the 8.x. I will try the 7.x driver in the next weeks, and I will post my impression to the list...
Great, looking forward to it.
squeak-dev@lists.squeakfoundation.org