Top all-time · #2644
voidspace.org.uk
Personal blog · voidspace.org.ukprogramming
voidspace.org.uk is a personal blog at voidspace.org.uk about programming. Since 2007, 32 different Hacker News readers have linked it 40 times, most often “Eliminating self with Metaclasses in Python”. No feed was found, so read it on the site itself.
Most-linked posts?
- /python/mock/4 people · 4 mentions · first linked 2012-03-13
- Eliminating self with Metaclasses in Python3 people · 4 mentions · first linked 2012-09-08
- Current State of Unladen Swallow (Towards a Faster Python)2 people · 2 mentions · first linked 2010-01-07
- Writing a Technical Book2 people · 2 mentions · first linked 2009-07-16
- Eliminating self with Metaclasses in Python2 people · 2 mentions · first linked 2008-09-20
What Hacker News says?
Writing a technical book is, as far as I was aware, well known to be a losing bet, where it's exceedingly rare that authors make back their advances. e.g. http://www.voidspace.org.uk/python/articles/technical-writin...
Comment linking /python/articles/technical-writing.shtml
on “Me and SVG”Submitted PyPy and Psyco as a story · 39 points
HN discussion> They backported the Python 2.7 unittest module to Python 2.4 No, unittest2 is a project by unittest's own maintainer (Michael Foord): http://www.voidspace.org.uk/python/articles/unittest2.shtml > and included it in Django? A good thing, short of depending on unittest2 itself (I don't believe Django "accepts" to depend on third-party projects as it's supposed to be self-contained). unittest2 is a really big improve…
Comment linking /python/articles/unittest2.shtml
on “Django 1.3 released”Submitted Running Python in a linux browser with moonlight as a story · 16 points
HN discussion"Any traditional OOP programmer might tell you that essential elements of OOP are encapsulation and message passing. The Python equivalents are namespaces and methods. Python doesn't subscribe to protecting the code from the programmer, like some of the more BSD languages. Python does encapsulate objects as a single namespace but it's a transluscent encapsulation." From: http://www.voidspace.org.uk/python/articles/O…
Comment linking /python/articles/OOP.shtml
on “Don't distract new programmers with OOP”Submitted Current State of Unladen Swallow (Towards a Faster Python) as a story · 15 points
HN discussionHi, creator of the package here. If you install the pycrypto package first, jrnl should work fine on Windows, too. It only needs a gcc compiler to build from source [1], but there are even pre-compiled binaries [2] (I don't have any experience with them though - please let me know if it works) :) I think py2exe could work well, too! Otherwise you could create a virtual environment with virtualenv and install all the…
Comment linking /python/modules.shtml
on “Jrnl – A simple command line journal application”Submitted Python -me: clever but useful command line hack as a story · 10 points
HN discussionMake is better than SCons if you are not compiling C. Lots of people would use fabric instead. The stock unittest in the stdlib is quite good, especially in python 2.7+. For mocks, wait until mock ( http://www.voidspace.org.uk/python/mock/ ) is in the stdlib or download it yourself.
Comment linking /python/mock/
on “Repository Structure and Python”Submitted Python for my Grandpa as a story · 10 points
HN discussionDirect link: http://www.voidspace.org.uk/python/weblog/arch_d7_2010_01_02...
Comment linking /python/weblog/arch_d7_2010_01_02.shtml
on “Unladen Swallow: Python 3’S Best Feature”Submitted The Resolver One (Python) Challenge - $25,000 as a story · 9 points
HN discussionAlso see Michael's post: http://www.voidspace.org.uk/python/weblog/arch_d7_2010_01_02... ( http://news.ycombinator.com/item?id=1036400 )
Comment linking /python/weblog/arch_d7_2010_01_02.shtml
on “Unladen Swallow: Python 3’S Best Feature”Submitted Anonymous Code Blocks in Python as a story · 8 points
HN discussionQuick question: why did you need to write FreezeGun? I've always used Mock http://www.voidspace.org.uk/python/mock/ to patch datetimes and I've never had any problems. You can patch pretty much anything with Mock.
Comment linking /python/mock/
on “FreezeGun: easy mocking of Python datetimes”Submitted Python garbage collection via weak references as a story · 7 points
HN discussionWhat do you mean by "usable function literals"? Because Python has them, even if you have to do a bit of work to get them. def demo (n): def multiplier (m): return n * m return multiplier x5 = demo(5); print x5(4) You can do anything in the inner closure that you might want. The only surprise is scoping - if you want to modify state you need to use a mutable data type because otherwise you'll be instantiating a priv…
Comment linking /python/articles/metaclasses.shtml
on “What are the drawbacks of Python?”Submitted Duck Typing in Python as a story · 6 points
HN discussionThere's another product that I've been meaning to look at, RsolverOne, mostly cause i learned a lot from the guy's python blog: http://resolversystems.com/ http://www.voidspace.org.uk/python/weblog/arch_d7_2009_11_21...
Comment linking /python/weblog/arch_d7_2009_11_21.shtml
on “Ask HN: Review My Startup - Hypernumbers The Team Spreadsheet”Submitted Eliminating self with Metaclasses in Python as a story · 6 points
HN discussionDon't miss Neil Gaiman's contribution to the Matrix's folklore: http://www.voidspace.org.uk/cyberpunk/goliath.shtml
Comment linking /cyberpunk/goliath.shtml
on “The Animatrix”Submitted Eliminating self with Metaclasses in Python as a story · 5 points
HN discussionOn a related note, Michael Foord's `mock.py` was recently added to the python stdlib. http://www.voidspace.org.uk/python/mock/mock.html
Comment linking /python/mock/mock.html
on “Show HN: zodiac, a new approach to monkey patching in python”Submitted Writing a Technical Book as a story · 4 points
HN discussionWell, here's Michael Foord's (@voidspace, referenced in the slides) Mock library so you can see what extra stuff it gives you. http://www.voidspace.org.uk/python/mock/
Comment linking /python/mock/
on “Why No One Uses Your Test Framework ”Submitted Eliminating self with Metaclasses in Python as a story · 3 points
HN discussionOld school (news) but still going: http://www.pythonware.com/daily/ IronPython a bit more lately: http://www.voidspace.org.uk/python/weblog/index.shtml Reddit programming section gets some good Python (news) sometimes.
Comment linking /python/weblog/index.shtml
on “Ask YC: What are some of the Python blogs you read?”Submitted Python metaclasses in five minutes as a story · 3 points
HN discussionrest2web: http://www.voidspace.org.uk/python/rest2web/ It is not very flexible, but doesn't take very much effort either.
Comment linking /python/rest2web/
on “Ask HN: Lightweight Programmer's CMS?”Submitted Test Driven Development (Python & Ruby) as a story · 3 points
HN discussion