First, this post actually already talks about it (found after doing my
own profiling with guppy/heapy):
http://groups.google.com/group/web2py/browse_thread/thread/534961af8e972300/212d7a59f2a7f239
The general idea is that all sql statements are stored as is in
db._timings. This isn't an issue,
Could your issue be related to this:
http://groups.google.com/group/web2py/browse_thread/thread/c85577827584952f
You should be able to use (with some small difficulty in the
interface) heapy to trace where you are using memory. Where I traced
it down to was db._timings. That attribute seems safe
Sounds like you're more concerned with outbound connections. Checkout
these (I've only played briefly with the first):
http://socksipy.sourceforge.net/
http://sourceforge.net/projects/pysocks/
Discussion here:
http://stackoverflow.com/questions/2537726/using-urllib2-with-socks-proxy
Unless I'm
path
per callable.
it's up here, anyone who logs bugs against it, or tries it out and
likes it, I'd love some feedback (good, bad, or otherwise). Wiki has
some info in there along with screenshots, though I know the docs
aren't amazing.
https://bitbucket.org/dragonfyre13/decorated-profiler
Here's
It's been this way quite some time, and I'm sure I'm not the only one
to wish there were tickets opened for errors during service calls, but
here goes.
Is there a reason why there's a ticket opened when executing a
controller, model, view, etc. normally, but no ticket opened when (for
example) I
, and there's no instability I can
find. I did a code review with 2 internal resources here on the
modifications (however small) and tested as completely as possible
(I'm a Software Test Engineer, testing comes naturally).
On Jan 6, 7:34 pm, Dragonfyre13 dragonfyr...@gmail.com wrote:
What you say
Reingart reing...@gmail.com wrote:
On Mon, Jan 3, 2011 at 8:49 PM, Dragonfyre13 dragonfyr...@gmail.com wrote:
Thought this might be interesting to someone, as it took me digging
through the pysimplesoap code to figure out. So I'll record it here
for posterity.
In web2py, I needed
Thought this might be interesting to someone, as it took me digging
through the pysimplesoap code to figure out. So I'll record it here
for posterity.
In web2py, I needed a soap service that can have one to many sets of a
a particular element. This caused some issues, as there's not really a
:
It occurs to me, I'm using uwsgi. I'm assuming cache.ram is per process,
meaning that if my Ajax side and xmlrpc side are not on the same process,
this will completely not work properly. I'll try flipping over to cache.disk
tomorrow morning to verify.
On Dec 21, 2010 5:20 PM, Dragonfyre13 dragonfyr
Nevermind, I wasn't clearing the cache in one place, so cache simply
didn't get updated with the right value when it needed to.
On Dec 23, 9:27 am, Dragonfyre13 dragonfyr...@gmail.com wrote:
So I've gone back and forth on this again and again. It looks like
cache.ram being process bound (so
At least I think the subject seems to define the behavior.
I have a function that exposes as an XMLRPC service. It puts something
in a DB, and then polls to see if there is a response to it from
another system talking to that same DB. (yes I realize that polling a
DB is a bad thing but necessary
If this is still the same answer as in 2008, has any thought been
given to modifying/adding the behavior mentioned?
On Dec 15, 7:42 pm, Dragonfyre13 dragonfyr...@gmail.com wrote:
I see some discussion from back in 2008 on the subject, but hoping
something might have changed.
Is there any way
I see some discussion from back in 2008 on the subject, but hoping
something might have changed.
Is there any way that I can cache a select, and then on update,
automatically remove any cached selects on this table/field?
I see that I can remove cache for a specific query like this:
I was having a discussion with my DBA on why the DB he tuned for
another project ran so much better than the one tuned for general use
(I was previously on the dedicated server, now on the general use
server). He said the configuration was the same, with one change.
Transaction isolation level was
Anyone used this? Looks absolutely awesome for what I'm doing (heavy
ajax/comet type hits, easily thousands of open connections at a given
time, etc.)
http://pypi.python.org/pypi/Spawning
There are of course alternatives out there, but wondering if anyone
had ever played with this before.
I want to be able to stream a file that's uploaded via an upload
field. So far, I haven't really found a way to do this, beyond
grabbing the file name out of filedata, and then sticking static
directory path on the front, which is both kludgy, and I have to think
the wrong way of going about it.
updated that one line to this, but it's not any better, just slightly
more portable. Any insights?
return open(./applications/ + request.application + /uploads/ +
rows[0].filedata).read()
On Apr 16, 12:49 pm, Dragonfyre13 dragonfyr...@gmail.com wrote:
I want to be able to stream a file that's
Well, my suggestion would be forget the XLS format for the first
iteration. Use CSV. If you're not concerned with formulas, that's the
cleanest route, and included in the default python install. (csv
module). I use it all the time for my load test frameworks I build.
It's not only very easy to
In that case, I have to ask. Does this have a dependency on nltk? I've
been reading a LOT on NLTK lately, and it does almost exactly this in
it's most basic form.
On Mar 4, 12:06 pm, Thadeus Burgess thade...@thadeusb.com wrote:
I'm pointing my Learner to the web2py mailing list :)
If it's untarred over the top of the old one, any files that are not
in the new tar file will be left there. Since an app is supposed to
kind of be self contained, shouldn't it remove the old app, and then
untar to the directory?
On Feb 16, 11:08 am, Jonathan Lundell jlund...@pobox.com wrote:
On
In my (limited) playing around with it, I just used it as a fast auto
complete for HTML. There's nothing new to learn, nothing new to use,
unless you want to use the auto complete feature, which is a Ctrl+
[button] combination when in editarea.
It's actually quite slick, and a pretty low learning
It looks like you're denying access to the admin dir in the apache
conf.
Location /admin
Deny from all
/Location
What it's setup to do is go to https://yourserver/admin
port 8080 has admin disabled, which (per the security gremlin in me)
is accurate behavior
So, let me make sure I understand this right, you want to stream the
response, from the server, to the browser. (have something in the
controller display realtime like the print command, instead of display
all of the information at once)
Or, are you talking about actually using print, and having
23 matches
Mail list logo