Artists memo

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
		Medici
		乔托_迪_邦多纳
1452-1519	Leonardo da Vinci 达芬奇
			萨莱
1483-1520	Raffaello Sanzio da Urbino 拉斐尔
			披纱巾的少女
1475-1564	Michelangelo Buonarroti 米开朗基罗
		米开朗基罗_梅里西_达_卡拉瓦乔
			老千
			召唤使徒马太
		Benvenuto Cellini 切利尼
			珀尔修斯
		乔凡尼_洛伦佐_贝尼尼
			普鲁托和普洛塞尔皮娜
		提香_韦切利奥
 
1599-1660	Velasquez 委拉斯凯兹
			宫娥
1746-1828	弗朗西斯_戈雅/1808年拿破仑攻破西班牙
			查理四世一家
			The Execution of the Defenders of Madrid 1808
1881-1973	Pablo Picasso 毕加索
			格尔尼卡
 
		汉斯_荷尔拜因/英王亨利八世
1815-1905	阿道夫_冯_门采尔
			素描比照片有神
1836-1893	John Atkinson Grimshaw 格里姆肖
			The Sere and Yellow Leaf
 
		普桑
			The Abduction of the Sabine Women
		鲁本斯
			The Elevation of the Cross
		弗朗索瓦_布歇
		让_奥诺雷_弗拉戈纳尔
			The Happy Accidents of the Swing
		安格尔
			泉
		欧仁_德拉克罗瓦
			自由引导人民
		雅克_路易_大卫/neoclassic
			马拉之死
			加冕礼
 
1864-1943	卡密儿_克劳岱尔
		奥古斯特_罗丹
			思想者
		梵高
			星空
		高更
			我们从哪里来?我们是谁?我们到哪里去?
		让_弗朗索瓦_米勒/巴比松村
			The Cleaners 拾穗者
			晚祷
		享利_德_图克兹_劳特雷克
			红墨坊
		苏珊娜_瓦拉东
		雷诺阿
		卡米耶_毕沙罗
		爱德华_霍普
		乔治_修拉
			大碗岛的星期天下午
		爱德华_马奈
			草地上的午餐
		埃贡_席勒
		埃德加_德加
			芭蕾
		奥斯卡_克劳德_莫奈
			日出印象
			撑伞的女人
			睡莲
		保罗_塞尚
			苹果
 
		玛丽_路易斯_伊丽莎白_维瑞_勒布伦/玛丽皇后
		阿尔布雷特_丢勒
			selfie
 
1632-1675	Johannes Vermeer 维米尔/运用小孔成像作画
			Girl with a Pearl Earring 戴珍珠耳环的少女
		伦勃朗_梵_莱茵
			夜巡
		Jan Frederik Pieter Portielje 波蒂列耶
 
		巴尔蒂斯
		劳伦斯_阿尔玛_塔德玛
		奥蒂诺_雷东
 
		哈德逊河画派
			艾伯特 比尔兹塔德
		特伦特_古德姆森

refer to:
艺术八封说(美上美学)
https://www.mei-shu.com/famous/26944/artistic-171655.html

hollywood memo

1
2
3
4
5
6
7
8
9
1924-2004	Marlon Brando 马龙_白兰度/码头风云/教父/巴黎最后的探戈
1940-		Al Pacino 阿尔_帕西诺
1963-		Johnny Depp 约翰尼_德普
1972-		Jude Law 裘德_洛
1901-1960	Clark Gable 克拉克_盖博
1957-		Daniel Day Lewis 丹尼尔_戴_刘易斯
1937-		Anthony Hopkins 安东尼_霍普金斯
1956-		Tom Hanks 汤姆_汉克斯
1974-		Leonardo DiCaprio 莱昂纳多_迪卡普里奥

refer to:
小游说影星

Guitar memo

1
2
3
4
5
6
7
8
9
10
大三度:C F G
纯四度:除F
纯五度:除B
大六度:C D F G
大七度:C F
 
6	--4->		5
6	<-2--		4
6	-b3->		3
6	--5->		2

