[TurboGears] Re: TurboGears has a Trac now

2005-10-02 Thread Bob Ippolito
On Oct 2, 2005, at 10:20 PM, Kevin Dangoor wrote: Given the speed with which I could get a Trac running and some of Ian's convincing arguments, TurboGears now has a Trac. It won't be mentioned on the website until I get Ticket 5 done, however... (some documentation already has changes for

[TurboGears] Re: Kid and embedded javascript

2005-10-06 Thread Bob Ippolito
On Oct 5, 2005, at 10:32 PM, [EMAIL PROTECTED] wrote: Hi, Kid is very strict. It got confused if I embedd javascript in the template and use a completely legal construct like : if (a 10) I believe it is the '' that is being interpretated as begining of tag. Using the comment out trick

[TurboGears] Re: PATCH - FormEncode requirment

2005-10-06 Thread Bob Ippolito
On Oct 6, 2005, at 6:58 AM, Kevin Dangoor wrote: On 10/6/05, Matthew Scott [EMAIL PROTECTED] wrote: On 10/6/05, Kevin Dangoor [EMAIL PROTECTED] wrote: Hmm... I had no problem with getting the thirdparty packages. Alternatively, you can pick up the FormEncode trunk manually:

[TurboGears] MochiKit 0.90 released

2005-10-08 Thread Bob Ippolito
MochiKit 0.90 http://mochikit.com/download.html has been released! This release includes a new feature, some bug fixes. The new feature in 0.90 is JSON serialization and evaluation support via serializeJSON, evalJSON and registerJSON. 2005-10-08 v0.90 - Fixed ISO compliance with

[TurboGears] Re: Kid is Pain in the ( )*( )

2005-10-17 Thread Bob Ippolito
On Oct 17, 2005, at 3:02 PM, Art wrote: Is there a way to make KID accept regular HTML and to be so uptight on proper XML. I have a bunch of older HTML pages that I'm trying to use in Subway but making it all XML compliant is a major pain. No. Or maybe going with cheetah would be easier

[TurboGears] Re: TG doesn't like 'content'?

2005-10-22 Thread Bob Ippolito
On Oct 22, 2005, at 1:30 PM, Swaroop C H wrote: I'm facing a strange problem where returning dict(content='',) in any index() causes TG to cry but changing it to dict (someothername='',...) works. It looks like Kid has a few reserved names in the BaseTemplate that you can't use:

[TurboGears] MochiKit 1.0!

2005-10-24 Thread Bob Ippolito
MochiKit 1.0 is out the door: announcement: http://bob.pythonmac.org/archives/2005/10/24/mochikit-10/ download: http://mochikit.com/download.html svn tag: http://svn.red-bean.com/mochikit/tags/MochiKit-1.0/ Lots of changes, the coolest ones are the new examples: MochiRegExp - a Regular

[TurboGears] Re: python 2.3

2005-10-28 Thread Bob Ippolito
On Oct 28, 2005, at 12:20 AM, [EMAIL PROTECTED] wrote: Kevin Dangoor wrote: On 10/27/05, David Stanek [EMAIL PROTECTED] wrote: On 10/27/05, Leandro Lucarella [EMAIL PROTECTED] wrote: And list comprehension (but I don't know if TG uses list comprehension a lot). List

[TurboGears] Re: SVN Checkout Problem

2005-10-31 Thread Bob Ippolito
On Oct 31, 2005, at 11:11 AM, SuperJared wrote: When attempting to check out TG: Fetching external item into 'turbogears/thirdparty/sqlobject/ ez_setup' svn: Unknown hostname 'svn.eby-sarna.com' Is anyone able to resolve that host? Looks like his DNS is down, but it appears that

[TurboGears] Re: SVN Checkout Problem

2005-10-31 Thread Bob Ippolito
On Oct 31, 2005, at 12:52 PM, Phillip J. Eby wrote: Ian Bicking wrote: Now that Python has moved to svn, maybe there's an svn external that can be set up pointing to that server? Not yet; the name of the file in SVN is 'ez_setup.py', but you can only do an external to directories,

[TurboGears] Re: OT: Development olatform opinions (To Mac...?)

2005-11-04 Thread Bob Ippolito
On Nov 4, 2005, at 5:42 AM, Kevin Dangoor wrote: On 11/4/05, Matthew Bevan [EMAIL PROTECTED] wrote: I've been using Gentoo Linux for the last year and a half without any trouble. It is, in fact, the only operating system I use, and it works better than anything else I could imagine. My

[TurboGears] Re: Choice of video capture software and medium.

2005-11-07 Thread Bob Ippolito
On Nov 2, 2005, at 8:27 AM, Kevin Dangoor wrote: On 11/1/05, Matthew Bevan [EMAIL PROTECTED] wrote: I find it pretty great that the 20-minute video and various feature show-offs for CatWalk are being done in video. Realtime demonstrations can often have more impact than written

[TurboGears] Re: TurboTunes: new tutorial/screencast

2005-11-07 Thread Bob Ippolito
On Nov 7, 2005, at 8:34 PM, Bob Ippolito wrote: On Nov 7, 2005, at 7:58 PM, Kevin Dangoor wrote: I've just posted a new tutorial called TurboTunes which shows off CatWalk a bit for people that haven't seen it. Ronald Jaramillo wrote the tutorial and created the sample application

[TurboGears] Re: TurboTunes: new tutorial/screencast

2005-11-07 Thread Bob Ippolito
On Nov 7, 2005, at 9:12 PM, Kevin Dangoor wrote: On 11/7/05, Bob Ippolito [EMAIL PROTECTED] wrote: I had to look harder, it's relatively tucked away in the docs: http://turbogears.com/docs/TurboTunes/index.html D'oh! Sorry about making you dig around. There will be more prominent links

[TurboGears] Re: TurboTunes: new tutorial/screencast

2005-11-07 Thread Bob Ippolito
On Nov 7, 2005, at 11:03 PM, Ian Bicking wrote: Kevin Dangoor wrote: I've just posted a new tutorial called TurboTunes which shows off CatWalk a bit for people that haven't seen it. Ronald Jaramillo wrote the tutorial and created the sample application. This tutorial is a QuickTime (.mov)

[TurboGears] Re: TurboTunes: new tutorial/screencast

2005-11-08 Thread Bob Ippolito
On Nov 7, 2005, at 11:16 PM, Bob Ippolito wrote: On Nov 7, 2005, at 9:12 PM, Kevin Dangoor wrote: On 11/7/05, Bob Ippolito [EMAIL PROTECTED] wrote: I had to look harder, it's relatively tucked away in the docs: http://turbogears.com/docs/TurboTunes/index.html D'oh! Sorry about making

[TurboGears] Re: TurboTunes: new tutorial/screencast

2005-11-08 Thread Bob Ippolito
On Nov 8, 2005, at 6:45 AM, Kevin Dangoor wrote: On 11/8/05, Bob Ippolito [EMAIL PROTECTED] wrote: 1. next time, it would be cool if you could say MochiKit with the correct pronunciation ('mō ch ē kit.. like the Japanese mochi). For some reason other people are saying it like you did

[TurboGears] Re: Anyone have a good pointer to SQLObject query usage examples?

2005-11-10 Thread Bob Ippolito
On Nov 10, 2005, at 6:32 PM, anders pearson wrote: On 2005-11-10 21:08:46 -0500, Jeff Grimmett wrote: I'm having an aweful time with SQLObject. Oh, I get stuff out of it and all, but my code is very, very clumsy - I'm generally getting all of a particular model's objects, then filtering

[TurboGears] Re: Sprint at PyCon?

2005-11-13 Thread Bob Ippolito
On Nov 13, 2005, at 1:16 PM, Kevin Dangoor wrote: I'm going to propose that we have a sprint at PyCon. http://us.pycon.org/TX2006/HomePage The sprints are February 27th to as late as March 2nd. (They have 4 days of sprints, but I've gathered that you can do less than that if need be.) If

[TurboGears] MochiKit 1.1 Intro Screencast

2005-11-17 Thread Bob Ippolito
I put together an introductory screencast for MochiKit this week, presented via the interactive interpreter example: http://mochikit.com/screencasts/MochiKit_Intro-1 This screencast was recorded with Snapz Pro X 2 and was encoded with QuickTime using the H.264 video and AAC audio codecs.

[TurboGears] Re: Nevow STAN and Turbogears

2005-11-19 Thread Bob Ippolito
On Nov 19, 2005, at 9:33 AM, Tim Lesher wrote:On 11/19/05, Michele Cella [EMAIL PROTECTED] wrote: That's only my personal opinion, but doesn't this completely break theMVC paradigm? Personally I don't really like to have view code mixedwith my controller code. I agree. Stan is one of the big

[TurboGears] Re: Suggestions for new stuff in stdvars

2005-11-21 Thread Bob Ippolito
On Nov 20, 2005, at 11:36 PM, Dan Jacob wrote: I was thinking of some useful functions/variables that could go into stdvars cycle(items, *args): generator that returns (index, item, looped_value) like this: tr py:for=index, product, css_class in std.cycle(products, 'row_0', 'row_1')

[TurboGears] Re: One connection per request ?

2005-11-28 Thread Bob Ippolito
On Nov 28, 2005, at 1:38 PM, Jorge Godoy wrote: Steve Bergman [EMAIL PROTECTED] writes: Wait a minute. I'm not sure what limitations CherryPy/Http 1.0 have, but it is perfectly OK to have multiple *connections* to the same port. It's even OK to have multiple connections to the same

[TurboGears] Re: One connection per request ?

2005-11-28 Thread Bob Ippolito
On Nov 28, 2005, at 2:08 PM, Jorge Godoy wrote: Jorge Godoy [EMAIL PROTECTED] writes: How can you get to answer to 2 simultaneous clients on the same port at the same time without multicast/broadcast then? Threads allow you to run concurrent things but they don't magically turn your

[TurboGears] Re: a triviality: how do you like your URLs?

2005-12-05 Thread Bob Ippolito
On Dec 5, 2005, at 12:58 PM, Ian Bicking wrote: Kevin Dangoor wrote: So, in a generic CRUD feature, what would you want your URLs to look like: 1) http://yoursite/articles/10/edit 2) http://yoursite/articles/edit/10 3) http://yoursite/articles/edit?id=10

[TurboGears] Re: Using onload combined with py:if

2005-12-06 Thread Bob Ippolito
On Dec 6, 2005, at 12:48 PM, Jeff Watkins wrote: Jorge Godoy wrote: How can I call a javascript funcion on page load when a given python variable is set? I tried: body py:if=not variable body py:if=variable onload=js_function(this.form ['some_widget']) ... /body I would probably

[TurboGears] Re: Using onload combined with py:if

2005-12-06 Thread Bob Ippolito
On Dec 6, 2005, at 1:19 PM, Jeff Watkins wrote: Bob Ippolito wrote: In these kinds of situations I prefer *never* to dynamically generate code. What I do instead is simply place a hidden input element in the page conditionally with whatever value is necessary, and the JavaScript code

[TurboGears] Re: Turbogears enhancement proposition hash_random

2005-12-07 Thread Bob Ippolito
On Dec 7, 2005, at 11:28 AM, Kevin Dangoor wrote: On 12/7/05, Kevin Dangoor [EMAIL PROTECTED] wrote: If we were adding something for this explicit purpose, I'd prefer to add a flag to the url function and then have TurboGears eat the incoming tg_random variable so that you don't need to add

[TurboGears] Re: Turbogears enhancement proposition hash_random

2005-12-07 Thread Bob Ippolito
On Dec 7, 2005, at 1:30 PM, Jonathan LaCour wrote: On Dec 7, 2005, at 3:58 PM, Bob Ippolito wrote: If we were adding something for this explicit purpose, I'd prefer to add a flag to the url function and then have TurboGears eat the incoming tg_random variable so that you don't need to add

[TurboGears] Re: Ruby book sales surpass Python

2005-12-08 Thread Bob Ippolito
On Dec 8, 2005, at 5:27 AM, Kevin Dangoor wrote: Interesting article over at Tim O'Reilly's site: http://radar.oreilly.com/archives/2005/12/ ruby_book_sales_surpass_python.html There's a fair bit of discussion about Rails and the Python web frameworks (including our own). I'll have more

[TurboGears] Re: making an exe

2005-12-09 Thread Bob Ippolito
py2exe uses console, windows, service, or com_server. script is ignored. On Dec 9, 2005, at 9:32 AM, Kevin Dangoor wrote: sadly, no... I mean script = toddswiki-start.py, Kevin On 12/9/05, martin [EMAIL PROTECTED] wrote: you mean: scripts = [toddswiki-start.py], ?? --

[TurboGears] Re: New devcast: TurboGears Widgets

2005-12-13 Thread Bob Ippolito
On Dec 13, 2005, at 12:19 PM, Damjan wrote: From the new Devcasts page: http://www.turbogears.org/docs/devcasts.html Ahh, what's with python developers and H.264 QuickTime... Can't you use some more standard format ... that works on Linux for example. H.264 is an excellent codec for

[TurboGears] Re: Comparison operators in a Kid template

2005-12-13 Thread Bob Ippolito
On Dec 13, 2005, at 1:00 PM, Simon Belak wrote: Brian Beck wrote: David Stanek wrote: On 12/10/05, Kevi But I am not sure how good of an idea this would be. I'll bring it up on the Kid mailing list after I think about it for a bit. I brought it up on there a few days ago, and I think

[TurboGears] Re: New autocommit style with tg-admin shell

2005-12-13 Thread Bob Ippolito
On Dec 13, 2005, at 2:14 PM, Jorge Godoy wrote: Jared Kuolt [EMAIL PROTECTED] writes: I just have to wrap it with hub.being() and hub.commit() and it works but I got really frustrated trying to figure that out. Thoughts? I think this change is surprising everyone and making some parts

[TurboGears] Re: Quick MochiKit Hack

2005-12-15 Thread Bob Ippolito
On Dec 15, 2005, at 7:50 AM, Arnar Birgisson wrote: 2005/12/14, Gunfighter [EMAIL PROTECTED]: MochiKit has a ton of great features. A feature I've found helpful when working with my TG app is the interactive interpreter as demonstrated on the MochiKit site:

[TurboGears] Re: Combine TG and Subway?

2005-12-22 Thread Bob Ippolito
Not to mention that Kid can't do CSS. Even Zope, which was (to my knowledge) the first framework to use attribute-based templating, needs to break down and use DTML to generate other document formats such as CSS. It's a pretty bad idea to generate CSS or JavaScript anyway. Why would you

[TurboGears] Re: Combine TG and Subway?

2005-12-23 Thread Bob Ippolito
On 12/22/05, Bob Ippolito [EMAIL PROTECTED] wrote: It's a pretty bad idea to generate CSS or JavaScript anyway. Why would you ever need to? I don't know about you, but I regularly wish I could set variables in CSS, mostly for colors. Inman has a php package that does this and I've seen

[TurboGears] Re: Egg on my face...

2005-12-23 Thread Bob Ippolito
Can someone give me a URL or a history on why Egg is used to package TurboGears if so many distributions have a problem with it... I ask because I have moved my laptop form Windows to FC4, and I find, with quite a bit of humor and frustration, that, although TurboGears installed on Windows

[TurboGears] Re: Egg on my face...

2005-12-23 Thread Bob Ippolito
Bob Ippolito wrote: Can someone give me a URL or a history on why Egg is used to package TurboGears if so many distributions have a problem with it... I ask because I have moved my laptop form Windows to FC4, and I find, with quite a bit of humor and frustration, that, although

[TurboGears] Re: simple_json now in use

2005-12-25 Thread Bob Ippolito
I'll have decoding in simple_json for 0.2. It's almost done... need to hammer out a bug or three and write real tests. -bob On Dec 25, 2005, at 8:24 AM, Kevin Dangoor wrote: OK. I wasn't aware of that. Feel free to add the json-py requirement back in (or I'll do it when I get a chance).

