惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Stack Overflow Blog
Stack Overflow Blog
Simon Willison's Weblog
Simon Willison's Weblog
B
Blog
V
Visual Studio Blog
G
Google Developers Blog
云风的 BLOG
云风的 BLOG
S
SegmentFault 最新的问题
博客园 - 司徒正美
博客园 - 【当耐特】
T
Tenable Blog
D
Darknet – Hacking Tools, Hacker News & Cyber Security
宝玉的分享
宝玉的分享
N
Netflix TechBlog - Medium
S
Secure Thoughts
Hugging Face - Blog
Hugging Face - Blog
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
IT之家
IT之家
Google DeepMind News
Google DeepMind News
Last Week in AI
Last Week in AI
大猫的无限游戏
大猫的无限游戏
PCI Perspectives
PCI Perspectives
H
Hackread – Cybersecurity News, Data Breaches, AI and More
阮一峰的网络日志
阮一峰的网络日志
P
Privacy International News Feed
N
News and Events Feed by Topic
H
Hacker News: Front Page
MongoDB | Blog
MongoDB | Blog
Google DeepMind News
Google DeepMind News
F
Full Disclosure
Google Online Security Blog
Google Online Security Blog
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
H
Heimdal Security Blog
Project Zero
Project Zero
C
CERT Recently Published Vulnerability Notes
MyScale Blog
MyScale Blog
AI
AI
月光博客
月光博客
C
Cyber Attacks, Cyber Crime and Cyber Security
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
WordPress大学
WordPress大学
L
Lohrmann on Cybersecurity
TaoSecurity Blog
TaoSecurity Blog
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
C
CXSECURITY Database RSS Feed - CXSecurity.com
Spread Privacy
Spread Privacy
Apple Machine Learning Research
Apple Machine Learning Research
GbyAI
GbyAI
SecWiki News
SecWiki News
C
Cisco Blogs
The Last Watchdog
The Last Watchdog

夜行人

回家路上 第一期的直播演示项目 震动检测器 正能量 在线参观CodeLab Neverland 发布 CodeLab Adapter 3.3.1 DynamicTable 之 纸糊方向盘 CodeLab DynamicTable: 一个可实施的技术方案 CodeLab Insight 发布 Alpha 版 情人节 Home Assistant 周报 && IoT 周报 (02) Joplin: 关注隐私的 Evernote 开源替代软件 浏览器的未来与 Web 传感器 Home Assistant 周报 && IoT 周报 (01) 百宝箱(01) 论自由 介绍 WebThings Home Assistant 周报 && iot 周报 (00) 百宝箱(00) 毛姆读书心得 传世之作 周末徒步 CodeLab Adapter ❤️ Jupyter/Python 航班 躲雨 夏令营途中 [译]思想--作为一种技术 The future of coding 美国之行 三门问题的程序模拟 从Python转向Pharo https://blog.just4fun.site/post/iot/iot-open-source-projects/ Python异步编程笔记 https://blog.just4fun.site/post/iot/iot-open-source-hardware-community/ 万物积木化开发者社区 CodeLab ❤️ Blender Scratch3技术分析之云变量 API(第7篇) [译]对管道(Pipes)的偏爱 [译]提出正确的问题比得到正确答案更重要 蓝牙设备与Scratch3.0 创建你的第一个Scratch3.0 Extension Scratch3技术分析之项目内部数据(第6篇) Scratch3技术分析之社区 API(第5篇) Scratch3技术分析之User API(第4篇) Scratch3技术分析之项目主页API(第3篇) Scratch3技术分析之静态资源API(第2篇) Scratch3.0、micro:bit与Windows7 https://blog.just4fun.site/post/iot/zerynth-vs-micropython/ 核聚变、方所与半宅空间 可视化编程为何是个糟糕的主意 codelab.club周末聚会 关于codelab.club '下一件大事'是一个房间 Hungry Robot - Eat everything 编程作为一种思考方式 今日简史 史蒂夫·乔布斯传 罗素自选文集 https://blog.just4fun.site/post/edx/tianjin-scratch-ai/ https://blog.just4fun.site/post/edx/richie-cms-openedx/ 徒步武功山 WebUSB与micro:bit 积木化编程与3D场景 夜宿武功山顶 scratch3-adapter接入优必选Alpha系列机器人 https://blog.just4fun.site/post/edx/video-migration-note/ scratch3-adapter重构笔记 https://blog.just4fun.site/post/edx/edx-community-members/ 两种硬件编程风格的比较 使用micro:bit自制PPT翻页笔 柏拉图对话集 scratch3.0 + micro:bit 七月电影放映计划 非营利组织的管理 Screenly--用树莓派让任何屏幕变为可编程的数字标牌 以最佳实践开始你的Django项目 micro:bit与事件驱动 为Scratch3.0设计的插件系统(上篇) OCR应用一例 近两年读过的一些好书 blockly开发之使用python驱动浏览器中的turtle(2) 牛顿新传 文学理论入门 逻辑的引擎 人生的意义 blockly开发之生成并运行js代码(1) blockly开发之hello world(0) micro:bit使用笔记 神器之Termux https://blog.just4fun.site/post/iot/micropython-notes/ Cozmo what is this Scratch的前世今生 下段旅程 我行在远方 爆裂 途中杂记 https://blog.just4fun.site/post/edx/open-edx-startup/ cozmo系列之入门 - 有性格且可编程的机器人 PaperWeekly开发笔记 创业二三事
jupyter使用小结
2016-02-26 · via 夜行人

