📱

乔布斯和子路的段子

乔布斯曾拒绝使用氧气面罩,因为它的设计不好。

So what was Jobs thinking after his liver transplant in 2009 when he tore off his oxygen mask and told the pulmonologist he hated the mask’s design and wouldn’t wear it. “Though barely able to speak, he ordered them to bring five different options for the make and he would pick a design he liked,” Isaacson wrote.

https://www.forbes.com/sites/briancaulfield/2011/10/26/steve-jobs-bio-neither-insane-nor-great/

今天想到,中国古代也有类似的故事,子路结缨而死。

仲由将入,遇子羔将出,曰:「门已闭矣。」子路曰:「吾姑至矣。」子羔曰:「不及,莫践其难。」子路曰:「食焉不辟其难。」子羔遂出。子路入,及门,公孙敢阖门,曰:「毋入为也!」子路曰:「是公孙也?求利而逃其难。由不然,利其禄,必救其患。」按使者出,子路乃得入。曰:「太子焉用孔悍?虽捀之,必或继之。」且曰:「太子无勇。若燔台,必舍孔叔。」太子闻之,惧,下石乞、盂黶敌子路,以戈击之,割缨。子路曰:「君子死,冠不勉。」结缨而死。孔子闻卫乱,曰:「嗟乎!柴也其捥乎?由也其死矣。」孔悍竟立太子蒯聩,是为庄公。

后面这一个故事也让我联想到了「服饰政治」。尽管如此,为了追求形式情愿放弃生命,值得我们学习。

意料之外,情理之中

https://www.solidot.org/story?sid=61989

42

https://www.solidot.org/story?sid=62005

$$ 42 = (-80538738812075974)^3 + 80435758145817515^3 + 12602123297335631^3 $$

这是一个非常高深的数学问题,结果我们却可以很容易的验证,这就是数学之美。

1
2
3
4
5
6
7
(+
(expt -80538738812075974 3)
(expt 80435758145817515 3)
(expt 12602123297335631 3)
)

42
1
2
3
(-80538738812075974n) ** 3n + 80435758145817515n ** 3n + 12602123297335631n ** 3n

42n

我会两种能验证这个结果的语言。要做这种计算,语言必须支持大数运算,单纯用浮点数不行。Octave需要依靠调用Python才能进行大数运算,我很失望。

散热是电子产品永恒的话题

https://item.taobao.com/item.htm?id=532604045650&price=289-9999&sourceType=item&sourceType=item&suid=f2d9382e-983f-45a5-b1aa-95be7ac53152&ut_sk=1.WEAbUIUqlIEDAJ55Ogu5VfIK_21646297_1567958713540.Copy.1&un=c27a628f871ba14fd707d2abce2ca380&share_crt_v=1&sp_tk=4oKkWjNRRVlPVlJjZFfigqQ=&cpp=1&shareurl=true&spm=a313p.22.2gd.1063192115041&short_name=h.elikGUo&sm=658fad&app=chrome

一个Blog

https://archive.casouri.co.uk/

英文写作,字体(Source Serif Pro)和设计我觉得非常好看。站长是一位活跃在Emacs China的朋友,他的Blog我却是在emacswiki上看到的。

彩色柱状图带名字

1
2
3
4
5
6
7
8
9
10
11
12
[n e] = textread("a", "%s%f")
e -= min(e); e *= 2625.5;
[xb, yb] = bar(e, 0.6);
patch(xb, yb, [1:numel(e)], "edgecolor", "none");
xlim([0 numel(e) + 0.5]);
xbounds = xlim();
set(gca(), 'xtick', xbounds(1)+1:1:xbounds(2)+1)
set(gca(), 'xticklabel', n);
xlabel('Solvents');
ylabel('Relative Energy (kJ mol^{−1})');
colormap(ggplot2(64));
print("a.svg", "-S1320,480")

平面

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
x = [422   424   424   422   422  421   421   425   421    424];
y = [87 96 87 87 83 93 85 88 86 91];
z = [92.73 94.88 92.92 92.73 92.04 93.92 92.24 93.23 92.42 93.78];
stem3(x, y, z)
hold on
grid on
xv = linspace(min(x), max(x), 20);
yv = linspace(min(y), max(y), 20);
[X,Y] = meshgrid(xv, yv);
Z = griddata(x,y,z,X,Y);
surf(X, Y, Z);
grid on
set(gca, 'ZLim',[0 100])
shading interp;
colormap(ggplot2(64));

RMS辞职

https://www.fsf.org/news/richard-m-stallman-resigns

费曼学习法、学习金字塔