[TurboGears] Re: simple_json now in use

2005-12-25 Thread Bob Ippolito
a big doctest in simple_json/__init__.py. -bob On Dec 25, 2005, at 5:40 PM, Bob Ippolito wrote: I'll have decoding in simple_json for 0.2. It's almost done... need to hammer out a bug or three and write real tests. -bob On Dec 25, 2005, at 8:24 AM, Kevin Dangoor wrote: OK. I wasn't

[TurboGears] Re: simple_json now in use

2005-12-25 Thread Bob Ippolito
much, Bob. I'll convert the AjaxDataController to use the new API.On 25 Dec, 2005, at 7:21 pm, Bob Ippolito wrote:Ok, it's done in svn with the obvious API --Jeff Watkinshttp://newburyportion.com/Democracy n: A country where the newspapers are pro-American.

[TurboGears] Re: Combine TG and Subway?

2005-12-25 Thread Bob Ippolito
On Dec 26, 2005, at 12:00 AM, fumanchu wrote: Perhaps it's something about Python itself, or perhaps my design skills have improved, or my sensibilities changed. But I should think you could find a way to say, fine, use Cheetah; if you don't use Kid, you don't get this nice i18n tool (unless

[TurboGears] Re: AjaxDataController

2005-12-25 Thread Bob Ippolito
). This is *very* cool, THANK YOU! Now to persuade Bob Ippolito to add a postSimpleXMLHttpRequest() function to MochiKit. I tried a while ago, but I wasn't able to articulate a clear use-case. This looks like a very clear use-case, though. Bob? What do you think? Does this one use URL encoding

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Bob Ippolito
On Dec 29, 2005, at 2:14 PM, Jorge Godoy wrote: Jeff Watkins [EMAIL PROTECTED] writes: I understand the difference between wire and infoset, but they're just not relevant to me. If I write a document that contains: script src=.../script I don't want my template processor to change that

[TurboGears] Re: Combine TG and Subway?

2005-12-29 Thread Bob Ippolito
On Dec 29, 2005, at 2:35 PM, Jeff Watkins wrote: Maybe I'm just being grumpy because I haven't had any sleep, but I really hate template processors that modify anything I didn't ask them to modify. In addition to fiddling with my tags when I didn't ask it to, it uppercases everything. Ick.

[TurboGears] Re: Kid question

2005-12-30 Thread Bob Ippolito
On Dec 30, 2005, at 4:35 AM, Jeremy Jones wrote: [EMAIL PROTECTED] wrote: This is basically in following form : a=iter(alist) zip(a, a, a) map(None, a , a, a) The gurus(one of the bot) said that it is very bad in that there is no contract saying zip/map would take one element from each

[TurboGears] Re: Turbogears does not work with Python 2.4.2?

2006-01-02 Thread Bob Ippolito
On Jan 2, 2006, at 1:45 PM, modmans2ndcoming wrote: +++ Traceback (most recent call last): File /usr/local/bin/tg-admin, line 5, in ? from pkg_resources import load_entry_point File /Library/Python/2.3/site-packages/setuptools-0.6a8-py2.3.egg/ pkg_resources.py, line

[TurboGears] Flash Remoting with Python and TurboGears

