Better HN
topnewbestaskshowjobs
Log inSign up

MikeOnFire

-6 karma · joined Jan 20, 2012 (14y ago) · 7 submissions

Submissions

comment 14y ago · link · parent

For each special method, you should show what syntax magically invokes it. Something like this:

foo.__iter__() is invoked by for x in foo a.__iadd__(b) is invoked by a += b a.__rmult__(b) is invoked by b * a when b * a fails. foo.__len__() is invoked by if foo when foo.__bool__ or foo.__nonzero__ is not defined. foo.__repr__() is invoked by '%r' % foo, also by pprint.pprint(foo) and deprecated `foo`. It's also invoked by __str__ magic when foo.__str__ is not defined. etc. Putting the above info in a table would also be helpful.

comment 14y ago · link · parent

I think the answer for this is different for fiction and non-fiction. If I don't finish a non-fiction book, I still sometimes consider it "read", if I have gotten the gest of it. This is especially true if the author goes into more detail towards the end of the book after making their point. Non-completed fiction books I usually don't recommend to friends.

comment 14y ago · link · parent

sounds like a bullshit article, thought up to scare people. go fuck yourself PR firms, i'll believe it when i see it

comment 14y ago · link · parent

Good read. Netflix works well on my ps3, sgs2 and PC.

comment 14y ago · link · parent

Not a great policy, but the article goes on to do a good job demonstrating how harmful the software patents have become.

comment 14y ago · link · parent

Walking the talk is a big thing with RMS.

comment 14y ago · link · parent

My first thought, as suggested by some on the list, was modularization. Redstone's response (that the 1.3 million files are essentially all interdependent) terrifies me.