Re: [pylons-discuss] Re: webassets or fanstatic?

2014-03-12 Thread Whit Morriss
hacking in SF in the mission tomorrow morning if anyone is around. -w d. "whit" morriss Systems Engineering / DevOpstetrics w...@surveymonkey.com<mailto:w...@surveymonkey.com> On Mar 12, 2014, at 9:47 PM, Randall Leeds mailto:randall.le...@gmail.com>> wrote: Li

Re: [pylons-discuss] Pyramid Batteries

2014-03-11 Thread Whit Morriss
ility. And may a place where people can say "I use this on X" w/ a date. A lot of the extensions are out there, but often it's expert knowledge to know what people are using to solve different problems. -w d. "whit" morriss Systems Engineering / DevOpstetrics

Re: [pylons-discuss] pyramid_ldap and Python 3

2014-02-25 Thread Whit Morriss
On Feb 25, 2014, at 11:31 AM, Christoph Zwerschke wrote: > Am 25.02.2014 17:31, schrieb Whit Morriss: >> forking it, making it py3 compatible, and issuing a pull request > > In this case the show stopper is not pyramid_ldap which could easily be made > Py 3 compatible,

Re: [pylons-discuss] pyramid_ldap and Python 3

2014-02-25 Thread Whit Morriss
mid's py3 readiness ( pyramid_* are community supported, so some variability in mileage is to be expected), though forking it, making it py3 compatible, and issuing a pull request would definitely prevent the next person who comes down this path from having the same experience. -w d. &quo

Re: [pylons-discuss] Multipserver 1.0

2014-02-24 Thread Whit Morriss
h the rerouting of stdin and sterr, pdb may work fine, which would be pretty useful. As a minor stylistic improvement, I would suggest using the console_scripts entry point for managing your executable. -w d. "whit" morriss Systems Engineering / DevOpstetrics w...@surveymonk

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

2013-10-10 Thread Whit Morriss
ost have python bindings, most are trivial to shove stuff in from pyramid. and so on. and if you want industrial strength without the worries, AWS has SNS and SQS which have pretty sane interfaces and are built to be superwebscale (for a cost). -w d. "whit" morriss Platform Codemonke

Re: [pylons-discuss] threads and global variables

2013-10-07 Thread Whit Morriss
that was embarrassing, please forgive me. d. "whit" morriss Platform Codemonkey w...@surveymonkey.com<mailto:w...@surveymonkey.com> On Oct 7, 2013, at 4:55 PM, Michael Merickel mailto:mmeri...@gmail.com>> wrote: On Mon, Oct 7, 2013 at 4:34 PM, Jonathan Vanasco mailto

Re: [pylons-discuss] threads and global variables

2013-10-07 Thread Whit Morriss
you should submit a talk! http://www.pytennessee.org -w d. "whit" morriss Platform Codemonkey w...@surveymonkey.com<mailto:w...@surveymonkey.com> On Oct 7, 2013, at 4:55 PM, Michael Merickel mailto:mmeri...@gmail.com>> wrote: On Mon, Oct 7, 2013 at 4:34 PM, Jonathan

[pylons-discuss] pytn

2013-10-07 Thread Whit Morriss
eally interested, we could do Minicon 1. -w d. "whit" morriss Platform Codemonkey w...@surveymonkey.com<mailto:w...@surveymonkey.com> -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this group

Re: RFC: Moving distributions/pserve up in the Quick Tour

2013-09-03 Thread Whit Morriss
IXELS ### EXPLAIN WTF JUST HAPPENED ### I just know I have often used scaffolds as a source to canabalize. There is a value to constructing the single file app line by line, but knowing there is a command to spit out the dumbest servable starting point ever: priceless. d. "whi

Re: Understanding Pyramid Thread Generation

2013-07-08 Thread Whit Morriss
what the default in celery would do, but you should be able to manage this for your use case (by say adding the client object to the registry on start up provided the client object is thread safe). -w d. "whit" morriss Platform Codemonkey w...@surveymonkey.com -- You received thi

Re: make pyramid as the api server

2013-06-25 Thread Whit Morriss
sers", the answer is hell yeah. -w d. "whit" morriss Platform Codemonkey w...@surveymonkey.com<mailto:w...@surveymonkey.com> On Jun 25, 2013, at 9:35 AM, luthur mailto:kongpo0...@gmail.com>> wrote: Is it reasonable or I should turn to tornado for help? If so,

Re: statsd profiling

2013-05-24 Thread Whit Morriss
push data to whisper db files read by graphite. -w d. "whit" morriss Platform Codemonkey w...@surveymonkey.com<mailto:w...@surveymonkey.com> -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To unsubscribe from this g

Re: simplest possible background process for file upload

2013-04-12 Thread Whit Morriss
ll happen in the same process which is convenient for debugging.You could also do something similar with multiprocessing. I feel like a recent post cover a bunch of these options, but I'm failing to google it up. -w d. "whit" morriss Platform Codemonkey w...@surveymon

Re: Pyramid Books Published by O'Reilly

2013-04-04 Thread Whit Morriss
s that it's now possible to develop as quickly or as broadly in Pyramid as anyone does in django or rails if you know what to use and how to use it. I tried to encourage Joe to blog more on this, but he was like "dude, I'm doing a start-up". -w d. "whit" morr

Re: What is and isn't Pyramid

2013-04-04 Thread Whit Morriss
l outcome over time for framework usage which usually results in bloat, framework vivisection, anger, depression and general arthritis followed by new framework selection, porting, rewriting, rinse and repeat. -w d. "whit" morriss Platform Codemonkey w...@surveymonkey.com -- You

Re: Pyramid Books Published by O'Reilly

2013-03-25 Thread Whit Morriss
Pyramid, A Salty Curmudgeon's Approach to Web Development d. "whit" morriss Platform Codemonkey w...@surveymonkey.com On Mar 25, 2013, at 12:47 PM, Chris McDonough wrote: > On Mon, 2013-03-25 at 10:19 -0700, Jonathan Vanasco wrote: >> >> On Mar 25, 12:35 pm,

Re: Syncing files between local and remote pyramid-app - anything built-in?

2013-03-21 Thread Whit Morriss
or git + rsync if you need a history. d. "whit" morriss Platform Codemonkey w...@surveymonkey.com On Mar 21, 2013, at 4:41 PM, Jonathan Vanasco wrote: > what about using `rsync` on the command line ? > > -- > You received this message because you are subscribe

Re: The problem with using KeyError for non-existing resources and traversal

2013-03-05 Thread Whit Morriss
getitem__ where you get unexpected key errors? IIRC, if it's really critical to override the default behavior, you can register a custom traverser and use custom exceptions to create your own protocol. in my experience with traversal, keeping the structure and dispatch(i.e. __getit

Re: proper use of traversal

2013-02-07 Thread Whit Morriss
d. "whit" morriss Platform Codemonkey w...@surveymonkey.com<mailto:w...@surveymonkey.com> On Feb 7, 2013, at 1:30 PM, Anurag mailto:anuragsharm...@gmail.com>> wrote: Thanks a lot Whit and Mike, it helped me a lot in understanding the implementation of traversal

Re: proper use of traversal

2013-01-30 Thread Whit Morriss
the context StudentClassInfo (sci). In this case, sci.__name__ == 'Bob', so the view could simply walk back up the object tree to 'root' then access the student instance ala 'root.students['Bob']' to retrieve data such as the full name. The grad

Re: Hand off time-consuming task to other thread/process/application/coroutine...?

2013-01-28 Thread Whit Morriss
Couple other resque clones worth mention: pyres and my personal favorite retools.queue: http://retools.readthedocs.org/en/latest/api/queue.html#module-retools.queue -whit On Jan 28, 2013, at 5:53 AM, Jesaja Everling wrote: > Hi Maarten, > > I would suggest looking into using a task queue l

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

2012-12-10 Thread Whit Morriss
man, someone would get a beer from me if they wrote up and maintained a web form in python shootout page. -whit On Dec 10, 2012, at 12:54 PM, Nikolay Kim mailto:fafhr...@gmail.com>> wrote: Nicolas, You can try this form library https://github.com/fafhrd91/pform it doesnt have much doc yet, b

Re: webob docs.

2012-10-31 Thread Whit Morriss
wfm On Oct 31, 2012, at 11:23 AM, "Thomas G. Willis" mailto:tom.wil...@gmail.com>> wrote: for whatever reason http://docs.webob.org doesn't resolve and I get a lovely half assed search page from our ISP. anyone know what's up with that? -- You received this message because you are subscribed

Re: ./run No such file or directory

2012-10-01 Thread Whit Morriss
On Sep 30, 2012, at 12:41 PM, Zak mailto:zakdan...@gmail.com>> wrote: I'm trying to run a Pyramid app with Heroku's Foreman (via the these instructions from the Pyramid docs). I've already used these li

Re: How do I use something like multiprocessing.cpu_count() * 2 + 1 in an INI file?

2012-09-26 Thread Whit Morriss
> > The compromise (perhaps virtuous), is that you can do any computation in the > ini. pserve does give you interpolation so you could accomplish the same > thing by something like this:: s/can/can't/ -w -- You received this message because you are subscribed to the Google Groups "pylons-

Re: How do I use something like multiprocessing.cpu_count() * 2 + 1 in an INI file?

2012-09-26 Thread Whit Morriss
On Sep 26, 2012, at 1:45 PM, Zak wrote: > So if you can run custom scripts beforehand with a runapp.py file, then what > exactly does the "pserve development.ini" command do? Does it just start > running everything with default settings? yeah more or less. It uses the classic paste default

Re: How do I use something like multiprocessing.cpu_count() * 2 + 1 in an INI file?

2012-09-26 Thread Whit Morriss
You need to create your own starter script to do that calculation. Something like this (but that starts gunicorn w/. the # of workers you want):: https://github.com/whitmo/CheesePrism/blob/master/runapp.py -w On Sep 26, 2012, at 1:04 PM, Zak mailto:zakdan...@gmail.com>> wrote: I'm trying to

Re: authentication docs

2012-09-14 Thread Whit Morriss
or rather, on successful login, the form will redirect you to "came_from" and if you hit login and are logged in and redirect to login, you will rinse and repeat until http hits a limit. -w On Sep 14, 2012, at 1:27 AM, jdob mailto:dobson...@gmail.com>> wrote: I'm going through the wiki tut

Re: authentication docs

2012-09-14 Thread Whit Morriss
just a guess, endless loops make for bad user experience? -w On Sep 14, 2012, at 1:27 AM, jdob mailto:dobson...@gmail.com>> wrote: I'm going through the wiki tutorial (SQLAlchemy + URL Dispatch). On the