[web2py] Re: numba jit fails in web2py environment

2015-01-16 Thread Leopold Haimberger
nd who knows what goes on. Anyway, your function would be re-compiled at > every iteration. > > I wrote this (https://github.com/mdipierro/ocl) works like numba (less > powerful probably) and it would have the same problem. > > Massimo > > On Thursday, 15 January 2015 05:1

[web2py] numba jit fails in web2py environment

2015-01-15 Thread Leopold Haimberger
Hi I am using the numba just in time compiler (version 0.16) for speeding up numerical calculations under python. For testing it I have slightly modified the standard web2py welcome application such that the index controller function calls a tiny function numba_add which adds 2 numbers. fr

Re: [web2py] Re: uWSGI + Cherokee + web2py - a howto.

2012-07-02 Thread Leopold
listing of directory: % list /etc/alternatives/uwsgi* lrwxrwxrwx 1 root root 19 Jun 28 09:22 /etc/alternatives/uwsgi -> /usr/bin/uwsgi-core lrwxrwxrwx 1 root root 35 Jun 28 09:22 /etc/alternatives/uwsgi.1.gz -> /usr/share/man/man1/uwsgi-core.1.gz lrwxrwxrwx 1 root root 19 Jun 28 09:22 /etc/alter

Re: [web2py] Re: uWSGI + Cherokee + web2py - a howto.

2012-06-28 Thread Leopold
Hi. First of all, sorry for not posting back, I had some unplanned issues. Anyway, I tried the Ngnix approach ( http://code.google.com/p/web2py/source/browse/scripts/setup-web2py-nginx-uwsgi-ubuntu.sh) and long story short it didn't work either; same result as it did with cherokee on web browse

[web2py] Re: uWSGI + Cherokee + web2py - a howto.

2012-06-07 Thread Leopold
I am not committed to cherokee and if this goes unsolved then I would be forced to choose another webserver, Apache seems overkill since my app is only used by intranet users; I am taking a look at Nginx at the moment. Still, I'm a bit reluctant to just forget about it since it worked wonderful

[web2py] Re: uWSGI + Cherokee + web2py - a howto.

2012-06-07 Thread Leopold
Hello everyone, I'm in need of help to get this configuration (ubuntu + cherokee + web2py + uwsgi) running. I used a very similar how to on this (this happened many months ago) and everything worked perfectly. When I followed the instructions I had an ubuntu version with python 2.6 but when I d

[web2py] default_application showing full url

2012-01-05 Thread Leopold
Hi all, I have an application "myapp" which I want to make it the default app when I navigate to the base domain (let's say "localhost" for now). By adding: default_application = 'myapp', to the routers BASE dict in routes.py I am able to do that, however it shortens the resulting url from "lo