background preloader

Hacking Secret Ciphers with Python - Chapters

Hacking Secret Ciphers with Python - Chapters
Chapter 1 Read online: Chapter 1 - Making Paper Cryptography Tools PDF of the Caesar Cipher WheelInteractive Virtual Cipher Wheel Chapter 2 Read online: Chapter 2 - Downloading and Installing Python Download Python 3Download pyperclip.py Chapter 3 Read online: Chapter 3 - The Interactive Shell Chapter 4 Read online: Chapter 4 - String and Writing Programs Download source: hello.py Copy source to clipboard: Use the online diff tool to find typos in your code: hello.py Chapter 5 Read online: Chapter 5 - The Reverse Cipher Download source: reverseCipher.py Use the online diff tool to find typos in your code: reverseCipher.py Chapter 6 Read online: Chapter 6 - The Caesar Cipher Download source: caesarCipher.py Use the online diff tool to find typos in your code: caesarCipher.py Download source: caesarCipher2.py Use the online diff tool to find typos in your code: caesarCipher2.py Download source: password.py Use the online diff tool to find typos in your code: password.py Download source: password2.py Chapter 7

How I Made Porn 20x More Efficient with Python Intro Porn is a big industry. There aren’t many sites on the Internet that can rival the traffic of its biggest players. And juggling this immense traffic is tough. To make things even harder, much of the content served from porn sites is made up of low latency live streams rather than simple static video content. What’s the problem? A few years ago, I was working for the 26th (at the time) most visited website in the world—not just the porn industry: the world. At the time, the site served up porn streaming requests with the Real Time Messaging protocol (RTMP). The user requests access to some live stream The server replies with an RTMP session playing the desired footage For a couple reasons, FMS wasn’t a good choice for us, starting with its costs, which included the purchasing of both: Windows licenses for every machine on which we ran FMS. ~$4k FMS-specific licenses, of which we had to purchase several hundred (and more every day) due to our scale. All of these fees began to rack up.

How to Think Like a Computer Scientist Learning with Python by Allen Downey, Jeff Elkner and Chris Meyers. This book is now available for sale at Lulu.com. How to Think... is an introduction to programming using Python, one of the best languages for beginners. How to Think... is a Free Book available under the GNU Free Documentation License. Please send suggestions, corrections and comments about the book to feedback{at}thinkpython{dot}com. Download The book is available in a variety of electronic formats: Precompiled copies of the book are available in PDF and Postscript . Translations Here are some translations of the book into other (natural) languages: Spanish translation by Gregorio Inda. Other Free Books by Allen Downey are available from Green Tea Press. If you are using this book and would like to make a contribution to support my work, please consider making a donation toward my web hosting bill by clicking on the icon below.

线性代数的学习及相关资源 - 我爱公开课 本来是想写“Coursera公开课笔记: 斯坦福大学机器学习第三课“线性代数回顾(Linear Algebra Review)”的,但是这一课仅仅涉及基本的线性代数知识并且是可选(optional)的,对于多数同学应该没有任何问题。所以换一种思路写写,主要是个人的一点学习体会和以及整理了一些相关的资源链接。 关于线性代数,大学时学的时候不清楚将来有啥用,学得糊涂,忘得也快。 这种一知半解的状态最让人痛苦,后来读到了“牛人林达华推荐有关机器学习的数学书籍”这篇文章,关于线性代数,是这样写得: 1. 于是痛定思痛,决定拜师Gilbert Strang 教授,即读他的线性代数教材,也看他的授课视频,同时做课后题,一定要将线性代数拿下。 Introduction to linear algebra,3rd edition-Gilbert Strang.pdf 不过这个电子版扫描上去的,我找了好久,也没有找到一个更好的版本,如果您找到了更漂亮的版本,请在这里留言,非常感谢! 另外就是MIT线性代数公开课的视频了,有很多种方式,如果需要翻译版的,推荐网易公开课,除了提供在线观看的链接: 还有下载版本的链接提供: 不过我个人不太喜欢看中文字幕的视频,就找了verycd上的电驴ed2k链接下载了一批原始的视频,可以在这里下载: 目前已学习了一大半,虽然很耗时,但是很有效,推荐想攻克机器学习的同学试试,千万要记住,一定要做课后习题,这个很必要。 最后转载网易公开课上关于这个课程的介绍和嵌入第一课的视频,供有需要的同学参考: 课程介绍: “线性代数”,同微积分一样,是高等数学中两大入门课程之一,不仅是一门非常好的数学课程,也是一门非常好的工具学科,在很多领域都有广泛的用途。 课程主讲人:Gilbert Strang 教授 吉尔伯特-斯特朗:1934年11月27日出生,是美国享有盛誉的数学家,在有限元理论、变分法、小波分析及线性代数方面均有所建树。

