Re: [Webware-discuss] IRC

2005-02-18 Thread Shayne ONeill
If it has an nickserv type function, you should be able to register the name, then log in with it and /ghost to kill the ghost client -- Shayne O'Neill.. trådkrämare http://perth.indymedia.org "I trust God speaks through me. Without that, I couldnt do my job." --George W Bush. http://atheism.

Re: [Webware-discuss] Webware performace

2005-01-21 Thread Shayne ONeill
ot; --George W Bush. http://atheism.about.com/b/a/099745.htm On Fri, 21 Jan 2005, Tim Roberts wrote: > On Fri, 21 Jan 2005 11:47:33 +0800 (WST), Shayne ONeill > <[EMAIL PROTECTED]> wrote: > > >Perhaps. I definately agree on the performance aspect. My personal concern > >is a stability

Re: [Webware-discuss] Charting libraries

2005-01-21 Thread Shayne ONeill
Theres always the option, suboptimal as it may be, of doing 'the unix thang' and spawning out to a charting command line app. Prior to working out GD (magic stuff!) on php, thats precisely what I'd do with image uploading. Works the charm. Also;- http://freshmeat.net/projects/pythongd/ But I do

Re: [Webware-discuss] Webware performace

2005-01-20 Thread Shayne ONeill
Perhaps. I definately agree on the performance aspect. My personal concern is a stability one. Basically I just dont believe the servlet model can offer the same sort of stability that the one-hit page model can, principally because on a php page, if the code raises an exception, it'll flatten the

Re: [Webware-discuss] Template engine in 2 lines :)

2005-01-01 Thread Shayne ONeill
the class. -- Shayne O'Neill.. trådkrämare http://perth.indymedia.org "I trust God speaks through me. Without that, I couldnt do my job." --George W Bush. http://atheism.about.com/b/a/099745.htm On Sun, 2 Jan 2005, Frank Barknecht wrote: > Hallo, > Shayne ONeill hat

[Webware-discuss] Template engine in 2 lines :)

2004-12-31 Thread Shayne ONeill
Template engine in 6 lines :) f =open('/templatedir/' + name, 'r') template = f.read() f.close() for k,v replacelist(): template = template.replace(str(k),str(v)) print template You start with a template file which is plain ol' html with lines like {name} you fill a list of replacements l

RE: [Webware-discuss] Experience to share: using WebWare, DocumentTemplate , HTMLGrid

2004-12-30 Thread Shayne ONeill
Uh man, you seem pretty pasionate on this. I'll just lay off it. Sorry man. Its just an impression and my gut vibe. Not something I care to dig too deeply in. > Hi, > > > > -Oorspronkelijk bericht----- > > Van: Shayne ONeill [mailto:[EMAIL PROTECTED] > > Verzo

RE: [Webware-discuss] Experience to share: using WebWare, DocumentTemplate , HTMLGrid

2004-12-29 Thread Shayne ONeill
Perhaps the correct description is "DTML" is interpreted by an interpreted language. Interpreted^2 even. No. I can plainly say that personally the mess that is DTML is precidely why I quit using zope (and havent looked back). > > OBJECTION !!! > > 1. Your remark "I've grown to hate" surprises m

Re: [Webware-discuss] How to work with forms ?

2004-11-22 Thread Shayne ONeill
wingware :) *grin* I like it :) Catchy even :) -- Shayne O'Neill.. trådkrämare http://perth.indymedia.org "I trust God speaks through me. Without that, I couldnt do my job." --George W Bush. http://atheism.about.com/b/a/099745.htm On Mon, 22 Nov 2004, Douglas Soares de Andrade wrote: > HI !

Re: [Webware-discuss] Re: A new version is badly needed

2004-07-28 Thread Shayne ONeill
Probably whats needed to get this sucker beautiful is for folks to go thu the system and build some simple regression tests. I think (from memory) theres a bunch of tests in there. Then if someone who knows about 'these things' feels up for it, they can on a regular basis grab the CVS, and build

Re: [Webware-discuss] A new version is badly needed

