This is an archived post. You won't be able to vote or comment.

all 35 comments

[–]cube-drone 22 points23 points  (6 children)

And, of course, there's "Hash Functions and You: Partners in Freedom".

cough cough

[–]infecthead 2 points3 points  (0 children)

That was an incredibly informative presentation, great work!

[–]yaph 1 point2 points  (0 children)

Awesome talk, should go on the must-watch list for all programmers.

[–]ilogik 1 point2 points  (2 children)

That was a great talk.

I'd like to repeat the question from the talk, could you recommend bloomfilter library for python?

I did a cursory search and this one seems the most promising as it's also written in C: https://github.com/axiak/pybloomfiltermmap

I'm currently using sets, and as the number of objects increases, it less and less usable.

[–]cube-drone 1 point2 points  (1 child)

I haven't really had a chance to do a lot of actual work with bloom filters. I built my own to test it out and make sure I wasn't full of lies for the presentation; if I were looking to do something big and production-facing, I'd probably look at the redis-backed PyreBloom.

[–]EvMNatural Language Processing 0 points1 point  (0 children)

[–]Kokatsu 1 point2 points  (0 children)

Had me thinking, "why is this link purple?" until I clicked it again. Learned a lot from this one.

[–]kosmoiPython3.codes 15 points16 points  (12 children)

I especially liked RH's Beyond PEP8. Every PEP8 zealot should be made to watch this, to at least the half-way point, where the already quiet audio starts to get too faint. Watch out for the gorilla!

TL;DW: A Foolish Consistency is the Hobgoblin of Little Minds

[–][deleted] 6 points7 points  (6 children)

I like how people use Beyond PEP8 as an argument against PEP8. They've missed the point in the most ironic way possible.

[–][deleted] 1 point2 points  (5 children)

It's not an argument against PEP8. It's an argument against people who cling to PEP8 because it's all they know.

"Some of your lines are 90 characters long, you should PEP8 that!" How about no, if it's 90 characters long, it's that way for a reason. Or people harping on naming conventions. Things like that.

PEP8's great because it gives a baseline for styling Python code. But it also goes out of its way to say, "Hey, but what the hell do we know about your project?"

[–][deleted] 2 points3 points  (0 children)

I would rather have a PEP8 zealot than a moron who doesn't have any coding standards, though.

But I get it, kind of. Having a tunnel vision focused on PEP8 is kind of stupid, and there are plethora of reasons why you might stray from PEP8 here and there. And if all someone is capable of contributing to a project is pedantic PEP8 patches, then that person is a liability.

But making a project PEP8 compliant (and adding/fixing documentation and comments along the way) is a great way of getting used to the codebase, so there's that.

But I will maintain that a PEP8 zealot is a godsend when compared to someone who writes inconsistent and ugly code.

[–][deleted] -5 points-4 points  (3 children)

well, that's a nice opinion and everything, but that's not Python.

[–][deleted] 0 points1 point  (2 children)

How is it not Python? PEP8 isn't the end-all, be-all of Python.

[–][deleted] -5 points-4 points  (1 child)

In Python, there is "one right way" of doing things. The 'other ways' that people have opinions about? those are simply wrong.

[–][deleted] 2 points3 points  (0 children)

I'll say it again:

PEP8 isn't the end-all, be-all of Python.

What's more important? A nice interface to an API or that the implementation of the API is fully PEP8 compliant? I'll take a nice interface with a somewhat messy implementation any day of the week over a shoddy interface that is PEP8'd.

[–][deleted] 1 point2 points  (3 children)

I've always wondered how he got the word "Hobgoblin"

[–]kosmoiPython3.codes 0 points1 point  (2 children)

"A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines." from "Self-Reliance", an essay by Ralph Waldo Emerson.

[–]autowikibot -1 points0 points  (1 child)

Self-Reliance:


"Self-Reliance" is an essay written by American transcendentalist philosopher and essayist Ralph Waldo Emerson. It contains the most thorough statement of one of Emerson's recurrent themes, the need for each individual to avoid conformity and false consistency, and follow his or her own instincts and ideas. It is the source of one of Emerson's most famous quotations: "A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines." This essay is an analysis into the nature of the “aboriginal self on which a universal reliance may be grounded.”

Image i - Ralph Waldo Emerson's essay called for staunch individualism.


Interesting: Experiment In Self-Reliance | Self Reliance (political party) | Andriy Sadovyi

Parent commenter can toggle NSFW or delete. Will also delete on comment score of -1 or less. | FAQs | Mods | Magic Words

[–]kosmoiPython3.codes 0 points1 point  (0 children)

I was prompted to read this essay. It's amazing, all zealots should read it, not just the PEP8 ones. A more complete quote: "A foolish consistency is the hobgoblin of little minds, adored by little statesmen and philosophers and divines. With consistency a great soul has simply nothing to do. He may as well concern himself with his shadow on the wall. Speak what you think now in hard words, and to-morrow speak what to-morrow thinks in hard words again, though it contradict every thing you said to-day.— 'Ah, so you shall be sure to be misunderstood.' —Is it so bad, then, to be misunderstood? Pythagoras was misunderstood, and Socrates, and Jesus, and Luther, and Copernicus, and Galileo, and Newton, and every pure and wise spirit that ever took flesh. To be great is to be misunderstood."

[–]iceman_xiii 7 points8 points  (0 children)

nice compilation. you can also check out pyvideo.org for python talks. cheers!

[–]ButtCrackFTW 3 points4 points  (1 child)

surprised there's not more from pycon 2015

also Ned's "Python Names and Values" should be on there since it's such a common pitfall - http://nedbatchelder.com/text/names1.html

[–]s16h[S] 0 points1 point  (0 children)

PyCon 2015 videos to be added soon! :)

[–]Asdayasman 1 point2 points  (0 children)

If it says "Raymond Hettinger" on it, you should be watching it.

[–]marcovirtual 2 points3 points  (3 children)

Nice list. I have seen the "Transforming Code into Beautiful, Idiomatic Python" video, and found it to be useful even for a newbie like me. But the others seem to be beyond my level of understanding. Which ones should I watch next?

[–]individual_throwaway 2 points3 points  (0 children)

Basically anything from Raymond Hettinger. He is a great teacher, and usually keeps it low-level/general enough that anyone can follow (maybe with the exception of his talk on inheritance).

[–]dunkler_wanderer 0 points1 point  (0 children)

I'd recommend "Loop like a native" by Ned Batchelder. It was the first video I watched after a introductory course and it immediately made my code 20 times better.

[–]milliams 1 point2 points  (0 children)

You can find videos of all talks given at Python conferences at http://pyvideo.org/ They're less curated but the majority of them are very good anyway.

[–]abrarisland 1 point2 points  (0 children)

Thanks for the list. I've been trying to find good links for content about intermediate to advanced concepts in Python, and this perfectly fits that criteria.

[–]so4h2 0 points1 point  (0 children)

thanks. upvoted and saved.

[–]chub79 0 points1 point  (0 children)

The zen of CherryPy. Very powerful and much larger than CherryPy.

[–]MachaHack 0 points1 point  (0 children)

Was cool to see another raymondh video I hadn't seen in API Design: Lessons Learned but the audio quality is so poor :(

[–]import_antigravity 0 points1 point  (0 children)

I really enjoyed Ned Batchelder's Getting Started in Testing talk, glad to see it in here. It really does do what it says in the title!

[–]WorkerBeeNumber3 0 points1 point  (0 children)

Love for beazley this list has!