1
2
3
4
5
6
两音独一线
上线退一品
偶起空一格
 
二五三六四
用田九田曲




refer to:
freedom哈
丹尼尔-大胡子老师
https://www.jitashe.org/tab/1306156/

weird wildcards in format string argument of printf

to output in decimal notation of a char variable, we write like this

1
2
char a1 = 'a';
printf("a1 is [%d].\n", a1);

in the way we output an int variable.

but when we output a long variable, we must write like below reluctantly

1
2
3
#need to test in gcc.
long l1 = 123456789;
printf("l1 is [%ld].\n", l1);

don't say byte alignment.

avoid rebuilding all in vs2010 everytime

  1. remove all nonexisted files in vs2010 project tree view by double clicking one by one.
  2. remove readonly attributes of file in explorer project directory recursively.
  3. reset all modify times to recent by

    1
    
    find . | xargs touch {}
  4. reboot system.

open sourced pdf reader

Windows lacks non money smell softwares.

If we encouter warning C4819 when building, change system setting 'Language for non-Unicode programs' to 'US/English' and reboot.

https://www.sumatrapdfreader.org/docs/Contribute-to-SumatraPDF
https://github.com/sumatrapdfreader/sumatrapdf

Tricks,

SumatraPDF.exe -invert-colors

refer to:
https://www.cnblogs.com/Steven-HU/p/14547749.html
https://www.cnblogs.com/chenxi188/p/15585702.html

can't trace heap memory while debug with exe dump

many projects using MiniDumpWriteDump generate executable dump file while exe is corrupted.

but usually they couldn't analysis the malloc-ed or new-ed variables with the dump file.

using MiniDumpWithFullMemory argument instead of MiniDumpNormal to call MiniDumpWriteDump will complement us.

references to including header

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#include <memory>
unique_ptr
shared_ptr
enable_shared_from_this
 
#include <algorithm>
remove
find
remove_if
find_if
 
#include <sstream>
istringstream
ostringstream
stringstream
 
#include <stdint.h>
int64_t
 
#include <unistd.h>
sleep

日语生词

伴う(ともなう) 伺う(うかがう) 疑う(うたがう)
発展(はってん)
掲げる(かかげる)
道化(どうけ) おどける
竜巻(たつまき)
通常(つうじょう)
俗語(ぞくご)
妥当(だとう) 例え(たとえ)
不細工(ぶさいく)
苦手(にがて)
償い(つぐない) 尽(つ)くす 少ない(すくない)
奢る(おごる) 起こす(おこす)
浮気(うわき)
掴める(つかめる)
網(あみ)
出鱈目(でたらめ)
凍(こご)える
曾(かつ)て
偉(えら)がる
支(つか)え
絶(た)える 绝望(ぜつぼう) 希望(きぼう)
慰(なぐさ)める
殴(なぐ)る
語(かた)る
蛍(ほたる)
貪(むさぼ)る
妖(およずれ)
争(あらそ)う
逆(さか)らい
競(くら)
刺激(しげき)
あり得(え)る			- maybe
ならない			- 决不
教(おそ)わる
呆(あき)れる
いきなり
くわえる
やけに				- very
微(かす)かに			- slightly
お似合(おにあ)い		- fit you
さり気(げ)ない		- 若无其事
やり取(と)り			- 交谈
呼(び)戻(もど)す
何もかも			- totally
やすらぎ【安らぎ】		- peace
足(あし)を運(はこ)ぶ	- visit
束(つか)の間(ま)		- 一刹那
脆(もろ)い
役員の務(つ)める
劣(おと)る
食あたり
汚染(おせん)
汚(よご)れ
衛星(えいせい)
占(うらな)う
煙(けむり)
 
無駄			浪费,徒劳
自慢			自夸,自大,骄傲,得意
我慢			我慢,自高,傲慢;忍耐,忍受,容忍,自制;饶恕,原谅;将就,克服,让步;顽固
勝手(かって) 	任意;随便,为所欲为,只顾个人方便;专断;厨房;情况;生活;方便
怪我			伤,受伤,负伤,过错,过失;伤害
無茶			毫无道理,岂有此理『成』。胡乱,胡来,乱来,离谱,格外。(坏的)程度不寻常
左様			然様
 