2004-07-28 Thread Shayne ONeill
I B M Money gogogo -- Shayne O'Neill.. trådkrämare http://perth.indymedia.org "Every gun that is made, every warship launched, every rocket fired, signifies in the final sense a theft from those who hunger and are not fed, those who are cold and are not clothed." President Dwight D. Eisenhowe

Re: [Webware-discuss] FormKit Validator question

2004-06-22 Thread Shayne ONeill
Try slashing and unslashing. Theres PHP functions for this, but I really dont know for py On Tue, 22 Jun 2004, Matt Feifarek wrote: > Marc Saric wrote: > > > Although this is only for Intranet-use, I would like to add a Validator, > > which prevents SQL-injection on Db-queries. > > > > Has anyon

Re: [Webware-discuss] from iis/asp to python

2004-06-09 Thread Shayne ONeill
Any one who makes a sane interface for PAM that also presents the same interface in NT deserves not just a medal, but a nobel peace prize (Im sure someone can think of why perhaps). Its a definate absence. -- Shayne O'Neill.. trådkrämare http://perth.indymedia.org "Every gun that is made, ever

RE: [Webware-discuss] Task-Queue using Webware...

2004-05-22 Thread Shayne ONeill
Could you break your task into little chunks and run it as a state machine with a permanant process that runs state 'chunks' and records progress? Its an odd way to do it, but it lets you run it all in a single thread. -- Shayne O'Neill http://perth.indymedia.org I know how hard it is for you to

Re: [Webware-discuss] htmlEncode, Database-access

2004-05-22 Thread Shayne ONeill
Shouldnt be too hard. With databases, just keep an eye on threading issues. It'll get ya everytime (Ie if one process is using a cursor and another one snatches it, well... *bang*.) MySQL is not particularly thread safe (and even cursors marked thread safe are still not really thread safe, because

RE: [Webware-discuss] How to have a servlet return an image?

2004-05-20 Thread Shayne ONeill
What you are witnessing of course is the cause behind many of the more grievious hacks out there, where the server sets mime type as gif and sends an exe. On older ie browsers it'll run the exe without asking for permission. And when you do this in an html email you have your basic virus. --

Re: [Webware-discuss] Stand-alone appserver (Unhappy with Adapters)

2004-05-07 Thread Shayne ONeill
We really need a debian and redhat package that can just magic it for people. -- Shayne O'Neill http://perth.indymedia.org I know how hard it is for you to put food on your family." George W. Bush On Fri, 7 May 2004, deelan wrote: > jose wrote: > > (...) > > Sorry for not being totally sym

Re: [Webware-discuss] Unhappy with Adapters

2004-05-05 Thread Shayne ONeill
amily." George W. Bush On Wed, 5 May 2004, John Goodyear wrote: > In most cases the machine spec has never been below P3-800 and the > machine load has been very low. Would it be worth me running with the > CVS version of WebWare over the 0.81 release? > > Shayne ONeill

RE: [Webware-discuss] Unhappy with Adapters

2004-05-04 Thread Shayne ONeill
On a low end machine, I had a lot of timeouts when ever the system needed to recompile a servlet... (latest cvs). Not sure the answer here other than I'd keep trying and eventually it'd come good. Timeouts + computers = magical behavior. How much headroom has the process got? It it a fairly loade

Re: [Webware-discuss] Large scale webware

2004-05-03 Thread Shayne ONeill
Ooh. I might just add;- if myaddr == 'a2.perthimc.asn.au': blogmode=0 self.cacheid='index' #Dont care else: blogmode=1 urluser = string.split(myaddr,'.')[0] self.cacheid=urluser+'blog'

Re: [Webware-discuss] Large scale webware

2004-05-03 Thread Shayne ONeill
I'm having certain problems gettign MySQL connections stable over larger usage (The lost mysql connection problem) Can someone write a little tutorial maybe on doing sql safely. I consider myself reasonably competant with software, and its even got me miffed. -- Shayne O'Neill http://perth.indy

Re: [Webware-discuss] second thoughts.