jupyter(之前的ipython notebook)于我的最大意义在于,让学习进程和探索进程变得可累积,正如它的原先名字中的notebook所暗示的那样,作为学习的记录者,方便你随时捡起学习的进度,增量式地前进

李笑来在《把时间当做朋友》里说

相信积累的力量,本质上就是相信复利的力量

每天进步一点,一年下来,最终的收获就是365点,这是莎士比亚的算法–以为应该用简单加法计算;
实际上,如若真的每天进步一点点,一年下来,你的收获最终很可能是S = P*(1 + i)^365,看你每天进步的是多少(i)(如果i变化你应该用∑求和),看你起步时的实力如何(P)–这是夏洛克的算法,那可是指数级增长。

而我们知道,技术和知识的增长曲线往往以指数形式。所有已掌握的知识/技术都将帮助你探索新的知识。这便是经济学上复利玩的魔法

所以常常,我们看到巨人随手扔下的鹅软石都是巨石,此处可以弹幕飘过一串名字:John McCarthy、Kenneth Lane Thompson、Linus Torvalds

一以当千的一群人

#介绍

#安装 pip install jupyter

如果在windows下直接装anaconda吧!不想折腾的你在任何平台下都可以装anaconda

#使用

1
2
3
4
5
6
7
8
:::text
jupyter notebook 
jupyter notebook --no-browser
jupyter notebook --port 9999
jupyter notebook --help
jupyter notebook --ip=0.0.0.0 #外部访问

#常用:jupyter notebook --no-browser --port 5000 --ip=0.0.0.0 

###rich output

1
2
3
4
:::text
from IPython.display import HTML, Image, YouTubeVideo
from IPython.display import Image
Image(url='http://python.org/images/python-logo.gif')

数学公式

在jupyter中写markdown,支持mathjax,$$e=mc^2$$

###书签 %bookmark -l #结合cd使用,方便切换目录

#配置

  • ipython locate : 查看配置
  • jupyter notebook –generate-config : 如果没有~/.jupyter/jupyter_notebook_config.py,则执行这条命令,之后在此做配置

vim ~/.jupyter/jupyter_notebook_config.py

1
2
# The directory to use for notebooks.这决定了jupyter启动目录
c.NotebookApp.notebook_dir = u'/path/to/your/notebooks'

#文档

#ipynb

#使用jupyter写ppt jupyter-nbconvert --to slides How-to.ipynb --reveal-prefix '//cdn.bootcss.com/reveal.js/3.2.0' --output slides

参考how-to

这是我用jupyter写的ppt:presentation-edx (Open edX Beijing meetup上的一个分享)

#IPython kernels for other languages

实验特性:jupyterlab

增强jupyter的编辑能力(强烈推荐!),使jupyter如IDE一般强大

  • pip install jupyterlab
  • jupyter serverextension enable –py jupyterlab
  • jupyter lab –notebook-dir="."

###我关注的

#资源汇总

###我喜欢的

zmq相关问题

sudo pip install pyzmq –upgrade

文章作者 种瓜

上次更新 2016-02-26