Re: [offtopic] Pycon roomsharing ?

2011-01-26 Thread Jorge Vargas
Sorry I mean. conferences + two days of sprints. Not two days of tutorials. On Wed, Jan 26, 2011 at 9:32 AM, Jorge Vargas wrote: > Hello guys, > > I'm looking for someone that will be willing to do roomsharing for > pycon. And I'll be very interested in finding someone tha

[offtopic] Pycon roomsharing ?

2011-01-26 Thread Jorge Vargas
Hello guys, I'm looking for someone that will be willing to do roomsharing for pycon. And I'll be very interested in finding someone that is involved in the wsgi world. My current plans are to stay in for the conference days + 1 or two of the tutorials. That is arrive on march 10 leaving on march

Re: Sharing Templates [mako] Across Pylons Apps

2009-09-03 Thread Jorge Vargas
On Mon, Aug 24, 2009 at 5:43 PM, Jonathan Vanasco wrote: > > i have a different approach... > > i keep all the shared templates in its own repository, which is put > into each project as an svn:external > > the projects then use a standard config file to either use the shared > template or an over

Re: xml in textarea

2009-08-20 Thread Jorge Vargas
On Tue, Aug 18, 2009 at 4:29 PM, Etienne wrote: > > Hi, > in my application copied from SimpleSite of Pylonsbook, > I wish use MathML code in the contens of pages. To do > so, I added > response.content_type='application/xhtml+xml' > > to the __before__ methode of  the class PageController in the

Re: Adding Pylons 0.9.7 breaks 0.9.6 projects

2009-08-19 Thread Jorge Vargas
On Mon, Aug 17, 2009 at 11:21 PM, Mike Orr wrote: > > On Mon, Aug 17, 2009 at 4:56 PM, kochhar wrote: >> >> Jorge Vargas wrote: >>> On Fri, Aug 14, 2009 at 7:50 PM, kochhar wrote: >>>> I have a package repository which contains packages for pylons 0.9.6.1

Re: Adding Pylons 0.9.7 breaks 0.9.6 projects

2009-08-14 Thread Jorge Vargas
On Fri, Aug 14, 2009 at 7:50 PM, kochhar wrote: > > Hi all, > Hi, > I have a package repository which contains packages for pylons 0.9.6.1 After > adding pylons 0.9.7 and it's dependent packages, my 0.9.6.1 projects stopped > working. > >  From looking at the requires.txt in pylons 0.9.6 egg it a

Re: Third party Service webhelpers?

2009-05-25 Thread Jorge Vargas
On Sun, May 24, 2009 at 1:45 PM, Mike Orr wrote: > > On Sun, May 24, 2009 at 1:22 AM, Domen Kožar wrote: >> >> Few weeks ago I was thinking about a similar feature for WebHelpers. >> Maybe a way to go is to create a ext namespace that would work like >> third party services and everyone could re

Re: Third party Service webhelpers?

2009-05-25 Thread Jorge Vargas
On Sat, May 23, 2009 at 10:45 PM, Mike Orr wrote: > > On Sat, May 23, 2009 at 6:54 PM, Ben Bangert wrote: >> >> On May 23, 2009, at 4:26 PM, Jorge Vargas wrote: >> >>> The net today is full with services we pull and mix and match between >>> our site

Re: Alternative Storage choice?

2009-05-25 Thread Jorge Vargas
On Sun, May 24, 2009 at 10:40 AM, lasizoillo wrote: > > 2009/5/24 Jorge Vargas : >> >> Hello, >> >> I know this may be a little offtopic but I know a lot of people here, >> have experience in this sort of thing, which is why I'll like to ask. >>

Subtle bug or anti-feature?

2009-05-23 Thread Jorge Vargas
Hello, I'm testing my new json rendering code for TurboGears and found an interesting bug. I got a controller like @expose('{{package}}.templates.info') @expose('json') def environ(self): return dict(environment=request.environ) for those not familiar it's simply setting tw

Third party Service webhelpers?

2009-05-23 Thread Jorge Vargas
Hi, The net today is full with services we pull and mix and match between our sites. - Google ads - google analitics - youtube, vimeo, embed tags - other site specific tags - post to reddit,digg,etc buttons - RSS buttons - etc. So why not pack all those little snippets into a library? This idea

Alternative Storage choice?

2009-05-23 Thread Jorge Vargas
Hello, I know this may be a little offtopic but I know a lot of people here, have experience in this sort of thing, which is why I'll like to ask. The very short summary of what I need for this project is. A "document" with a metadata object (Bunch) and a unique id (possible cross domain) per do

Re: Web based email & sql admin for Pylons

2009-03-27 Thread Jorge Vargas
Hi, you are welcome to present this project as a TurboGears GSOC proposal. I also agree this is too wide for something like pylons but it could fit in interesting ways on top of TG. On Tue, Mar 24, 2009 at 4:43 PM, Kevin Ar18 wrote: > In fact, if there is something like this for any Python web

Pre-pycon09 Sprint Planning

