SQLAlchemy database model

2006-09-12 Thread Joe
, at least in my book). But unless I use models/__init__.py to attempt to create the tables, I presume Pylons doesn't really care if there's an associated sequence (or whether there's an unmapped tsvector column), or does it? Thanks for any comments or suggestions. Joe

Re: SQLAlchemy database model

2006-09-13 Thread Joe
that some of my datatypes don't correspond exactly to SQL types, so some transformations are necessary (arguably in a grey area between the model and the view). Hope that helps a bit, Thanks, indeed. Joe --~--~-~--~~~---~--~~ You received this message because you

Re: Masters Degree Project Idea

2006-09-14 Thread Joe
would make it easier to look up the needed APIs, or to decide whether to use one component (e.g., templating system) over another, and of course it would help in debugging. Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: beginner's impression

2006-09-17 Thread Joe
/DevCenter/EasyInstall Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email to [EMAIL

How to remove SA mods.threadlocal and objectstore

2006-09-19 Thread Joe
SO being there first? Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe from this group, send email

Re: sqlalchemy and threadlocal docs on pylons tutorial

2006-09-19 Thread Joe
of using sequentially-assigned integers is quite common, although technically they are surrogate primary keys (see http://en.wikipedia.org/wiki/Surrogate_key). Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: sqlalchemy and threadlocal docs on pylons tutorial

2006-09-20 Thread Joe
. --- These are not entirely unreasonable points. In any case, I suggest that if anyone wants more they can visit comp.databases.theory for regular flame wars on the subject. Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed

Myghty and Pylons

2006-10-03 Thread Joe
or gen.py. Are we supposed to install Myghty separately to explore its features or only use them within Pylons, or what (and if so, it would help to make this explicit in the Pylons docs)? Joe --~--~-~--~~~---~--~~ You received this message because you

Re: Myghty and Pylons

2006-10-04 Thread Joe
by experimentation. That said, that tools/gen.py tool appears to be useful on its own, so I wonder why Pylons doesn't install it (or perhaps it has been removed from Myghty itself?). Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: Using SQLAlchemy with Pylons

2006-10-06 Thread Joe
the database on each page instantiation or refresh. A minor comment on your code: self.session is somewhat confusing because in the web environment a session is not the same as a database session. Joe --~--~-~--~~~---~--~~ You received this message because you

Re: old plain db-api

2006-10-30 Thread Joe
using. Do you have a particular DB or implementation in mind? Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com To unsubscribe

Re: Pylons performance

2006-11-06 Thread Joe
for loading them. Wheras PHP will load your entire app every request essentially, this causes a substantial slowdown. For my own edification, would you have references to support your two assertions? Joe --~--~-~--~~~---~--~~ You received this message

[pylons-discuss] Stupid noob question on Pyramid running under IIS.

2014-10-13 Thread joe
This is embarassing but I've been unable to figure out what's going on. I'm trying to write a WSGI application that will be running under IIS. As I understand it, WSGI is a pretty simple API. I have a sample application running; def application(environ, start_response): WSGI

Re: [pylons-discuss] Stupid noob question on Pyramid running under IIS.

2014-10-14 Thread joe
Thanks Michael! I really appreciate it. I was able to get the sample working with your help. -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: SQLAlchemy defining tables in conf, orm mappying?

2008-01-28 Thread Joe Riopel
On Jan 22, 2008 2:15 AM, Kevin Baker [EMAIL PROTECTED] wrote: Is the table definition there to manually define data-types for SA, so that it can generate valid SQL with the SQL abstraction syntax? or does it do more. Here is a good explanation of what the Table and Column definitions are used

h.select with list of objects

2008-05-20 Thread Joe Riopel
, and the name property as the option text. Is there a cleaner way to do this using the webhelpers module? Thanks, Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send

Re: h.select with list of objects

2008-05-20 Thread Joe Riopel
On Tue, May 20, 2008 at 11:49 AM, Garland, Ken R [EMAIL PROTECTED] wrote: Hmm, I'm not 100% sure I understand but this is something that I use to populate a select drop-down from a list: ${ h.select(name='selectedItem', option_tags=h.options_for_select(c.list, selected=None), selected=None,

Re: h.select with list of objects

2008-05-20 Thread Joe Riopel
On Tue, May 20, 2008 at 11:58 AM, Garland, Ken R [EMAIL PROTECTED] wrote: c.list would be the text of the options. What would be the value of the options? Sorry if this is really simple, but the objects in my c.type_list are not strings, they are instances of a class I created.

Re: h.select with list of objects

2008-05-20 Thread Joe Riopel
On Tue, May 20, 2008 at 2:12 PM, Garland, Ken R [EMAIL PROTECTED] wrote: No problem, hope this helps: options_for_select: generate HTML option set. Combine into select function. options_for_select_from_objects: same but get the labels and values from specific attributes in a list of

Re: h.select with list of objects

2008-05-20 Thread Joe Riopel
) Thank you Mike. That is what I was looking for - just something a bit more readable. Thanks again, Joe --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons

Pylons Empty Query Error Handling

2008-06-17 Thread Joe Chiang
Sorry I am a completely newbie to Pylons, Python, and I'm trying to built a web page with pylons.. so i got a page setup and have it query to my database for searching.. query is fine when user enter the correct arguments but when they are not below is a pylons pages with error log class

Pylons, SQLAlchemy and deleting

2009-01-07 Thread Joe Riopel
Hi, This question is specific to Pylons and SQLAlchemy. Hi all, I have a mapped class (I am using SQLAlchemy's ORM), called Person. I have a method on a pylons controller to delete a Person record from the table that the Person class is mapped to. I am using the id column (int, primary key) of

Re: Pylons, SQLAlchemy and deleting

2009-01-07 Thread Joe Riopel
2009/1/7 Piotr Kęplicz kepl...@cmc.pl: Of course not. Try: Session.query(Person).filter_by(...).delete() Hi Piotr and thank you for the reply. Isn't that code still doing the select first, to get the object, and then deleting it? The code you posted is much cleaner though.

link_to_remote behavior on drop down.

2009-01-08 Thread Joe Riopel
Hi, Is there a web helper function, that has the same behavior as h.link_to_remote does, that can be used with a select input? I would like to update an element on my page, when the user selects an option in the drop down. I can't seem to find any documentation for something like this, just the

paster controller: sub-folder, same controller name.

2009-03-23 Thread Joe Riopel
Hi, I have a controller foo in my application's controller directory. I want to make a separate admin controller named foo, in the controllers/admin directory, as well. So I issued the command paster controller admin/foo and paster is telling me that An error occurred. Controller foo already

Re: Pyramid question...

2011-03-02 Thread Joe Dallago
So I am relatively new to the Pyramid scene, so correct me if I am wrong, but this is the conclusion I have come to on this topic. B/c I too struggled for a few days over this. Resources: First of all, resources were originally called models, but the name was purposely changed to avoid

Re: Pyramid question...

2011-03-02 Thread Joe Dallago
Sweet. I'm Jayd3e from IRC if anyone cares btw. Just putting a handle with a name :). On Wed, Mar 2, 2011 at 9:41 PM, Chris McDonough chr...@plope.com wrote: On Wed, 2011-03-02 at 21:34 -0600, Joe Dallago wrote: So I am relatively new to the Pyramid scene, so correct me if I am wrong

Re: Pyramid question...

2011-03-02 Thread Joe Dallago
 pm, Joe Dallago jd.dall...@gmail.com wrote: So I am relatively new to the Pyramid scene, so correct me if I am wrong, but this is the conclusion I have come to on this topic.  B/c I too struggled for a few days over this. Resources:  First of all, resources were originally called models

Re: Google Summer of Code 2011

2011-03-06 Thread Joe Dallago
As a student who would love to have a mentor and play a larger part in the development process of Pyramid, I say this is an awesome idea. On Sun, Mar 6, 2011 at 7:38 PM, Chris McDonough chr...@plope.com wrote: On Sun, 2011-03-06 at 09:16 -0800, Joel Bohman wrote: Hi, I'm interested in doing

Re: Pyramid book at PyCon

2011-03-06 Thread Joe Dallago
Any idea of how much it will be? On Sat, Mar 5, 2011 at 12:03 PM, Chris McDonough chr...@plope.com wrote: FYI, a printed edition of the Pyramid documentation (The Pyramid Web Application Development Framework) will be available at the PyCon bookseller during the conference.  The book covers

Dinner at PyCon?

2011-03-10 Thread Joe Dallago
Didn't know where else to post this. Where are some Pyramid members getting dinner tonight at PyCon? New to PyCon fyi. -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com. To

Good hosting recommendations?

2011-03-29 Thread Joe Dallago
What does everyone use for hosting and why? I currently use bluehost, but I just want to see what is out there. -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com. To

Re: Good hosting recommendations?

2011-03-29 Thread Joe Dallago
Linode is looking good. I like the idea of being able to have total control over my box. On Mar 29, 2011 12:56 PM, Blaise Laflamme bla...@laflamme.org wrote: I currently use different setups and my preferred one is linode.com, it's just awesome :) On Mar 29, 12:27 pm, Joe Dallago jd.dall

Re: paster stop daemon issues

2011-04-01 Thread Joe Dallago
Not sure if this is the right way, but I always just run 'killall paster' and it does the trick. Have you tried that? On Apr 1, 2011 1:12 PM, CalebIrie calebi...@gmail.com wrote: I have to ask about this... I have been trying for 2 hours to restart my paster server, with no luck. I've tried

hallo

2011-04-14 Thread Joe Dallago
there is a pill http://ennevia.com/sales.htm -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons-discuss@googlegroups.com. To unsubscribe from this group, send email to

Re: SF Bay Area Pylons Project meetup / minicon / sprint end of month

2011-04-14 Thread Joe Dallago
Really wish I could go to this, but I'll be pretty busy with school around that time. On Apr 14, 2011 2:50 PM, Chris McDonough chr...@plope.com wrote: Whit Morriss of SurveyMonkey has been kind enough to organize a set of Pylons Project events coming up at the end of this month. The first is a

Re: help on daemonising my pylons app

2011-04-26 Thread Joe Dallago
Paster has a daemon flag. Just type paster serve --daemon production.ini or something like that. I'm not 100% sure that it is --daemon, pretty sure, but double check. On Tue, Apr 26, 2011 at 5:26 PM, Krishnakant Mane krm...@gmail.com wrote: Hello all. I have a pylons application running in a

Re: again: any plans or roadmap to switch to Python 3?

2011-05-23 Thread Joe Dallago
Vincenzo, I just wanted to let you know that Joel Bohman and I are going to be working on porting Pyramid to Py3 for GSOC. Feel free to contact either one of us if you would like to join in. -jayd3e On Sat, May 21, 2011 at 11:43 AM, Vincenzo Ampolo vincenzo.amp...@gmail.com wrote: On Sat,

Re: Pyramid 1.1a2 released

2011-06-22 Thread Joe Dallago
So I asked a few questions in #python, and there seemed to be some disagreement with trying to support 2.5-3.2 all in one code base without the use of 2to3 and 3to2. I wanted to know how you felt about it. Some of their main points were that it makes the code quite messy for both versions, and a

Re: Deform and Mako

2011-06-23 Thread Joe Dallago
P.S. e-mail me some github usernames, and I can give you guys permission to push to the fork. On Thu, Jun 23, 2011 at 9:16 AM, Joe Dallago jd.dall...@gmail.com wrote: I would  like to help with this, if you guys start a project.  I would say the best way to do it would be to alter deform

Re: Deform and Mako

2011-06-23 Thread Joe Dallago
I took a quick look at Tosca, and they don't seem to do anything different than what I was essentially describing. Mike, what were you specifically referring to? On Thu, Jun 23, 2011 at 1:25 PM, Mike Orr sluggos...@gmail.com wrote: On Thu, Jun 23, 2011 at 7:16 AM, Joe Dallago jd.dall

Re: Deform and Mako

2011-06-23 Thread Joe Dallago
That way deform could be expanded to support multiple renderers. On Thu, Jun 23, 2011 at 4:32 PM, Joe Dallago jd.dall...@gmail.com wrote: ^^ Yah that's how I currently do it, but I think it would be nice to have a separate set of default templates for each renderer.  Any way we could easily do

Re: Deform and Mako

2011-06-23 Thread Joe Dallago
K so users would use the same method they do now to support mako(your link above), except they could use the deform_mako templates as opposed to converting them on their own? On Jun 23, 2011 5:38 PM, Chris McDonough chr...@plope.com wrote: On Thu, 2011-06-23 at 16:32 -0500, Joe Dallago wrote

Re: Deform and Mako

2011-06-24 Thread Joe Dallago
Just wanted to mentioned that I started the project as mentioned above at https://github.com/jayd3e/deform_mako. If you find yourself converting one of the chameleon templates in deform in the near future please add it to that repo. On Fri, Jun 24, 2011 at 1:54 PM, Matt Feifarek

Re: when will pyramid support python 3.x ?

2011-07-27 Thread Joe Dallago
The easiest answer to this question is, as soon as humanly possible. On Wed, Jul 27, 2011 at 7:59 PM, Chris McDonough chr...@plope.com wrote: Not sure. Our two GSOC students, Joe Dallago and Joel Bohman are working on porting Pyramid's dependencies to Python 3 now. I think we'll have

Re: pylons-discuss and pylons-devel

2011-09-02 Thread Joe Dallago
O cool I've always wanted more details. On Thu, Sep 1, 2011 at 2:58 PM, Chris McDonough chr...@plope.com wrote: My bad, I let this spam through. - C On Tue, 2011-08-30 at 10:14 -0700, bhuvanesh barani wrote: For more details: http://123maza.com/65/babul739/ --

Re: uhh web2pyramid?

2011-09-07 Thread Joe Dallago
Nah it was an April Fools' Day joke. On Wed, Sep 7, 2011 at 12:54 PM, Siddhartha Kasivajhula countvajh...@gmail.com wrote: Has the pylons site been hacked? http://docs.pylonshq.com/ -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post

Re: uhh web2pyramid?

2011-09-08 Thread Joe Dallago
okay :) On Wed, Sep 7, 2011 at 12:26 PM, Rob Miller r...@kalistra.com wrote: Yup, and docs.pylonshq.com was misconfigured to still be pointing at the joke page. Now fixed. -r On 9/7/11 11:30 AM, Joe Dallago wrote: Nah it was an April Fools' Day joke. On Wed, Sep 7, 2011 at 12

Re: WebOb is now hosted in the Pylons Project github repo

2011-09-18 Thread Joe Dallago
This is great news. Glad this verdict was reached. On Sep 17, 2011 6:50 PM, Chris McDonough chr...@plope.com wrote: WebOb, the WSGI request/response library used by both Pylons and Pyramid, previously hosted on Bitbucket, has been converted to Git and is now hosted on GitHub in the Pylons

Re: Plone Conference approacheth

2011-10-14 Thread Joe Dallago
Chris, What problems are we having with scaling the community? Or were thinking more along the lines of discussing some new marketing ideas to attract more users? Either way I think it is important to name some specific issues, to get people brainstorming. 2011/10/14 Chris McDonough

Re: Pyramid on cloud

2011-10-25 Thread Joe Dallago
I have a membership with linode.com. Really love their customer service and web UI. I feel like I am always referring them to people. On Tue, Oct 25, 2011 at 6:56 PM, Bruce Wade bruce.w...@gmail.com wrote: Hi, What are the recommendations for deploying on a cloud. Any cloud hosting

Re: Clarification on Authorization?

2011-11-10 Thread Joe Dallago
So just to clarify here, we have a many-to-many between Users and Accounts, and a one to one between Accounts and RandomObjects. If this is true than there are a few things wrong with your models. 1) Only one relationship call is necessary for a many-to-many, b/c the backref will take care of

Re: Clarification on Authorization?

2011-11-10 Thread Joe Dallago
be attached to more than one account). I am using URL Dispatch for my routing right now On 11/10/2011 02:54 PM, Joe Dallago wrote: So just to clarify here, we have a many-to-many between Users and Accounts, and a one to one between Accounts and RandomObjects. If this is true than there are a few

Re: Clarification on Authorization?

2011-11-10 Thread Joe Dallago
to specify a factory for each route): config.add_route('specific_object', '{account}/{object}/{id}', factory=RandomObject) On Thu, Nov 10, 2011 at 3:39 PM, Joe Dallago jd.dall...@gmail.com wrote: Ok cool. So the fact that you use URL Dispatch actually has nothing to do with your authorization

Re: need your help to overhaul docs

2012-02-10 Thread Joe Dallago
Count me in for $25. I can give it to you at PyCon, if that is not too late. Otherwise, Paypal or something. On Fri, Feb 10, 2012 at 12:36 PM, Iain Duncan iainduncanli...@gmail.com wrote: On Fri, Feb 10, 2012 at 10:26 AM, Chris McDonough chr...@plope.com wrote: On Fri, 2012-02-10 at 10:23

GSOC Mentors

2012-03-27 Thread Joe Dallago
beneficial to the Pylons Project community, but ended up not having the time/motivation to do it yourself, then get me to do it at Google's expense! -Joe D. -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group, send email to pylons

Re: GSOC Mentors

2012-03-27 Thread Joe Dallago
Thanks for the support Chris. Michael Merickel also showed some interest in being a mentor. So that really just leaves a need for one person to lead the effort. On Tue, Mar 27, 2012 at 1:41 PM, Chris McDonough chr...@plope.com wrote: On Tue, 2012-03-27 at 11:39 -0500, Joe Dallago wrote: I am

