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

PGP might be easier to clone (duplicate private/master keys?) without tipping off the other party like many end-to-end messengers do when you switch devices.

B told Justice Janice Dillon that he sent a message to Kim on a Blackberry that had been cloned from one belonging to the UN associate.

http://vancouversun.com/news/crime/former-gangster-says-dhak...


> pyenv is now deprecated and venv is recommended

Isn't it `pyvenv` that is deprecated? `pyvenv` != `pyenv`


Yes, you are right. See, that's the other (#%#$^#$%#$ - excuse my Chinese) confusion. Such conflicting name pyvenv and pyenv, someone really could have picked a better name, whoever came later.

Corrected in my post.


Thanks for saying this! I just spent the last 10 minutes confused by that, trying to figure out what was going on here and what I actually have installed now:

⟩ pyenv --version

zsh: correct 'pyenv' to 'pyvenv' [nyae]?


For such basic functionality, is there any reason not to just use Python 3's `statistics` module?

  from statistics import mean, median, stdev, variance


Two reasons. First is that NumPy works in Python 2 as well as 3.

Second is that everyone uses NumPy for this. It is proven, it is fast, and using it for simple things is a great way to get started on a path toward using it for more complex things. For example I use NumPy for tabular text processing sometimes, as it is much faster than the built-in stuff if you have a lot of data.


Fluent Python is a great book. I found Luciano Ramalho's writing style very easy to follow and his knowledge of Python is extensive.

Looks like Effective Python should be next on my reading list!


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

Search: