Re: [pylons-discuss] weird connection problems running many sequential webtests with psycopg2

2016-09-08 Thread Iain Duncan
ctions in your *setUp* and *tearDown* > functions? > (http://docs.pylonsproject.org/projects/pyramid/en/ > latest/narr/testing.html#test-set-up-and-tear-down) > > On Wed, Sep 7, 2016 at 6:34 PM, Iain Duncan <iainduncanli...@gmail.com> > wrote: > >> I'm hoping someone has had

[pylons-discuss] weird connection problems running many sequential webtests with psycopg2

2016-09-07 Thread Iain Duncan
I'm hoping someone has had a similar issue, 'cause I'm at head banging on desk stage here. I have some functional tests for a pyramid+sqlalchemy app, using webtest, in which I make an engine and make a couple of session that get used in addition to the webtest app. I close the sessions in the

Re: [pylons-discuss] New Community Section on TryPyramid.com

2016-06-14 Thread Iain Duncan
That's great to have, and IMHO, much needed. Thanks! iain On Tue, Jun 14, 2016 at 3:35 PM, Steve Piercy wrote: > We've added a new Community section to the official Pyramid website. > https://trypyramid.com/ > > Enter the Tomb > https://trypyramid.com/community.html

Re: [pylons-discuss] strategies for conversion from json to SQLalchemy model layer?

2016-06-14 Thread Iain Duncan
your persistence model and your domain model. > > On Thu, Jun 9, 2016 at 11:33 AM, Iain Duncan <iainduncanli...@gmail.com> > wrote: > >> Thanks for the input everyone. One thing I'm wrestling with is whether to >> use my deserializer/validator to go to app-level dicts

Re: [pylons-discuss] strategies for conversion from json to SQLalchemy model layer?

2016-06-09 Thread Iain Duncan
Thanks for the input everyone. One thing I'm wrestling with is whether to use my deserializer/validator to go to app-level dicts or straight to SQLAlchemy objects. I'm not sure yet whether the service/action layer should work with SQLA objects all the time. Thoughts on that? thanks iain On Thu,

[pylons-discuss] strategies for conversion from json to SQLalchemy model layer?

2016-06-07 Thread Iain Duncan
Hi folks, I'm working on an internal framework using Pyramid, Colander, and SQLAlchemy, and it's for much more enterprisey apps than I have previously done. We're looking at having a full fledged service layer, and using the ZCA as a DI framework a fair bit. I'm hoping folks can share their

Re: [pylons-discuss] Best supervisor for sourcing in large number of env vars?

2016-01-01 Thread Iain Duncan
enning/honcho > > On Wed, Dec 30, 2015, 11:19 Iain Duncan <iainduncanli...@gmail.com> wrote: > >> Hi everyone, we've got a distributed system in the works with a handful >> of python process, some are pyramid apps, some are just worker processes >> waiting on queue

[pylons-discuss] Best supervisor for sourcing in large number of env vars?

2015-12-30 Thread Iain Duncan
Hi everyone, we've got a distributed system in the works with a handful of python process, some are pyramid apps, some are just worker processes waiting on queues. In order not to have multiple config files, I have all my config settings for everything in one file of env vars that doesn't go in

Re: [pylons-discuss] advice for sending events back to javascript from pyramid (redis, polling, asyc, etc)

2015-09-29 Thread Iain Duncan
Hi Paul, yeah SSE looks good too, but there is zero IE support. :-/ Have you any real world experience of using HTTP Server-Side-Events on IE with polyfills? iain On Tue, Sep 29, 2015 at 3:13 PM, Paul Everitt wrote: > > As an alternative to polling to get the Redis

Re: [pylons-discuss] Re: advice for sending events back to javascript from pyramid (redis, polling, asyc, etc)

2015-09-29 Thread Iain Duncan
Thanks Jonathan, your solution is what I was leaning to for proof-of-concept, good to know it's somewhat performant too. I don't know enough about fast response time situations to really know the pros and cons of short-polling, long-polling, and websockets. Did you also look into erlang at all? I

Re: [pylons-discuss] Re: advice for sending events back to javascript from pyramid (redis, polling, asyc, etc)

2015-09-29 Thread Iain Duncan
using > short-polling. You don't *need* to give a faster response, it's just nicer > if you do. So you can use this really clunky shot-polling technique that > is easy to implement, and no one really notices or cares. > > > > On Tuesday, September 29, 2015 at 6:19:02 PM UTC-4

Re: [pylons-discuss] advice for sending events back to javascript from pyramid (redis, polling, asyc, etc)

2015-09-29 Thread Iain Duncan
edis should be relatively quick - no > need for an asynchronous web server or web sockets. > > -Vincent > > On Tue, Sep 29, 2015 at 12:15 PM, Iain Duncan <iainduncanli...@gmail.com> > wrote: > >> Hoping for some advice from veterans here. We're cooking up a system that >> does th

Re: [pylons-discuss] Re: advice for sending events back to javascript from pyramid (redis, polling, asyc, etc)

2015-09-29 Thread Iain Duncan
Do any of you have any experience using cyclone for handling the redis-to-client side of things? iain On Tue, Sep 29, 2015 at 5:32 PM, Iain Duncan <iainduncanli...@gmail.com> wrote: > Thanks everyone. To clarify for Jonathan, we're using RabbitMQ as our bus > for jobs between

[pylons-discuss] advice for sending events back to javascript from pyramid (redis, polling, asyc, etc)

2015-09-29 Thread Iain Duncan
Hoping for some advice from veterans here. We're cooking up a system that does the following: - client angular app uploads a document (not a very frequent operation) to pyramid app - pyramid app receives it, and dispatches it to a worker over rabbitmq where many version are generated

Re: [pylons-discuss] Re: legacy app's dojo xhr requests failing with PredicateMismatch error

2015-08-05 Thread Iain Duncan
That did it, sorry for the noise, my fault! On Tue, Aug 4, 2015 at 5:16 PM, Iain Duncan iainduncanli...@gmail.com wrote: Thanks, I must be pinning somewhere in a build without knowing it. Will try 1.0. iain On Tue, Aug 4, 2015 at 3:55 PM, Tres Seaver tsea...@palladion.com wrote

Re: [pylons-discuss] Re: legacy app's dojo xhr requests failing with PredicateMismatch error

2015-08-04 Thread Iain Duncan
Thanks, I must be pinning somewhere in a build without knowing it. Will try 1.0. iain On Tue, Aug 4, 2015 at 3:55 PM, Tres Seaver tsea...@palladion.com wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 08/04/2015 06:47 PM, Iain Duncan wrote: Ok it appears this is a bug

[pylons-discuss] Re: legacy app's dojo xhr requests failing with PredicateMismatch error

2015-08-04 Thread Iain Duncan
FWIW, this app is lashed together using pyramid_zcml. thanks! iain On Tue, Aug 4, 2015 at 2:27 PM, Iain Duncan iainduncanli...@gmail.com wrote: Hi folks, I have a legacy app that I (thought!) had managed to upgrade ok to Pyramid 1.4, but some xhr requests in my client side code now produce

Re: [pylons-discuss] advice sought- using 1 domain on DEV, 2 domains on PRODUCTION

2015-07-31 Thread Iain Duncan
My personal experience has been that this sort of thing is much easier to manage from apache with mod_proxy and mod_rewrite, but YMMV. I've had fewer headaches keeping my inner-apps as URL agnostic and ignorant as possible, they only know about their paths, from the mount point on.. If it were me,

Re: [pylons-discuss] WebOb 1.5.0a0 available

2015-07-26 Thread Iain Duncan
Hi Bert, I don't know if it should be this way, but I got a hard error (not just a warning) from webob.response.set_cookie that key is not a valid keyword argument. This broke a pyramid app, but maybe I'm using a deprecated api there? I was doing response = Response() response.set_cookie(

Re: [pylons-discuss] WebOb 1.5.0a0 available

2015-07-26 Thread Iain Duncan
=None, overwrite=False) On Jul 26, 2015, at 15:11 , Iain Duncan iainduncanli...@gmail.com wrote: Hi Bert, I don't know if it should be this way, but I got a hard error (not just a warning) from webob.response.set_cookie that key is not a valid keyword argument. This broke a pyramid app

Re: [pylons-discuss] Re: What do folks use for build tools? (buildout alternatives?)

2015-07-21 Thread Iain Duncan
the code, and do all the pip install and deploy mojo for me. Repeatable deploys are pretty simple at that point. But, ya' know, I'm lazy. ;-) -Kurt On 2015-07-21 01:05, Iain Duncan wrote: Hi, we're embarking on a project that will stitch together many apps, and I figured I should do my