人の分まで食べる。
いつまで追いかけるの?
海のよりもまだ深く。
 
子供が母親に甘える。
慣(な)れ親(した)しんで人懐(なつ)こくする。
あて处なく火をつけた昼花火。
 
文句言うなよ?
 
ほろよい
 
はなします
お話しします
 
弟は新しい靴を欲しがっている。
弟は新しい靴を欲しがらない。
 
その子供はジュースを飲みたがっていた。
その子供はジュースを飲みたがらない。
 
李さんはその本が欲しいらしい(ようだ・と言っています)。
 
いつも聞こえてた
いつも聞かせてくれてた
 
帰れない
帰らない
 
不思議なくらい
このままでは終らんぞ

refer to:
毛毛酱呀 riyu0122
https://www.zhihu.com/question/508707156/answer/2361329391

Garden Path Sentence Collection

Time flies like an arrow.
Fruit flies like a banana.

A: Time flies.
B: You can't. They go too fast.

The old man the boat.

With the right selections, future capital gains, helped by the power of compounding, can be very substantial indeed.

Investment is the art of the specific and selection is far more important than timing.

It is no mean achievement.
这不是平均业绩。

This book owes its existence to many people.
这本书的存在归功于许多人。

As it is tradition, I try limit changes of the host operating system to a minimum, but provide enough details, that even Linux rookies are able to participate.

I scream, you scream, everybody screams for ice cream.

I'm out of my mind, on the left side of my brain, nothing is right, on the right side of my brain, nothing is left.

The widely-shared meme at the top of this article not too subtly likens the uniforms to Pelikan erasers.

He only cried bitterly all day; and, when the long, dismal night came on, spread his little hands before his eyes to shut out the darkness, and crouching in the corner, tried to sleep: ever and anon waking with a start and tremble, and drawing himself closer and closer to the wall, as if to feel even its cold hard surface were a protection in the gloom and loneliness which surrounded him.

Tell you what, if I did have tits, I wouldn't mind letting someone have a go on them for a ride in a helicopter.

I've actually been looking forward to seeing this.

Yeah? You wanna come round to mine?

Mine is broken but I think that maybe I'll just watch it...

Excellent, that's settled! I'll get my PA to phone you with my name and address.

Well, what's good for the goose is good for the gander.

Terrible isn't it? Every year it gets worse.

I wonder when they will decide just to get it over with and kill us.

He's long gone, although Roy's got a man date with him.

You'd willingly spend time with Douglas?

I really have to see this film soon.

The regret of no recent separation was fresh in his mind; the absence of no loved and well-remembered face sank heavily into his heart.

A lot of people'd be confused as to why I invited them up, then asked them to leave. Not you.

A person needs a lot of backbone to allow to be ordered around like that.

That was the old me. This is the new me.

I should say that I have problems processing big news.

I mean, you don't wanna be stuck here for the rest of your life.

Physically You are not the sort of man I go for.

Does grapes even go with Pizza?

You guys will probably be glad to see the back of me.

Ten minutes in and you're already paid for yourself.

I will handle it.

Unless he's so angry that he does it out of spite.

I'm going to taint her abode. I'm going to strain my personal potatoes throughout her premises.

Wanley lived on the edge of poverty all his life.

The biggest adventure you can ever take is to live the life of your dreams.

Maybe it'd be a good idea if you two contributed to this. I think it would give you experience in writing a speech for a public figure.

In our line of work that would be handy. But you know what, Jen? I'm actually snowed under here.

We should totally write that speech! Offer to write the speech for Jen. She'll know something's up if I do it. She will say anything we tell her to. We can put any old bollocks in that speech, and she shall repeat it. It's going to be hilarious.

We don't want to sound too smug.

why don't we do something to raise money for people live Dave?

food and kindred products

what he felt was more akin to pity than love.

He comes of good kin.

In a skirmish between two factions.

refer to:
侃哥侃英语
留学云水间