265 karma · joined Apr 11, 2010 (16y ago) · 206 submissions
comment 15y ago · link · parent
http://www.insideword.com/member/profile/31 ->
http://articles.timesofindia.indiatimes.com/2011-04-04/compu...
Solving the original content problem is a must.
comment 15y ago · link · parent
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 634, in __call__
handler.get(*groups)
File "/base/data/home/apps/gumroad/1.349472656690944858/main.py", line 60, in get
if is_logged_in():
File "/base/data/home/apps/gumroad/1.349472656690944858/main.py", line 110, in is_logged_in
s = sessions.Session()
File "/base/data/home/apps/gumroad/1.349472656690944858/appengine_utilities/sessions.py", line 562, in __init__
self.session = _AppEngineUtilities_Session.get_session(self)
File "/base/data/home/apps/gumroad/1.349472656690944858/appengine_utilities/sessions.py", line 142, in get_session
ds_session = db.get(str(session_key))
File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/db/__init__.py", line 1422, in get
keys, multiple = datastore.NormalizeAndTypeCheckKeys(keys)
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py", line 180, in NormalizeAndTypeCheckKeys
keys = [_GetCompleteKeyOrError(key) for key in keys]
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore.py", line 2339, in _GetCompleteKeyOrError
key = Key(arg)
File "/base/python_runtime/python_lib/versions/1/google/appengine/api/datastore_types.py", line 364, in __init__
raise datastore_errors.BadKeyError('Invalid string key %s.' % encoded)
BadKeyError: Invalid string key agdndW1yb2FkciMLEhtfQXBwRW5naW5lVXRpbGl0aWVzX1Nlc3Npb24Y.comment 15y ago · link · parent
comment 15y ago · link · parent
The syntax makes no sense. How can this be aimed towards people not previously familiar with programming computers?
And how can this be considered intuitive?
>When creating a function, we can specify function arguments, which are sorrounded by parentheses and put in between the "^" and the "{". These "arguments" are just like variables, but which are only available inside our function.
What's wrong with python for newbie programmer?
comment 15y ago · link · parent
client request1 --> web server --> rpc server --> work queue
<process other requests>
client request1 <-- web server <-- rpc server <-- done queue
Of course you need to create consumers to operate on the work queue, process the jobs and put them in a different queue (eg. 'done queue') signaling the rpc server that you finished the job so that the rpc server in turn will reply back to the web server.
comment 15y ago · link · parent
You have to maintain state all the time and keep track of inconsistent/impossible states.
That to me is not cleaner or easier.
I work in one of the big corps, and it never fails, event driven servers tend to be way more buggy.
Python out of the box doesn't have coroutines but you can always use gevent for that.
Python threads are real pthreads, now they are not optimal and should not be used in high load servers, because pthreads are not that light weight when you are running 10k of them. Creating servers based on python threads is as clean as coroutine threads but slower. Hence, coroutines are always favorable over them.
comment 15y ago · link · parent
http://www.jongales.com/blog/2011/02/14/list-of-content-farm...
user> mail-archive? are you crazy? that site has been around forever & I’ve found more answers there than I can count.
you> What mailing lists are you finding useful on mail-archive that aren’t available elsewhere? Do you ever visit mail-archive directly? I’ve only seen mail-archive clutter up SERP pages, often with the question I have going unanswered. I see no point in duplicating content on Google Groups, only with a significantly worse UI.
The point is, they are all doing the same. mail-archive, osdir, markmail archive mail, place ads next to them. Some provide more features on top but the main idea is archive public content and make money out of it.
You can always use gmane to search apache archives, at least it is ad free.