2009-03-11 Thread Jorge Vargas
Hello Everyone, Sorry for the inter-list post but this is an inter-list project. Since we share so much in common these days we decided to do a joint sprint, which basically means we'll all be in the same room and we'll probably subdivide ourselfs into small groups inside the room and people wil

Re: pylonshq issue tracker disappeared

2009-03-10 Thread Jorge Vargas
On Mon, Mar 9, 2009 at 4:08 PM, Wichert Akkerman wrote: > > I'm not sure if anyone already noticed, but at the risk of repeating the > message: the issue tracker on pylonshq.com no longer works. All relevant > URLs return a 404. > works for me http://pylonshq.com/project/pylonshq/report > Wicher

Re: looking for freelance work (pylons/python)

2009-02-26 Thread Jorge Vargas
On Fri, Feb 27, 2009 at 3:35 AM, Ben Bangert wrote: > On Feb 26, 2009, at 11:27 PM, Jorge Vargas wrote: > >> piggybacking on this, we'll start working on a project for this type >> of thing soon. It will list sites/people/jobs, it's currently >> semi-private

Re: looking for freelance work (pylons/python)

2009-02-26 Thread Jorge Vargas
On Fri, Feb 27, 2009 at 3:48 AM, Mike Orr wrote: > > On Thu, Feb 26, 2009 at 11:41 PM, Noah Gift wrote: >> >> On Fri, Feb 27, 2009 at 8:40 PM, Mike Orr wrote: >>> >>> What's this Kai thing you guys are talking about?  I looked in PyPI >>> and googled "kai python" but didn't see anything that lo

Re: Clickpass?

2009-02-26 Thread Jorge Vargas
On Wed, Feb 25, 2009 at 2:26 PM, Tom Longson (nym) wrote: > Has anyone had experience getting openid or clickpass to work with pylons? > pylonshq/kai knows this, what better way to learn that from the master himself :) http://bitbucket.org/bbangert/kai/ > Just curious. The idea of making user r

Re: looking for freelance work (pylons/python)

2009-02-26 Thread Jorge Vargas
piggybacking on this, we'll start working on a project for this type of thing soon. It will list sites/people/jobs, it's currently semi-private but we are probably going to start working on it post-pycon. Proper announcement will be made. We could investigate on forking kai for this but I think ka

Re: Sprint at PyCon?

2009-02-25 Thread Jorge Vargas
maybe a little late but I know at least 3 people from TG are going to be there all 4 days, so I hope to see ya there. On Tue, Feb 17, 2009 at 7:35 PM, Matt Feifarek wrote: > > On Tue, Feb 17, 2009 at 6:28 PM, Mike Orr wrote: >> >> > Will there be any sprint(s) for pylons and pylons-related proj

Re: Pylons vs Tomcat+GWT

2009-01-31 Thread Jorge Vargas
On Sat, Jan 31, 2009 at 11:00 PM, Tycon wrote: > > because it's not ready so it's just a toy at this point, just like > pyjamas, while GWT is used by real production websites (ever heard of > gmail) Actually all I have heard is the opposite. In fact one of GWT's biggest "but" is that none of ser

Re: Is Django more popular than Pylons?

2009-01-28 Thread Jorge Vargas
On Wed, Jan 28, 2009 at 8:45 PM, Wyatt Baldwin wrote: > > On Jan 28, 4:06 pm, Mike Orr wrote: >> On Wed, Jan 28, 2009 at 3:37 PM, Akira Kitada wrote: >> >> [snip] >> >> In production, I've gone to always using virtualenvs. That way if I >> install a new website with different library versions,

Re: State of Auth with Pylons

2009-01-27 Thread Jorge Vargas
On Tue, Jan 27, 2009 at 10:16 AM, TJ Ninneman wrote: > >>> >> This was also discuss in the TG list recently and even though this is >> a great thing it's hard for when you need to do caching of the pages. >> The current solution turbogears uses is a system with two optional >> interchangeable com

Re: State of Auth with Pylons

2009-01-27 Thread Jorge Vargas
On Tue, Jan 27, 2009 at 7:29 AM, Chris Miles wrote: > > I haven't dealt with this problem either. > > I had a quick look at TurboGears 2 to see if they had a solution for > it in a quickstarted app (they use repoze.who/repoze.what) but they > don't display an error message for failed logins eithe

Re: Turbogears 2 keywords & Pylons

2009-01-27 Thread Jorge Vargas
On Mon, Jan 26, 2009 at 9:42 PM, BRankin wrote: > > Hello, > > Could someone clarify this? > could you please not post the same question so many times? you just posted this twice to the TG list. This "issue" has nothing to do with pylons so it's irrelevant here. --~--~-~--~~-

Re: Is Django more popular than Pylons?

2009-01-24 Thread Jorge Vargas
On Fri, Jan 23, 2009 at 7:16 AM, Mario Ruggier wrote: > > On Jan 19, 2009, at 8:05 PM, Mike Orr wrote: >> On Sun, Jan 18, 2009 at 4:05 PM, walterbyrd >> wrote: >>> >>> And if so, why? >> >> Everybody who uses Pylons knows that other frameworks exist and had >> maybe tried one or two others, but