Re: [pylons-discuss] Re: noob questions

2015-07-20 Thread Iain Duncan
My two cents, I used to be anti-IDE. But Pycharm and Webstorm Kick ASS. Their vim emulation is decent enough too. =) That said, yeah, you should practice doing things through a normal terminal too, because that's what you'll need to do as soon as you want to put it on a server. Stuff I'd say at a

[pylons-discuss] What do folks use for build tools? (buildout alternatives?)

2015-07-20 Thread Iain Duncan
Hi, we're embarking on a project that will stitch together many apps, and I figured I should do my due diligence on hunting for the state-of-the-nation in python build tools. I've personally used buildout in the past and liked it, but I know for other team members something that was more

[pylons-discuss] JWT and SSO auth patterns for pyramid apps

2015-07-19 Thread Iain Duncan
Ok, just sharing in the hopes of feedback. My latest thought for shared auth is something like this: SSO Login app - Pyramid app that handles login process, has db for looking up users and groups - after lookup, creates a JWT that stores the user id and list of principles Other Apps - have a

Re: [pylons-discuss] global handling of query strings

2015-07-19 Thread Iain Duncan
I'm looking into related stuff, you might find these articles helpful on mixing cookies and tokens. https://auth0.com/blog/2014/01/07/angularjs-authentication-with-cookies-vs-token/ https://auth0.com/blog/2014/01/27/ten-things-you-should-know-about-tokens-and-cookies/ HTH! iain On Fri, Jul 17,