Re: GSOC Mentors

2012-04-02 Thread Joe Dallago
Chris mentioned that he would be interested in being a mentor, as long as he didn't have to lead the effort. Michael Merickel was also interested, if I remember correctly. I just contacted him, so if he is still interested I'm sure he will post here. On Apr 2, 2012 10:00 AM, Domen Kožar

Re: GSOC Mentors

2012-04-02 Thread Joe Dallago
, 2012-04-02 at 13:13 -0500, John Anderson wrote: On Mon, Apr 2, 2012 at 1:06 PM, Joe Dallago jd.dall...@gmail.com wrote: Chris mentioned that he would be interested in being a mentor, as long as he didn't have to lead the effort. Michael Merickel was also

Re: The Pylons Project is looking for GSoC students and ideas!

2012-04-02 Thread Joe Dallago
I plan on applying. Just wanted to get some feedback on a few ideas I have for a project. One is pretty safe, the other is a tad insane, yet awesome. So Mike and I discussed the first idea at Pycon, making a Pyramid admin interface similar to Bottlecap(which was for Zope?) for Pyramid. This

Re: The Pylons Project is looking for GSoC students and ideas!

2012-04-02 Thread Joe Dallago
Just to clarify, I would also be more than willing to do any of the ones mentioned the wiki. I would be interested in hearing which projects the community feels are the most necessary. On Mon, Apr 2, 2012 at 11:59 PM, Joe Dallago jd.dall...@gmail.com wrote: I plan on applying.  Just wanted

