Hacker Blogs
Work in progress: 15,409 of 181,233 sites checked so far, more every week · updated 2 Nov 2026Missing a blog? Tell us

Top all-time · #1759

D

Doug Hellmann

Personal blog · doughellmann.comprogramming

Doug Hellmann's personal blog at doughellmann.com covers programming. Since 2008, 44 different Hacker News readers have linked it 49 times, most often “Python Module of the Week”. It is still writing: the last post was on 2024-12-29, and you can follow it by feed.

Visit the blog
49mentions?
44HN people?
2008–2024first – last linked?
Links on Hacker News per year · peak 14 in 2012

Open Source Developer, Author, Editor. *There's always room for pie.*

Most-linked posts?

  1. Python Module of the Week
    5 people · 5 mentions · first linked 2008-10-09
  2. PyMOTW: Python Module of the Week
    4 people · 4 mentions · first linked 2009-10-06
  3. /projects/virtualenvwrapper/
    3 people · 3 mentions · first linked 2010-09-21
  4. The Performance Impact of Using dict() Instead of {} in CPython 2.7
    2 people · 2 mentions · first linked 2012-11-13
  5. The Performance Impact of Using dict() Instead of {} in CPython 2.7
    2 people · 2 mentions · first linked 2013-03-16
  6. Python 2.6 abc - Abstract Base Classes
    2 people · 2 mentions · first linked 2009-08-08