2004-04-22 Thread Shayne ONeill
. Partly cos I dont have ie to play with! But it makes things sure nice. -- Shayne O'Neill http://perth.indymedia.org I know how hard it is for you to put food on your family." George W. Bush On Fri, 23 Apr 2004, Ian Bicking wrote: > On Apr 22, 2004, at 9:50 PM, Shayne ONeill wro

Re: [Webware-discuss] What's in a style

2004-04-22 Thread Shayne ONeill
Actually the webware chapter in dietel was probably the only part of the book that really failed imho. Only because it missed the good stuff and concentrated on the psp. That said, theres probably rhyme and reason there in that it was intending to show that such a beast does exist, although I'm in

[Webware-discuss] second thoughts.

2004-04-22 Thread Shayne ONeill
ith a bunch of work? -- Shayne O'Neill http://perth.indymedia.org I know how hard it is for you to put food on your family." George W. Bush On Fri, 23 Apr 2004, Shayne ONeill wrote: > > Again. Its one of those things I could probably do well. I guess the > problem for me p

Re: [Webware-discuss] What's in a style

2004-04-22 Thread Shayne ONeill
that Webware can do well that PHP can't. (I like > to position it as the elegance of J2EE w/ the development speed of PHP) > > I think that a webware book should focus on tasks done well in Python > and webware. (Otherwise it seen as a less capable Java server or > overly c

Re: [Webware-discuss] Changing actions

2004-04-19 Thread Shayne ONeill
Would perhaps a state flag be apropriate that tells the object *NOT* to talk to the html output system? -- Shayne O'Neill http://perth.indymedia.org I know how hard it is for you to put food on your family." George W. Bush On Mon, 19 Apr 2004, Ian Bicking wrote: > I haven't been using acti

Re: [Webware-discuss] Excitement! :D

2004-04-15 Thread Shayne ONeill
" George W. Bush On Thu, 15 Apr 2004, deelan wrote: > Shayne ONeill wrote: > > > A simple problem that alot fo the examples use is that theres too much at > > once going on. > > > > none really have the simple "just decend from page and self.writeln() &

Re: [Webware-discuss] Excitement! :D

2004-04-15 Thread Shayne ONeill
boa-constructor (the vb/delphi like python enviro) generates uml. It'd be nice to develop a plug in for webware for it. looks like a complex subject tho. -- Shayne O'Neill http://perth.indymedia.org I know how hard it is for you to put food on your family." George W. Bush On Thu, 15 Apr 200

Re: [Webware-discuss] w4py.org subversion repository

2004-04-15 Thread Shayne ONeill
I'll upload the whole activismo2 cvs system at somepoint (Ian, mind if I keep it there for sync? Im personally no fan of sourceforge). Its a bit messy, but its got lots of nice bits to play with , rip out and redeploy. jit cacheing , epoz integration, reaaal damn simpleminded templates etc etc. A

Re: [Webware-discuss] Excitement! :D

2004-04-15 Thread Shayne ONeill
A simple problem that alot fo the examples use is that theres too much at once going on. none really have the simple "just decend from page and self.writeln() your output. self.request() has the form type enviro. Took me a while to figure it out. But maybe a simple "heres how to do hello world"

Re: [Webware-discuss] object has no attribute

2004-04-12 Thread Shayne ONeill
I knew the deep magic behind the bug I'd of sent a patch in already! Intermitency. Eek. -- Shayne O'Neill http://perth.indymedia.org I know how hard it is for you to put food on your family." George W. Bush On Mon, 12 Apr 2004, Jason Hildebrand wrote: > On Sat, 2004-04-1

Re: [Webware-discuss] object has no attribute

2004-04-10 Thread Shayne ONeill
I get this alot also. Webware occasionally not being able to see inside modules. then after touching the file (Often just adding a space to an empty line) or something it can see in it again. Tis verry puzzling. -- Shayne O'Neill http://perth.indymedia.org I know how hard it is for you to put fo

Re: [Webware-discuss] Re: Home Page / Portal

2004-04-10 Thread Shayne ONeill
I've had a couple of ideas on some of this (kinda off AND on topic) I'd really like to see a 'webware parts' type setup ,perhaps as a plugin, where theres a central repository of pre written objects that page designer could drop into his/her own design to achieve various functionalities that'd ot

