-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
586 lines (350 loc) · 16.7 KB
/
index.html
File metadata and controls
586 lines (350 loc) · 16.7 KB
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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
<!DOCTYPE HTML>
<html>
<head><meta name="generator" content="Hexo 3.8.0">
<meta charset="utf-8">
<title>A creative expression</title>
<meta name="author" content="generalibm">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<meta property="og:site_name" content="A creative expression">
<meta property="og:image" content="">
<!-- CSS -->
<link rel="stylesheet" href="/css/themes/bootstrap.css" media="screen" type="text/css">
<link rel="stylesheet" href="/css/font-awesome.css" media="screen" type="text/css">
<link rel="stylesheet" href="/css/style.css" media="screen" type="text/css">
<link rel="stylesheet" href="/css/responsive.css" media="screen" type="text/css">
<link rel="stylesheet" href="/css/highlight.css" media="screen" type="text/css">
<link rel="stylesheet" href="/css/highlight-default.min.css" media="screen" type="text/css">
<link rel="stylesheet" href="/css/google-fonts.css" media="screen" type="text/css">
<link rel="stylesheet" href="/css/comment.css" media="screen" type="text/css">
<!--[if lt IE 9]>
<script src="//html5shiv.googlecode.com/svn/trunk/html5.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.9/es5-shim.min.js"></script>
<script src="https://cdnjs.cloudflare.com/ajax/libs/es5-shim/4.5.7/es5-sham.min.js"></script>
<![endif]-->
<script src="/js/jquery-2.0.3.min.js"></script>
<script src="/js/marked.js"></script>
<script src="/js/comment.js"></script>
<script src="/js/timeago.min.js"></script>
<script src="/js/highlight.min.js"></script>
<script src="/js/spin.min.js"></script>
<!-- analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
ga('create', '', 'auto');
ga('send', 'pageview');
</script>
<script>
var _hmt = _hmt || [];
(function() {
var hm = document.createElement("script");
hm.src = "//hm.baidu.com/hm.js?";
var s = document.getElementsByTagName("script")[0];
s.parentNode.insertBefore(hm, s);
})();
</script>
</head>
</html>
<body>
<nav id="main-nav" class="navbar navbar-inverse navbar-default navbar-fixed-top" role="navigation">
<div class="container">
<button type="button" class="navbar-header navbar-toggle" data-toggle="collapse" data-target=".navbar-collapse">
<span class="sr-only">Toggle navigation</span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
<a class="navbar-brand" href="/">A creative expression</a>
<div class="collapse navbar-collapse nav-menu">
<ul class="nav navbar-nav">
<li>
<a href="/archives" title="All the articles.">
<i class="fa fa-archive"></i>Archives
</a>
</li>
<li>
<a href="/categories" title="All the categories.">
<i class="fa fa-folder"></i>Categories
</a>
</li>
<li>
<a href="/tags" title="All the tags.">
<i class="fa fa-tags"></i>Tags
</a>
</li>
<li>
<a href="/about" title="About me.">
<i class="fa fa-user"></i>About
</a>
</li>
</ul>
</div>
</div> <!-- container -->
</nav>
<div class="clearfix"></div>
<div class="container">
<div class="content">
<div class="page-header page-header-inverse ">
<h1 class="title title-inverse ">A creative expression</h1>
</div>
<div class="row page">
<div class="col-md-9">
<div class="slogan">
<i class="fa fa-heart"></i>
God made the integers, all else is the work of man.
</div>
<div id="top_search"></div>
<div class="mypage">
<!-- title and entry -->
<!-- render top articles firstly -->
<!-- render other articles -->
<!-- display as entry -->
<h3 class="title">
<div class="date"> 2021-04-04 </div>
<div class="article-title"><a href="/2021/04/04/cs61c-introduction/">cs61c introduction</a></div>
</h3>
<div class="entry">
<div class="row">
<h3 id="Course-information"><a href="#Course-information" class="headerlink" title="Course information"></a>Course information</h3><ul>
<li><p><a href="https://cs61c.org/sp21/" target="_blank" rel="noopener">course homepage</a></p>
</li>
<li><p><a href="https://www.bilibili.com/video/BV1jy4y1E7AY?p=14&spm_id_from=pageDriver" target="_blank" rel="noopener">video</a></p>
</li>
</ul>
<h3 id="Source-code"><a href="#Source-code" class="headerlink" title="Source code"></a>Source code</h3><ul>
<li><a href="https://github.com/61c-teach" target="_blank" rel="noopener">cs61-teach</a></li>
</ul>
<h3 id="Reference"><a href="#Reference" class="headerlink" title="Reference"></a>Reference</h3><ul>
<li><a href="https://github.com/maksir98/cs61c" target="_blank" rel="noopener">code sharing from github</a></li>
<li><a href="https://github.com/haohuaijin/CS61C" target="_blank" rel="noopener">code sharing from github</a></li>
<li><a href="https://zhuanlan.zhihu.com/p/346676981" target="_blank" rel="noopener">experience sharing from zhihu</a></li>
</ul>
</div>
<a type="button" href="/2021/04/04/cs61c-introduction/#more" class="btn btn-default more">Read More</a>
</div>
<!-- display as entry -->
<h3 class="title">
<div class="date"> 2021-02-24 </div>
<div class="article-title"><a href="/2021/02/24/Translation-Blocking-IO-Nonblocking-IO-and-Epoll/" title="This post explains epoll usage and differences between blocking and nonblocking IO.">[Translation] Blocking IO Nonblocking IO and Epoll</a></div>
</h3>
<div class="entry">
<div class="row">
<p>In <a href="https://eklitzke.org/blocking-io-nonblocking-io-and-epoll" target="_blank" rel="noopener">this post</a> I want to explain exactly what happens when you use nonblocking I/O. In particular, I want to explain:</p>
<ul>
<li><p>The semantics of setting <code>O_NONBLOCK</code> on a file descrpter using <code>fcntl</code></p>
</li>
<li><p>How nonblocking I/O is different from asynchronous I/O</p>
</li>
<li><p>Why nonblocking I/O is frequently used in conjunction with I/O multiplexers like <code>select</code>, <code>epoll</code>, and <code>kqueue</code></p>
</li>
<li><p>How nonblocking mode interacts with edge-triggered polling with <code>epoll</code></p>
</li>
</ul>
<blockquote>
<p> 在这篇博文中,我想解释当使用 非阻塞IO 时确切发生了什么。具体地,我想解释:</p>
<ul>
<li><p>在一个文件描述上使用 <code>fcntl</code> 为其设置 <code>O_NONBLOCKING</code> 标志的那些语义</p>
</li>
<li><p>非阻塞IO 与 异步IO 如何不同</p>
</li>
<li><p>为什么 非阻塞IO 经常和 IO复用,如<code>select</code>, <code>epoll</code> 或 <code>kqueue</code> 一起使用</p>
</li>
<li><p>非阻塞模式如何与 <code>epoll</code> 边沿触发 (edge-trigered) 轮训方式交互</p>
</li>
</ul>
</blockquote>
</div>
<a type="button" href="/2021/02/24/Translation-Blocking-IO-Nonblocking-IO-and-Epoll/#more" class="btn btn-default more">Read More</a>
</div>
<!-- display as entry -->
<h3 class="title">
<div class="date"> 2021-02-08 </div>
<div class="article-title"><a href="/2021/02/08/OEC-Friendship-and-Intimacy/">[OEC] Friendship and Intimacy</a></div>
</h3>
<div class="entry">
<div class="row">
<h2 id="Friendship-and-Intimacy"><a href="#Friendship-and-Intimacy" class="headerlink" title="Friendship and Intimacy"></a>Friendship and Intimacy</h2><h3 id="Introduction"><a href="#Introduction" class="headerlink" title="Introduction"></a>Introduction</h3><p>Friendship clearly plays an important role in our life. However, people sometimes get confused and tired in an intimate relationship, and then even choose to stay far away from friendship. What’s your idea of friendship and intimacy? Let’s talk about them tonight!
</p></div>
<a type="button" href="/2021/02/08/OEC-Friendship-and-Intimacy/#more" class="btn btn-default more">Read More</a>
</div>
<!-- display as entry -->
<h3 class="title">
<div class="date"> 2021-02-05 </div>
<div class="article-title"><a href="/2021/02/05/OEC-Critical-Thinking/">[OEC] Critical Thinking</a></div>
</h3>
<div class="entry">
<div class="row">
<h2 id="Critical-Thinking"><a href="#Critical-Thinking" class="headerlink" title="Critical Thinking"></a>Critical Thinking</h2><h3 id="Introduction"><a href="#Introduction" class="headerlink" title="Introduction"></a>Introduction</h3><p>We all engage in the process of reasoning, but we donot always pay attention to whether we are doing it well. Not many people can easily</p>
<ul>
<li><p>Identify flaws in arguments,</p>
</li>
<li><p>analyze the reasoning in newspaper articles, books and speeches,</p>
</li>
<li><p>assess the credibility of evidence and authorities,</p>
</li>
<li><p>make sound decisions and solve dilemmas,</p>
</li>
<li><p>approach any topic with the ability to reason and thinking critically.</p>
</li>
</ul>
<p>And that is why we introduce <strong>critical thinking</strong> as our topic today, hoping we could think critically and be not confused about the situation we are in.
</p></div>
<a type="button" href="/2021/02/05/OEC-Critical-Thinking/#more" class="btn btn-default more">Read More</a>
</div>
<!-- display as entry -->
<h3 class="title">
<div class="date"> 2021-02-04 </div>
<div class="article-title"><a href="/2021/02/04/Paper-The-Overview-of-Reading-Paper/">[Paper] The Overview of Reading Paper</a></div>
</h3>
<div class="entry">
<div class="row">
<h3 id="Introduction"><a href="#Introduction" class="headerlink" title="Introduction"></a>Introduction</h3><p>Reading an academic paper is not an easy job, you may lose in the forest of trees. So methods are highly need to effectively tackle the issue. However, the key of them is to figure out the main ideas of the researchers, such as <strong>background</strong>, <strong>objective</strong>, <strong>method</strong>, <strong>results</strong>, <strong>and conclusion</strong>.</p>
</div>
<a type="button" href="/2021/02/04/Paper-The-Overview-of-Reading-Paper/#more" class="btn btn-default more">Read More</a>
</div>
</div>
<!-- pagination -->
<div>
<center>
<div class="pagination">
<ul class="pagination">
<li class="prev disabled"><a><i class="fa fa-arrow-circle-o-left"></i>Prev</a></li>
<li><a href="/"><i class="fa fa-home"></i>Home</a></li>
<li class="next"> <a href="/page/2/" class="alignright next">Next<i class="fa fa-arrow-circle-o-right"></i></a> </li>
</ul>
</div>
</center>
</div>
</div> <!-- col-md-9 -->
<div class="col-md-3">
<div id="sidebar">
<div id="site_search">
<div class="form-group">
<input type="text" id="local-search-input" name="q" results="0" placeholder="Search" class="st-search-input st-default-search-input form-control">
</div>
<div id="local-search-result"></div>
</div>
<div class="widget">
<h4>Categories</h4>
<ul class="tag_box inline list-unstyled">
<li><a href="/categories/OEC/">OEC<span>2</span></a></li>
<li><a href="/categories/Paper/">Paper<span>1</span></a></li>
<li><a href="/categories/Tech/">Tech<span>11</span></a></li>
<li><a href="/categories/Thinking/">Thinking<span>2</span></a></li>
<li><a href="/categories/Translation/">Translation<span>5</span></a></li>
<li><a href="/categories/Writing/">Writing<span>0</span></a></li>
</ul>
</div>
<div class="widget">
<h4>Tag Cloud</h4>
<ul class="tag_box inline list-unstyled">
<li><a href="/tags/protobuf/">protobuf<span>1</span></a></li>
<li><a href="/tags/lifetime-rule/">lifetime rule<span>1</span></a></li>
<li><a href="/tags/overflow/">overflow<span>1</span></a></li>
<li><a href="/tags/cpp2-0/">cpp2.0<span>1</span></a></li>
<li><a href="/tags/cs61c/">cs61c<span>1</span></a></li>
<li><a href="/tags/borrowing-rule/">borrowing rule<span>1</span></a></li>
<li><a href="/tags/Online-English-Corner/">Online English Corner<span>2</span></a></li>
<li><a href="/tags/rust/">rust<span>1</span></a></li>
<li><a href="/tags/Epoll/">Epoll<span>1</span></a></li>
<li><a href="/tags/linux/">linux<span>1</span></a></li>
<li><a href="/tags/AI/">AI<span>1</span></a></li>
<li><a href="/tags/VPN/">VPN<span>1</span></a></li>
<li><a href="/tags/dissertation/">dissertation<span>1</span></a></li>
<li><a href="/tags/AWS/">AWS<span>1</span></a></li>
<li><a href="/tags/Eulogy/">Eulogy<span>1</span></a></li>
<li><a href="/tags/cpp/">cpp<span>1</span></a></li>
<li><a href="/tags/Trusted-Computing/">Trusted Computing<span>1</span></a></li>
<li><a href="/tags/server/">server<span>1</span></a></li>
<li><a href="/tags/High-Performance/">High-Performance<span>1</span></a></li>
<li><a href="/tags/rCore/">rCore<span>4</span></a></li>
</ul>
</div>
<div class="widget">
<h4>Recent Posts</h4>
<ul class="entry list-unstyled">
<li>
<a href="/2021/04/04/cs61c-introduction/"><i class="fa fa-file-o"></i>cs61c introduction</a>
</li>
<li>
<a href="/2021/02/24/Translation-Blocking-IO-Nonblocking-IO-and-Epoll/" title="This post explains epoll usage and differences between blocking and nonblocking IO."><i class="fa fa-file-o"></i>[Translation] Blocking IO N...</a>
</li>
<li>
<a href="/2021/02/08/OEC-Friendship-and-Intimacy/"><i class="fa fa-file-o"></i>[OEC] Friendship and Intimacy</a>
</li>
<li>
<a href="/2021/02/05/OEC-Critical-Thinking/"><i class="fa fa-file-o"></i>[OEC] Critical Thinking</a>
</li>
<li>
<a href="/2021/02/04/Paper-The-Overview-of-Reading-Paper/"><i class="fa fa-file-o"></i>[Paper] The Overview of Rea...</a>
</li>
</ul>
</div>
<div class="widget">
<h4>Links</h4>
<ul class="blogroll list-unstyled">
<li><i class="fa fa-github"></i><a href="https://github.com/generalibm/" title="generalibm's Github repository." target="_blank" ]);"="">My Github</a></li>
</ul>
</div>
<div class="widget">
<h4 class="dsq-widget-title">Recent Comments</h4>
<div id="recent-comments"></div>
<script type="text/javascript">
getRecentCommentsList({
type: "github" ? "github" : "github",
user: "generalibm",
repo: "generalibm.github.io",
client_id: "318b6e7e5d608e7f1a69",
client_secret: "b5f4c1d160adebb7a16db3502647f081b7cfa577",
count: "5" ? "5" : 5,
recent_comments_target: "#recent-comments"
});
</script>
</div>
</div> <!-- sidebar -->
</div> <!-- col-md-3 -->
</div> <!-- row-fluid -->
</div>
</div>
<div class="container-narrow">
<footer> <p>
© 2021 generalibm
with help from <a href="http://hexo.io/" target="_blank">Hexo</a> and <a href="http://getbootstrap.com/" target="_blank">Twitter Bootstrap</a>. Theme by <a href="http://github.com/wzpan/hexo-theme-freemind/">Freemind</a>.
</p> </footer>
</div> <!-- container-narrow -->
<a id="gotop" href="#">
<span>▲</span>
</a>
<script src="/js/jquery.imagesloaded.min.js"></script>
<script src="/js/gallery.js"></script>
<script src="/js/bootstrap.min.js"></script>
<script src="/js/main.js"></script>
<script src="/js/search.js"></script>
<script type="text/javascript">
var search_path = "search.xml";
if (search_path.length == 0) {
search_path = "search.xml";
}
var path = "/" + search_path;
searchFunc(path, 'local-search-input', 'local-search-result');
</script>
<!-- syntax highlighting -->
<script>
marked.setOptions({
highlight: function (code, lang) {
return hljs.highlightAuto(code).value;
}
});
function Highlighting(){
var markdowns = document.getElementsByClassName('markdown');
for(var i=0;i<markdowns.length;i++){
if(markdowns[i].innerHTML) markdowns[i].innerHTML =marked(markdowns[i].innerHTML);
}
}
window.addEventListener('DOMContentLoaded', Highlighting, false);
window.addEventListener('load', Highlighting, false);
</script>
</body>
</html>