forked from selfteaching/the-craft-of-selfteaching
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
60 changed files
with
216 additions
and
169 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,7 +53,7 @@ | |
"\n", | ||
"在大学任职期间,乔治・布尔写了两本教科书,一本讲微分方程,另外一本讲差分方程,而前者,[A TREATISE ON DIFFERENTIAL EQUATIONS](https://archive.org/details/atreatiseondiff06boolgoog/page/n7),直到今天,依然难以超越。\n", | ||
"\n", | ||
"![george-boole-1864](images/george-boole-in-1864.png)\n", | ||
"![george-boole-1864](images/george-boole-in-1864.png?raw=true)\n", | ||
"\n", | ||
"乔治・布尔于 1864 年因肺炎去世。\n", | ||
"\n", | ||
|
@@ -63,7 +63,7 @@ | |
"\n", | ||
"2015 年,乔治・布尔诞辰 200 周年,Google 设计了[专门的 Logo](https://www.google.com/doodles/george-booles-200th-birthday) 纪念这位为人类作出巨大贡献的自学奇才。\n", | ||
"\n", | ||
"![george-boole-google-doodle-2015](images/george-boole-google-doodle-2015.gif)\n", | ||
"![george-boole-google-doodle-2015](images/george-boole-google-doodle-2015.gif?raw=true)\n", | ||
"\n", | ||
"Google Doodle 的寄语是这样的:\n", | ||
"\n", | ||
|
@@ -216,7 +216,7 @@ | |
"\n", | ||
"**注意**:它们全部是小写。因为布尔值只有两个,所以布尔运算结果只有几种而已,如下图所示:\n", | ||
"\n", | ||
"![](images/boolean-operators.png)\n", | ||
"![](images/boolean-operators.png?raw=true)\n", | ||
"\n", | ||
"先别管以下代码中 `print()` 这个函数的工作原理,现在只需要关注其中布尔运算的结果:" | ||
] | ||
|
@@ -258,7 +258,7 @@ | |
"source": [ | ||
"千万不要误以为布尔运算是*理科生*才必须会、才能用得上的东西…… 文理艺分科是中国的特殊分类方式,真挺害人的。比如,设计师们在计算机上创作图像的时候,也要频繁使用*或与非*的布尔运算操作才能完成各种图案的拼接…… 抽空看看这个网页:[Boolean Operations used by Sketch App](https://sketchapp.com/docs/shapes/boolean-operations/) —— 这类设计软件,到最后是每个人都用得上的东西呢。另,难道艺术生不需要学习文科或者理科?—— 事实上,他们也有文化课……\n", | ||
"\n", | ||
"![](images/[email protected])\n", | ||
"![](images/[email protected]?raw=true)\n", | ||
"\n" | ||
] | ||
}, | ||
|
@@ -697,7 +697,7 @@ | |
"\n", | ||
"在很多其他的语言中,比如,JavaScript,用大括号 `{}` 作为语句块标示 —— 这是 Python 比较特殊的地方,它组织语句块的方式如下图所示:\n", | ||
"\n", | ||
"![](images/python-leading-space.png)\n", | ||
"![](images/python-leading-space.png?raw=true)\n", | ||
"\n", | ||
">**注意**:在同一个文件里,不建议混合使用 Tab 和 Space;要么全用空格,要么全用制表符。" | ||
] | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.