Hacker Newsnew | past | comments | ask | show | jobs | submit | aaronjgreenberg's commentslogin

It's funny how well this dovetails with the stereotype of the tech industry.

WIFE: You should help with these philanthropic efforts.

BALLMER: I pay lots of taxes, the government takes care of helping people.

WIFE: That's not true.

BALLMER: Yes it is, and rather than contribute philanthropically, I'll start a start-up to settle this.


The logo looks kinda like a hairy butt.


Balls, which is what Facebook will have him by for ripping off Rooms.


Jumping on the Kenneth Reitz train, you might check out The Hitchhiker's Guide to Python: http://docs.python-guide.org/en/latest/

He recommends the following Python projects for reading:

* Howdoi (https://github.com/gleitz/howdoi)

* Flask (https://github.com/mitsuhiko/flask)

* Werkzeug (https://github.com/mitsuhiko/werkzeug)

* Requests (https://github.com/kennethreitz/requests)

* Tablib (https://github.com/kennethreitz/tablib)

Hope that helps---good luck!


+1 to anything written by Kenneth Reitz, he's also a fantastic OSS maintainer and extremely welcoming of newbies and their PR's if you want to put some of your learning into practice


Not the most responsive maintainer - still waiting on him to tag a 1.0.0 release for autoenv - https://github.com/kennethreitz/autoenv/issues/82


I would add the Django project to that list as it's a very large, mature, and successful open source python project - https://github.com/django/django


Django's source is very high quality. Though due to the large scope of the project, there are necessarily many layers of indirection, which may be a bit daunting for someone who is just starting out.

However reading the less abstract parts may help. For instance, the paginator is pretty self contained. https://github.com/django/django/blob/master/django/core/pag...


I disagree. A lot of code that does very little.

I prefer sklearn like https://github.com/scikit-learn/scikit-learn/blob/master/skl...

A lot of code that does a lot.

Bottle is nice on the web dev front.

https://github.com/bottlepy/bottle/blob/master/bottle.py


I really like the API of the framework, unfortunately some of the core elements suffer from being extremely stateful code

The "self.thing = bar" in one function that only gets used in some other function ( or even worse something only used in a companion class) pattern is super prevalent.

Might just be me but I think a lot of the older code suffers from massive locality problems that makes debugging framework bugs super tricky


Honestly, I have to agree with you to an extent.

I think a lot of the issues involving overuse of state, are primarily related to using OO when a pure function would suffice. It's just too tempting to dynamically assign attributes to mutable instances.

To be fair, when Django is used properly it isn't usually an issue. Besides the queryset/model API is extremely nice, and at this point very polished.


definitely agree.. I recently looked at the management command code as a reference when building some non-django scripts that use python argparse...

https://github.com/django/django/blob/master/django/core/man...


Is the Django project Pythonic? I mean, on the one hand, Python is the language of bells and whistles builtin. On the other hand, packages are encouraged to be simple and to the point.

Whilst this wasn't a discussion on which framework is best (and I'm not a Web dev by trade either), I must say I turn to Flask, as I find the API more Pythonic.

I guess what I'm trying to say is that the Django source code is probably great, but the less heavyweight packages/frameworks the better. Learn Pythonic API design from somewhere else.


SQLAlchemy is one of my favourite larger python codebases: https://github.com/zzzeek/sqlalchemy


Holy crap! I don't know if this helps or hinders! ;)

Thank you for this resource, much appreciated!


It'll be cool to see a WebAssembly implementation of react-dom.


I guess by 'better,' I meant the amount of output produced by one style or the other. Would there be a repeatable and measurable difference in the amount of output from someone who is bursty productive than from someone who is consistently productive?

Have you started doing anything different or made any changes to your working style that have led you to become more consistently productive?


>Would there be a repeatable and measurable difference in the amount of output from someone who is bursty productive than from someone who is consistently productive?

Nope. Never. Sounds like a CTO/CIO's pipe-dream.

It's a personal thing that likely has little correlation with overall productivity, and most programmers are bursty.

If you want to help programmers be productive, make them happy and give them the working environment they crave. Whatever that may be.

>Have you started doing anything different or made any changes to your working style that have led you to become more consistently productive?

The only change I've made recently that I'm convinced made a sustainable uptick in my productivity personally (not applicable to everyone) is that I've started following Seinfeld's and many other writers advice.

I just make certain I write code everyday and if I'm stuck I force myself to start sketching out boilerplate/rough-ideas until I get unstuck.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: