News for hackers. Stuff that matters.
Re:Why I read Hacker News even though I understand very litt... by alexmr on Tuesday July 05, 2011 @08:39PM (#2732134)
Totally. Figuring out what to spend time on is definitely one of the hardest parts since there's so much out there. But reading and hacking on 4 chapters of the django book in a day taught me more than reading for a year.
Re:Why I read Hacker News even though I understand very litt... by irahul on Tuesday July 05, 2011 @09:54PM (#2732297)
Your app mentioned in the blog post is throwing me an error.

Traceback (most recent call last): File "/base/python_runtime/python_lib/versions/1/google/appengine/ext/webapp/__init__.py", line 700, in __call__ handler.get(*groups) File "/base/data/home/apps/twordsie/1.347280040146141318/main.py", line 55, in get 'rows': [{'c': [{'v': tweet["text"]}]} for tweet in tweets]} TypeError: string indices must be integers

You should install error handlers for server error(500), page not found(404), forbidden(403), and any others relevant for your app.

Regardless, 500 is the one you should generally install a handler for. It exposes details and flaws in your application which can be used in attacks.

Here is how you do that in django: https://docs.djangoproject.com/en/dev/topics/http/views/#the...

Re:Why I read Hacker News even though I understand very litt... by khwang on Tuesday July 05, 2011 @08:42PM (#2732138)
Isn't that always the funny part of life? Whenever I have hack parties with my friends, I always end up learning everything at like 2:00 AM when we finally start in earnest. ;)
Re:Why I read Hacker News even though I understand very litt... by ineedtosleep on Tuesday July 05, 2011 @09:16PM (#2732208)
Looking into diving into Django as well -- what Django book are you referring to, if I may ask?
Re:Why I read Hacker News even though I understand very litt... by alexmr on Tuesday July 05, 2011 @09:49PM (#2732286)
reading this one and I think it's super clear: http://www.djangobook.com/en/2.0/