Re: python -3 switch

2009-01-22 Thread Jorge Vargas
On Thu, Jan 22, 2009 at 5:59 AM, przemek.ch wrote: > > Hi, > > python 2.6 has a switch -3 which will show warnings about code that is > not compatible with python 3 > is ther a way to use tis switch with pylons? > pylons don't use python directly and there's no such switch for > paster many of p

Re: On disk data files

2009-01-21 Thread Jorge Vargas
On Wed, Jan 21, 2009 at 2:55 PM, Ross Vandegrift wrote: > > Hey everyone, > > Is there a good place in a pylons project to put data files that need > to be used by the app at various places? They don't need to be web > accessible - strictly internal stuff. > > In this case I have some XSLT sheet

Re: Django or Pylons - comparison details

2009-01-19 Thread Jorge Vargas
On Mon, Jan 19, 2009 at 4:54 PM, Colin Flanagan wrote: > > > > > > - Original Message ---- > From: Jorge Vargas > To: pylons-discuss@googlegroups.com > Sent: Monday, January 19, 2009 4:45:35 PM > Subject: Re: Django or Pylons - comparison details > &g

Re: What's my application version?

2009-01-19 Thread Jorge Vargas
On Mon, Jan 19, 2009 at 6:36 PM, will welch wrote: > > What's the blessed way for my application to get its version string > (eg, the 0.1.0dev_r159 portion of the egg name > application-0.1.0dev_r159-py2.4.egg) I'm not 100% of the question but you are looking for setup.py and setup.cfg egg_info

Re: Django or Pylons - comparison details

2009-01-19 Thread Jorge Vargas
On Mon, Jan 19, 2009 at 4:03 PM, Mike Orr wrote: > > On Mon, Jan 19, 2009 at 1:29 PM, Wyatt Baldwin > wrote: >> >> On Jan 19, 9:20 am, Colin Flanagan wrote: >>> The SQLAlchemy argument is a very compelling one. I have an application >>> that, while being a CMS, has heavily relational data. I

Re: Django or Pylons - comparison details

2009-01-19 Thread Jorge Vargas
On Mon, Jan 19, 2009 at 3:15 PM, Lawrence Oluyede wrote: > > On Mon, Jan 19, 2009 at 6:20 PM, Colin Flanagan wrote: >> I'm curious if Django's CMS reputation comes from the fact that it's used by >> a lot of newspapers and content providers, or if there really is something >> that makes it adv

Re: Is Django more popular than Pylons?

2009-01-19 Thread Jorge Vargas
On Sun, Jan 18, 2009 at 6:05 PM, walterbyrd wrote: > > And if so, why? yes, so does php, your point? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to pylo

Re: Recommended production deployment

2009-01-14 Thread Jorge Vargas
You are simply FUD. You are cherrypicking on which posts to reply to, why didn't you reply to Graham's point regarding lazy loading? it almost seems like you want to make mod_wsgi bad... Using apache has always been about optimizations, I'm certain your apache process is loading a ton of stuff, i

Re: Pylons and SQLAlchemy 5.0.

2009-01-14 Thread Jorge Vargas
On Wed, Jan 14, 2009 at 1:13 AM, Wyatt Baldwin wrote: > > On Jan 13, 10:45 pm, Jorge Vargas wrote: >> On Wed, Jan 14, 2009 at 12:36 AM, Wyatt Baldwin >> >> wrote: >> >> > On Jan 13, 7:07 pm, Jorge Vargas wrote: >> >> On Tue, Jan 13, 2009 at

Re: Recommended production deployment

2009-01-13 Thread Jorge Vargas
On Wed, Jan 14, 2009 at 12:54 AM, Jorge Vargas wrote: > On Tue, Jan 13, 2009 at 11:51 PM, Tycon wrote: >> >> Im using Ubunto 8.04 LTS and running the test using ab -n 1 -c 10 >> to localhost, in order to focus on the request handling code in the >> server sta

Re: Recommended production deployment

2009-01-13 Thread Jorge Vargas
On Tue, Jan 13, 2009 at 11:51 PM, Tycon wrote: > > Im using Ubunto 8.04 LTS and running the test using ab -n 1 -c 10 > to localhost, in order to focus on the request handling code in the > server stack and remove or reduce the weight of all other application > logic such as db access and page

Re: Pylons and SQLAlchemy 5.0.

2009-01-13 Thread Jorge Vargas
On Wed, Jan 14, 2009 at 12:36 AM, Wyatt Baldwin wrote: > > On Jan 13, 7:07 pm, Jorge Vargas wrote: >> On Tue, Jan 13, 2009 at 3:32 PM, grassoalvaro wrote: >> >> > Hi, >> >> > Can someone tell me how to declare models using sqlalchemy 5.0? >> >

Re: Recommended production deployment

2009-01-13 Thread Jorge Vargas
On Tue, Jan 13, 2009 at 10:10 PM, Tycon wrote: > > Actually I have apache+modwsgi running flawlessly, and everything I > said is based on meticulous performance benchmarking and theoretical > profiling of deployment architectures. > > All benchmarks were performed on pylons full stack production

Re: Paster controller command not recognized

2009-01-13 Thread Jorge Vargas
On Thu, Jan 8, 2009 at 1:30 PM, Bryan wrote: > > When I run "paster controller ", i get an error: > "Command controller not known" > I have a .egg-info directory, and a paster_plugins.txt file in it with > Pylons, WebHelpers, PasteScript inside on separate lines. > I own all the files and directo

Re: Recommended production deployment (was: Re: Is Pylons a meta-package ?)

2009-01-13 Thread Jorge Vargas
On Mon, Jan 12, 2009 at 2:22 PM, Tycon wrote: > > No, mod_wsgi is a hack. Embedded mode is bad, no serious website is > running app server embedded in web server. Daemon mode is even more > stupid, an unstable (and non scalable) way of using web server to > manage the app server, and invent a new

Re: Is Pylons a meta-package ?

2009-01-13 Thread Jorge Vargas
On Sun, Jan 11, 2009 at 4:40 PM, Tycon wrote: > > Does WSGI support remote processes (e.g. on other machines) ? If not > then it's a dead end for scalability. I don't see any reason to use > proprietary protocol when more standard ones exist. I'm only talking > about the spec for daemon mode, not

Re: Is Pylons a meta-package ?

2009-01-13 Thread Jorge Vargas
On Sun, Jan 11, 2009 at 3:41 PM, Ian Bicking wrote: > On Sun, Jan 11, 2009 at 3:19 PM, Tycon wrote: >> >> I guess that means routes can be taken out if I remove the routes >> middleware and use my own url_for (which I was just about ready to >> do). >> So in your assessment a simple hello world

Re: Helpers!!!

2009-01-13 Thread Jorge Vargas
On Tue, Jan 13, 2009 at 1:26 PM, mk wrote: > > Ben Bangert wrote: >>> But output of my own helper is still being escaped. >> >> Can you include the helper you're referring to? Your helper might be >> using a function/class which causes it to escape content. > > It's really basic: > > def format_e

Re: Pylons and SQLAlchemy 5.0.

2009-01-13 Thread Jorge Vargas
On Tue, Jan 13, 2009 at 3:32 PM, grassoalvaro wrote: > > Hi, > > Can someone tell me how to declare models using sqlalchemy 5.0? > When i'm trying something like that: > > class Worker(object): > __tablename__ = 'workers' > id = Column(Integer, primary_key=True) > > and next i'm importing it in m

Re: global h variable

2009-01-07 Thread Jorge Vargas
On Wed, Jan 7, 2009 at 4:09 PM, mk wrote: > > Jorge Vargas wrote: > >>> So my question is, what is h variable mainly for? Should I use it in >>> (mainly or only in) templates or are there uses for it in controller >>> code? If so, how to access it there? &

Re: global h variable

2009-01-07 Thread Jorge Vargas
On Wed, Jan 7, 2009 at 1:05 PM, mk wrote: > > Hello everyone, > > I'm really new to Pylons, so could someone please help me clear some of > the confusion with the following stuff? > > I'm trying to access global h variable in Pylons 0.9.7, mainly for sake > of getting at url_for function. > > But

Re: Best unit testing module for pylons REST api calls

2009-01-07 Thread Jorge Vargas
On Wed, Jan 7, 2009 at 2:51 PM, csismondo wrote: > > I have a controller that I want to build unit test for, the controller > is a web-based REST api, and I would like to know what you guys would > recommend for a module. > http://pypi.python.org/pypi/WebTest/1.1 --~--~-~--~~---

Re: setting the filename for download

2009-01-05 Thread Jorge Vargas
On Mon, Jan 5, 2009 at 3:11 PM, m h wrote: > > On Mon, Jan 5, 2009 at 10:20 AM, mk wrote: >> >> Hello everyone, >> >> I'm a beginner with Pylons and am trying to set the filename of a file >> to download in an action (that is, controller method): >> >> def environ3(self): >> msg = li

Re: how many people actually use authkit, formbuild or tosca-widgets ?

2008-12-27 Thread Jorge Vargas
On Sat, Dec 27, 2008 at 2:19 AM, Tycon wrote: > > to me it seems like a waste of time to deal with some poorly written, > poorly documented, poorly supported > library that someone wrote with not much effort. Funny thing people > spend way more time trying to figure out and > use these libraries

Re: easy_install pylons

2008-12-20 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 8:48 PM, Mike Orr wrote: > > On Thu, Dec 18, 2008 at 5:38 PM, Philip Jenvey wrote: >> I haven't tried 3.0 yet, and we're very close to 0.9.7 so I'm not >> going to require it just yet. Instead we'll require 2.3.2 (which is >> quite old now, and as you mentioned, is also o

Re: how can I ask routes for all possible urls?

2008-12-20 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 11:12 PM, Mike Orr wrote: > > On Thu, Dec 18, 2008 at 8:49 PM, Jorge Vargas wrote: >> >> On Thu, Dec 18, 2008 at 4:14 PM, Ben Bangert wrote: >>> On Dec 18, 2008, at 7:55 AM, Jorge Vargas wrote: >>> >>>> Hi, I'm writin

Re: how can I ask routes for all possible urls?

2008-12-18 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 4:14 PM, Ben Bangert wrote: > On Dec 18, 2008, at 7:55 AM, Jorge Vargas wrote: > >> Hi, I'm writing unit tests and I was wondering if there is a way to >> ask routes for all possible urls it can handle. if this is not, there >> how hard will

Re: Pylons widgets...?

2008-12-18 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 7:25 PM, Iain Duncan wrote: > > On Thu, 2008-12-18 at 17:12 -0500, Julio Napurí Carlos wrote: >> >> Uhmm >> what about rum [1] and RumAlchemy ? >> >> Some cool things you might overlook http://rumdemo.toscawidgets.org/ >> >> [1]http://toscawidgets.org/documentation/rum/ >

Re: Pylons widgets...?

2008-12-18 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 4:12 PM, Julio Napurí Carlos wrote: > > Uhmm > what about rum [1] and RumAlchemy ? > > Some cool things you might overlook http://rumdemo.toscawidgets.org/ > > [1]http://toscawidgets.org/documentation/rum/ > As Iain pointed out Rum is a, admin tool build on top of TW, it

Re: Pylons widgets...?

2008-12-18 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 1:58 PM, Kevin Baker wrote: > We are starting to build out our templates for a new project. I would like > to leverage all the ninja widget functionality in Pylons. > > Should I be using the toscaWidget stuff? > > If so I assume I should use some of the tutorials off the P

Re: how can I ask routes for all possible urls?

2008-12-18 Thread Jorge Vargas
On Thu, Dec 18, 2008 at 10:32 AM, Mike Orr wrote: > > On Thu, Dec 18, 2008 at 7:55 AM, Jorge Vargas wrote: >> >> Hi, I'm writing unit tests and I was wondering if there is a way to >> ask routes for all possible urls it can handle. if this is not, there >&g

how can I ask routes for all possible urls?

2008-12-18 Thread Jorge Vargas
Hi, I'm writing unit tests and I was wondering if there is a way to ask routes for all possible urls it can handle. if this is not, there how hard will it be to implement? Ideally I want to mix this with webtest so I can have a generic test that will tell me if all urls I'm calling are ok, by ok I

Re: Testing a controller with upload_files ?

2008-12-17 Thread Jorge Vargas
. > > On Wed, Dec 17, 2008 at 12:52 PM, Jorge Vargas wrote: >> >> On Wed, Dec 17, 2008 at 3:54 AM, Kurt wrote: >>> >>> Hi, I have a controller, that takes a normal param, as well as a >>> couple of files as input. It works fine when called from

Re: Testing a controller with upload_files ?

2008-12-17 Thread Jorge Vargas
On Wed, Dec 17, 2008 at 3:54 AM, Kurt wrote: > > Hi, I have a controller, that takes a normal param, as well as a > couple of files as input. It works fine when called from a client, but > I am having trouble getting a unit test to work. > > response = self.app.post(url_for(controller='ff', actio

Re: mycompany.myapp instead of myapp as base package ?

2008-12-16 Thread Jorge Vargas
On Mon, Dec 15, 2008 at 6:45 PM, Wyatt Baldwin wrote: > > On Dec 15, 4:27 pm, "Jorge Vargas" wrote: >> On Mon, Dec 15, 2008 at 6:07 PM, Wyatt Baldwin >> >> wrote: >> >> > On Dec 12, 7:29 am, Guillaume wrote: >> >> Hi, >> &

Re: mycompany.myapp instead of myapp as base package ?

2008-12-15 Thread Jorge Vargas
On Mon, Dec 15, 2008 at 6:07 PM, Wyatt Baldwin wrote: > > On Dec 12, 7:29 am, Guillaume wrote: >> Hi, >> >> I'm currently developing a set of applications, and I have one >> problem. They should all reside in the same package. The package >> structure should look like something like this: >> myc

Re: mycompany.myapp instead of myapp as base package ?

2008-12-12 Thread Jorge Vargas
On Fri, Dec 12, 2008 at 5:49 PM, Mike Orr wrote: > > On Fri, Dec 12, 2008 at 3:22 PM, aaron wrote: >> >> I have a setup like this, which seems to work ok, except for one major >> issue: "paster shell" doesn't work. >> >> So, our entry points in setup.py: >>entry_points={ >>"paste.app

Re: Django or Pylons - comparison details

2008-12-08 Thread Jorge Vargas
On Mon, Dec 8, 2008 at 3:54 AM, Krishgy <[EMAIL PROTECTED]> wrote: > > If your questions needs to be answered quickly, Django may be right > choice. I think, you could have known why not to use PHP when you ask > question on Django vs Pylons :-) . > > I NEVER worked on Python at jobs. I wanted to

Re: Django or Pylons - comparison details

2008-12-06 Thread Jorge Vargas
On Sat, Dec 6, 2008 at 12:39 PM, Ben Bangert <[EMAIL PROTECTED]> wrote: > On Dec 6, 2008, at 9:31 AM, zunzun wrote: > >> Comparison before starting a project, used to decide which framework >> to use. >> Django: according to http://groups.google.com/group/django-users/about >> Members 12,016 >> Gr

Re: Pyjamas : Python -> JS

2008-12-06 Thread Jorge Vargas
On Sat, Dec 6, 2008 at 3:39 AM, Wichert Akkerman <[EMAIL PROTECTED]> wrote: > > Previously Eric Ongerth wrote: >> I have heard that the more you try to make Javascript behave like >> Python, the more you end up hating Javascript -- but that says nothing >> about Javascript itself. Javascript is r

Re: Pyjamas : Python -> JS

2008-12-05 Thread Jorge Vargas
On Fri, Dec 5, 2008 at 5:15 AM, Kless <[EMAIL PROTECTED]> wrote: > > I've looking for any bridge between python and JS to building easily > the user interfaces (client side). --I dislike JS, and it's heavy to > have to know and deal with HTML, CSS JS and the API of any JS > framework-- > > Ago tim

Re: Authentication methods for a mercurial controller

2008-12-03 Thread Jorge Vargas
On Thu, Dec 4, 2008 at 10:59 AM, Thomas Johnson <[EMAIL PROTECTED]> wrote: > I am working on implementing a mercurial controller in my application. > So far I am able to clone and pull from it without any troubles. I > only push via ssh so I am not sure if it is supported. Here is a > simplified v

Re: Running mulitple versions of Pylons apps with shared hosting.

2008-12-01 Thread Jorge Vargas
On Mon, Dec 1, 2008 at 7:52 AM, Dalius Dobravolskas <[EMAIL PROTECTED]> wrote: > >> Any help would be appreciated. > virtualenv should help you. I have not used myself virtualenv for > hosting yet but I think that's one purposes it is created for. yes totally, I don't deploy anymore without venv.

webhelpers: link_to and htmlbuilder whitespace

2008-11-19 Thread Jorge Vargas
two questions one email 1- how can I add whitespace in html building, I find literal(' ') ugly. The use case two tags inside a div HTML.span('Welcome %s' % identity['repoze.who.userid'])+literal(' ')+link_to('logout','/logout_handler') 2- why does link_to works as it does? >>> link_to('foo') li

Re: End URLS in slash?

2008-11-19 Thread Jorge Vargas
On Wed, Nov 19, 2008 at 2:43 PM, Randy Syring <[EMAIL PROTECTED]> wrote: > > > On Nov 19, 2:20 pm, "Raoul Snyman" <[EMAIL PROTECTED]> wrote: >> On Wed, Nov 19, 2008 at 7:05 PM, Mike Orr <[EMAIL PROTECTED]> wrote: >> > Looking at your modules, I didn't know Routes had an .append_slash >> > option b

Re: Paster Shell Debug

2008-11-19 Thread Jorge Vargas
On Mon, Nov 17, 2008 at 6:02 PM, nym <[EMAIL PROTECTED]> wrote: > > I'm having no luck in trying to get paster shell to log messages. > > If I have a model that logs a message, where does that message go? Do > I need to enable logging somehow? I have no problem logging with > regular requests. > >

Re: HTTPS connection support in soaplib/client.py

2008-11-19 Thread Jorge Vargas
On Mon, Nov 17, 2008 at 4:50 PM, miaw <[EMAIL PROTECTED]> wrote: > > Hi, > > I found that although HTTPSConnection is implemented in httplib.py; in > soaplib/client.py, > when make_service_client is called, we are not able to pass a scheme > argument to > specify which type of connection we want t

Re: Pylons and Python 2.6 (Was: Re: go-pylons.py broken on Python 2.6 in Windows?)

2008-11-19 Thread Jorge Vargas
On Tue, Nov 18, 2008 at 2:22 AM, Lawrence Oluyede <[EMAIL PROTECTED]> wrote: > > On Tue, Nov 18, 2008 at 8:35 AM, Eric Ongerth <[EMAIL PROTECTED]> wrote: >> >> Correction: the point at which easy_installing Pylons errored out was >> during the installation of simpleJSON. So it never reached the p

Re: Start action at the specific time.

2008-10-27 Thread Jorge Vargas
On Sat, Oct 25, 2008 at 6:06 AM, gra2n <[EMAIL PROTECTED]> wrote: > > Is there posibility to start some action at specific time in Pylons > without user action ?? For example I have in my database a group of > things to do and time when to start doing them. My problem is to > implement function wh

Re: Zipping Pylons components on App Engine

2008-10-27 Thread Jorge Vargas
On Fri, Oct 24, 2008 at 3:19 AM, Mike Orr <[EMAIL PROTECTED]> wrote: > > I tried zipping some eggs for Pylons under Appengine-Monkey today., > For some reason the App Engine environment seems to honor directories > listed in a .pth file but not zips listed in a .pth file, so I had to > put the zip

Re: Displaying Data in a grid

2008-10-17 Thread Jorge Vargas
On Fri, Oct 17, 2008 at 8:10 AM, Matt Feifarek <[EMAIL PROTECTED]> wrote: > On Fri, Oct 17, 2008 at 5:12 AM, Toby Catlin <[EMAIL PROTECTED]> wrote: >> >> I am sure this has been done before but i am having trouble finding any >> references to existing code. As i don't want to reinvent the wheel i

Re: Pylons Authentication Options

2008-10-16 Thread Jorge Vargas
On Wed, Oct 15, 2008 at 4:30 PM, Mike Orr <[EMAIL PROTECTED]> wrote: > > On Wed, Oct 15, 2008 at 3:29 PM, Mike Orr <[EMAIL PROTECTED]> wrote: >> On Wed, Oct 15, 2008 at 3:22 PM, MilesTogoe <[EMAIL PROTECTED]> wrote: >>> >>> Mike Orr wrote: On Wed, Oct 15, 2008 at 11:03 AM, Steven <[EMAIL PROT

Re: Pylons: pros and cons

2008-10-16 Thread Jorge Vargas
On Wed, Oct 15, 2008 at 2:11 PM, Mike Orr <[EMAIL PROTECTED]> wrote: > > On Wed, Oct 15, 2008 at 10:25 AM, Jorge Vargas <[EMAIL PROTECTED]> wrote: >> >> On Mon, Oct 13, 2008 at 10:11 PM, Mike Orr <[EMAIL PROTECTED]> wrote: >>> >>> On Mon, O

Re: Pylons: pros and cons

2008-10-15 Thread Jorge Vargas
On Mon, Oct 13, 2008 at 10:11 PM, Mike Orr <[EMAIL PROTECTED]> wrote: > > On Mon, Oct 13, 2008 at 9:14 AM, Tomasz Nazar <[EMAIL PROTECTED]> wrote: >> >> Hi there! >> >> I've been a Pylons user for more than a year already. Few other people >> in the neighbourhood ask me for Pylons advantages often

Re: Where is secure_button_to in new WebHelpers 0.6.1

2008-10-12 Thread Jorge Vargas
On Sun, Oct 12, 2008 at 6:45 AM, Jan Koprowski <[EMAIL PROTECTED]> wrote: > > Hi ! > > I am unsurprised to CSRF security generators. I can't find anywhere > secure_do_button. Last implementation is in rails module which is > deprecated. Any idea ? > isn't that in html/secure_form.py ? > Greetin

Re: non rails number_to_human_size ?

2008-10-07 Thread Jorge Vargas
On Tue, Oct 7, 2008 at 4:43 PM, Mike Orr <[EMAIL PROTECTED]> wrote: > > On Tue, Oct 7, 2008 at 3:26 PM, Mike Orr <[EMAIL PROTECTED]> wrote: >> def format_size(n, binary, precision?) >>``n`` -- the number >>``binary`` -- true to use base 1024 and the "Gi" series. >>``precision`` -- not

Re: non rails number_to_human_size ?

2008-10-07 Thread Jorge Vargas
On Tue, Oct 7, 2008 at 4:26 PM, Mike Orr <[EMAIL PROTECTED]> wrote: > > On Tue, Oct 7, 2008 at 7:58 AM, Jorge Vargas <[EMAIL PROTECTED]> wrote: >> >> Is this not implemented or I miss it somewhere? if it isn't >> implemented I think that the rails

non rails number_to_human_size ?

2008-10-07 Thread Jorge Vargas
Is this not implemented or I miss it somewhere? if it isn't implemented I think that the rails version is good enough to be ported to number.py --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "pylons-discuss" group.

Re: newbie Oct 2008 - v0.9.6.x or 0.9.7 ?

2008-10-06 Thread Jorge Vargas
he mailing list, with a link and explanation. > Emmett > > > On Oct 6, 11:05 pm, "Jorge Vargas" <[EMAIL PROTECTED]> wrote: >> On Sun, Oct 5, 2008 at 8:49 PM, Emmett <[EMAIL PROTECTED]> wrote: >> >> > Pylons newbie here. Followed the docs.pylonsh

Re: newbie Oct 2008 - v0.9.6.x or 0.9.7 ?

2008-10-06 Thread Jorge Vargas
On Sun, Oct 5, 2008 at 8:49 PM, Emmett <[EMAIL PROTECTED]> wrote: > > Pylons newbie here. Followed the docs.pylonshq instructions and > therefore installed 0.9.7, learning rapidly in the past couple of > days. I like it. Especially the WSGI concept. I like Python a lot, > and now this framework (

Re: Handling subdomains

2008-09-20 Thread Jorge Vargas
On Fri, Sep 19, 2008 at 6:45 AM, Rob <[EMAIL PROTECTED]> wrote: > > Hi, > > I would like to have the administration side of my application done > though a subdomain (admin.example.com). How would I set this up with > pylons? > Please look in the archives, this exact same question was ask about a w

Re: Module import errors relating to site when using GAE SDK 1.1.3

2008-09-18 Thread Jorge Vargas
On Wed, Sep 17, 2008 at 7:15 PM, Josh Heitzman <[EMAIL PROTECTED]> wrote: > > Well, it turns out this just something wrong with GAE's SDK upgrade > process. I uninstalled 1.1.1 before installing 1.1.3, but apparently > that isn't good enough, as you need to delete what's left in the > directly as

Re: When using GAE locally, which site.py is supposed to be loaded?

2008-09-18 Thread Jorge Vargas
On Wed, Sep 17, 2008 at 5:06 PM, Josh Heitzman <[EMAIL PROTECTED]> wrote: > > Your general one or the one in your project directly? will you be more specific, I'm not aware of any site.py that needs to be loaded. are you talking about appengine monkey? --~--~-~--~~~--

Re: Is AuthKit still acrively being developed?

2008-09-12 Thread Jorge Vargas
On Fri, Sep 12, 2008 at 3:45 PM, Mike Orr <[EMAIL PROTECTED]> wrote: > > On Fri, Sep 12, 2008 at 1:50 PM, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: >> >> i was just talking about open source projects in general... >> >> a lot of people seem to be leaving subversion for git, or mercurial, >> or o

Re: Is AuthKit still acrively being developed?

2008-09-12 Thread Jorge Vargas
On Fri, Sep 12, 2008 at 11:24 AM, Jonathan Vanasco <[EMAIL PROTECTED]> wrote: > > On Sep 12, 8:38 am, Bartosz R <[EMAIL PROTECTED]> wrote: >> Some claim (http://beta.stackoverflow.com/questions/47801) that it is >> not. And so it seems that the last commit was 2 months ago... Can >> anyone clarify

WSGI callable and pylons __before__

2008-09-08 Thread Jorge Vargas
Hi, I got the following situation: I'm running a couple of other apps as wsgi callables, they follow the "object" dispatcher protocol of wsgi, that is a class that extends BaseController which as a __call__ method that in turns call the wsgi app with the environ and start_reponse. it's all runni

Which is the best way to make a variable available to all templates?

2008-09-02 Thread Jorge Vargas
I want to be able to customize some layout variables from the config files. For example I want to have a "company_name" variable that will be displayed as ${company_name} - Downloads I think the best way to accomplish this will be to prepopulate the variable in lib/base but I'm not sure how to a

Re: beaker trac

2008-08-25 Thread Jorge Vargas
On Fri, Aug 22, 2008 at 7:58 PM, Walter Cruz <[EMAIL PROTECTED]> wrote: > > How can I submit a bug to beaker? The trac requests a password :) > here is how http://wiki.pylonshq.com/display/pylonscommunity/Home PS: I just notice that page still has references to SVN, that should be updated, and I

Re: Plesae do not remove pylons releases

2008-08-25 Thread Jorge Vargas
On Sat, Aug 23, 2008 at 10:41 AM, Noah Gift <[EMAIL PROTECTED]> wrote: > More and more I like the idea of there being an extension to easy_install > and virtualenv that is like an rpm or deb package. You have an all > inclusive package that contains all the actual eggs needed to deploy a > partic

Re: response status when form validation fails

2008-08-19 Thread Jorge Vargas
On Tue, Aug 19, 2008 at 1:08 AM, Lawrence Oluyede <[EMAIL PROTECTED]> wrote: > > On Tue, Aug 19, 2008 at 8:20 AM, Sok Ann Yap <[EMAIL PROTECTED]> wrote: >> Returning 400 for form validation error is recommended by Leonard >> Richardson and Sam Ruby in the book RESTful Web Services. Here's an >> ex

Re: distribute Pylons app with bytecode files only?

2008-07-12 Thread Jorge Vargas
On Mon, Jul 7, 2008 at 5:48 PM, Cliff Wells <[EMAIL PROTECTED]> wrote: > > Sometimes this type of security is required (by law or PHB's), but most > people who ask this sort of question are simply following a cargo-cult > mentality of believing that source code must be kept secret, without > much

Re: WebHelpers 0.6 released

2008-07-12 Thread Jorge Vargas
On Tue, Jul 8, 2008 at 6:18 PM, Mike Orr <[EMAIL PROTECTED]> wrote: > > WebHelpers 0.6 final has been released. Just do: > >$ easy_install -U WebHelpers > > For now you'll have to read the docstrings in the source code for > documentation. I'm hoping these will be included online in the Pylo

Re: mako marco? webhelpers plugin?

2008-05-13 Thread Jorge Vargas
On Tue, May 13, 2008 at 6:07 PM, lasizoillo <[EMAIL PROTECTED]> wrote: > > Hi > > 2008/5/11 <[EMAIL PROTECTED]>: > > > > > i am new to pylons and found the webhelpers are quite handy. i need to > > program on other javascript lib(dhtml calendar) which is not include > > in webhelpers. if

get_lang/set_lang why the different signature?

2008-05-13 Thread Jorge Vargas
Hi, I'm a bit confused as to why this is implemented like it is. set_lang is a string which inside pylons (_get_translator in translation.py) is converted to a list to make python's gettext happy. but then it's stored as a list in translator.pylons_lang which is retrieved by get_lang. not only

  1   2   >