2006-01-03 Thread Bob Ippolito
I threw together a little Flash Remoting prototype for TurboGears in order to play around with the AMF implementation in flashticle (mostly to make sure it was correct beyond the stuff I've found in FLV and SOL files). If anyone is interested in that sort of thing, the library code is

[TurboGears] [JOB] Content portal developer

2006-01-03 Thread Bob Ippolito
Our company, Mochi Media LLC, is in need of a web developer to put together a content portal site (ideally with the TurboGears stack) on a contract basis. Being located in the San Francisco bay area is a huge bonus, as is working knowledge of Macromedia Flash and JavaScript. If you're

[TurboGears] Re: Flash Remoting with Python and TurboGears

2006-01-04 Thread Bob Ippolito
On Jan 3, 2006, at 10:39 PM, Robin Munn wrote: On 1/3/06, Kevin Dangoor [EMAIL PROTECTED] wrote: On 1/3/06, Bob Ippolito [EMAIL PROTECTED] wrote: I threw together a little Flash Remoting prototype for TurboGears in order to play around with the AMF implementation in flashticle (mostly

[TurboGears] Re: nl2br for Kid?

2006-01-05 Thread Bob Ippolito
Something like this, I guess: span py:for=line in line.splitlines()${line}br//span On Jan 5, 2006, at 12:58 PM, Jared Kuolt wrote: Is there a simple solution for newline-to-br (nl2br) in Kid? Simple explantation, I need something that will escape all HTML entities then add a br/ at every

[TurboGears] Re: Extending TG objects

2006-01-05 Thread Bob Ippolito
On Jan 5, 2006, at 4:17 PM, Stephen Thorne wrote: I'm having a bit of problem with inheritance. Because of @turbogears.expose() I can't seem to be able to do this: class MyClass(ParentClass): @turbogears.expose(self, args): def foo(self): d = super(MyClass, self).foo()

[TurboGears] Re: if you're running from svn...

2006-01-06 Thread Bob Ippolito
On Jan 6, 2006, at 9:41 AM, Kevin Dangoor wrote: After updating to [459], you'll need the TurboKid plugin. You should be able to get that by running easy_install TurboKid or, if that doesn't work for some reason, easy_install http://www.turbogears.org/download/eggs/TurboKid-0.9.0-

[TurboGears] Re: if you're running from svn...

2006-01-06 Thread Bob Ippolito
On Jan 6, 2006, at 12:20 PM, Kevin Dangoor wrote: On 1/6/06, Phillip J. Eby [EMAIL PROTECTED] wrote: FYI, as of setuptools 0.6a9, you can set [easy_install] find_links in setup.cfg and they will be honored by the develop command. So you should be able to get this to work okay even for

[TurboGears] Re: File upload blocks other requests

2006-01-07 Thread Bob Ippolito
On Jan 7, 2006, at 10:09 AM, Jorge Godoy wrote: Bob Ippolito [EMAIL PROTECTED] writes: It would be great if TG's controller had a filter that did streaming. CherryPy's default is stupid. Isn't it better, then, to suggest changing CP's default? This way besides TG users CP users

[TurboGears] Re: Json to Opera Error

2006-01-08 Thread Bob Ippolito
On Jan 8, 2006, at 12:57 PM, Olivier Favre-Simon wrote: webwurst wrote: Any news on this Opera/Json-topic? I'm using Firefox (1.5) and Opera (8.5 and 8.0) with TurboGears-0.8a6. If i send Json-Data from TurboGears to Opera I get strage Error-Messages (includung some Eastern-Characters,

[TurboGears] Re: Exception reporting (was Re: Identity crisis)

2006-01-08 Thread Bob Ippolito
On Jan 8, 2006, at 12:46 PM, Leandro Lucarella wrote: Marek Baczynski, el domingo 8 de enero a las 12:24 me escribiste: Cliff Wells napisal(a): *Much* easier to track down. I think a couple hours with grep searching for exception blocks and adding some code to print/log/ save the

[TurboGears] Re: Proposal: TurboGears extensions

2006-01-10 Thread Bob Ippolito
On Jan 10, 2006, at 4:16 PM, Jeff Watkins wrote: I'd like to propose a new entrypoint for TurboGears: turbogears.extension. The entrypoint will be a function to call on startup that can register a filter or whatever. The first extensions would be the Visit Tracking and Identity

[TurboGears] MochiKit SVN moving to svn.mochikit.com

2006-01-13 Thread Bob Ippolito
I'm going to move the MochiKit SVN from http://svn.red-bean.com/ mochikit to http://svn.mochikit.com so that it's easier for me to manage. http://svn.mochikit.com has been a mirror of the red-bean repository for many months now, and has had consistently better uptime (with the bonus that

[TurboGears] Re: [mochikit] MochiKit SVN moving to svn.mochikit.com

2006-01-13 Thread Bob Ippolito
On Jan 13, 2006, at 9:58 AM, Bob Ippolito wrote: I'm going to move the MochiKit SVN from http://svn.red-bean.com/ mochikit to http://svn.mochikit.com so that it's easier for me to manage. http://svn.mochikit.com has been a mirror of the red-bean repository for many months now, and has

[TurboGears] Re: [mochikit] Re: MochiKit SVN moving to svn.mochikit.com

2006-01-13 Thread Bob Ippolito
On Jan 13, 2006, at 10:08 AM, Bob Ippolito wrote: On Jan 13, 2006, at 9:58 AM, Bob Ippolito wrote: I'm going to move the MochiKit SVN from http://svn.red-bean.com/ mochikit to http://svn.mochikit.com so that it's easier for me to manage. http://svn.mochikit.com has been a mirror

[TurboGears] Re: Fwd: [mochikit] Port of script.aculo.us

2006-01-13 Thread Bob Ippolito
On Jan 13, 2006, at 2:06 PM, Diwaker Gupta wrote: For those of you not on the MochiKit list, I wanted to bring this up: Thomas Hervé has ported Script.aculo.us to MochiKit! I took a quick look through, and it's a good start. This is fabulous! TG and friends need a lot more visibility at

[TurboGears] Re: note to those following svn: nose now required

2006-01-20 Thread Bob Ippolito
On Jan 20, 2006, at 9:31 AM, Jorge Godoy wrote: Soni Bergraj [EMAIL PROTECTED] writes: Maybe the tg-admin quickstart template should include a sqlite db uri relative to the project, so you can get right into the toolbox and get prototyping after a quickstart? Would also be nice to

[TurboGears] Re: note to those following svn: nose now required

2006-01-20 Thread Bob Ippolito
On Jan 20, 2006, at 10:20 AM, Jorge Godoy wrote: Bob Ippolito [EMAIL PROTECTED] writes: Why not? SQLite is something most people should have anyway; it's the best Because there are a lot of projects that don't need it. And TG works fine without it, just testing fails -- and we

[TurboGears] Re: note to those following svn: nose now required

2006-01-20 Thread Bob Ippolito
On Jan 20, 2006, at 5:27 PM, Michele Cella wrote: Setting the db uri (and at this point I would add executing tg-admin sql create) usually to your project dir is the step I hate. To address Jorge concerns, I would propose to not make SQLite a dependency (no problem for me anyway). Maybe we

[TurboGears] Re: Dynamic SQLObject classes

2006-01-21 Thread Bob Ippolito
On Jan 21, 2006, at 2:11 PM, Jeff Watkins wrote: I have what sounds like a strange request, even to me: I'd like to create a SQLObject class on the fly. Imagine something like the following: def create_link_table( class1, class2 ): class LinkTable(SQLObject): class sqlmeta:

[TurboGears] ann: MochiKit 1.2

2006-01-21 Thread Bob Ippolito
MochiKit 1.2 the ocho is now available! This release is the calm before the storm, it contains mostly bug fixes and minor functionality improvements -- but big things are coming soon. We have a signal/slot dispatch mechanism, a script.aculo.us port, a new testing system, non-browser

[TurboGears] Re: API documentation

2006-01-23 Thread Bob Ippolito
On Jan 23, 2006, at 1:21 PM, Kevin Dangoor wrote: I'm planning to take a run through the tg code and update API docs while I'm at it. I'm not enormously fond of epydoc, and I think Fredrik Lundh's Pythondoc looks good: http://effbot.org/zone/pythondoc.htm Its default output is pretty

[TurboGears] Re: API documentation

2006-01-23 Thread Bob Ippolito
On Jan 23, 2006, at 2:13 PM, Ian Bicking wrote: Bob Ippolito wrote: On Jan 23, 2006, at 1:21 PM, Kevin Dangoor wrote: I'm planning to take a run through the tg code and update API docs while I'm at it. I'm not enormously fond of epydoc, and I think Fredrik Lundh's Pythondoc looks good

[TurboGears] Re: API documentation

2006-01-23 Thread Bob Ippolito
On Jan 23, 2006, at 4:11 PM, Ian Bicking wrote: Bob Ippolito wrote: Hacking docutils isn't all that hard. In order to build the MochiKit documentation, I wrote a small script (barely over 100 lines of liberally spaced code) that uses publish_parts to: 1. Add two custom roles

[TurboGears] Re: API documentation

2006-01-23 Thread Bob Ippolito
On Jan 23, 2006, at 4:20 PM, Jeff Watkins wrote: On 23 Jan, 2006, at 6:06 pm, Bob Ippolito wrote: Hacking docutils isn't all that hard. I would like to suggest that we choose something that doesn't require hacking. If it doesn't work easily, it won't get used. Documentation and tests

[TurboGears] Re: API documentation

2006-01-23 Thread Bob Ippolito
On Jan 23, 2006, at 5:49 PM, Ian Bicking wrote: Bob Ippolito wrote: One thing that's interesting about his approach is that the links don't need to understand what their targets are -- i.e., you don't need special links for modules, or classes, or methods. That could

[TurboGears] Re: JSON chokes on Decimal value

2006-01-26 Thread Bob Ippolito
On Jan 26, 2006, at 10:18 PM, Dan Jacob wrote: class Member(SQLObject): name = StringCol(length=45) billing_rate = CurrencyCol() @turbogears.expose(format=json) def get_member_data(self, member_id): member = model.Member.get(member_id) return dict(member=member)

[TurboGears] Re: RhubarbTart

2006-01-30 Thread Bob Ippolito
On Jan 30, 2006, at 2:25 PM, Ian Bicking wrote: Kevin Dangoor wrote: Here's my philosophy on stuff like this: I aim for TurboGears to be best-of-breed. The definition of best-of-breed will change over time. (It'll also vary from person to person, but there's not much I can do about that.)

[TurboGears] Re: RFC: Mapping _ to lazy_gettext everywhere.

2006-01-31 Thread Bob Ippolito
On Jan 31, 2006, at 1:21 PM, Jorge Godoy wrote: Michele Cella [EMAIL PROTECTED] writes: The best thing will probably be an automatized way of determining if _ should be mapped to gettext or lazy_gettext, I really have no idea if it's possible or not. It has to be that way from what

[TurboGears] Re: RFC: Mapping _ to lazy_gettext everywhere.

2006-01-31 Thread Bob Ippolito
On Jan 31, 2006, at 4:32 PM, Jorge Godoy wrote: Bob Ippolito [EMAIL PROTECTED] writes: jsonify is easy enough to fix -- just add another generic function that checks for that type and Does The Right Thing. This should work: http://trac.turbogears.org/turbogears/ticket/497 Wow

[TurboGears] Re: setlike behavior

2006-02-05 Thread Bob Ippolito
uniquelist describes what it means better than orderedset does... orderedset usually means something else. -bob On Feb 5, 2006, at 2:09 PM, Kevin Dangoor wrote: There's a question in your patch about setlike. The purpose of the setlike class is to act like a set (things only appear

[TurboGears] Re: run as cgi!?

2006-02-07 Thread Bob Ippolito
On Feb 7, 2006, at 5:56 AM, Lee McFadden wrote: On 2/7/06, Robert Hicks [EMAIL PROTECTED] wrote: Correct me if I am wrong but when I check out the low end Python support for hosting companies Python is always offered as a cgi and not as mod_python. So what I am hearing is nope. Both

[TurboGears] Re: Cocoa and JSON and Turbogears

2006-02-07 Thread Bob Ippolito
On Feb 7, 2006, at 9:40 PM, schwa wrote: Sorry about the blatant self publicising. I have some code that might be handy for anyone thinking about directly interfacing a Turbogears Application with Cocoa (on Mac OS X of course). I've written JSON serializer/deserializer classes for Cocoa and

[TurboGears] Re: semi-OT: TG on Intel Macs?

2006-02-14 Thread Bob Ippolito
On Feb 13, 2006, at 3:03 PM, isaac wrote: Anybody have experience getting TG up and running on the new intel macs? I suspect it will work OK, although it would on the Python 2.3 that comes with the OS (how bad is that for somebody who learned it on 2.4?). So far Fink isn't ready for the

[TurboGears] Re: Sonoma Sunshine

2006-02-14 Thread Bob Ippolito
On Feb 14, 2006, at 7:37 AM, SamFeltus wrote: Anyways, it bypasses all that JavaScript and HTML stuff. ( JavaScript in my minority opinion being an inferior version of ActionScript, open source issues aside ). That's not really true. ActionScript's eval is not the same as JavaScript's,

[TurboGears] Re: Application with SQLite won't quit

2006-02-16 Thread Bob Ippolito
On Feb 16, 2006, at 10:26 AM, Mike Orr wrote: On 2/16/06, Kevin Dangoor [EMAIL PROTECTED] wrote: On 2/15/06, Mike Orr [EMAIL PROTECTED] wrote: Then I discovered if the server is not handling a request, pressing ctrl-C quits all the threads. But if it is handling a request, the threads

[TurboGears] Re: Application with SQLite won't quit

2006-02-16 Thread Bob Ippolito
On Feb 16, 2006, at 11:45 AM, Gustavo Sverzut Barbieri wrote: On 2/16/06, Mike Orr [EMAIL PROTECTED] wrote: On 2/16/06, Kevin Dangoor [EMAIL PROTECTED] wrote: On 2/15/06, Mike Orr [EMAIL PROTECTED] wrote: Then I discovered if the server is not handling a request, pressing ctrl-C quits

[TurboGears] Re: Sonoma Sunshine pt 2

2006-02-17 Thread Bob Ippolito
On Feb 17, 2006, at 7:15 AM, SamFeltus wrote: I stuck the old WXPython version up, I am gonna get it debugged and running on TG. New version is still at http://sonomasunshine.com/sonomasunshine/FrontPage.html also http://sonomasunshine.com/sonomasunshine/TestPage.html Are ya'll giving

[TurboGears] Re: Sonoma Sunshine pt 2

2006-02-17 Thread Bob Ippolito
On Feb 17, 2006, at 1:19 PM, SamFeltus wrote: PS 1. json_str= - not JSON. I was just using FlashVars to import the JSON str, not aware of a better method. I can see right now hand editing the JSON is a BAD thing and the sooner all that editing is ported to TG the better. I think

[TurboGears] Re: Sonoma Sunshine pt 2

2006-02-18 Thread Bob Ippolito
On Feb 18, 2006, at 12:47 PM, SamFeltus wrote: Going back and making some changes to make it work correctly online (looking good on localhost sure is different from live on net). http://sonomasunshine.com/sonomasunshine/FrontPage.html It oughta (crosses fingers) work on OS 10.4

[TurboGears] Re: What licenses are all pieces of TurboGears under? Are all GPL compatible?

2006-03-01 Thread Bob Ippolito
On Feb 28, 2006, at 5:13 PM, [EMAIL PROTECTED] wrote: TurboGears joins together a lot of different pieces. Do they all have GPL compatible licenses? What are they? Yes, RTFM: http://turbogears.org/about/license.html The cleanest thing to do if yes it seems would be to make the whole

[TurboGears] Re: Ajax library scorecard: Mochikit gets a B+ :-(

2006-03-06 Thread Bob Ippolito
On Mar 6, 2006, at 6:44 AM, modmans2ndcoming wrote: Can TG provide Rico as an option for the javascript kit? MochiKit didn't get a B+ for any technical reason, the scorecard states that This toolset provides a limited amount of dhtml compared with most of the others. It's not really fair

[TurboGears] Re: bike shed #1: config extension/dotted names

2006-03-07 Thread Bob Ippolito
On Mar 7, 2006, at 3:47 PM, Ian Bicking wrote: Kevin Dangoor wrote: So, if there's another trick that we can use to make it look INI- like, but still function entirely like a normal Python module, I'm game for trying that out. Otherwise, given the constraints above, it sounds like

[TurboGears] Re: Safari and XMLHttpRequest encoding

2006-03-07 Thread Bob Ippolito
On Mar 7, 2006, at 5:02 PM, Jonathan LaCour wrote: On Mar 7, 2006, at 2:50 PM, Jonathan LaCour wrote: Seems like I am the only one busy with email today :) Has anyone come up with a workaround to this problem: http://trac.turbogears.org/turbogears/ticket/186 ... its currently

[TurboGears] Re: Safari and XMLHttpRequest encoding

2006-03-07 Thread Bob Ippolito
simplejson already escapes everything outside of ASCII to \u literals, which are certainly going to be interpreted correctly on the client side -- at least when using eval(( + json + )) or any other correct JSON parser. I want to see a test case because the problem definitely isn't

[TurboGears] Re: Safari and XMLHttpRequest encoding

2006-03-08 Thread Bob Ippolito
On Mar 8, 2006, at 6:49 AM, Jonathan LaCour wrote: Write a test case so that other people can see the issue. Okay, I created a simple test case as a TurboGears 0.9a1 application. It works fine in Firefox, but doesn't work properly in Safari. You can download it at:

[TurboGears] Re: Open Question: Turbogears and scaling...

2006-03-17 Thread Bob Ippolito
On Mar 17, 2006, at 3:17 PM, Robin Haswell wrote: my time has a cost and optimisation often buys less performance than, say, a Dell SC1425 Unfortunatly my time is not worth a IBM 64way mainframe (or I would be one happy hacker). Bigger machines help but as my comment said before

[TurboGears] Re: Explain the implications of implicit transactions

2006-04-11 Thread Bob Ippolito
On Apr 11, 2006, at 6:50 PM, Kevin Dangoor wrote: On 4/11/06, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote: I ought to pass object identifiers around for page to page rather than object themselves, then re-get the object from the database within the next page's code. Is this a correct

[TurboGears] Re: [mochikit]How to add onclick attr to DOM?

2006-04-20 Thread Bob Ippolito
On Apr 20, 2006, at 1:34 AM, Henotii wrote: I just follow the doc of mochikit, and use A({href:#}, test) to add element successful. But it seems can't work with A({onclick:test_func()}, test). The output html just like this atest/a, and without the onclick. Is there something wrong? And

[TurboGears] Re: Is Identity too much? I think so.

2006-04-23 Thread Bob Ippolito
On Apr 23, 2006, at 8:44 AM, Jeff Watkins wrote:On 23 Apr, 2006, at 11:26 am, Alberto Valverde wrote:Also I should note that you don't *need* to undersand how they work in order to *use* them.On the other hand, if you need to understand the code that uses them, you'll NEVER actually know what the

[TurboGears] Re: scriptaculous + mochikit = pain

2006-04-27 Thread Bob Ippolito
On Apr 27, 2006, at 7:55 AM, Karl Guertin wrote: On 4/26/06, Mark Ramm [EMAIL PROTECTED] wrote: And I keep hearing rumors that Python scripting is comming soon to a mozilla browser near you. Note that that Python scripting does not mean client area scripting, it means chrome level

[TurboGears] Re: SQLObject rant: unicode support sucks

2006-04-27 Thread Bob Ippolito
On Apr 27, 2006, at 2:45 PM, Tim Lesher wrote: On 4/27/06, Baruch [EMAIL PROTECTED] wrote: I still feel that SQLObject is not doing the obvious thing here, it should use the UTF-16 encoding from the start especially when it has this comment for UnicodeCol: Note: parameters in queries will

[TurboGears] Re: SQLObject rant: unicode support sucks

2006-04-27 Thread Bob Ippolito
On Apr 27, 2006, at 7:09 PM, Kevin Dangoor wrote: On 4/27/06, Jorge Godoy [EMAIL PROTECTED] wrote: test_unicode=# select * from test_unicode_table; id | test_column +- 1 | áéíóú 2 | áéíóú 3 | áéíóú 4 | áéíóú 5 | áéíóú 6 | áéíóú (6 registros) Do those

  1   2   >