Re: [pylons-discuss] JWT and SSO auth patterns for pyramid apps

2015-07-19 Thread Iain Duncan
application right now, where I have an oauth tween that sets the WSGI env from oauth parameters and then RemoteUserAuthenticationPolicy sees that. On Sun, Jul 19, 2015 at 10:01 AM Iain Duncan iainduncanli...@gmail.com wrote: Ok, just sharing in the hopes of feedback. My latest thought for shared

Re: [pylons-discuss] pyramid or repoze.who for auth auth middleware?

2015-07-18 Thread Iain Duncan
AuthenticationPolicy approach again in the future. hope that helps, tom On 16 Jul 2015, at 21:34, Iain Duncan iainduncanli...@gmail.com wrote: Hi folks, just getting back into Pyramid and Python after a long absence of being an Angular dev. I'm going to be putting together an app stack where we have multiple

Re: [pylons-discuss] Re: middleware vs components for auth

2015-07-18 Thread Iain Duncan
Thanks Jonathan Sorry, I've had a migraine and eye-strain all week and can't seem to phrase questions (or anything) right. Off topic: have you tried the new glass for your glasses that changes the colour balance to reduce eye strain? I used to get very frequent migraines from coding, and an

[pylons-discuss] experience with pyramid_jwtauth?

2015-07-18 Thread Iain Duncan
In my hunt for how to so SSo auth for a family of apps, I've found the pyramid_jwtauth package, has anyone any experiences to share regarding this one? thanks iain -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group

[pylons-discuss] Anyone have examples of custom authentication policies?

2015-07-18 Thread Iain Duncan
That pretty much says it, would love to look at some to wrap my head around this stuff better. thanks! -- 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: [pylons-discuss] Anyone have examples of custom authentication policies?

2015-07-18 Thread Iain Duncan
database. My goal is to have the ability to delete the backend database token, and immediately log the user out. Bert On Jul 18, 2015, at 09:49 , Iain Duncan iainduncanli...@gmail.com wrote: That pretty much says it, would love to look at some to wrap my head around this stuff better

Re: [pylons-discuss] Re: middleware vs components for auth

2015-07-17 Thread Iain Duncan
Thanks Jonathan. The inner apps could well be on different machines in the future, we are intending to design around that if possible. This is an area I really don't know much about, so any suggestions or pointers at good resources would be great. Ideally we come up with some scheme where an auth

Re: [pylons-discuss] Re: middleware vs components for auth

2015-07-17 Thread Iain Duncan
Right now our thoughts are that we'd like each app to be able to run on it's own EC2 instance if need be, but the databases will all be on one database server. thanks! On Fri, Jul 17, 2015 at 9:32 AM, Iain Duncan iainduncanli...@gmail.com wrote: Thanks Jonathan. The inner apps could well

Re: [pylons-discuss] Re: middleware vs components for auth

2015-07-17 Thread Iain Duncan
Hi Jonathan can you share how you envision the auth policy to work in any detail? 1. simple access Access will be from Angular apps, so will be pretty straightforward ajax requests initiated from javascript. 2. fine grained ACLs Yup, we intend to use ACLs for row-level permissions 3.

[pylons-discuss] pyramid or repoze.who for auth auth middleware?

2015-07-16 Thread Iain Duncan
Hi folks, just getting back into Pyramid and Python after a long absence of being an Angular dev. I'm going to be putting together an app stack where we have multiple separate apps with separate databases but we want a shared auth system. I think this means I want WSGI Middleware taking care of my

[pylons-discuss] zca registration questions

2015-07-16 Thread Iain Duncan
Hi all, for a new set of projects, we will be using the zca registry heavily, but do not want to use pyramid_zcml on account of xml-allergies for some team members. =) I've been out of the pyramid loop for a while now, have some questions about this: - what is the recommended way to make zca

Re: [pylons-discuss] Re: zca registration questions

2015-07-16 Thread Iain Duncan
registry, but if you are looking for a good system for registering services and components, I highly recommend https://github.com/mmerickel/pyramid_services. On Thu, Jul 16, 2015 at 1:20 PM, Iain Duncan iainduncanli...@gmail.com wrote: I should say that we are also open to not using the ZCA

[pylons-discuss] Re: zca registration questions

2015-07-16 Thread Iain Duncan
after is the pluggable and flexible component aspect. thanks! iain On Thu, Jul 16, 2015 at 1:07 PM, Iain Duncan iainduncanli...@gmail.com wrote: Hi all, for a new set of projects, we will be using the zca registry heavily, but do not want to use pyramid_zcml on account of xml-allergies for some

