Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
Walkman
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
93 ms
·
811.
▲
by
Walkman
13y ago
There is a print function in Python 2 either! http://docs.python.org/2/library/functions.html#print
812.
▲
by
Walkman
13y ago
I saw this code yesterday: def is_file_for(is_nagyker, type): if type == KIS_ES_NAGYKER: return True elif type == KISKER and not is_nagyker: return True elif type == NAGYKER and is_nagyk
813.
▲
by
Walkman
13y ago
You should name a classmethod first variable "cls", not "class_".
814.
▲
by
Walkman
13y ago
You can do that either if you click "compact view" on the top left. It shows you only a list then.
815.
▲
by
Walkman
13y ago
Absolutely! You can search tools, libraries, tutorials, everything a developer wants! You can search by tags, titles, resource type, keywords ... Also you will find not just the tool you need, but probably the _best_ tool, because of likes
816.
▲
by
Walkman
13y ago
Yes, there is: http://pineapple.io or http://ananas.io whichever you prefer. It's pretty cool, and not only does collect cool project from GitHub, but from all over the internet. Every tools is hand picked and e
817.
▲
GFYCAT – better gif
(gfycat.com)
3 points
by
Walkman
13y ago
|
1 comments
818.
▲
Delete Your Way to Productivity
(lifehacker.com)
1 points
by
Walkman
13y ago
|
0 comments
819.
▲
by
Walkman
13y ago
How can HTML+CSS+JavaScript not be open source? :D view-source:http://rogerdudler.github.io/git-guide/
820.
▲
by
Walkman
13y ago
What are these then? https://github.com/git/git/blob/master/COPYING https://github.com/git/git/blob/master/LGPL-2.1
821.
▲
by
Walkman
13y ago
it only supports a couple of editors, while RescueTime watches every window by title no matter what software you use. I can measure exactly how much time did I spent to server administration by simply looking at logged terminal titles!
822.
▲
by
Walkman
13y ago
The UI is nice, but I think nothing beats automation. I use RescueTime [1], which is surprisingly _accurate_ measuring my time. I use it for years now and I'm very satisfied with it. No need for "administrative overhead". [1]
823.
▲
by
Walkman
13y ago
I have been in Portugal two years ago and everybody, I mean EVERYBODY told me that all Portuguese people speak English, because every movie comes with subtitles only (no sound translation), and most of the films are English. They only trans
824.
▲
How to use Model-View-Controller (MVC)
(st-www.cs.illinois.edu)
2 points
by
Walkman
13y ago
|
0 comments
825.
▲
by
Walkman
13y ago
Use the "--shared" switch if users will commit the repository from the machine. For details see [1]. I think this makes step 5 unneccesary. If your ssh daemon listens on other port than 22, you can still use relative URL-s to your
826.
▲
Ask HN: Will .guru and .pw TLDs be popular?
1 points
by
Walkman
13y ago
|
0 comments
827.
▲
by
Walkman
13y ago
I was instantly buying this book on the full prize, until I realized it's only paperback. No thank you!
828.
▲
by
Walkman
13y ago
"Simple is better than complex."
829.
▲
by
Walkman
13y ago
you never use gettext in REPL :) and it's common to use '_' as gettext. Less typing, more readable strings. If you don't believe me, you should believe Alex Martelli [1], a random Python developer [2] or just read Offici
830.
▲
by
Walkman
13y ago
And this would be more idiomatic: 'Thanks!' (It is faster also! :D)
831.
▲
by
Walkman
13y ago
For point 10: '_' is often aliased as gettext to ease translation of string: from django.utils.translation import ugettext as _ translated_str = _('Something to translate') so using it will overwrite the al
832.
▲
by
Walkman
13y ago
I don't get why is this on front page. IPython is awesome, enough said. If you are not using it, you are doing it wrong.
833.
▲
2014 Gates Annual Letter: Myths About Foreign Aid
(annualletter.gatesfoundation.org)
2 points
by
Walkman
13y ago
|
0 comments
834.
▲
by
Walkman
13y ago
South2: https://github.com/andrewgodwin/south2 "This is the repository for South 2, the backport of Django's migrations code into a separate installable package for Django 1.4, 1.5 and 1.6."
835.
▲
Heisenbug
(en.wikipedia.org)
8 points
by
Walkman
13y ago
|
2 comments
836.
▲
by
Walkman
13y ago
You can set up LastPass even to log in you automatically, so you don't even have to click submit or login buttons if you want!
837.
▲
by
Walkman
13y ago
Just use LastPass [1], 1Password [2], Keepass [3] or whatever password manager software you like and forget it. I prefer LastPass for seamless syncing and multi-platformity. It can also check existing password if you use them multiple times
838.
▲
by
Walkman
13y ago
You don't need to blur the image when showing information about it.
839.
▲
How Too Much Sugar Will Slow Down Your Brain
(blog.brainscape.com)
1 points
by
Walkman
13y ago
|
0 comments
840.
▲
by
Walkman
13y ago
it's worse even more then. An example should show a GOOD practice.
More ›