-
`MathJax`使用了 `cloudflare` 的 CDN `https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.7/latest.js?config=TeX-AMS-MML_HTMLorMML`
但是现在,此JS文件(在大陆)已经不可以访问。
可以在 `conf.py` 中增加
```
mathjax_path = 'https:…
-
Browser: Chrome Version 90.0.4430.72 (Official Build) (x86_64)
```
Mixed Content: The page at 'https://www.ysagade.nl/2015/04/12/sicp-change-growth/' was loaded over HTTPS, but requested an insecu…
-
The logic programming patterns in section 4.4 used `?foo` for variables in Scheme and `$foo` in JS.
That's a great choice, as dollar is the only punctuation char valid in JS identifiers, and alludes …
-
각 글마다 변경 히스토리를 볼 수 있다.
-
When we face a new language, we mainly consider the following **three aspects** (from SICP lecture-1a).
1. What are the basic elements (primitives)?
2. Ways to combine these primitives
3. Methods…
-
txx18 updated
2 years ago
-
### 数字定义
```python
def _0(s,z):
return z
def _1(s,z):
return s(z)
def _2(s,z):
return s(s(z))
def _3(s,z):
return s(s(s(z)))
_4 = lambda s,z:s(s(s(s(z))))
_5 = lambd…
leozp updated
4 years ago
-
I don't know if you are looking for feedback or not. If not, ignore this. I have used your answers when I get stuck or am looking for alternative implementations.
https://github.com/ivanjovanovic/s…
-
### 装饰器
Decorator,简单说就是把被装饰的函数作为参数,传递给与装饰器对应的函数。
```python
def a(x):
retuirn x
@a
def b():
print("test")
```
本质上是语法糖
### 什么是闭包
闭包是一类特殊的函数。如果一个函数定义在另一个函数的作用域中,并且函数中引用了外部函数的局部变量(自由变量)…
leozp updated
4 years ago
-
To locally make this project (on macOS 10.15.6) with the [`texi2any`](https://github.com/muzimuzhi/sicp/blob/master/texi2any) file located in this repo, I have to set `PERL5LIB=/usr/local/opt/texinfo`…