What Hacker News says?

  1. Stuff that belongs to the OS (but runnable by all users) is in /usr/bin. That's FHS. Stuff that's yours is wherever dir you specified when you ran: export WORKON_HOME=$HOME/.virtualenvs Seriously. Use virtualenv (and virtualenvwrapper). http://www.doughellmann.com/projects/virtualenvwrapper/

    Comment linking /projects/virtualenvwrapper/

    on “Mongrel2 Says, "Goodbye Python"”
  2. Submitted The Performance Impact of Using dict() Instead of {} in CPython 2.7 as a story · 53 points

    HN discussion
  3. This is not really the kind of book you're looking for, I'm, afraid, but still it's the best one I've read on Python in general http://shop.oreilly.com/product/0636920032519.do As a language reference you could use something like that https://gto76.github.io/python-cheatsheet/ or another good book https://doughellmann.com/blog/the-python-3-standard-library-...

    Comment linking /blog/the-python-3-standard-library-by-example/

    on “I wrote a free book about TDD and clean architecture in Python”
  4. Submitted Python In-Memory Data Structures as a story · 52 points

    HN discussion
  5. I'm a guy from a C/C++ background who did linux kernel development, and picked up python along the way and used it to do desktop tools. I used python (without knowing any of it) to write a disassembler for a project I was doing in 2003 on a non-x86 processor. It took me 5 days to learn the language enough to do so and to write the entire tool, at which point I "got it". First off, Java isn't a toy language. You've c…

    Comment linking /projects/PyMOTW/

    on “I don't like Python. Does that make me a bad person?”
  6. Submitted Python Module of the Week as a story · 45 points

    HN discussion
  7. Or you can install virtualenvwrapper ( http://www.doughellmann.com/projects/virtualenvwrapper/ ) and after a little configuration... $ mkvirtualenv env1 (env1)$ pip install somepackage Creating self containing python projects has never been so easy!

    Comment linking /projects/virtualenvwrapper/

    on “The Python Standard Library - Where Modules Go To Die”
  8. Submitted Python `select` module - well explained step by step as a story · 41 points

    HN discussion
  9. I felt that way about some of the standard documentation but was relieved to find: http://www.doughellmann.com/PyMOTW/ I also highly recommend checking out Doug Hellman's book 'The Python Standard Library by Example'. He presents every (or almost every) standard library module with simple explanations and plenty of examples.

    Comment linking /PyMOTW/

    on “The Python Standard Library - Where Modules Go To Die”
  10. Submitted How I Review a PyCon Talk Proposal as a story · 29 points

    HN discussion
  11. I'm surprised nobody has mentioned Doug Hellman's great resources. His book "The Python Standard Library by Example" is basically a print version of his PyMOTW project ( http://www.doughellmann.com/PyMOTW/ ). While not an end to end "learn Python" the examples, at least in my case, have led me to ask quite a few questions that open other doors into Python that I haven't been exposed to. I like what Zed has put out,…

    Comment linking /PyMOTW/

    on “Dive Into Python 3 (online book)”
  12. Submitted Python profile, cProfile, and pstats – Explained step by step as a story · 28 points

    HN discussion
  13. I usually deploy it is nginx => Django FastCGI via flup. Make sure to use prefork instead of threaded method. On top of that I run each Django project inside individual virtualenv's [1], where virtualenvwrapper [2] simplifies the process. Since all my servers are Debian-based, I use my own creation called flint [3] to automatically start/stop the FastCGI processes on boot/shutdown. For deploying code I use fabric [4…

    Comment linking /projects/virtualenvwrapper/

    on “Ask HN: Django Deploy Recommendations”
  14. Submitted Itertools - Iterator functions for efficient looping as a story · 20 points

    HN discussion
  15. A previous analysis of the same question (2.7, 2012): https://doughellmann.com/posts/the-performance-impact-of-usi...

    Comment linking /posts/the-performance-impact-of-using-dict-instead-of-in-cpython-2-7-2/

    on “Performance Analysis of Python's Dict() and {}”
  16. Submitted Python Module of the Week as a story · 11 points

    HN discussion
  17. rbtrace is built on ruby's event hook api, which provides events when ruby and C extension methods are called, and when they return. python offers a very similar event hook api: http://www.doughellmann.com/PyMOTW/sys/tracing.html

    Comment linking /PyMOTW/sys/tracing.html

    on “rbtrace: like strace, but for ruby code”
  18. Submitted The Performance Impact of Using dict() Instead of {} in CPython 2.7 as a story · 8 points

    HN discussion
  19. Honestly, I don't see a reason to repeat what Doug Hellman did with Python Module Of The Week a while ago: http://www.doughellmann.com/PyMOTW/py-modindex.html His articles are comprehensive (were made into a book). For example, the one on logging is here: http://www.doughellmann.com/PyMOTW/logging/index.html#module...

    Comment linking /PyMOTW/logging/index.html

    on “Python 101: An Intro to logging”
  20. Submitted The Performance Impact of Using dict() Instead of {} in CPython 2.7 as a story · 6 points

    HN discussion
  21. As someone learning python (on mostly windows, but I test on ubuntu now and then to see if it works well) my advice is to just learn the multiprocessing version as shown by hythloday. I had a lot of problems with threads not exiting/joining properly, and even my multiprocessing code was goofy on windows. I used the "poison pill" method at http://www.doughellmann.com/PyMOTW/multiprocessing/communica... and everything…

    Comment linking /PyMOTW/multiprocessing/communication.html

    on “Python Concurrency: An Example of a Queue”
  22. Submitted PyMOTW: Python Module of the Week as a story · 5 points

    HN discussion
  23. I would definitely recommend sync'ing the python subversion tree and picking a few modules and reading through them. Doing so taught me some of the less obvious things within the language, and also taught me a lot about the various dunder (__foo__) methods for objects. Additionally, I'd recommend reading through the PEP documents ( http://python.org/dev/peps/ ) - there's a lot of great examples and rationales contai…

    Comment linking /PyMOTW/

    on “Ask HN: Good python code for code reading”
  24. Submitted Using Fuzzy Matching to Search by Sound with Python as a story · 4 points

    HN discussion
  25. So that you could: from java.util import Stack Instead of: from jnius import autoclass Stack = autoclass('java.util.Stack') http://www.doughellmann.com/PyMOTW/sys/imports.html#custom-i...

    Comment linking /PyMOTW/sys/imports.html

    on “Pyjnius: Accessing Java classes from Python”
  26. Submitted Dependencies Between Python Standard Library Modules – Doug Hellmann as a story · 3 points

    HN discussion
  27. If you don't have the time to read through just jump here: http://www.doughellmann.com/articles/misc/dict-performance/#...

    Comment linking /articles/misc/dict-performance/

    on “The Performance Impact of Using dict() Instead of {} in CPython 2.7”
  28. Submitted CPython 2.7: dict() vs {} performance as a story · 3 points

    HN discussion
  29. Abstract base classes. See http://www.doughellmann.com/PyMOTW/abc/

    Comment linking /PyMOTW/abc/

    on “Ask HN: Why not Java?”
  30. Submitted Stop Working So Hard: Scaling Open Source Community Practices as a story · 2 points

    HN discussion

Search all of HN for doughellmann.com

Linked by the same people?