Invent Your Own Computer Games with Python - Chapters Chapter 1 Read online: Chapter 1 - Installing Python Videos: Chapter 2 Read online: Chapter 2 - The Interactive Shell Chapter 3 Read online: Chapter 3 - Strings Download source: hello.py Copy source to clipboard: Use the online diff tool to find typos in your code: hello.py Chapter 4 Read online: Chapter 4 - Guess the Number Download source: guess.py Use the online diff tool to find typos in your code: guess.py Chapter 5 Read online: Chapter 5 - Jokes Download source: jokes.py Use the online diff tool to find typos in your code: jokes.py Chapter 6 Read online: Chapter 6 - Dragon Realm Download source: dragon.py Use the online diff tool to find typos in your code: dragon.py Chapter 7 Read online: Chapter 7 - Using the Debugger Chapter 8 Read online: Chapter 8 - Flow Charts Chapter 9 Read online: Chapter 9 - Hangman Download source: hangman.py Use the online diff tool to find typos in your code: hangman.py Chapter 10 Read online: Chapter 10 - Tic Tac Toe Download source: tictactoe.py Chapter 11 Download source: bagels.py

Video Lectures | Linear Algebra | Mathematics Dive Into Python 3 You are here: • Dive Into Python 3 Dive Into Python 3 covers Python 3 and its differences from Python 2. Table of Contents (expand) Also available on dead trees! The book is freely licensed under the Creative Commons Attribution Share-Alike license. you@localhost:~$ git clone © 2001–11 Mark Pilgrim RFC 6749 - The OAuth 2.0 Authorization Framework [Docs] [txt|pdf] [draft-ietf-oauth-v2] [IPR] [Errata] PROPOSED STANDARD Errata Exist Internet Engineering Task Force (IETF) D. Hardt, Ed. RFC 6749 OAuth 2.0 October 2012 Table of Contents 1. RFC 6749 OAuth 2.0 October 2012 5. RFC 6749 OAuth 2.0 October 2012 Appendix A. 1. In the traditional client-server authentication model, the client requests an access-restricted resource (protected resource) on the server by authenticating with the server using the resource owner's credentials. RFC 6749 OAuth 2.0 October 2012 o Compromise of any third-party application results in compromise of the end-user's password and all of the data protected by that password. RFC 6749 OAuth 2.0 October 2012 1.1. OAuth defines four roles: resource owner An entity capable of granting access to a protected resource. RFC 6749 OAuth 2.0 October 2012 1.2. RFC 6749 OAuth 2.0 October 2012 (E) The client requests the protected resource from the resource server and authenticates by presenting the access token. 1.3. 1.4.