Re: The Pylons Project is looking for GSoC students and ideas!

2012-04-03 Thread Joe Dallago
, Krishnakant Mane krm...@gmail.com wrote: Hi, Has some one thought about an eclipse plugin for pylons? Happy hacking. Krishnakant On 03/04/12 17:36, John Anderson wrote: On Tue, Apr 3, 2012 at 12:14 AM, Joe Dallagojd.dall...@gmail.com wrote: Just to clarify, I would also be more than

Re: alembic 0.3.2 released

2012-04-30 Thread Joe Dallago
Nice, congrats. Love alembic. On Apr 30, 2012 2:28 PM, Michael Bayer mike...@zzzcomputing.com wrote: Hey lists - I've just put out Alembic 0.3.2. This version features initial support for Oracle, and some bug fixes. There's plenty more to do with Alembic so keep those pull requests coming

Re: Testing question

2012-06-22 Thread Joe Dallago
You need to populate the matchdict manually. Add this to your code: req.matchdict['templateid'] = 1 Pyramid doesn't actually route the URL, so the matchdict isn't populated. On Fri, Jun 22, 2012 at 2:10 PM, Toni Mueller d...@tonimueller.org wrote: Hi, I want to test a view, but the

Re: Testing question

2012-06-22 Thread Joe Dallago
sure where it is in the docs, please link to it if you find it. On Fri, Jun 22, 2012 at 3:43 PM, Toni Mueller d...@tonimueller.org wrote: Hi, On Fri, Jun 22, 2012 at 02:37:55PM -0700, Joe Dallago wrote: req.matchdict['templateid'] = 1 ummm... yes, but I thought that it should be created

