Obfuscating Passwords in URLs in Python
New MetaBrite Dev Blog post, Obfuscating Passwords in URLs in Python.
New MetaBrite Dev Blog post, Obfuscating Passwords in URLs in Python.
The accompanying photo shows most of the books that I’ve read between late September 2015 and January 2nd:
Glasgow DI Alex Morrow is trying to put a dangerous criminal back in prison, but she can’t explain how his prints were found at the scene of a recent murder when he was already in custody. Fifteen years ago, when Rose Wilson was a sexually abused 14 year old, she was responsible for two deaths in one night, but only did time for one culpable homicide. Now the lawyer who saved her is dead and coverups are unraveling.
In other hands, this tale …continue.
Emma and I have a bargain. If one of us cooks a nice dinner, the other cleans up. While I can and do cook, Emma does most of the cooking. Therefore, I do most of the cleaning.
I always thank Emma during dinner for the meal, and Emma invariably thanks me for cleaning when I’m washing pots and pans. I—a lifelong smartass—usually respond, "Thank you for making a mess."
So far, she’s taken this with good grace—probably better than I deserve. In truth, the cleanup is usually far quicker than the cooking.
[Sequel to The Magician King]
At the beginning of The Magician’s Land, Quentin Coldwater is in exile from Fillory. After a brief sojourn of teaching at Brakebills, where he researches an enormously complex spell he found in the Neitherlands, he is fired and Plum, a student, is expelled. A mysterious summons draws them into a magical heist, which goes awry. Meanwhile, Fillory is dying and Eliot, Janet, Josh, and Poppy are trying to save it.
Quentin has matured over the trilogy, emotionally and as a magician, rising to the daunting challenges "He was …continue.
I wanted to turn a list like ['*.zip', '*.pyc', '*.log'] into ['--exclude', '*.zip', '--exclude', '*.pyc', '--exclude', '*.log'].
A simple list comprehension doesn’t work as desired:
In [1]: excludes = ['*.zip', '*.pyc', '*.log']
In [2]: [('--exclude', e) for e in excludes]
Out[2]: [('--exclude', '*.zip'), ('--exclude', '*.pyc'), ('--exclude', '*.log')]
The trick is to use a nested comprehension:
In [5]: [arg for pattern in excludes
for arg in ['--exclude', pattern]]
Out[5]: ['--exclude', '*.zip', '--exclude', '*.pyc', '--exclude', '*.log']
Via Hacker News, "All Springer Textbooks More Than 10 Years Old Available for Free Legal Download".
This includes books from Apress as well as a ton of those impenetrable gray-and-red Lecture Notes in Computer Science books.
Update 2015-12-30: No longer available. Springer aren’t commenting. Presumably a mistake.
[Spoilers]
Young orphaned scavenger living on a desert planet finds droid with a message, then hooks up with two rogues in a beat-up ship. Young hero starts developing a talent for the Force. Dark-side dork with daddy issues slays daddy in death star duel. Ace X-wing pilot flies down trench and kills death star.
Where have I seen this movie before?
Episode VII is a distinct improvement over the last set of Star Wars films, the Anakin prequels. We care more about Rey and Finn than we ever did about Anakin and Padme. George Lucas’s characters were wooden and unconvincing; Lawrence Kasdan (who wrote The Empire Strikes Back and Return of the Jedi), J.J. Abrams, …continue.
[Sequel to The Magicians.]
There are two storylines in The Magician King, the backstory of Julia’s training as a hedgewitch and Quentin’s quest for the seven golden keys.
Quentin, along with his high school crush, Julia, and his fellow Brakebills’ alumni, Eliot and Janet, have ruled Fillory for a few years. Bored with being King, he sets off on a quest, taking Julia with him. Unexpectedly thrust back to Earth, they desperately strive to return to Fillory, eventually succeeding. Magic is leaching out of the universe as the old gods awaken, and …continue.
Take a heavy dose of Narnia, add a hefty dollop of Harry Potter, stir in some Bret Easton Ellis and a dash of The Catcher in the Rye, then cook for adults. That glib description shortchanges The Magicians, even though Fillory clearly owes a major debt to Narnia and the preppy Brakebills College for Magical Pedagogy somewhat resembles Hogwarts.
Quentin Coldwater is an overachieving, solitary math nerd from Brooklyn, who thinks he’s attending an entrance interview for Princeton but instead gains admittance to Brakebills. Magic turns out to be real, but difficult, requiring …continue.