I'd recommend you use wsgi instead of mod python. mod python reloads the interpreter for every request. It's much faster to use wsgi.
Type: Posts; User: DanielWaterworth; Keyword(s):
I'd recommend you use wsgi instead of mod python. mod python reloads the interpreter for every request. It's much faster to use wsgi.
I recently came across Tokyo Cabinet which describes itself as the new DBM. If you ever want to work from disk then I'd recommend it. http://fallabs.com/tokyocabinet/
People who know me would be surprised to hear that I'm not about to say something along the lines of "you should be using python and anything else is the spawn of satan".
I think it's more...
I started to learn about unsupervised machine learning as a hobby. It was after I saw http://www.youtube.com/watch?v=AyzOUbkUf3M that I started to make interesting things. Learn about hopfield nets,...
I haven't tried it, though I've been meaning to. Kerrighed looks pretty good. You can run any program designed for a SMP. http://www.kerrighed.org/wiki/index.php/Main_Page
Yes, I agree, typedef'ing ptrs is annoying (and should be an error in my opinion), but typedefs in general can be very useful when used right.
what you are suggesting is a bug is one of the key principles of python.
congratulations, remember to set the thread as solved.
I'm also using a british installation of ubuntu and it works fine for me.
First off, the problem isn't with perl. I'm fairly sure that it would work for you if you copied and pasted this quotation...
This is a common query. there are varies projects that make adaptations to languages for the purpose of localisation. http://www.chinesepython.org/cgi_bin/cgb.cgi/english/english.html for example,...
the first thing to understand is that structs are just types so you can create a variable like this:
struct {
int a;
} some_var;
although structs are usually typedef'ed before...
sure it's possible, a file is just a blob of binary. I'm not sure that text editors would recognise it though. Why not just encode the whole thing in utf8?
I ran the code and got 5 in python 2.6.5 and python 3.1.2.
I think (somebody correct me if I'm wrong) that raster operations are used for thing like rendering UIs, things that are stationary on the screen and aren't affected by lighting. It's simply writing...
I think gl pixel operations write directly to the video buffer. You'll need to put a texture on to a polygon for it to be affected by the transformation matrix AFAIK.
I do. I started out in Django and found it limiting, so I branched out. I didn't like pylons' use of global variables so I steered clear and eventually made my own framework from pre-built components...
http://opencv.willowgarage.com/documentation/python/index.html
A quick google search will help you find more information.
are you sure that you're trying to initialise the right camera (video device 0)?
Have you been able to capture video before with this camera or is this your first time trying in linux? can you view the video stream in vlc? is there another camera you can try with? I've always...
I think you should learn any language you feel like learning. Don't learn languages just because other people are learning them, learn new languages because they solve a problem that you can't solve...
Can you not just create an iframe with the iGoogle widget in it?
is this javascript on an external domain or javascript run in the browser (ie like greasemonkey). If it's the former, what you're essentially trying to do is a csrf attack and hence you're not going...
session cookies are just regular cookies, they can be written to disk in exactly the same way, but usually they won't because they'll be set to expire at the end of the browser session. SSL is the...
don't do this, it may work some of the time, but there will be caches that won't play nice with it. Cookies are designed for sessions, why not use the tried and tested route.
If it was developed in python, it would be easiest to use python for the web app. cgi is deprecated, wsgi is the future (and the present). If you need login I'd suggest using Django, it's not the...