Re: Pyramid 1.4a1 released

2012-09-16 Thread Joe Dallago
Nice! On Sun, Sep 16, 2012 at 10:26 PM, Chris McDonough chr...@plope.com wrote: Pyramid 1.4a1 has been released. This is the first major release in the 1.4 series. Its primary features are: - Easy custom JSON serialization of objects returned from views. - Partial Mako and Chameleon

Re: Pyramid 1.4a1 released

2012-09-16 Thread Joe Dallago
I am able to view the 1.4 docs at the link( http://docs.pylonsproject.org/projects/pyramid/en/1.4-branch) you provided. On Sun, Sep 16, 2012 at 10:27 PM, Joe Dallago jd.dall...@gmail.com wrote: Nice! On Sun, Sep 16, 2012 at 10:26 PM, Chris McDonough chr...@plope.comwrote: Pyramid 1.4a1 has

Re: Good form library for pyramid ? Better doing it by hand ?

2012-12-11 Thread Joe Dallago
I don't think it's been mentioned yet, but I use colander( https://github.com/Pylons/colander). If form helpers are what you seek, then you can use Deform instead(built on top of colander). I just like to write my forms manually, and validate the POST data sent to the server with my colander

Re: What is and isn't Pyramid

2013-03-29 Thread Joe Dallago
I would say the above is a pretty good description. I will just chime in with my experience. So I have been hacking with Pyramid for the last two years or so, one of which as been spent mostly on a single web app. The web app I'm working on has some pretty specific constraints, and at the end

Re: Pyramid 1.5a1 released

2013-09-02 Thread Joe Dallago
Thanks guys!! On Mon, Sep 2, 2013 at 4:38 PM, Vincent Catalano vinc...@vincentcatalano.com wrote: Thank you guys for all your awesome work! On Mon, Sep 2, 2013 at 6:10 AM, Cem Ikta cemi...@gmail.com wrote: Thanks for better docs and pyramid improvements. -- You received this message

Re: [pylons-discuss] New Orleans sprint in February

2014-01-02 Thread Joe Dallago
Pretty sure I'll be there, but I think I'm going to stay with a friend in the area. On Thu, Jan 2, 2014 at 10:59 AM, Chris McDonough chr...@plope.com wrote: Hi folks, There will be a Pylons sprint in New Orleans this February. The sprint topic is nominally Pylons Project software which

Re: [pylons-discuss] Pyramid 1.5a4 released

2014-01-28 Thread Joe Dallago
Nice fix on the memory leak. Will have to upgrade right away. On Tue, Jan 28, 2014 at 8:34 PM, Chris McDonough chr...@plope.com wrote: Pyramid 1.5a4 has been released. Here's what happened since the last release in the 1.5 series (1.5a3): Features - Updated scaffolds

[pylons-discuss] Using ZODB from Response.app_iter

2014-06-10 Thread Joe Steeve
references stale). How can I open another ZODB connection, without hooking up with the current transaction and use it in the app_iter? Or is there any better way? Thanks in advance. Joe -- Joe Steeve HiPro IT Solutions Private Limited http://hipro.co.in/ signature.asc Description

Re: [pylons-discuss] Using ZODB from Response.app_iter

2014-06-11 Thread Joe Steeve
(self): pass I dont see why the above should not work with other servers. Any thoughts on this? Joe -- Joe Steeve HiPro IT Solutions Private Limited http://hipro.co.in/ signature.asc Description: This is a digitally signed message part

Re: [pylons-discuss] Using ZODB from Response.app_iter

2014-06-15 Thread Joe Steeve
On Wed, 2014-06-11 at 15:07 +0530, Joe Steeve wrote: I dont see why the above should not work with other servers. Any thoughts on this? Please can someone confirm that, that piece of code does not do some obvious debauchery? Joe -- Joe Steeve HiPro IT Solutions Private Limited http

Re: [pylons-discuss] Docker setup/example?

2014-06-27 Thread Joe Dallago
Yeah I'm currently doing this with Flynn. It's pre-alpha, and is pretty buggy, but I've managed to get it to work. If you just want to run a few containers and script updates, you could just build an image with Python and Pyramid in it, and then just do a `docker run org/project pserve

Re: [pylons-discuss] deciding on pyramid vs ruby

2014-12-09 Thread Joe Dallago
We've been using Pyramid for the last 2.5 years at our startup, having built it from the ground up. I'm always amazed at how much code we get to reuse through each iteration of the site. In addition to that, we have never had to work against the framework, we've always just been able to build on

Re: [pylons-discuss] deciding on pyramid vs ruby

2014-12-09 Thread Joe Dallago
@Paul hiring is hard all around in my experience. I generally just look for good programmers. People who know programming have no problem picking up Python and Pyramid. On Tue, Dec 9, 2014 at 10:13 AM, Paul Winkler sli...@gmail.com wrote: FWIW (very little) I have worked in a couple of Django

Re: [pylons-discuss] Reorganizing the Pylons organization

2014-12-26 Thread Joe Dallago
The invite-only nature of slack is the biggest barrier I see. Does slack provide a way to make a channel public? On Friday, December 26, 2014, Blaise Laflamme bla...@laflamme.org wrote: Michael, it's not moving away IRC but sometimes and for some collaboration work it's easier and more

Re: [pylons-discuss] introducing pyramid_services 0.1.1

2015-02-17 Thread Joe Dallago
This is really cool. After needing to implement login as both a form and a JSON api, can totally see the use-case for this. On Tue, Feb 17, 2015 at 2:34 AM, Michael Merickel mmeri...@gmail.com wrote: Hey everyone, I've been using some patterns within Pyramid for a while to create service

Re: [pylons-discuss] Pyramid 1.6 final released

2016-01-03 Thread Joe Dallago
Awesome! Thanks for all the hard work. On Sunday, January 3, 2016, Michael Merickel wrote: > Folks, it's been a long time in the making but 1.6 is officially released! > > Some highlights include: > > - Python 3.5 compatibility. > - ``pserve --reload`` no longer crashes on

Re: [pylons-discuss] Paginating a repoze Folder

2016-04-13 Thread Joe Steeve
On Tue, 2016-04-12 at 07:37 -0400, Chris Rossi wrote: > You could at least get the behavior I describe by iterating over it > yourself, I guess. That's a surprising code snippet. Yeah, I guess I am just going to iterate the container myself. -- Joe Steeve HiPro IT Solutions Private L

Re: [pylons-discuss] Paginating a repoze Folder

2016-04-12 Thread Joe Steeve
t" was getting loaded because of lines 1124-1126 in BTrees/_base.py: if isinstance(i, slice): return list(self)[i] Will the list() still be lazy? -- Joe Steeve HiPro IT Solutions Private Limited http://hipro.co.in/ -- You received this message because you are subsc

[pylons-discuss] Paginating a repoze Folder

2016-04-11 Thread Joe Steeve
keys to access the data. From a high-level look of the implementation, looks like the entire "keys()" will have to be loaded in order for it to slice. I am uncomfortable with the "entire keys() loading" part. Is there a better way? -- Joe Steeve HiPro IT Solutions Private Li

Re: [pylons-discuss] Data Model

2016-05-01 Thread Joe Steeve
to cache the data from the REST API, and thereby save on round-trip time in a request cycle? If so, would dropping another daemon in the middle help? -- Joe Steeve HiPro IT Solutions Private Limited http://hipro.co.in/ -- You received this message because you are subscribed to the Google Groups

Re: [pylons-discuss] ZODB, maintaining referential integrity

2016-05-02 Thread Joe Steeve
On Thu, 2016-04-21 at 11:09 +0200, Thierry Florac wrote: > Actually I handle this use case using IObjectRemovedEvent subscribers. > Can't see any other simple way... :-/ I am taking this approach. Specifically I am using repoze.folder's IObjectWillBeRemoved. Thanks :) -- Joe Steeve

[pylons-discuss] ZODB, maintaining referential integrity

2016-04-21 Thread Joe Steeve
only after a GC on the db (correct me if I am wrong). The other approach seems to be to use IObjectWillBeRemovedEvent at the site of the referencing object, to act accordingly. How do other people deal with this? -- Joe Steeve HiPro IT Solutions Private Limited http://hipro.co.in/ -- Yo