Re: [Webware-discuss] w4py.org Subversion repository

2004-04-09 Thread Shayne ONeill
Maybe a dynamic 'comminity projects' ticker. Like somewhere where new webware projects are mooted and appear. This'd give the impression of a dynamic and used software community. I also like the search facilities on the php page. Right up front and in yer face. -- Shayne O'Neill http://perth.ind

Re: [Webware-discuss] WebKit dies

2004-04-09 Thread Shayne ONeill
If you rely on this however, you can still be assured your server will still be broken! Seriously. Its *not* the answer. If your using javascript to avoid doubleclicks, because doubleclicks crash the server, then you should be prepared to accept that the server will still crash on daily basis, be

RE: [Webware-discuss] WebKit dies

2004-04-08 Thread Shayne ONeill
Ah! No man! If thats the answer , then the answer is wrong! Security observation. "Bug" is another name for "Vunerability". Example. If that mysql insert is not particularly atomic, and remember we are probably talking mysql without transactions, a half done insert set might whack the db. DoS w

Re: [Webware-discuss] WebKit dies

2004-04-08 Thread Shayne ONeill
This lost mysql connection is a similar phenomenon to one I have observed where I have a couple of near simultaneous page hits. I *think* its due to a cursor being declared globally and not being threadsafe. Perhaps a lock on the cursor might help? I'd like to know a good solution to this myself

[Webware-discuss] wiki wiki wiki wiki!

2004-04-06 Thread Shayne ONeill
It just struck me that whereas the php people fall over themselves to build a million and one "yet another groupware package" thingees, the webware folks fall over each other to make wiki's. This tells me a lot of positive things about the psychology round here! Nice :) -- Shayne O'Neill http:/

Re: [Webware-discuss] Choosing a wiki

2004-04-05 Thread Shayne ONeill
I'd certainly take no offence if a reST one is used :) That little wiki I whacked together is admitedly a little messy and probably useless without the auth the rest of my software provides. :) Whats the PyDiddy port like? -- Shayne O'Neill http://perth.indymedia.org I know how hard it is for you

Re: [Webware-discuss] The hosting factor...

2004-04-05 Thread Shayne ONeill
Its a shame if hosts dont like it. On the perth indymedia server, we had zope running, and it absolutely beat the hell out of the little guy (p255 with 96meg.) The server actually hosts about 10-15 sites. Anyway, we are phasing out zope, and porting apps to webware, and even with ten threads runni

Re: [Webware-discuss] Database object-relational mappers

2004-04-04 Thread Shayne ONeill
Wow. That looks totally neat. How well does it cope with inner joins and the like? -- Shayne O'Neill http://perth.indymedia.org I know how hard it is for you to put food on your family." George W. Bush On Sun, 4 Apr 2004, Ian Bicking wrote: > For comparison, here's some of the same thing

Re: [Webware-discuss] Wiki source file.

2004-04-03 Thread Shayne ONeill
Marvelous. Thankyou :) -- Shayne O'Neill http://perth.indymedia.org I know how hard it is for you to put food on your family." George W. Bush On Sat, 3 Apr 2004, Frank Barknecht wrote: > Hallo, > Shayne ONeill hat gesagt: // Shayne ONeill wrote: > > > Does anyone

Re: [Webware-discuss] Wiki source file.

2004-04-03 Thread Shayne ONeill
t executes wiki.py and passess the frontpage part of the url to wiki.py? -- Shayne O'Neill http://perth.indymedia.org I know how hard it is for you to put food on your family." George W. Bush On Sat, 3 Apr 2004, Frank Barknecht wrote: > Hallo, > Shayne ONeill hat gesagt: // Sh

[Webware-discuss] Wiki source file.

2004-04-03 Thread Shayne ONeill
Attached is the source code for wiki so far. Please note some of the code there is related to another project I'm working on. You'll need to change the dbconnect.py file to reflect where in mysql the pages live. You'll also need to change render.py to reflect where the templates live. I *think

