Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
naiquevin
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
8 ms
·
61.
▲
by
naiquevin
14y ago
I agree about the slow running time of Django tests although I have found that using sqlite database backend for tests reduces the time significantly.
62.
▲
by
naiquevin
14y ago
It's great to see the Django tutorial extended to cover testing[1] and writing reusable apps[2]. These days there are quite a few Django tutorials out there covering best practices etc. (which are very good) but I would still recommend the
63.
▲
by
naiquevin
14y ago
I too upgraded and everything went smooth except got a "Bad magic number" error[1] while running south migrations. The fix is to delete all .pyc files (even those inside the virtualenv) [1]: http://stackoverflow.com/questions/514371/whats-
64.
▲
by
naiquevin
14y ago
Yes, it's websockets. You can check it in Chrome by keeping the console open and refreshing the page. Would be interesting to test in IE. BTW, as much as I am amazed to see websockets in action, the real time updating of vote count feels cr
65.
▲
by
naiquevin
14y ago
As a fan of both Little Schemer and The Hitchhicker's guide to the galaxy, I find this awesome. One suggestion, it be great to have parens matching in the editor/textarea
66.
▲
by
naiquevin
14y ago
Exactly what I thought when I saw the year in the URL. This is just incredible. There isn't a slightest hint of being written by a 16 year old. What a huge loss
67.
▲
by
naiquevin
14y ago
This works fine too, dict((k, []) for k in keys) Although I later realized what I really needed was defaultdict[1] d = defaultdict(list) [1]: http://docs.python.org/2/library/collections.html#collection...
68.
▲
by
naiquevin
14y ago
> Rather than handing out ready-made functions to make Python behave like PHP, this site actually teaches you how to write Python like a real Pythonista. Not in my opinion. Here is my personal experience of using this site when I was ju
69.
▲
by
naiquevin
14y ago
>> It would be nice if people actually used tools like this rather than tried to bang their own together with mysql_query. Totally agree with this. After getting super impressed by Django's South migrations[1] app, I wrote a minimal
70.
▲
by
naiquevin
14y ago
A better title would have been '3 things self-taught developers should know/read'. Everything that the article mentions as 'missed' is fixable. As a self taught programmer, I admit that at various points in my programming career I was unfam
71.
▲
by
naiquevin
14y ago
The readme refers to the administration panel of a magento instance and not the magento website. May be I should remove the link to the website to avoid any confusion. Any way, will try to set up github project page this weekend.
72.
▲
by
naiquevin
14y ago
I like your style of using 'jeeves' as the namespace for useful helper functions :-) BTW, I have been recently working on a sticky buttons plugin myself https://github.com/naiquevin/jquery-sticky-buttons Uses jquery, no hosted example, no
73.
▲
by
naiquevin
14y ago
Somewhat off topic but out of curiosity, for what genuine technical reasons would one show "There is a queue" message on the signup page? One would be very large no. of signups immediately following the launch. Anything else? I don't subscr
74.
▲
by
naiquevin
14y ago
Thankyou for asking this question. It cleared a lot of things for me too :-)
75.
▲
by
naiquevin
14y ago
+1 for the django.me tip. I can see myself using it all the time from now on :-) Out of curiosity, how and where did you find out about it? http://django.me redirects to the main page of django docs and google search didn't give any usefu
76.
▲
by
naiquevin
14y ago
> I.e. I suspect that those using 4 or tabs also use long lines. Not really, I think length of indentation affects the length of the line only if there is a lot of nesting. For HTML I use 2 spaces as I know there is going to be a lot of
77.
▲
by
naiquevin
14y ago
and "Mail me" is a link to gmail.com!
78.
▲
Show HN: A guitar chord game in javascript with ten-pin-bowling like scoring
(naiquevin.github.com)
1 points
by
naiquevin
14y ago
|
0 comments