-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
1340 lines (964 loc) · 49 KB
/
index.html
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
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="zh-Hans">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=2">
<meta name="theme-color" content="#222">
<meta name="generator" content="Hexo 4.2.0">
<link rel="apple-touch-icon" sizes="180x180" href="/images/apple-touch-icon-next.png">
<link rel="icon" type="image/png" sizes="32x32" href="/images/favicon-32x32-next.png">
<link rel="icon" type="image/png" sizes="16x16" href="/images/favicon-16x16-next.png">
<link rel="mask-icon" href="/images/logo.svg" color="#222">
<link rel="stylesheet" href="/css/main.css">
<link rel="stylesheet" href="/lib/font-awesome/css/font-awesome.min.css">
<script id="hexo-configurations">
var NexT = window.NexT || {};
var CONFIG = {
hostname: new URL('https://hulksun.github.io').hostname,
root: '/',
scheme: 'Muse',
version: '7.7.0',
exturl: false,
sidebar: {"position":"left","display":"post","padding":18,"offset":12,"onmobile":false},
copycode: {"enable":false,"show_result":false,"style":null},
back2top: {"enable":true,"sidebar":false,"scrollpercent":false},
bookmark: {"enable":false,"color":"#222","save":"auto"},
fancybox: false,
mediumzoom: false,
lazyload: false,
pangu: false,
comments: {"style":"tabs","active":"livere_uid","storage":true,"lazyload":false,"nav":null},
algolia: {
appID: '',
apiKey: '',
indexName: '',
hits: {"per_page":10},
labels: {"input_placeholder":"Search for Posts","hits_empty":"We didn't find any results for the search: ${query}","hits_stats":"${hits} results found in ${time} ms"}
},
localsearch: {"enable":false,"trigger":"auto","top_n_per_article":1,"unescape":false,"preload":false},
path: '',
motion: {"enable":true,"async":false,"transition":{"post_block":"fadeIn","post_header":"slideDownIn","post_body":"slideDownIn","coll_header":"slideLeftIn","sidebar":"slideUpIn"}}
};
</script>
<meta property="og:type" content="website">
<meta property="og:title" content="HULKBLOG">
<meta property="og:url" content="https://hulksun.github.io/">
<meta property="og:site_name" content="HULKBLOG">
<meta property="article:author" content="Hulk Sun">
<meta name="twitter:card" content="summary">
<link rel="canonical" href="https://hulksun.github.io/">
<script id="page-configurations">
// https://hexo.io/docs/variables.html
CONFIG.page = {
sidebar: "",
isHome: true,
isPost: false
};
</script>
<title>HULKBLOG</title>
<noscript>
<style>
.use-motion .brand,
.use-motion .menu-item,
.sidebar-inner,
.use-motion .post-block,
.use-motion .pagination,
.use-motion .comments,
.use-motion .post-header,
.use-motion .post-body,
.use-motion .collection-header { opacity: initial; }
.use-motion .site-title,
.use-motion .site-subtitle {
opacity: initial;
top: initial;
}
.use-motion .logo-line-before i { left: initial; }
.use-motion .logo-line-after i { right: initial; }
</style>
</noscript>
</head>
<body itemscope itemtype="http://schema.org/WebPage">
<div class="container use-motion">
<div class="headband"></div>
<header class="header" itemscope itemtype="http://schema.org/WPHeader">
<div class="header-inner"><div class="site-brand-container">
<div class="site-meta">
<div>
<a href="/" class="brand" rel="start">
<span class="logo-line-before"><i></i></span>
<span class="site-title">HULKBLOG</span>
<span class="logo-line-after"><i></i></span>
</a>
</div>
<p class="site-subtitle">Talk is cheap, Show me the code.</p>
</div>
<div class="site-nav-toggle">
<div class="toggle" aria-label="Toggle navigation bar">
<span class="toggle-line toggle-line-first"></span>
<span class="toggle-line toggle-line-middle"></span>
<span class="toggle-line toggle-line-last"></span>
</div>
</div>
</div>
<nav class="site-nav">
<ul id="menu" class="menu">
<li class="menu-item menu-item-home">
<a href="/" rel="section"><i class="fa fa-fw fa-home"></i>Home</a>
</li>
<li class="menu-item menu-item-categories">
<a href="/categories/" rel="section"><i class="fa fa-fw fa-th"></i>Categories</a>
</li>
<li class="menu-item menu-item-tags">
<a href="/tags/" rel="section"><i class="fa fa-fw fa-tags"></i>Tags</a>
</li>
<li class="menu-item menu-item-archives">
<a href="/archives/" rel="section"><i class="fa fa-fw fa-archive"></i>Archives</a>
</li>
</ul>
</nav>
</div>
</header>
<div class="back-to-top">
<i class="fa fa-arrow-up"></i>
<span>0%</span>
</div>
<main class="main">
<div class="main-inner">
<div class="content-wrap">
<div class="content">
<div class="posts-expand">
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-Hans">
<link itemprop="mainEntityOfPage" href="https://hulksun.github.io/2020/04/09/sqlServer-update-to-kafka/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Hulk Sun">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="HULKBLOG">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2020/04/09/sqlServer-update-to-kafka/" class="post-title-link" itemprop="url">配置 Kafka 实时获取 SQL Server 的数据更新记录</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2020-04-09 10:52:17 / Modified: 11:10:41" itemprop="dateCreated datePublished" datetime="2020-04-09T10:52:17+08:00">2020-04-09</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Big-Data/" itemprop="url" rel="index">
<span itemprop="name">Big Data</span>
</a>
</span>
</span>
<br>
<span class="post-meta-item" title="Symbols count in article">
<span class="post-meta-item-icon">
<i class="fa fa-file-word-o"></i>
</span>
<span class="post-meta-item-text">Symbols count in article: </span>
<span>3.2k</span>
</span>
<span class="post-meta-item" title="Reading time">
<span class="post-meta-item-icon">
<i class="fa fa-clock-o"></i>
</span>
<span class="post-meta-item-text">Reading time ≈</span>
<span>3 mins.</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<h2 id="背景"><a href="#背景" class="headerlink" title="背景"></a>背景</h2><p>SQLServer 为实时更新数据同步提供了 CDC 机制,类似于 Mysql 的 binlog,将数据更新操作维护到一张 CDC 表中。<br>开启 cdc 的源表在插入 INSERT、更新 UPDATE 和删除 DELETE 活动时会插入数据到日志表中。cdc 通过捕获进程将变更数据捕获到变更表中,通过 cdc 提供的查询函数,可以捕获这部分数据。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/2020/04/09/sqlServer-update-to-kafka/#more" rel="contents">
Read more »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-Hans">
<link itemprop="mainEntityOfPage" href="https://hulksun.github.io/2019/01/19/million-face-search/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Hulk Sun">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="HULKBLOG">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2019/01/19/million-face-search/" class="post-title-link" itemprop="url">千万级别人脸检索测试小结</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2019-01-19 21:13:12" itemprop="dateCreated datePublished" datetime="2019-01-19T21:13:12+08:00">2019-01-19</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2020-04-09 11:10:41" itemprop="dateModified" datetime="2020-04-09T11:10:41+08:00">2020-04-09</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/DeepLearning/" itemprop="url" rel="index">
<span itemprop="name">DeepLearning</span>
</a>
</span>
</span>
<br>
<span class="post-meta-item" title="Symbols count in article">
<span class="post-meta-item-icon">
<i class="fa fa-file-word-o"></i>
</span>
<span class="post-meta-item-text">Symbols count in article: </span>
<span>3.8k</span>
</span>
<span class="post-meta-item" title="Reading time">
<span class="post-meta-item-icon">
<i class="fa fa-clock-o"></i>
</span>
<span class="post-meta-item-text">Reading time ≈</span>
<span>3 mins.</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<h1 id="项目背景"><a href="#项目背景" class="headerlink" title="项目背景"></a>项目背景</h1><p>市公安局为了解各企业人脸识别系统的实际性能表现,评估现有人脸识别系统对公安实战应用需求的满足程度,为后期人脸识别技术系统建设选型提供数据依据,举行了此次人脸识别系统性能测试,全部委托软件测试中心组织此次测试。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/2019/01/19/million-face-search/#more" rel="contents">
Read more »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-Hans">
<link itemprop="mainEntityOfPage" href="https://hulksun.github.io/2019/01/01/install-tensorflow/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Hulk Sun">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="HULKBLOG">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2019/01/01/install-tensorflow/" class="post-title-link" itemprop="url">TensorFlow源码安装教程</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2019-01-01 08:00:00" itemprop="dateCreated datePublished" datetime="2019-01-01T08:00:00+08:00">2019-01-01</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2020-04-09 11:10:41" itemprop="dateModified" datetime="2020-04-09T11:10:41+08:00">2020-04-09</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/%E6%95%99%E7%A8%8B/" itemprop="url" rel="index">
<span itemprop="name">教程</span>
</a>
</span>
</span>
<br>
<span class="post-meta-item" title="Symbols count in article">
<span class="post-meta-item-icon">
<i class="fa fa-file-word-o"></i>
</span>
<span class="post-meta-item-text">Symbols count in article: </span>
<span>1.9k</span>
</span>
<span class="post-meta-item" title="Reading time">
<span class="post-meta-item-icon">
<i class="fa fa-clock-o"></i>
</span>
<span class="post-meta-item-text">Reading time ≈</span>
<span>2 mins.</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>直接使用pip安装Tensorflow时发现安装的Tensorflow只支持cuda7.5,而我的服务器上安装的是cuda8.0,由于服务器上有其他程序在运行,不能重新安装cuda,所以只好使用源码自己编译Tensorflow,然后安装。 </p>
<p>安装环境:<br>Ubuntu 14.04.4 LTS (GNU/Linux 3.13.0-24-generic x86_64) + CUDA 8.0</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/2019/01/01/install-tensorflow/#more" rel="contents">
Read more »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-Hans">
<link itemprop="mainEntityOfPage" href="https://hulksun.github.io/2018/09/26/face-search-of-svw/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Hulk Sun">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="HULKBLOG">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2018/09/26/face-search-of-svw/" class="post-title-link" itemprop="url">基于深度学习方法的人脸检索系统</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2018-09-26 08:00:00" itemprop="dateCreated datePublished" datetime="2018-09-26T08:00:00+08:00">2018-09-26</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2020-04-09 11:10:41" itemprop="dateModified" datetime="2020-04-09T11:10:41+08:00">2020-04-09</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/DeepLearning/" itemprop="url" rel="index">
<span itemprop="name">DeepLearning</span>
</a>
</span>
</span>
<br>
<span class="post-meta-item" title="Symbols count in article">
<span class="post-meta-item-icon">
<i class="fa fa-file-word-o"></i>
</span>
<span class="post-meta-item-text">Symbols count in article: </span>
<span>1.9k</span>
</span>
<span class="post-meta-item" title="Reading time">
<span class="post-meta-item-icon">
<i class="fa fa-clock-o"></i>
</span>
<span class="post-meta-item-text">Reading time ≈</span>
<span>2 mins.</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<h2 id="0-项目来源"><a href="#0-项目来源" class="headerlink" title="0 项目来源"></a>0 项目来源</h2><p>今年8月我入职我司的信息系统部门,我司要求新员工必须要跨部门轮岗实习,我被分配到了人事。人事的带教老师听说我是搞人工智能的,提出了需求:判断一张照片中的人是不是我司的员工。这个需求和我在学校做的工作类似,感觉难度不大,所以答应下来。此项目一来可以作为一个工具供人事部门使用,二来也可以作为轮岗实习的项目成果。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/2018/09/26/face-search-of-svw/#more" rel="contents">
Read more »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-Hans">
<link itemprop="mainEntityOfPage" href="https://hulksun.github.io/2018/03/15/setup-Logical-volume-Linux/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Hulk Sun">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="HULKBLOG">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2018/03/15/setup-Logical-volume-Linux/" class="post-title-link" itemprop="url">在Ubuntu上将多块磁盘设置为一个逻辑分区</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2018-03-15 09:34:23" itemprop="dateCreated datePublished" datetime="2018-03-15T09:34:23+08:00">2018-03-15</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2020-04-09 11:10:41" itemprop="dateModified" datetime="2020-04-09T11:10:41+08:00">2020-04-09</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/%E6%95%99%E7%A8%8B/" itemprop="url" rel="index">
<span itemprop="name">教程</span>
</a>
</span>
</span>
<br>
<span class="post-meta-item" title="Symbols count in article">
<span class="post-meta-item-icon">
<i class="fa fa-file-word-o"></i>
</span>
<span class="post-meta-item-text">Symbols count in article: </span>
<span>288</span>
</span>
<span class="post-meta-item" title="Reading time">
<span class="post-meta-item-icon">
<i class="fa fa-clock-o"></i>
</span>
<span class="post-meta-item-text">Reading time ≈</span>
<span>1 mins.</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<figure class="highlight bash"><table><tr><td class="gutter"><pre><span class="line">1</span><br><span class="line">2</span><br><span class="line">3</span><br><span class="line">4</span><br><span class="line">5</span><br><span class="line">6</span><br><span class="line">7</span><br><span class="line">8</span><br><span class="line">9</span><br><span class="line">10</span><br><span class="line">11</span><br><span class="line">12</span><br><span class="line">13</span><br><span class="line">14</span><br><span class="line">15</span><br><span class="line">16</span><br><span class="line">17</span><br><span class="line">18</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment"># 显示逻辑卷组</span></span><br><span class="line">$ sudo vgdisplay</span><br><span class="line"><span class="comment"># 显示逻辑卷</span></span><br><span class="line">$ sudo lvdisplay</span><br><span class="line"><span class="comment"># 显示磁盘</span></span><br><span class="line">$ sudo fdisk -l</span><br><span class="line"><span class="comment"># 创建物理卷</span></span><br><span class="line">$ sudo pvcreate /dev/sdb</span><br><span class="line"><span class="comment"># 显示物理卷信息</span></span><br><span class="line">$ sudo pvdisplay</span><br><span class="line"><span class="comment"># 物理卷/dev/sdb加入卷组vg-root</span></span><br><span class="line">$ sudo vgextend ubuntu-vg /dev/sdb</span><br><span class="line"><span class="comment"># 增大逻辑卷root 1T</span></span><br><span class="line">$ sudo lvextend -L +1T /dev/ubuntu-vg/root</span><br><span class="line"><span class="comment"># 调整文件系统大小</span></span><br><span class="line">$ sudo resize2fs /dev/ubuntu-vg/root</span><br><span class="line"><span class="comment"># 查看结果</span></span><br><span class="line">$ df -h</span><br></pre></td></tr></table></figure>
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-Hans">
<link itemprop="mainEntityOfPage" href="https://hulksun.github.io/2017/10/23/RESTful-API/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Hulk Sun">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="HULKBLOG">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2017/10/23/RESTful-API/" class="post-title-link" itemprop="url">RESTful API 详解</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2017-10-23 14:26:43" itemprop="dateCreated datePublished" datetime="2017-10-23T14:26:43+08:00">2017-10-23</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2020-04-09 11:10:41" itemprop="dateModified" datetime="2020-04-09T11:10:41+08:00">2020-04-09</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/%E7%AC%94%E8%AE%B0/" itemprop="url" rel="index">
<span itemprop="name">笔记</span>
</a>
</span>
</span>
<br>
<span class="post-meta-item" title="Symbols count in article">
<span class="post-meta-item-icon">
<i class="fa fa-file-word-o"></i>
</span>
<span class="post-meta-item-text">Symbols count in article: </span>
<span>2k</span>
</span>
<span class="post-meta-item" title="Reading time">
<span class="post-meta-item-icon">
<i class="fa fa-clock-o"></i>
</span>
<span class="post-meta-item-text">Reading time ≈</span>
<span>2 mins.</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<p>原文链接:<a href="http://www.restapitutorial.com/lessons/whatisrest.html" target="_blank" rel="noopener">http://www.restapitutorial.com/lessons/whatisrest.html</a></p>
<h1 id="什么是REST?"><a href="#什么是REST?" class="headerlink" title="什么是REST?"></a>什么是REST?</h1><p>REST全称Representational State Transfer。REST结构包含六大约束,这些约束规范最早是Roy Fielding在他的<a href="http://www.ics.uci.edu/~fielding/pubs/dissertation/rest_arch_style.htm" target="_blank" rel="noopener">博士论文</a>中提出,并且他在论文中定义了RESTful风格的基础。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/2017/10/23/RESTful-API/#more" rel="contents">
Read more »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-Hans">
<link itemprop="mainEntityOfPage" href="https://hulksun.github.io/2017/04/13/PQT/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Hulk Sun">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="HULKBLOG">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2017/04/13/PQT/" class="post-title-link" itemprop="url">乘积量化索引树</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2017-04-13 07:22:35" itemprop="dateCreated datePublished" datetime="2017-04-13T07:22:35+08:00">2017-04-13</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2020-04-09 11:10:41" itemprop="dateModified" datetime="2020-04-09T11:10:41+08:00">2020-04-09</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/%E7%AC%94%E8%AE%B0/" itemprop="url" rel="index">
<span itemprop="name">笔记</span>
</a>
</span>
</span>
<br>
<span class="post-meta-item" title="Symbols count in article">
<span class="post-meta-item-icon">
<i class="fa fa-file-word-o"></i>
</span>
<span class="post-meta-item-text">Symbols count in article: </span>
<span>1.6k</span>
</span>
<span class="post-meta-item" title="Reading time">
<span class="post-meta-item-icon">
<i class="fa fa-clock-o"></i>
</span>
<span class="post-meta-item-text">Reading time ≈</span>
<span>1 mins.</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<h1 id="引言"><a href="#引言" class="headerlink" title="引言"></a>引言</h1><p>高维矢量的欧氏距离计算应用广泛,尤其是在近邻搜索方面。由于维度灾难,近邻搜索是非常耗时耗力的。在一个D维的欧式空间$R^{D}$中,近邻搜索就是在n个矢量组成的有限集合$y\subset R^{D}$中找出元素$NN(x)$,并且该元素到查询矢量$x\in R^{D}$的距离最小:$$NN(x)=arg\min_{y\subset \cal{Y}}d(x,y)$$</p>
<p>现已提出的几种多维索引方法都在某种程度上减少了搜索时间,例如KD-tree或者其他分支和限定技术。然而,对于高维搜索空间,这些方法还不如蛮力计算矢量距离的方法高效。</p>
<p>已经有大量的文献提出算法用以解决近似近邻搜索执行过程中产生的问题,这些算法的关键性思想是“近似”,即找出可能性最大的元素而不是可能性为1的元素。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/2017/04/13/PQT/#more" rel="contents">
Read more »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-Hans">
<link itemprop="mainEntityOfPage" href="https://hulksun.github.io/2017/04/05/Android-with-so/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Hulk Sun">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="HULKBLOG">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2017/04/05/Android-with-so/" class="post-title-link" itemprop="url">Android中调用动态链接库</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2017-04-05 12:32:11" itemprop="dateCreated datePublished" datetime="2017-04-05T12:32:11+08:00">2017-04-05</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2020-04-09 11:10:41" itemprop="dateModified" datetime="2020-04-09T11:10:41+08:00">2020-04-09</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/Android/" itemprop="url" rel="index">
<span itemprop="name">Android</span>
</a>
</span>
</span>
<br>
<span class="post-meta-item" title="Symbols count in article">
<span class="post-meta-item-icon">
<i class="fa fa-file-word-o"></i>
</span>
<span class="post-meta-item-text">Symbols count in article: </span>
<span>2.6k</span>
</span>
<span class="post-meta-item" title="Reading time">
<span class="post-meta-item-icon">
<i class="fa fa-clock-o"></i>
</span>
<span class="post-meta-item-text">Reading time ≈</span>
<span>2 mins.</span>
</span>
</div>
</header>
<div class="post-body" itemprop="articleBody">
<h1 id="功能目标"><a href="#功能目标" class="headerlink" title="功能目标"></a>功能目标</h1><p>一个简单的安卓app,按下按钮弹出对话框,调用.so文件输出”Hello from JNI!”。<br>完整的項目<a href="https://github.com/HulkSun/JNITest" target="_blank" rel="noopener">代碼</a>。</p>
<!--noindex-->
<div class="post-button">
<a class="btn" href="/2017/04/05/Android-with-so/#more" rel="contents">
Read more »
</a>
</div>
<!--/noindex-->
</div>
<footer class="post-footer">
<div class="post-eof"></div>
</footer>
</article>
<article itemscope itemtype="http://schema.org/Article" class="post-block home" lang="zh-Hans">
<link itemprop="mainEntityOfPage" href="https://hulksun.github.io/2017/04/04/DeepNet-ObjectDetection/">
<span hidden itemprop="author" itemscope itemtype="http://schema.org/Person">
<meta itemprop="image" content="/images/avatar.gif">
<meta itemprop="name" content="Hulk Sun">
<meta itemprop="description" content="">
</span>
<span hidden itemprop="publisher" itemscope itemtype="http://schema.org/Organization">
<meta itemprop="name" content="HULKBLOG">
</span>
<header class="post-header">
<h1 class="post-title" itemprop="name headline">
<a href="/2017/04/04/DeepNet-ObjectDetection/" class="post-title-link" itemprop="url">深度学习方法的对象检测与特征提取</a>
</h1>
<div class="post-meta">
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-o"></i>
</span>
<span class="post-meta-item-text">Posted on</span>
<time title="Created: 2017-04-04 11:23:39" itemprop="dateCreated datePublished" datetime="2017-04-04T11:23:39+08:00">2017-04-04</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-calendar-check-o"></i>
</span>
<span class="post-meta-item-text">Edited on</span>
<time title="Modified: 2020-04-09 11:10:41" itemprop="dateModified" datetime="2020-04-09T11:10:41+08:00">2020-04-09</time>
</span>
<span class="post-meta-item">
<span class="post-meta-item-icon">
<i class="fa fa-folder-o"></i>
</span>
<span class="post-meta-item-text">In</span>
<span itemprop="about" itemscope itemtype="http://schema.org/Thing">
<a href="/categories/DeepLearning/" itemprop="url" rel="index">
<span itemprop="name">DeepLearning</span>
</a>
</span>
</span>
<br>
<span class="post-meta-item" title="Symbols count in article">
<span class="post-meta-item-icon">
<i class="fa fa-file-word-o"></i>
</span>
<span class="post-meta-item-text">Symbols count in article: </span>
<span>1.8k</span>
</span>
<span class="post-meta-item" title="Reading time">
<span class="post-meta-item-icon">
<i class="fa fa-clock-o"></i>
</span>