Dive Into Python 选择之困惑——为何多即是少? - 幸福课 知名社会心理学教授巴里・施瓦茨(Barry Schwartz)在2005年 TED Global 大会上发表了一个演讲,专门谈到了工业化社会的选择困境,认为选择的增多并不带来幸福感的增加。 <!--more- 一、TED及其中国粉丝团 TED是什么? TED 大会现场的演讲者均有着非同寻常的经历,要么是某传统领域的佼佼者,要么是某新兴领域的开创人,要么是做出了某些足以给社会带来改观的创举。 TED中国粉丝团的构想始于2008年10月,网站正式上线是2008年11月,成立的初衷是由于创办者觉得TED演讲能给人带来很多思考和启迪,希望能把这样的声音带到中国。 我们为大家带来的TED的心理学家系列就是基于TED与TED中国粉丝团的相关文章进行的编辑和改写。 二、巴里・施瓦茨简介 1968年纽约大学文学学士,1971年宾夕法尼亚州立大学博士,是斯沃斯莫尔学院(Swarthmore College)的社会心理学和社会行为学教授,多部著作的作者。 三、施瓦茨的演讲视频及要点 关键词:幸福感,自由,选择,困境,决策 要点: 更多的选择不代表更多的自由; 更多的选择导致决策的延迟和降低的满意感; 快乐之秘诀,在于降低自己的期望值。 四、施瓦茨的演讲文摘 演讲文摘:(转自: schwartz paradox of choice/ ) 一、选择越多,并不越幸福 在工业化社会,人们通常会存在一种教条主义式的偏见,以为人们的选择越多,人们的自由度也越大,人们的福祉也会随之而增大。 过去,人们到商店买东西(比如说买牛仔裤),只有一两个品种供选择,即使自己不甚喜欢,但是买回去以后,久而久之,人们慢慢的也会爱上自己当初购买的那样商品(牛仔裤穿久了,由最初的不合身变成合身了)。 甚至于去医院看病也是如此。 现在的爸爸去看自己的孩子踢足球,身上也是带着手机、Blackberry、笔记本电脑等等通讯工具,即使是把这些电子设备都关上,我们在心底里还是会想:我有新的邮件,要不要看? 二、选择增多的后果 选择之增多给人们带来了两个后果: 一是人们选择的广度变大了,可是人们的自由度并没有变大。 施瓦茨讲到了一个例子:他有个朋友在 Vanguard 公司工作,到期退休了,公司开出一个长长的退休保险计划的清单。 二是即使我们作出了正确的选择,但是我们最终却不一定更加满足。

A Byte of Python · GitBook "A Byte of Python" is a free book on programming using the Python language. It serves as a tutorial or guide to the Python language for a beginner audience. If all you know about computers is how to save text files, then this is the book for you. For Python version 3 This book will teach you to use Python version 3. Who reads A Byte of Python? Here are what people are saying about the book: This is the best beginner's tutorial I've ever seen! The best thing i found was "A Byte of Python", which is simply a brilliant book for a beginner. Excellent gentle introduction to programming #Python for beginners -- Shan Rajasekaran Best newbie guide to python -- Nickson Kaigi start to love python with every single page read -- Herbert Feutl perfect beginners guide for python, will give u key to unlock magical world of python -- Dilip I should be doing my actual "work" but just found "A Byte of Python". Recently started reading a Byte of python. A Byte of Python, written by Swaroop. I love your book!

Book Natural Language Processing with Python – Analyzing Text with the Natural Language Toolkit Steven Bird, Ewan Klein, and Edward Loper This version of the NLTK book is updated for Python 3 and NLTK 3. 0. 1. 2. 3. 4. 5. 6. 7. 8. 9. 10. 11. 12. Bibliography Term Index This book is made available under the terms of the Creative Commons Attribution Noncommercial No-Derivative-Works 3.0 US License. Python for Fun This collection is a presentation of several small Python programs. They are aimed at intermediate programmers; people who have studied Python and are fairly comfortable with basic recursion and object oriented techniques. Each program is very short, never more than a couple of pages and accompanied with a write-up. I have found Python to be an excellent language to express algorithms clearly. Some of the ideas here originated in other programs in other languages. From many years of programming these are some of my favorite programs. Many thanks to Paul Carduner and Jeff Elkner for their work on this page, especially for Paul's graphic of Psyltherin (apologies to Harry Potter) and to the teams behind reStructured text and Sphinx to which the web pages in this collection have been adapted. Chris Meyers

Related: