[web2py] Scaling + performance tips to prepare for launch

2013-05-21 Thread smogzer
Hi folks, I'm about to launch my site (http://nizen.net) and before launching i would like some scaling tips. Right now i've done the following: - using cloudflare for CDN. - compiled web2py .py - .pyc - in 0.py session.forget(response) - settings.migrate = False I'm using openshift also. If i

[web2py] Hey Massimo, how do you market and watch for web2py news, and other metrics and tricks.

2013-05-20 Thread smogzer
Hi Massimo, I'm launching a business and i need some launching + metrics lessons. I've followed you in reddit and Hacker news and i found you're are everywhere, monitoring and defending web2py. The ptional questions about that omnipresence are: 1) how do you market 2) and watch for web2py news,

[web2py] In openshift: Need help on why my web2py website is being constantly accessed by openshift itself

2013-05-08 Thread smogzer
Hi folks, So in openshift in a python 2.6 cartridge + haproxy i'm having lots of accesses from openshift ip itself, like one every 3 seconds. I do not have any cron jobs. Is there a way to figure where these access are coming from : wsgi, web2py, openshift ? -- --- You received this message

[web2py] Can somebody hack a user tracker and download counter for us ?

2013-04-16 Thread smogzer
I was wondering if somebody could hack a web2py slice that wraps the A(_href) and adds the clicks to a db, also for downloads, for each session it could track the user actions and create a behavior/path from it. It would be great for everybody. This slice could be a nice base

[web2py] Cannot submit SQLFORM :/

2013-03-26 Thread smogzer
Hi Folks, So I cannot submit SQLFORM, even the simpler ones like the following. I always get the else: that says please fill the form I checked and it seems the code is alright and i can submit forms and add content using the badmin plugin, so i'm kind of lost here. And another question, how can

[web2py] Just knew about Server-Sent Events and want to share it with you

2012-09-09 Thread smogzer
Stream Updates with Server-Sent Events: Are like websockets but unidirectional, from the server to the client. Most modern browsers support it. It can be combined with XmlHttpRequest / ajax if the client needs to send events to the server, i.e. emulate websockets. From

[web2py] Dotcloud now with support for websockets is += 1 service ?

2012-03-27 Thread smogzer
Hi folks, I recently read about websockets and saw a video by Bruno Rocha showing the use of comet and web2py and it seems like a technology with lots of potential. What i would like to know is that if it is possible to replace comet with some server side service provided by dotcloud, so that

[web2py] accessing to static folder via .load is broken

2012-03-07 Thread smogzer
Hello all, So i was trying my local site and i saw some broken images that are loaded via the following code img src={{=URL(r=request,c='static',f='images/product.png')}} alt=bb width=296 height=400 / This is inside a .load file that loads inside a DIV. and produces the following URL which does

[web2py] 20 beautiful resources that complement twitter bootstrap

2012-03-02 Thread smogzer
Hey dewds forging web2py 2.0 have a look at these gorgeous: http://www.webresourcesdepot.com/20-beautiful-resources-that-complement-twitter-bootstrap/

[web2py] Re: In plugin_wiki meta-code tables i cannot upload data :(

2012-02-29 Thread smogzer
Guys, could any of you at least try uploading stuff to a plugin-wiki meta-code created database. Just to tell me that it's just my configuration that's broken ( i tried firefox and chromium linux ) or it's the plugin. On Mon, Feb 27, 2012 at 12:20 AM, smogzer smog...@gmail.com wrote: I'm trying

[web2py] In plugin_wiki meta-code tables i cannot upload data :(

2012-02-26 Thread smogzer
I'm trying to create a meta-database that can be defined via meta-code and i've come to a bug : i can't upload data to fields in that database. Could anybody fix the problem ? here is a sample code for testing. http://127.0.0.1/apagar/plugin_wiki/page_edit/meta-code code:

[web2py] bare login using a sha1 or md5 signature instead of plain text pass

2012-02-14 Thread smogzer
I'm doing a C++ framework and i want to remotely login into web2py, for simplification libcurl style. Problem is that the bare login requires plain text or just base64 encoded password transmission, in short it is vulnerable to a man in the middle attack that may compromise the user passwords. So

[web2py] how to download file from within a cid target

2012-01-17 Thread smogzer
I'm trying to generate a pdf with the bundled pdf generator (fypdf) from withing a .load file that is loaded into a div. Outside the cid div (i.e. extension .html) the download works fine but from within the .load, the contents get rendered into the cid target, never downloading to the user.