0:00 AM
conan_the_destro joined the channel
0:00 AM
brokencycle has quit
0:01 AM
podhmo has quit
0:11 AM
stevepiercy is now known as stevepiercy[away
0:18 AM
brokencycle joined the channel
0:23 AM
Charlie_X has quit
0:23 AM
Circlefusion joined the channel
0:41 AM
ra21vi joined the channel
0:47 AM
rafaelhbarros joined the channel
0:48 AM
ra21vi
any example to integrate gevent-websocket for websocket app with Pyramid? In official repo, there is no demo/example with Pyramid. And I am getting hard time working on integration
0:48 AM
m8 has quit
0:50 AM
podhmo joined the channel
0:52 AM
rafaelhbarros has quit
0:53 AM
sluggo206 has quit
0:54 AM
podhmo has quit
1:04 AM
rafaelhbarros joined the channel
1:06 AM
podhmo joined the channel
1:10 AM
podhmo has quit
1:14 AM
MrTango has quit
1:35 AM
tiwula has quit
1:36 AM
erasmas has quit
1:38 AM
markm_ has quit
1:42 AM
madjar has quit
1:49 AM
vmatekole has quit
1:51 AM
stevepiercy[away is now known as stevepiercy
1:56 AM
KageSenshi joined the channel
2:00 AM
atomekk has quit
2:06 AM
gavinc
sontek: I'll let you know on pyramid_celery, so far one issue is making it in fact share config VALUES :\ since celery only gets it's section
2:06 AM
iShming__ joined the channel
2:13 AM
stevepiercy is now known as stevepiercy[away
2:15 AM
stevepiercy[away is now known as stevepiercy
2:16 AM
github joined the channel
2:16 AM
github
2:16 AM
pylons/master 616c241 Darren Yin: Access WebOb exceptions directly (instead of calling exception property)...
2:16 AM
pylons/master 1f00579 Ben Bangert: Merge pull request #22 from dareonion/master...
2:16 AM
github has left the channel
2:17 AM
github joined the channel
2:17 AM
2:17 AM
pylons/master 4bd3e44 Ralph Bean: Changed add_options to options for nose plugin....
2:17 AM
pylons/master 0614ebe Ben Bangert: Merge pull request #12 from ralphbean/master...
2:17 AM
github has left the channel
2:28 AM
rafaelhbarros has quit
2:29 AM
rafaelhbarros joined the channel
2:29 AM
podhmo joined the channel
2:33 AM
sontek
gavinc: I throw the pyramid settings in celery_app.conf['PYRAMID_REGISTRY']
2:33 AM
rafaelhbarros has quit
2:33 AM
gavinc: So the config values should be there in the worker
2:33 AM
podhmo has quit
2:33 AM
gavinc
heh, okay so I may only have a doc patch ;)
2:34 AM
oh, and I'll add some list handlers for the ini as well, since you have to specify which seralizers you want now in 3.1
2:38 AM
ah... and the registry is parsed from the normal paster deploy so includes works vs just the INI parser for the celery part
2:38 AM
inklesspen
ini parsing, huh
2:38 AM
:P
2:39 AM
gavinc
inklesspen: oh much worse, celery by default wants a whole configuration module which it executes
2:39 AM
inklesspen
yum
2:39 AM
gavinc
"If you’re using the default loader, you must create the celeryconfig.py module and make sure it is available on the Python path."
2:40 AM
goodwill
yeah
2:40 AM
it is sadness
2:40 AM
3.0 no longer does that I think
2:40 AM
you can have a instance
2:41 AM
gavinc
nope, still does. but yeah you CAN specify a config module to execute in the command line
2:41 AM
and you CAN as sontek has done replace the whole config process
2:41 AM
goodwill
gavinc: you can definately create your own instance
2:41 AM
gavinc: I do not know how it hooks it up
2:42 AM
gavinc
you can either pass the commandline a App instance, or a config module
2:43 AM
sontek
inklesspen: don't worry, once montague is ready pyramid_celery will switch over as well :D
2:43 AM
Then people will get all kinds of celery config goodness
2:44 AM
inklesspen
:D
2:44 AM
goodwill
I did a whole thing once where I did import of whatever was in celeryd and patched it to read configs
2:44 AM
gavinc
inklesspen: are people using the set semantics in the wild? Never seen it myself
2:44 AM
goodwill
from somewhere else
2:45 AM
sontek
The celeryconfig.py is bad but its really hard to configure celery without actual python objects
2:45 AM
goodwill
it is all sad
2:45 AM
sontek
for things like celerybeat
2:45 AM
inklesspen
gavinc: 'set semantics'?
2:45 AM
gavinc
using set to replace global config values
2:45 AM
inklesspen
oh.
2:45 AM
gavinc
is that in fact USED by anyone?
2:45 AM
inklesspen
i don't know.
2:45 AM
i thought the "use = config:foo.ini" stuff wasn't used by sane people either
2:46 AM
but then someone in here said it's vitally important
2:46 AM
gavinc
+1 vitally important ;)
2:47 AM
but I at least haven't seen set used in the wild anywhere
2:48 AM
inklesspen
did you see the weirdness that results when you combine set with "use = config:foo.ini"?
2:48 AM
2:48 AM
it is pretty insane.
2:48 AM
rafaelhbarros joined the channel
2:48 AM
sontek
I've only used use = config:foo.ini because ini itself doesn't have a good inheritance model
2:49 AM
inklesspen
it doesn't have _any_ inheritance model
2:49 AM
just globals that aren't globals
2:50 AM
gavinc
we do use = for varying development inis with/without ssh tunnels with some local bits and some remote bits, but keeping the giant pile of other configuration the same
2:50 AM
sontek
I saw a project the other day that added inheritance to ini but can't find it now
2:50 AM
vmatekole joined the channel
2:50 AM
goodwill
yeah hold on
2:51 AM
2:51 AM
sontek
Yeah, that one
2:51 AM
inklesspen
2:51 AM
(my ex-boss decided to reinvent ini parsing)
2:51 AM
supton has quit
2:53 AM
gavinc
I mean I've done bad things with make + sed to fake it
2:55 AM
vmatekole has quit
3:01 AM
sontek
gavinc: So what you are saying is we just document ini inheritance with make + sed and move on?
3:02 AM
gavinc
heh
3:02 AM
tempting
3:02 AM
inklesspen
noooooooooo
3:03 AM
my ex boss also introduced makefiles
3:03 AM
for python
3:03 AM
:(
3:03 AM
gavinc
What's wrong with make files? ;)
3:03 AM
inklesspen
they're not djb's redo
3:03 AM
goodwill
djb?
3:04 AM
gavinc
-.-
3:04 AM
inklesspen
djb is the guy who invented qmail
3:04 AM
sontek
We were using make a ton but recently started using click for building little clis instead
3:05 AM
goodwill
click makes me sad
3:05 AM
inklesspen
3:05 AM
goodwill
decorators galore
3:05 AM
unreadable
3:05 AM
sontek
I love me some click, its so composable
3:05 AM
Invoke is the only decent alternative
3:06 AM
dstufft
click is pretty ok
3:06 AM
goodwill
a function that has more more then 2 decorators basically is unreadable
3:06 AM
ree
goodwill, really? I used it a few times only, but it looked awesome
3:06 AM
dstufft
click and invoke sort of are for different things
3:06 AM
Wu joined the channel
3:06 AM
ree
can you show an example for how it becomes messy?
3:06 AM
goodwill
3:07 AM
gavinc
gah
3:07 AM
goodwill
that example there is already 1 step toward disaster
3:07 AM
dstufft
3:07 AM
ree
explain! is the problem is with the decorators, or... ?
3:07 AM
goodwill
holy potato
3:07 AM
that is unreadable
3:07 AM
decorators
3:08 AM
gavinc starts twitching
3:08 AM
gavinc
... that isn't even much shorter then arg parse
3:08 AM
goodwill
yeah that example dstufft has ... pretty much
3:08 AM
its not that it is shorter
3:09 AM
it is more that it is decorate the decorated the decorated the decorated the decorated the decorated the decorated
3:09 AM
sontek
dstufft: They are sort of different, I wish invoke would split out its cli tools separate from its execution stuff
3:09 AM
ree
goodwill, I don't see why you see that unreadable.
3:09 AM
dstufft
I like click fwiw
3:09 AM
so far anyways
3:09 AM
goodwill
ree: I guess I just do
3:09 AM
sontek
dstufft: I actually use them together but feel dirty because invoke has a lot of duplication from what click does
3:09 AM
ree
and if it were readable, how would it be like?
3:09 AM
dstufft
although I'm kind of down on the fact it just bails out if you set LC_ALL=C
3:09 AM
goodwill
basically that is a method with like 40 lines
3:09 AM
most of my methods are not that long
3:10 AM
and again: the decorated the decorated the decorated the decorated