[Webware-discuss] Prototype wiki code::Functioning;-

2004-04-03 Thread Shayne ONeill
ation. -- Shayne O'Neill http://perth.indymedia.org I know how hard it is for you to put food on your family." George W. Bush On Fri, 2 Apr 2004, Ian Bicking wrote: > On Apr 2, 2004, at 8:13 PM, Shayne ONeill wrote: > > I'm gunna throw together a quick wiki servlet (I n

Re: [Webware-discuss] virtual server ready; domain registration up next

2004-04-02 Thread Shayne ONeill
ush On Fri, 2 Apr 2004, Ian Bicking wrote: > On Apr 2, 2004, at 8:13 PM, Shayne ONeill wrote: > > I'm gunna throw together a quick wiki servlet (I need it infact for > > another project anyway). I'll report back later today with a prototype. > > You should look at thi

Re: [Webware-discuss] virtual server ready; domain registration up next

2004-04-02 Thread Shayne ONeill
I'm gunna throw together a quick wiki servlet (I need it infact for another project anyway). I'll report back later today with a prototype. -- Shayne O'Neill http://perth.indymedia.org I know how hard it is for you to put food on your family." George W. Bush On Fri, 2 Apr 2004, Jason Hildeb

Re: [Webware-discuss] What's in a style

2004-03-30 Thread Shayne ONeill
Hmm. A book. I'm wondering if I should/could put my hands up on that one. Being that I'm a journo by trade, I'm thinking I might be able to pull it off. Now that said, I'd need some serious ears when I had a question to bounce off. That said, I'm a reasonable enough programmer, or I'd like to th

Re: [Webware-discuss] What's in a name

2004-03-29 Thread Shayne ONeill
MAy I humbly suggest sticking with webware. The names out there. The branding sticks. Some projects disapear after the established brand name changes. Ever remember what happened to Killustrator? Also if one MUST change it, theres something microsoft worked out:: The name should indicate what it

Re: [Webware-discuss] Tech question on file uploads

2004-03-29 Thread Shayne ONeill
how hard it is for you to put food on your family." George W. Bush On Mon, 29 Mar 2004, Nick Murtagh wrote: > Shayne ONeill wrote: > > Thanks a million nick. I would apreciate an example > > This is a modified version of code I use... > > def bUploadFile(self, s

Re: [Webware-discuss] StreamOut Error

2004-03-28 Thread Shayne ONeill
Perhaps your timing out the server. Try setting time out settings in apache and wherever it is in webware (hey I'm new to this also;) Perhaps you can also try reading the damn thing in one big chunk and spitting it out in one big chunk. I also am inclined t osuggets wrapping em in try: finally:

Re: [Webware-discuss] Tech question on file uploads

2004-03-27 Thread Shayne ONeill
George W. Bush On Sun, 28 Mar 2004, Shayne ONeill wrote: > > Thanks a million nick. I would apreciate an example > > (Or if I work it out I'll post one). > > Should it perhaps be put up on the wiki? > > -- > Shayne O'Neill > http://perth.in

Re: [Webware-discuss] Tech question on file uploads

2004-03-27 Thread Shayne ONeill
4, Nick Murtagh wrote: > Shayne ONeill wrote: > > I get the whole filerarara:FieldStorage('userfile','filename','assorted > > cruft') returned. > > > > I just dont know how to get to whats inside those wee lil' brackets. > > The

[Webware-discuss] Tech question on file uploads

2004-03-26 Thread Shayne ONeill
I hope I got the right list for this (please point it out if I dont) I've just ported a cms system (or rather am half way thru it) from php to spyce , a python server page type system. After finding spyce to be a little too slow and flakey, I've taken the plunge and moved the code across to webwa

RE: [Webware-discuss] Testing Frameworks

2004-03-26 Thread Shayne ONeill
Hey all. Shayne Here. Just started wist webware. Theres a learning curve, but I'm getting it Perhaps folk should talk with the boa-constructor people about putting stuff in that framework for testing, modeling et al. Its a really nice rad system, and the zope interaction is great. Would be ni