Python's New Secrets Module [Link]

February 18, 2017 by Gabe | [mmd] | ℳ↫

Python 3.6 adds a new module for creating random values for cryptographic secrets.

For example, this call:

secrets.token_urlsafe(16)

generates this unique string: '5t_jLGlV8yp2Q5tolvBesQ'

Now, if only I could get all of my scripts moved off of Python 2.7 I'd be in business.

Older articles

  1. A Few Recent Advances in Children's TV

    February 18, 2017 by Gabe | [mmd] |

    Good children's television is hard to come by. I mean, an actually tolerable, enjoyable by an adult, children's TV is as rare as an honest toy commercial. But, this past year my family has discovered several new shows that we've all enjoyed. Here's the top 5 ...

  2. Americans and Cybersecurity [Link]

    February 14, 2017 by Gabe | [mmd] | ℳ↫

    A new study out last month from the Pew Research Center show that americans understand the security risks online but are pretty bad at protecting themselves.

    The survey also finds that Americans are not always vigilant in the context of mobile security. For instance, 28% of smartphone owners report that ...

  3. Star Wars Things [Link]

    February 14, 2017 by Gabe | [mmd] | ℳ↫

    I haven't been this giddy in many months. Chewy brings a tear to my eye.

  4. When They Say They're Going to Cure Cancer Be Skeptical [Link]

    February 14, 2017 by Gabe | [mmd] | ℳ↫

    Patrick Soon-Shiong seems like a Perfect fit for the new administration.

  5. DEVONthink 2 Go 2.1 Becomes an iOS Document Provider

    February 08, 2017 by Gabe | [mmd] |

    Today DEVONthink 2 Go 2.1 is available it adds a major new feature: Document Provider service on iOS. There are not many apps on iOS that do this, but DEVONthink is a perfect fit. From within a compatible app, like Textastic or Ulysses, open a provider and browse to ...

  6. Lanham Photo Wallpapers [Link]

    February 07, 2017 by Gabe | [mmd] | ℳ↫

    I absolutely love David Lanham's artwork. I've had a Lanham illustration as my desktop for many years. My daughter's room is decorated with his framed prints. He has a unique eye that fits within the world of Miyazaki. Now he has a new collection of wallpapers created ...

  7. The OmniFocus Streaming Field Guide [Link]

    February 07, 2017 by Gabe | [mmd] | ℳ↫

    I've rewatched David's entire series on Vimeo and it's great. It works everywhere Vimeo works plus you can still download the videos if you want. As with GTD itself, I find that an annual OmniFocus refresher is time well spent.

  8. Google Ordered to Hand Over Foreign Email [Link]

    February 06, 2017 by Gabe | [mmd] | ℳ↫

    From Betanews:

    In Philadelphia, Magistrate Judge Thomas Rueter said: "Though the retrieval of the electronic data by Google from its multiple data centers abroad has the potential for an invasion of privacy, the actual infringement of privacy occurs at the time of disclosure in the United States". He ruled that ...

  9. Alexa Gains Plex Access [Link]

    February 04, 2017 by Gabe | [mmd] | ℳ↫

    From the Plex blog:

    Think of it as a way to have events in Plex affect the outside world. We’ve made it so that any media playback event or media rating event can trigger a webhook. If you’re into home automation, you know how cool and powerful this ...