Re: [pylons-discuss] Re: zca registration questions

2015-07-16 Thread Iain Duncan
). This package is not public yet but I can share this code with you if you need it... Best regards, Thierry 2015-07-16 22:39 GMT+02:00 Iain Duncan iainduncanli...@gmail.com: Thanks Vincent, that basically looks like a facade around ZCA lookup, but does not seem to do ZCA style adapter lookup. Anyone

Re: [pylons-discuss] Weird HTTPFound error after update, url full of commas. help?

2015-04-28 Thread Iain Duncan
Well it appears to have been an issue in one of the recent releases of one of the Paste packages, it went away when I pinned to older packages of PasteServe and PasteScript. Not sure how to report that though. thanks for the help Mike! iain On Tue, Apr 28, 2015 at 1:26 PM, Iain Duncan

Re: [pylons-discuss] Weird HTTPFound error after update, url full of commas. help?

2015-04-28 Thread Iain Duncan
mmeri...@gmail.com wrote: On Tue, Apr 28, 2015 at 2:04 PM, Iain Duncan iainduncanli...@gmail.com wrote: g,o,d,e,l,t,a,s,t,a,g,i,n,g,.,x,o,r,n,o,t,.,c,o,m I don't have a good idea right now but my guess is possibly some code that is doing: a 'godeltastaging.xornot.com' ','.join(a) 'g,o,d

[pylons-discuss] Weird HTTPFound error after update, url full of commas. help?

2015-04-28 Thread Iain Duncan
Hi folks, I recently revisted a couple of older project to update it and bring it up to current python packages. It's now running on Pyramid 1.5. All went pretty smoothly except for one of them, the redirects are not working. They both use my internal tools so have very similar code, but on one

[pylons-discuss] Re: Hyrbid dispatch/tranversal routes broke on pyramid upgrade

2015-01-08 Thread Iain Duncan
Found it, and am answering in case anyone finds this from the future! The change that got me was request[bfg.routes.route] to request.matched_route sorry for the noise! iain On Thu, Jan 8, 2015 at 4:44 PM, Iain Duncan iainduncanli...@gmail.com wrote: Hi folks, I realize this is a shot

[pylons-discuss] Hyrbid dispatch/tranversal routes broke on pyramid upgrade

2015-01-08 Thread Iain Duncan
Hi folks, I realize this is a shot in the dark. I'm upgrading an older app built with pyramid 1.1, to pyramid 1.4. It uses hybrid url-dispatch/traversal routes for the admin interface and these have all broken in the upgrade. I'm still sorting out where it's happened so don't have terribly useful

Re: [pylons-discuss] Re: PasteScript require issue

2014-12-31 Thread Iain Duncan
Thanks for the explanation! iain On Tue, Dec 30, 2014 at 10:30 PM, John Anderson son...@gmail.com wrote: On Tue, Dec 30, 2014 at 8:26 PM, Iain Duncan iainduncanli...@gmail.com wrote: Thanks Tres, does that mean I could use an older version of Setuptools too, or is this something I can

[pylons-discuss] PasteScript require issue

2014-12-30 Thread Iain Duncan
Hi folks, I'm moving an older pyramid 1.1 project that was built using buildout, and I'm getting a strange versioning error: While: Installing dependencies. Error: There is a version conflict. We already have: Paste 1.7.5.1 but pyramid 1.1 requires 'Paste1.7'. As far as I can tell, Paste 1.7.5

Re: [pylons-discuss] Re: PasteScript require issue

2014-12-30 Thread Iain Duncan
SIGNED MESSAGE- Hash: SHA1 On 12/30/2014 08:04 PM, Iain Duncan wrote: Hi folks, I'm moving an older pyramid 1.1 project that was built using buildout, and I'm getting a strange versioning error: While: Installing dependencies. Error: There is a version conflict. We already have: Paste

[pylons-discuss] best vaguely Pyramid compatible static site generators?

2014-03-07 Thread Iain Duncan
Hey folks, I have a project for which the deployed version of the site must be static. I'm planning on rustling up a Pyramid bases admin app that will be on staging server and will act as a CMS-like UI to a static site generator. There are a *lot* of Python bases static site generators, wondering

[pylons-discuss] Re: best vaguely Pyramid compatible static site generators?

2014-03-07 Thread Iain Duncan
Any other thoughts on static site generation from the perspective of Pyramid folks would be welcome too. thanks On Fri, Mar 7, 2014 at 2:42 PM, Iain Duncan iainduncanli...@gmail.comwrote: Hey folks, I have a project for which the deployed version of the site must be static. I'm planning

Re: [pylons-discuss] Re: best vaguely Pyramid compatible static site generators?

2014-03-07 Thread Iain Duncan
Yeah, I'm kinda leaning towards using pyramid and some kind of consumption client, as it seems the design drivers for the existing static site generators are not inline with my purposes. It's not going to be tech savvy users updating this thing. Thanks for the input. On Fri, Mar 7, 2014 at 4:01

[pylons-discuss] populating object/dict after using a colander schema?

2013-10-15 Thread Iain Duncan
Hi, I could be totally barking up the wrong tree here. I'm using Colander to deserialize and validate a bunch of JSON input, after which I want to populate an object or dct with the values, but the variable or key names for the target object are different and I want to flatten a lot of it. It

Re: [pylons-discuss] Overriding configuration files (ini)

2013-10-15 Thread Iain Duncan
Hi, this maybe overkill for your purpose, but what I wound up doing in my projects is getting all settings from an app specific ConfigSettings object, and attaching it to request. So everywhere in my app I ever want a setting, I ask for request.config.get('setting'), and across all projects I use

Re: [pylons-discuss] Re: preferred method for hooking up SQLAlchemy for data mapper?

2013-10-11 Thread Iain Duncan
On Thu, Oct 10, 2013 at 7:39 PM, Laurence Rowe laurencer...@gmail.comwrote: On 10 October 2013 17:41, Iain Duncan iainduncanli...@gmail.com wrote: But one has does have access to the request during traversal, if the signature of the RootFactory constructor has a request arg, you get

Re: [pylons-discuss] Re: preferred method for hooking up SQLAlchemy for data mapper?

2013-10-11 Thread Iain Duncan
Here's the piece of design documentation I'm thinking of, which it seems to me is as valid an argument for db session being true local as it is for request. http://docs.pylonsproject.org/projects/pyramid/en/latest/narr/threadlocals.html iain On Thu, Oct 10, 2013 at 11:25 PM, Iain Duncan

[pylons-discuss] mature ReST and messaging helpers for Pyramid?

2013-10-10 Thread Iain Duncan
Hi folks, I have a new contract position and have managed to advocate for Pyramid+SQLAlchemy as a much better platform than Django for what we're doing ( light performant ReST services that need to interact with a big hairy legacy db ). However, they're taking a chance on me and Pyramid, so I'd

[pylons-discuss] traversal or url dispatch faster?

2013-10-10 Thread Iain Duncan
I'm making a lightweight service that needs to execute as fast as possible, is there a performance difference in using traversal vs url dispatch? thanks! Iain -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To unsubscribe from this group and

[pylons-discuss] Re: mature ReST and messaging helpers for Pyramid?

2013-10-10 Thread Iain Duncan
with the legacy DB with SQLAlchemy thanks Iain On Thu, Oct 10, 2013 at 10:50 AM, Iain Duncan iainduncanli...@gmail.comwrote: Hi folks, I have a new contract position and have managed to advocate for Pyramid+SQLAlchemy as a much better platform than Django for what we're doing ( light performant

Re: [pylons-discuss] mature ReST and messaging helpers for Pyramid?

2013-10-10 Thread Iain Duncan
or resource-oriented API design, but again that's optional. What else do you need? Generated documentation? Rate limiting? p.s. REST and ReST are different things :) On Thu, Oct 10, 2013 at 1:50 PM, Iain Duncan iainduncanli...@gmail.comwrote: Hi folks, I have a new contract position

Re: [pylons-discuss] mature ReST and messaging helpers for Pyramid?

2013-10-10 Thread Iain Duncan
Thanks Mariano, that's very helpful. Iain On Thu, Oct 10, 2013 at 11:39 AM, Mariano Mara mariano.m...@gmail.comwrote: On 10/10/13 14:50, Iain Duncan wrote: Hi folks, I have a new contract position and have managed to advocate for Pyramid+SQLAlchemy as a much better platform than Django

[pylons-discuss] preferred method for hooking up SQLAlchemy for data mapper?

2013-10-10 Thread Iain Duncan
Hi folks, I'm setting up a project that must be easy for people new to Pyramid to follow, so I'm trying to layout code and configure it as close to the most documented methods as I can (their other stuff is Django based). However, I definitely want this to use SQLAs data mapper pattern and not

[pylons-discuss] Re: preferred method for hooking up SQLAlchemy for data mapper?

2013-10-10 Thread Iain Duncan
have really like getting rid of any magic thread locals. Perhaps I should just improve/cleanup/document the method that I've been using and add it to official Pyramid docs. Thoughts on that technique anyone? thanks Iain On Thu, Oct 10, 2013 at 2:40 PM, Iain Duncan iainduncanli...@gmail.comwrote

Re: [pylons-discuss] Re: preferred method for hooking up SQLAlchemy for data mapper?

2013-10-10 Thread Iain Duncan
Yup, very similar, thanks. I was sticking the engine and session maker in the registry, and creating a per request session from it later in the request factory. Basically the only difference was that instead of putting the callable inside the main app I stuck it in a custom request factory, which

Re: [pylons-discuss] Re: preferred method for hooking up SQLAlchemy for data mapper?

2013-10-10 Thread Iain Duncan
of doing it. Any thoughts from Pyramid or SQLAlchemy experts? Iain Laurence On Thursday, 10 October 2013 15:05:12 UTC-7, Iain Duncan wrote: Yup, very similar, thanks. I was sticking the engine and session maker in the registry, and creating a per request session from it later

Re: [pylons-discuss] Re: preferred method for hooking up SQLAlchemy for data mapper?

2013-10-10 Thread Iain Duncan
The usage is basically this: 1. I 'manually' attach a sqlassist.DbSessionsContainer onto a request object in pyramid ( request.dbSession ). This *should* be handled by the package via pyramid's add_request_method , but i never bothered doing that. 2. adding a DbSessionContainer() calls

Re: [pylons-discuss] Pyramid Job posts anywhere?

2013-09-26 Thread Iain Duncan
Thanks Mike. Iain On Wed, Sep 25, 2013 at 8:24 PM, Mike Orr sluggos...@gmail.com wrote: On Wed, Sep 25, 2013 at 3:47 PM, Iain Duncan iainduncanli...@gmail.com wrote: Hey folks, at the risk of being spammy (apologies if it's coming across that way), can anyone weigh in on the best places

[pylons-discuss] Pyramid Job posts anywhere?

2013-09-25 Thread Iain Duncan
Hey folks, at the risk of being spammy (apologies if it's coming across that way), can anyone weigh in on the best places to find Pyramid/Pylons related jobs, remote or contract? I'm interested in remote long term contracts/employment, and am finding some posts but it's a bit needle-in-haystack

Re: problems using in chameleon with i18m

2013-09-03 Thread Iain Duncan
Well, I'm solving it for now with the ugly but usable: div tal:condition=repeat.block.index.__cmp__(3) == -1 ... If anyone has better suggestion I'd love to hear it! On Mon, Sep 2, 2013 at 2:07 PM, Brian Sutherland br...@vanguardistas.netwrote: On Mon, Sep 02, 2013 at 12:54:44PM -0700, Iain

problems using in chameleon with i18m

2013-09-02 Thread Iain Duncan
Hi folks, I've hit a snag with i18n, wondering if anyone has encountered this and how they solve it. Chameleon does not complain about having less than or greater than signs in templates, ie this is fine: div tal:condition=repeat.block.index = 4 ... But when I run Babels' extract_messages

Re: weird error when updatingh webob from 1.1 to 1.2.3

2013-08-26 Thread Iain Duncan
Thanks guys, will try both those. iain On Mon, Aug 26, 2013 at 8:37 AM, Jonathan Vanasco jonat...@findmeon.comwrote: I remember WebOb and WebHelpers each having a lot of changes and backward incompatibilities. Some of the things that have caused pain for me, were changes to the MultiDict

weird error when updatingh webob from 1.1 to 1.2.3

2013-08-23 Thread Iain Duncan
Hey folks, hoping someone has some idea of what this means, cause I don't! When I upgraded an app from webob 1.1 to 1.2.3, I got the following traceback: 2010 File /home/SD37_2012/trunk/SD37/framework_src/xornot.cms/xornot/cms/fields/__init__.py, line 300, in get_subform_tmpl_dict 2011

Re: error with client disconnection when uploading files, stuck!

2013-04-30 Thread Iain Duncan
Thanks guys. It happened with a large file when I tested it on linux and when the client tested it on windows. I'll try replicating on various machines and browsers to see if that's the issue. iain On Thu, Apr 25, 2013 at 1:38 PM, Jonathan Vanasco jonat...@findmeon.comwrote: Is this

error with client disconnection when uploading files, stuck!

2013-04-25 Thread Iain Duncan
Hi folks, I have a custom file uploading utility in a pyramid app, and it's using an older version of webob, 1.1 to be precise. I'm getting the following when uploading a large file, and it seems from the web ob docs that this should be OK in webob 1.1. I also read some mention that it might be a

wake of the RoR sql injection vulnerability

2013-01-09 Thread Iain Duncan
Just curious as to whether anyone has seen changes in interest in Pyramid/SQLAlchemy in the wake of the Ruby on Rails SQL injection vulnerability, or if anyone has any thoughts on it. Or worse, if it's going to tar other ORM using stacks with the same brush. This is pure conjecture, and should be

Re: wake of the RoR sql injection vulnerability

2013-01-09 Thread Iain Duncan
Thanks! Iain On Wed, Jan 9, 2013 at 9:41 AM, Chris Calloway c...@unc.edu wrote: On 1/9/2013 11:58 AM, Iain Duncan wrote: This is pure conjecture, and should be taken with a giant grain of salt, but I wonder whether the monolithic, almost closed-garden nature of the RoR ecosystem contributed

error import custom predicates

2012-11-14 Thread Iain Duncan
Hi folks, I have an older pyramid app I'm doing some work on, and for some reason, I'm getting import errors trying to add a custom predicate to a view registration. We're using pyramid_zcml, view for=xornot.dram.interfaces.IResourceContainer name= view=xornot.dram.views.ListAction

complex configuration, future of pyramid zcml, etc

2012-11-14 Thread Iain Duncan
From Chris in another thread: This reminds me that someone needs to step up and maintain pyramid_zcml. I no longer do so actively, and I won't be able to support it in the future at all. Thanks Chris. Does this mean that for new features ( ie route custom predicates ) they are only going to be

Re: error import custom predicates

2012-11-14 Thread Iain Duncan
On Wed, Nov 14, 2012 at 12:22 PM, Chris McDonough chr...@plope.com wrote: On 11/14/2012 03:09 PM, Iain Duncan wrote: Hi folks, I have an older pyramid app I'm doing some work on, and for some reason, I'm getting import errors trying to add a custom predicate to a view registration. We're

Re: Pyramid 1.4a3 released

2012-10-26 Thread Iain Duncan
Thanks again! =) iain On Thu, Oct 25, 2012 at 10:56 PM, Chris McDonough chr...@plope.com wrote: Pyramid 1.4a3 has been released. Here's what happened since the last release in the 1.4 series (1.4a2): 1.4a3 (2012-10-26) == Bug Fixes - - The

Sites using Pyramid Pyramid Advocacy

2012-10-19 Thread Iain Duncan
Hi everyone, I started a thread about this ages ago, and expressed interest in making something happen, and then life happened and I had not time. Now I'm in a position where this has become a higher priority again. It seems to me that one thing really lacking in the Pyramid docs is some advocacy

Re: Sites using Pyramid Pyramid Advocacy

2012-10-19 Thread Iain Duncan
I found the thread I started back in Feb, but the links are dead now for the old Pylons wiki ones. Anyone know what happened to those? Thanks Iain On Fri, Oct 19, 2012 at 2:33 PM, Iain Duncan iainduncanli...@gmail.comwrote: Hi everyone, I started a thread about this ages ago, and expressed

Re: Sites using Pyramid Pyramid Advocacy

2012-10-19 Thread Iain Duncan
SQLAlchemy has I think done a great job of it. I'd love to know which of these are also using Pyramid or Pylons under the hood: http://www.sqlalchemy.org/organizations.html Iain On Fri, Oct 19, 2012 at 2:36 PM, Iain Duncan iainduncanli...@gmail.comwrote: I found the thread I started back

Re: using zodb with pyramid for simulations/lots of writing

2012-08-28 Thread Iain Duncan
On Mon, Aug 27, 2012 at 11:28 PM, Malthe Borch mbo...@gmail.com wrote: On 28 August 2012 06:34, Iain Duncan iainduncanli...@gmail.com wrote: I expect this project will be doing a *lot* of writes. IE, maybe even all hits do some minor mutation. On the other hand, I have a hunch

using zodb with pyramid for simulations/lots of writing

2012-08-27 Thread Iain Duncan
I've got a sideproject brewing for which I think the ZODB might be a really good fit, but I'm totally new to it. I read Chris's blog post on it, and my only concern was that he said it's really good for stuff with mostly read access. I expect this project will be doing a *lot* of writes. IE,

Re: returning 204s for DELETE, webtest complains that there is content

2012-07-30 Thread Iain Duncan
Thanks for the clarification. iain On Fri, Jul 27, 2012 at 1:46 PM, Gael Pasgrimaud g...@gawel.org wrote: On 27/07/2012 22:30, Iain Duncan wrote: On Fri, Jul 27, 2012 at 1:26 PM, Gael Pasgrimaud g...@gawel.org mailto:g...@gawel.org wrote: On 27/07/2012 22:21, Iain Duncan wrote

Re: returning 204s for DELETE, webtest complains that there is content

2012-07-27 Thread Iain Duncan
On Fri, Jul 27, 2012 at 1:26 PM, Gael Pasgrimaud g...@gawel.org wrote: On 27/07/2012 22:21, Iain Duncan wrote: Hi, I'm implementing a set of views to return json to work with Dojo object stores. From what I can gather, Dojo best wants me to return a 204 status after a successful delete

Allowing authentication to work over multiple subdomains?

2012-05-16 Thread Iain Duncan
Hey folks, we have a pyramid app that responds to multiple subdomains and routes accordingly, with the account being chosen based on the subdomain but all code running through the same engine http://iain.cloudapp.com - app knows to return Iain's data http://snufkin.cloudapp.com - app knows to use

cloud/deployment suggestions for Pyramid based SaaS project?

2012-05-01 Thread Iain Duncan
Hey all, we've been using Pyramid since repoze.bfg and SQLAlchemy for about 5 years now, but have not ever deployed to anything other than a standard vps for a one client install. We're now gearing up to make some of our products available as monthly subscriptions, and am looking for opinions and

Re: thank you notes for docs chipin contributions...

2012-05-01 Thread Iain Duncan
Clayton Parker Jonathan Vanasco Josip Delic Domen Koar Tjelvar Olsson Iain Duncan Andrey Popp Michael Orr Marius Gedminas Sebastien Douche GLS Consultants Matthew Feifarek Cem Ikta Veeti Paananen Wojciech Malinowski Siddhartha Kasivajhula Nikolaos Papagrigoriou Thad Beavers

Re: pylonsproject.chipin.com set up for docs overhaul pledge collections

2012-02-22 Thread Iain Duncan
I'm pleased to report that we've seen $2813.00 contributed so far via ChipIn, which is a little over 50% of our goal. This is great. Awesome! Just did my $50.00 Iain -- You received this message because you are subscribed to the Google Groups pylons-discuss group. To post to this group,

Re: Pyramid advocacy, list of high profile sites?

2012-02-15 Thread Iain Duncan
Thanks Jon. I have plenty of ammunition, having used Drupal extensively in the past when I needed the work. I'm well aware of it's warts ( oh so painfully aware! ). It's mostly that I think I need to back that up with some hard data too, ie: these sites are using Pyramid, it's for real! thanks

Pyramid advocacy, list of high profile sites?

2012-02-14 Thread Iain Duncan
Wondering if such a thing is around? I am stuck doing a pitch to a committee on why we are using Pyramid and not Drupal, and it would be helpful to have some hard numbers and/or lists of high profile users to go along with my material. SQLAlchemy has such a thing on their site, might be worth

Re: Pyramid advocacy, list of high profile sites?

2012-02-14 Thread Iain Duncan
On Tue, Feb 14, 2012 at 5:51 PM, Chris McDonough chr...@plope.com wrote: On Tue, 2012-02-14 at 19:47 -0600, Michael Merickel wrote: Well there's a big list of logos on http://www.pylonsproject.org/ Not all of these actually run Pyramid, but yes, some do. Yes, it would be nice to have such

Re: Pyramid advocacy, list of high profile sites?

2012-02-14 Thread Iain Duncan
i think the most important thing here is to get the word out to people about how important it is to Pyramid to have good advocacy, and then make it easy for them to add their sites. The main issue in all these sorts of things is that people can't be bothered as they don't realize how much it will

Re: need your help to overhaul docs

2012-02-13 Thread Iain Duncan
On Mon, Feb 13, 2012 at 3:52 AM, Tarek Ziadé ziade.ta...@gmail.com wrote: On 4 fév, 04:53, Chris McDonough chr...@plope.com wrote: ... So this is me asking you for money. If I can find four other sponsors willing to contribute US $1000, I will contribute another $1000, making a total

Re: Documentation overhaul specifics

2012-02-13 Thread Iain Duncan
On Mon, Feb 13, 2012 at 4:59 AM, Chris McDonough chr...@plope.com wrote: Thanks to the amazing generosity of everyone here, it looks like we'll be a go for a Pyramid documentation overhaul project (see the need your help to overhaul docs thread for the genesis of this idea:

Re: need opinions for dependencies for some Pyramid related code

2012-02-12 Thread Iain Duncan
On Sat, Feb 11, 2012 at 1:11 PM, Chris McDonough chr...@plope.com wrote: On Sat, 2012-02-11 at 12:55 -0800, Iain Duncan wrote: - Tempita: our form/field generating system uses tempita as a light fast template language for tiny templates, this could

Re: need opinions for dependencies for some Pyramid related code

2012-02-11 Thread Iain Duncan
- Tempita: our form/field generating system uses tempita as a light fast template language for tiny templates, this could be replaced Almost any other templating system would be better here as tempita is unmaintained. Any of Mako, Jinja2 or Chameleon would work; each is Py3 compat.

Re: need opinions for dependencies for some Pyramid related code

2012-02-11 Thread Iain Duncan
On Sat, Feb 11, 2012 at 6:58 AM, Chris McDonough chr...@plope.com wrote: FormEncode has picked up a maintainer, so this is probably safe. Although I don't think it's Py3 compat, not sure if that's on the radar. That's me(the new maintainer -- also David Stanek). Py3 compatibility is on

Re: need your help to overhaul docs

2012-02-11 Thread Iain Duncan
that would be great Chris, thanks. http://docs.pylonsproject.org/en/latest/community/codestyle.html http://docs.pylonsproject.org/en/latest/community/addons-devenvs.html Thanks! Iain -- You received this message because you are subscribed to the Google Groups pylons-discuss group.

Re: need your help to overhaul docs

2012-02-11 Thread Iain Duncan
That is a great idea, Chris. I can contribute $100. Suggestion: set up a project on some crowdfunding site like http://www.fundageek.com/ and you'll have 5K real quick. +1 on that, kickstarter and it's ilk make it really easy to donate. iain -- You received this message because you are

  1   2   3   >