-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathatom.xml
More file actions
376 lines (223 loc) · 16.9 KB
/
Copy pathatom.xml
File metadata and controls
376 lines (223 loc) · 16.9 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
<?xml version="1.0" encoding="utf-8"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>Nightn</title>
<link href="/atom.xml" rel="self"/>
<link href="http://nightn.com/"/>
<updated>2018-08-05T14:57:59.706Z</updated>
<id>http://nightn.com/</id>
<author>
<name>Nightn</name>
</author>
<generator uri="http://hexo.io/">Hexo</generator>
<entry>
<title>C++对象内存布局初探(1)</title>
<link href="http://nightn.com/2018/08/05/cpp-object-memory-1/"/>
<id>http://nightn.com/2018/08/05/cpp-object-memory-1/</id>
<published>2018-08-05T14:37:56.000Z</published>
<updated>2018-08-05T14:57:59.706Z</updated>
<summary type="html">
<p>C++ 对象内存布局是一个深入而有趣的话题。<code>sizeof</code> 可以返回对象占用的内存大小,那具体存每个字节的是什么呢?对象的哪些成员会直接放到对象中,哪些不会?每个成员的排布顺序是怎么样的?当发生继承或复合时,子类对象的内存布局又是怎样的?虚函数的实现机制是什么?动态绑定在内存中是怎么体现?如何避免重复继承?「C++对象内存布局初探」系列便尝试着从内存布局的角度去回答这些问题,这是本系列的第一篇。</p>
</summary>
<category term="C++" scheme="http://nightn.com/categories/C/"/>
<category term="C++" scheme="http://nightn.com/tags/C/"/>
<category term="对象模型" scheme="http://nightn.com/tags/%E5%AF%B9%E8%B1%A1%E6%A8%A1%E5%9E%8B/"/>
</entry>
<entry>
<title>Gulp for beginners(译)</title>
<link href="http://nightn.com/2018/01/18/gulp-for-beginners/"/>
<id>http://nightn.com/2018/01/18/gulp-for-beginners/</id>
<published>2018-01-18T11:14:56.000Z</published>
<updated>2018-01-19T03:13:30.558Z</updated>
<summary type="html">
<p>Gulp 是优化项目、提高开发效率的一个非常有用的工具,尤其适用于前端领域。它有非常多的插件,可以实现很多自动化的功能,如创建本地 web 服务器、开发过程中文件修改实时刷新浏览器、对 Sass 或 LESS 进行实时编译、优化资源文件(如拼接压缩 CSS, JS 文件,压缩图片等)。本文翻译自 Zell Liew 的 <a href="https://css-tricks.com/gulp-for-beginners/">Gulp for Beginners</a> 一文,原文为英文,采用意译,部分有改动。文章略长,但对快速了解如何使用 Gulp 非常有帮助。</p>
</summary>
<category term="Front End" scheme="http://nightn.com/categories/Front-End/"/>
<category term="Gulp" scheme="http://nightn.com/tags/Gulp/"/>
<category term="前端工程化" scheme="http://nightn.com/tags/%E5%89%8D%E7%AB%AF%E5%B7%A5%E7%A8%8B%E5%8C%96/"/>
<category term="Node.js" scheme="http://nightn.com/tags/Node-js/"/>
</entry>
<entry>
<title>从地图类型切换控件谈JS代码优化</title>
<link href="http://nightn.com/2017/11/28/js-optimize-maptype-demo/"/>
<id>http://nightn.com/2017/11/28/js-optimize-maptype-demo/</id>
<published>2017-11-28T13:17:50.000Z</published>
<updated>2017-11-28T15:49:58.033Z</updated>
<summary type="html">
<p>本文以 JavaScript 开发自定义百度地图类型切换控件为主线,记录了控件从实现到一步步优化过程中的思考与总结,其中不少关于 JavaScript 代码优化的 tip 在很多场合都很实用。主要知识点包括:HTML 与 CSS 之间的松耦合、JS 的事件委托、HTML 自定义特性、DOM 节点访问及遍历、JQuery 常用方法的使用及百度地图 API 的调用等。这些都是比较基础的知识点,在此尽可能完整的记录,以便今后查阅及完善。</p>
</summary>
<category term="JavaScript" scheme="http://nightn.com/categories/JavaScript/"/>
<category term="JavaScript" scheme="http://nightn.com/tags/JavaScript/"/>
<category term="百度地图" scheme="http://nightn.com/tags/%E7%99%BE%E5%BA%A6%E5%9C%B0%E5%9B%BE/"/>
<category term="JS事件" scheme="http://nightn.com/tags/JS%E4%BA%8B%E4%BB%B6/"/>
<category term="JQuery" scheme="http://nightn.com/tags/JQuery/"/>
</entry>
<entry>
<title>数据结构学习笔记:排序算法</title>
<link href="http://nightn.com/2017/06/07/DSA-sorting/"/>
<id>http://nightn.com/2017/06/07/DSA-sorting/</id>
<published>2017-06-07T06:10:40.000Z</published>
<updated>2017-06-07T09:05:12.920Z</updated>
<summary type="html">
<p>本文对常见排序算法进行了总结,如插入排序、希尔排序、桶排序、快速排序等。对于每个排序算法,给出它的概述、简单实现及复杂度分析。</p>
</summary>
<category term="DSA" scheme="http://nightn.com/categories/DSA/"/>
<category term="Date Structure" scheme="http://nightn.com/tags/Date-Structure/"/>
<category term="Sorting" scheme="http://nightn.com/tags/Sorting/"/>
</entry>
<entry>
<title>数据结构学习笔记:不相交集</title>
<link href="http://nightn.com/2017/05/09/DSA-disjoint-set/"/>
<id>http://nightn.com/2017/05/09/DSA-disjoint-set/</id>
<published>2017-05-09T12:21:24.000Z</published>
<updated>2017-05-10T13:30:29.754Z</updated>
<summary type="html">
<p>不相交集(Disjoint Set)是一种用于解决等价问题的非常有效的数据结构,具有性能优越、实现简单等特点。本文介绍了等价问题、不相交集等概念,并叙述了 Union/Find 算法的实现与优化。</p>
</summary>
<category term="DSA" scheme="http://nightn.com/categories/DSA/"/>
<category term="Date Structure" scheme="http://nightn.com/tags/Date-Structure/"/>
<category term="Disjoint Set" scheme="http://nightn.com/tags/Disjoint-Set/"/>
</entry>
<entry>
<title>CloudViewer</title>
<link href="http://nightn.com/2017/04/15/cloudviewer/"/>
<id>http://nightn.com/2017/04/15/cloudviewer/</id>
<published>2017-04-15T14:39:25.000Z</published>
<updated>2018-01-18T12:56:01.736Z</updated>
<summary type="html">
<h2 id="CloudViewer-简介"><a href="#CloudViewer-简介" class="headerlink" title="CloudViewer 简介"></a>CloudViewer 简介</h2><p>CloudViewer (点云可视化软件)是一款面向三维点云数据处理、点云开发专业人员及爱好者的三维点云可视化软件,该软件具备以下功能:</p>
</summary>
<category term="Qt" scheme="http://nightn.com/categories/Qt/"/>
<category term="CloudViewer" scheme="http://nightn.com/tags/CloudViewer/"/>
<category term="Qt" scheme="http://nightn.com/tags/Qt/"/>
<category term="PCL" scheme="http://nightn.com/tags/PCL/"/>
<category term="点云" scheme="http://nightn.com/tags/%E7%82%B9%E4%BA%91/"/>
</entry>
<entry>
<title>Android 开发小作:Minofo(2)</title>
<link href="http://nightn.com/2017/04/02/Android-develop-minofo-2/"/>
<id>http://nightn.com/2017/04/02/Android-develop-minofo-2/</id>
<published>2017-04-02T01:42:22.000Z</published>
<updated>2017-04-05T01:56:02.450Z</updated>
<summary type="html">
<p>本文作为 Minofo 开发的第二篇文章,详细介绍了 高德地图 API 的使用,包括地图 SDK 和定位 SDK 的用法,实现了 Minofo 的地图模块。另外还介绍了用车面板的实现以及利用 OkHttp 从服务器获取数据的方法,进而完成 Minofo 的开发。本文提供 <a href="http://on2kkr82s.bkt.clouddn.com/Minofo%282%29.pdf">PDF 版本</a>可供查阅及下载。<br>
</summary>
<category term="Android" scheme="http://nightn.com/categories/Android/"/>
<category term="Android" scheme="http://nightn.com/tags/Android/"/>
<category term="ofo" scheme="http://nightn.com/tags/ofo/"/>
<category term="高德地图" scheme="http://nightn.com/tags/%E9%AB%98%E5%BE%B7%E5%9C%B0%E5%9B%BE/"/>
</entry>
<entry>
<title>Android 开发小作:Minofo(1)</title>
<link href="http://nightn.com/2017/04/01/Android-develop-minofo-1/"/>
<id>http://nightn.com/2017/04/01/Android-develop-minofo-1/</id>
<published>2017-04-01T04:35:59.000Z</published>
<updated>2017-04-17T06:32:31.518Z</updated>
<summary type="html">
<p>记录了开发一个完整 Android 软件 Minofo 的整个过程,本系列博客包括两篇,本文是第一篇,主要内容包括如何解析一个 App,Toolbar 标题栏,NavigationView 导航栏以及悬浮按钮的实现,从而完成 Minofo 主界面的开发。本文提供 <a href="http://on2kkr82s.bkt.clouddn.com/Minofo%281%29.pdf">PDF 版本</a>可供查阅及下载。<br>
</summary>
<category term="Android" scheme="http://nightn.com/categories/Android/"/>
<category term="Android" scheme="http://nightn.com/tags/Android/"/>
<category term="ofo" scheme="http://nightn.com/tags/ofo/"/>
</entry>
<entry>
<title>如何创造财富</title>
<link href="http://nightn.com/2017/03/25/how-to-create-wealth/"/>
<id>http://nightn.com/2017/03/25/how-to-create-wealth/</id>
<published>2017-03-25T06:31:30.000Z</published>
<updated>2017-04-02T14:33:25.215Z</updated>
<summary type="html">
<p>“<strong>如何创造财富?我认为最好的办法就是自己创业,或者加入创业公司。</strong>” —— Paul·Graham<br>
</summary>
<category term="Mind Explorer" scheme="http://nightn.com/categories/Mind-Explorer/"/>
<category term="《黑客与画家》" scheme="http://nightn.com/tags/%E3%80%8A%E9%BB%91%E5%AE%A2%E4%B8%8E%E7%94%BB%E5%AE%B6%E3%80%8B/"/>
<category term="创业" scheme="http://nightn.com/tags/%E5%88%9B%E4%B8%9A/"/>
</entry>
<entry>
<title>Android Device Monitor 文件管理的常见问题</title>
<link href="http://nightn.com/2017/03/19/Android-Device-Monitor-common-problems/"/>
<id>http://nightn.com/2017/03/19/Android-Device-Monitor-common-problems/</id>
<published>2017-03-19T11:31:35.000Z</published>
<updated>2017-04-02T14:30:55.978Z</updated>
<summary type="html">
<p>Android Device Monitor 是 Android Studio 中用于监测模拟器或真机运行状态的一款开发者工具。但开发者在使用它的过程中往往会遇到很多问题,尤其对于新手。本文分析了实际学习中遇到的问题,包括:1. File Explorer 不显示文件;2. 无权访问 data 等文件; 3. 无权下载文件等,涉及到 Monitor 的基本操作以及 adb shell 和命令行的操作等。<br>
</summary>
<category term="Android Studio" scheme="http://nightn.com/categories/Android-Studio/"/>
<category term="Android Studio" scheme="http://nightn.com/tags/Android-Studio/"/>
<category term="adb shell" scheme="http://nightn.com/tags/adb-shell/"/>
</entry>
<entry>
<title>计算机系统漫游</title>
<link href="http://nightn.com/2017/01/22/computer-system-roaming/"/>
<id>http://nightn.com/2017/01/22/computer-system-roaming/</id>
<published>2017-01-22T14:50:00.000Z</published>
<updated>2017-05-24T12:16:57.080Z</updated>
<summary type="html">
<p>计算机系统是由硬件和软件系统组成的,它们共同工作来运行应用程序。作为程序员,也需要了解这些组件是如何工作的,以及这些组件是如何影响程序的正确性和性能的。我们从最简单的 hello 程序开始,通过跟踪 hello 程序的生命周期(从被创建,到运行,输出,然终止),来开始对计算机系统的学习。<br>
</summary>
<category term="Computer Systems" scheme="http://nightn.com/categories/Computer-Systems/"/>
<category term="Computer Systems" scheme="http://nightn.com/tags/Computer-Systems/"/>
<category term="计算机基础" scheme="http://nightn.com/tags/%E8%AE%A1%E7%AE%97%E6%9C%BA%E5%9F%BA%E7%A1%80/"/>
</entry>
<entry>
<title>OpenCV 图像遍历与颜色缩减</title>
<link href="http://nightn.com/2017/01/21/OpenCV-traversal-and-compression/"/>
<id>http://nightn.com/2017/01/21/OpenCV-traversal-and-compression/</id>
<published>2017-01-21T08:32:00.000Z</published>
<updated>2017-04-02T14:34:36.105Z</updated>
<summary type="html">
<p>图像处理的基础是对图像每一个像素点的遍历,即图像扫描。在本节中,将介绍几种不同的图像遍历方式,为了对比不同方法的效率,我们不是单纯的遍历,而是对图像做更多的处理。在此,我们测试的是一种简单的颜色缩减方法。为了比较不同遍历算法的运行时间,你还将看到 OpenCV 中计时函数的用法。<br>
</summary>
<category term="OpenCV" scheme="http://nightn.com/categories/OpenCV/"/>
<category term="机器视觉" scheme="http://nightn.com/tags/%E6%9C%BA%E5%99%A8%E8%A7%86%E8%A7%89/"/>
<category term="OpenCV" scheme="http://nightn.com/tags/OpenCV/"/>
</entry>
<entry>
<title>OpenCV Mat 介绍</title>
<link href="http://nightn.com/2017/01/21/OpenCV-Mat-introduction/"/>
<id>http://nightn.com/2017/01/21/OpenCV-Mat-introduction/</id>
<published>2017-01-21T08:19:00.000Z</published>
<updated>2017-04-02T14:34:15.933Z</updated>
<summary type="html">
<h2 id="1-为什么要引入-Mat-图像容器?"><a href="#1-为什么要引入-Mat-图像容器?" class="headerlink" title="1. 为什么要引入 Mat 图像容器?"></a>1. 为什么要引入 Mat 图像容器?</h2><p>在计算机
</summary>
<category term="OpenCV" scheme="http://nightn.com/categories/OpenCV/"/>
<category term="机器视觉" scheme="http://nightn.com/tags/%E6%9C%BA%E5%99%A8%E8%A7%86%E8%A7%89/"/>
<category term="OpenCV" scheme="http://nightn.com/tags/OpenCV/"/>
</entry>
<entry>
<title>OpenCV 读取、修改、保存图像</title>
<link href="http://nightn.com/2017/01/21/OpenCV-imread-imwrite-imshow/"/>
<id>http://nightn.com/2017/01/21/OpenCV-imread-imwrite-imshow/</id>
<published>2017-01-21T07:52:00.000Z</published>
<updated>2017-04-02T14:33:50.547Z</updated>
<summary type="html">
<p>OpenCV 图像保存格式之一为 cv::Mat, 常用 imread 进行图像读取,用 imwrite 进行图像保存,用 imshow 进行图像显示。<br>
</summary>
<category term="OpenCV" scheme="http://nightn.com/categories/OpenCV/"/>
<category term="机器视觉" scheme="http://nightn.com/tags/%E6%9C%BA%E5%99%A8%E8%A7%86%E8%A7%89/"/>
<category term="OpenCV" scheme="http://nightn.com/tags/OpenCV/"/>
</entry>
<entry>
<title>Qt主界面获取对话框数据</title>
<link href="http://nightn.com/2016/12/23/Qt-communication-bwteen-main-and-dialog-box/"/>
<id>http://nightn.com/2016/12/23/Qt-communication-bwteen-main-and-dialog-box/</id>
<published>2016-12-22T16:26:00.000Z</published>
<updated>2017-04-02T14:34:55.178Z</updated>
<summary type="html">
<p>在编写Qt程序的时候,我们常常需要通过对话框来获取用户的输入数据,比如通过文件对话框获取文件的路径,通过颜色对话框获取用户所选择的颜色,这些对话框的类都是Qt帮我们写好了的,调用相应函数就能直接返回用户的输入,比如颜色对话框QColorDialog中有一个静态函数getColor,我们直接调用该函数,便会弹出颜色对话框,等我们选择好颜色并确定,该函数就会返回一个QColor的对象,这个对象就包含了我们之前所选颜色的RGB值了。<br>
</summary>
<category term="Qt" scheme="http://nightn.com/categories/Qt/"/>
<category term="C++" scheme="http://nightn.com/tags/C/"/>
<category term="Qt" scheme="http://nightn.com/tags/Qt/"/>
</entry>
<entry>
<title>Hello World</title>
<link href="http://nightn.com/2016/01/01/hello-world/"/>
<id>http://nightn.com/2016/01/01/hello-world/</id>
<published>2016-01-01T14:00:00.000Z</published>
<updated>2018-08-05T14:49:23.262Z</updated>
<summary type="html">
<p>Welcome to <a href="https://hexo.io/">Hexo</a>! This is your very first post.
</summary>
</entry>
</feed>