-
Notifications
You must be signed in to change notification settings - Fork 0
/
search.xml
296 lines (142 loc) · 105 KB
/
search.xml
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
<?xml version="1.0" encoding="utf-8"?>
<search>
<entry>
<title>为什么说链表在插入和删除上效率高于数组</title>
<link href="/2021/11/04/%E4%B8%BA%E4%BB%80%E4%B9%88%E8%AF%B4%E9%93%BE%E8%A1%A8%E5%9C%A8%E6%8F%92%E5%85%A5%E5%92%8C%E5%88%A0%E9%99%A4%E4%B8%8A%E6%95%88%E7%8E%87%E9%AB%98%E4%BA%8E%E6%95%B0%E7%BB%84/"/>
<url>/2021/11/04/%E4%B8%BA%E4%BB%80%E4%B9%88%E8%AF%B4%E9%93%BE%E8%A1%A8%E5%9C%A8%E6%8F%92%E5%85%A5%E5%92%8C%E5%88%A0%E9%99%A4%E4%B8%8A%E6%95%88%E7%8E%87%E9%AB%98%E4%BA%8E%E6%95%B0%E7%BB%84/</url>
<content type="html"><![CDATA[<h3 id="链表和数组是两种截然不同的内存组织方式,正因如此,它们插入、删除、随机访问的时间复杂度正好相反。"><a href="#链表和数组是两种截然不同的内存组织方式,正因如此,它们插入、删除、随机访问的时间复杂度正好相反。" class="headerlink" title="链表和数组是两种截然不同的内存组织方式,正因如此,它们插入、删除、随机访问的时间复杂度正好相反。"></a>链表和数组是两种截然不同的内存组织方式,正因如此,它们插入、删除、随机访问的时间复杂度正好相反。</h3><p>数组使用的是连续的内存空间,可以利用空间局部性原理,借助 <a href="https://link.zhihu.com/?target=https://zh.wikipedia.org/wiki/CPU%25E7%25BC%2593%25E5%25AD%2598">CPU cache</a>进行预读,所以访问效率更高。而链表不是连续存储,无法进行缓存,随机访问效率也较低。</p><p>数组的缺点是大小固定,一经声明就要占用整块连续的内存空间。如果声明的数组过大,系统可能没有足够的连续内存空间用于分配,就会导致“内存不足(out of memory)”。而如果声明的数组过小,当不够用时,又需要重新申请一块更大的内存,然后进行数据拷贝,非常费时。</p><p>而链表则没有大小限制,支持动态扩容。当然,因为链表中每个结点都需要存储前驱 / 后继结点的指针,所以内存消耗会翻倍。而且,对链表频繁的插入、删除操作会导致频繁的内存申请和释放,容易造成内存碎片和触发垃圾回收(Garbage Collection, GC)</p><h3 id="数组和链表插入删除操作的时间复杂度对比:"><a href="#数组和链表插入删除操作的时间复杂度对比:" class="headerlink" title="数组和链表插入删除操作的时间复杂度对比:"></a>数组和链表插入删除操作的时间复杂度对比:</h3><h4 id="在只知道下标时"><a href="#在只知道下标时" class="headerlink" title="在只知道下标时"></a>在只知道下标时</h4><p>数组:O(n) 需要移动其后所有项的位置</p><p>链表:O(n) 需要遍历其前面所有项以得到下标对应的项</p><h4 id="在拥有要操作的项的引用时"><a href="#在拥有要操作的项的引用时" class="headerlink" title="在拥有要操作的项的引用时"></a>在拥有要操作的项的引用时</h4><p>数组:O(n) 需要移动其后所有项的位置</p><p>链表:O(1) 无需遍历,可直接进行插入删除</p><h4 id="其实直接就插入删除的执行函数来看的话,链表和数组在只知道下标的情况下,其时间复杂度都是O(n),性能上是不会有太大差别的。因为数组不需要遍历,能直接取得要操作的对象,但是需要移动其后的所有项,而链表无法直接获取要操作的对象,需要遍历获取,之后直接删除或者插入,而不需要移动其他项。"><a href="#其实直接就插入删除的执行函数来看的话,链表和数组在只知道下标的情况下,其时间复杂度都是O(n),性能上是不会有太大差别的。因为数组不需要遍历,能直接取得要操作的对象,但是需要移动其后的所有项,而链表无法直接获取要操作的对象,需要遍历获取,之后直接删除或者插入,而不需要移动其他项。" class="headerlink" title="其实直接就插入删除的执行函数来看的话,链表和数组在只知道下标的情况下,其时间复杂度都是O(n),性能上是不会有太大差别的。因为数组不需要遍历,能直接取得要操作的对象,但是需要移动其后的所有项,而链表无法直接获取要操作的对象,需要遍历获取,之后直接删除或者插入,而不需要移动其他项。"></a>其实直接就插入删除的执行函数来看的话,链表和数组在只知道下标的情况下,其时间复杂度都是O(n),性能上是不会有太大差别的。因为数组不需要遍历,能直接取得要操作的对象,但是需要移动其后的所有项,而链表无法直接获取要操作的对象,需要遍历获取,之后直接删除或者插入,而不需要移动其他项。</h4><h4 id="之所以说链表的插入和删除比数组的性能好,并不是说在任何情况下链表的插入和删除效率都要比数组的高,而是链表插入删除的最差时间复杂度也就是O(n),而在已得到要操作的结点的引用时,它就能省去遍历的步骤直接插入删除,时间复杂度为O(1),并且数组会有比如扩容等操作造成很多额外的时间支出,以及内存碎片所导致的空间支出。"><a href="#之所以说链表的插入和删除比数组的性能好,并不是说在任何情况下链表的插入和删除效率都要比数组的高,而是链表插入删除的最差时间复杂度也就是O(n),而在已得到要操作的结点的引用时,它就能省去遍历的步骤直接插入删除,时间复杂度为O(1),并且数组会有比如扩容等操作造成很多额外的时间支出,以及内存碎片所导致的空间支出。" class="headerlink" title="之所以说链表的插入和删除比数组的性能好,并不是说在任何情况下链表的插入和删除效率都要比数组的高,而是链表插入删除的最差时间复杂度也就是O(n),而在已得到要操作的结点的引用时,它就能省去遍历的步骤直接插入删除,时间复杂度为O(1),并且数组会有比如扩容等操作造成很多额外的时间支出,以及内存碎片所导致的空间支出。"></a>之所以说链表的插入和删除比数组的性能好,并不是说在任何情况下链表的插入和删除效率都要比数组的高,而是链表插入删除的最差时间复杂度也就是O(n),而在已得到要操作的结点的引用时,它就能省去遍历的步骤直接插入删除,时间复杂度为O(1),并且数组会有比如扩容等操作造成很多额外的时间支出,以及内存碎片所导致的空间支出。</h4><h4 id="倘若不考虑这些,在只有下标的情况下执行插入和删除,它们的性能其实是没有太大区别的,就时间复杂度上来看都是O-n-,然而实际情况下是不可能不考虑这些的。"><a href="#倘若不考虑这些,在只有下标的情况下执行插入和删除,它们的性能其实是没有太大区别的,就时间复杂度上来看都是O-n-,然而实际情况下是不可能不考虑这些的。" class="headerlink" title="倘若不考虑这些,在只有下标的情况下执行插入和删除,它们的性能其实是没有太大区别的,就时间复杂度上来看都是O(n),然而实际情况下是不可能不考虑这些的。"></a>倘若不考虑这些,在只有下标的情况下执行插入和删除,它们的性能其实是没有太大区别的,就时间复杂度上来看都是O(n),然而实际情况下是不可能不考虑这些的。</h4><h4 id="所以我们可以简单的记住结论:"><a href="#所以我们可以简单的记住结论:" class="headerlink" title="所以我们可以简单的记住结论:"></a>所以我们可以简单的记住结论:</h4><h3 id="只需插入删除:链表性能好"><a href="#只需插入删除:链表性能好" class="headerlink" title="只需插入删除:链表性能好"></a>只需插入删除:链表性能好</h3><h3 id="只需查询修改:数组性能好"><a href="#只需查询修改:数组性能好" class="headerlink" title="只需查询修改:数组性能好"></a>只需查询修改:数组性能好</h3>]]></content>
<categories>
<category> 编程 </category>
</categories>
<tags>
<tag> 数据结构 </tag>
</tags>
</entry>
<entry>
<title>autojs之防代理vpn抓包</title>
<link href="/2021/11/04/autojs%E4%B9%8B%E9%98%B2%E4%BB%A3%E7%90%86vpn%E6%8A%93%E5%8C%85/"/>
<url>/2021/11/04/autojs%E4%B9%8B%E9%98%B2%E4%BB%A3%E7%90%86vpn%E6%8A%93%E5%8C%85/</url>
<content type="html"><![CDATA[<h2 id="防君子不防小人,这两种简单防抓包你有必要学一下"><a href="#防君子不防小人,这两种简单防抓包你有必要学一下" class="headerlink" title="防君子不防小人,这两种简单防抓包你有必要学一下"></a>防君子不防小人,这两种简单防抓包你有必要学一下</h2><h4 id="检测代理(fiddler,burp)"><a href="#检测代理(fiddler,burp)" class="headerlink" title="检测代理(fiddler,burp)"></a>检测代理(fiddler,burp)</h4><pre><code>let r = isWifiProxy(context);if (r) {log("有 代理");} else {log("没有 代理");}function isWifiProxy(context) {importClass(android.os.Build);importClass(android.text.TextUtils);IS_ICS_OR_LATER = Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH;let proxyAddress;let proxyPort;if (IS_ICS_OR_LATER) { proxyAddress = java.lang.System.getProperty("http.proxyHost"); portStr = java.lang.System.getProperty("http.proxyPort"); proxyPort = java.lang.Integer.parseInt(portStr != null ? portStr : "-1");} else { proxyAddress = android.net.Proxy.getHost(context); proxyPort = android.net.Proxy.getPort(context);}return !TextUtils.isEmpty(proxyAddress) && proxyPort != -1;}// //通知Java您要通过代理进行连接// System.getProperties().put("proxySet", "true");// //指定代理所在的服务器// System.getProperties().put("proxyHost", "myProxyMachineName");// //指定代理监听的端口// System.getProperties().put("proxyPort", "85");// connection = url.openConnection();// password = "username:password";// encodedPassword = base64Encode(password);// connection.setRequestProperty("Proxy-Authorization", encodedPassword);// props = System.getProperties();// props.put("http.proxyHost", "192.168.0.150");// props.put("http.proxyPort", "808");</code></pre><h4 id="vpn抓包检测(手机端小黄鸟)"><a href="#vpn抓包检测(手机端小黄鸟)" class="headerlink" title="vpn抓包检测(手机端小黄鸟)"></a>vpn抓包检测(手机端小黄鸟)</h4><pre><code>function isVPN() {try { var niList = java.net.NetworkInterface.getNetworkInterfaces(); if (niList) { var VPN; var arry = java.util.Collections.list(niList).toArray(); for (ary = 0; ary < arry.length; ary++) { if (!arry[ary].isUp() || arry[ary].getInterfaceAddresses().size() == 0) { continue; } if (arry[ary].getName().search("tun0") !== -1 || arry[ary].getName().search("ppp0") !== -1) { VPN = true; return true; } else { VPN = false; } } return VPN; }} catch (error) {}}log(isVPN());</code></pre><h4 id="禁止请求跳转,就是禁止vpn抓包"><a href="#禁止请求跳转,就是禁止vpn抓包" class="headerlink" title="禁止请求跳转,就是禁止vpn抓包"></a>禁止请求跳转,就是禁止vpn抓包</h4><pre><code>var okHttpClient = new okhttp3.OkHttpClient().newBuilder().followRedirects(false) //禁止自动跳转.followSslRedirects(false).build();</code></pre><h4 id="希望对你有所帮助"><a href="#希望对你有所帮助" class="headerlink" title="希望对你有所帮助"></a>希望对你有所帮助</h4>]]></content>
<categories>
<category> 编程 </category>
</categories>
<tags>
<tag> 二创 </tag>
<tag> autojs </tag>
</tags>
</entry>
<entry>
<title>无线网卡windows仍在设置此设备的类配置,代码56</title>
<link href="/2021/11/04/%E6%97%A0%E7%BA%BF%E7%BD%91%E5%8D%A1windows%E4%BB%8D%E5%9C%A8%E8%AE%BE%E7%BD%AE%E6%AD%A4%E8%AE%BE%E5%A4%87%E7%9A%84%E7%B1%BB%E9%85%8D%E7%BD%AE%EF%BC%8C%E4%BB%A3%E7%A0%8156/"/>
<url>/2021/11/04/%E6%97%A0%E7%BA%BF%E7%BD%91%E5%8D%A1windows%E4%BB%8D%E5%9C%A8%E8%AE%BE%E7%BD%AE%E6%AD%A4%E8%AE%BE%E5%A4%87%E7%9A%84%E7%B1%BB%E9%85%8D%E7%BD%AE%EF%BC%8C%E4%BB%A3%E7%A0%8156/</url>
<content type="html"><![CDATA[<h2 id="突然有一天,电脑一抽风,无线网卡故障不能使用了,打开设备管理器卸载驱动重新安装,重启也好,不管用-于是在网上找到这个方法,设置重启后完美解决,当当当!!"><a href="#突然有一天,电脑一抽风,无线网卡故障不能使用了,打开设备管理器卸载驱动重新安装,重启也好,不管用-于是在网上找到这个方法,设置重启后完美解决,当当当!!" class="headerlink" title="突然有一天,电脑一抽风,无线网卡故障不能使用了,打开设备管理器卸载驱动重新安装,重启也好,不管用!!于是在网上找到这个方法,设置重启后完美解决,当当当!!"></a>突然有一天,电脑一抽风,无线网卡故障不能使用了,打开设备管理器卸载驱动重新安装,重启也好,不管用!!于是在网上找到这个方法,设置重启后完美解决,当当当!!</h2><h3 id="网卡故障-windows仍在设置此设备的类配置,代码56!"><a href="#网卡故障-windows仍在设置此设备的类配置,代码56!" class="headerlink" title="网卡故障,windows仍在设置此设备的类配置,代码56!"></a>网卡故障,windows仍在设置此设备的类配置,代码56!</h3><p><img src="https://img-blog.csdnimg.cn/2020062211263118.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L20wXzQ2NjE0MjQw,size_16,color_FFFFFF,t_70"></p><h3 id="解决方法:针对于硬件没有损坏的电脑,硬件如果损坏了只能换无线网卡了)"><a href="#解决方法:针对于硬件没有损坏的电脑,硬件如果损坏了只能换无线网卡了)" class="headerlink" title="解决方法:针对于硬件没有损坏的电脑,硬件如果损坏了只能换无线网卡了)"></a>解决方法:针对于硬件没有损坏的电脑,硬件如果损坏了只能换无线网卡了)</h3><h4 id="下载CCleaner,这里给上下载链接-https-www-ccleaner-com-ccleaner-点击下图第二个,安装后可以白嫖14天免费会员"><a href="#下载CCleaner,这里给上下载链接-https-www-ccleaner-com-ccleaner-点击下图第二个,安装后可以白嫖14天免费会员" class="headerlink" title="下载CCleaner,这里给上下载链接 https://www.ccleaner.com/ccleaner,点击下图第二个,安装后可以白嫖14天免费会员"></a>下载CCleaner,这里给上下载链接 <a href="https://www.ccleaner.com/ccleaner">https://www.ccleaner.com/ccleaner</a>,点击下图第二个,安装后可以白嫖14天免费会员</h4><p><img src="https://img-blog.csdnimg.cn/20200622113035415.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L20wXzQ2NjE0MjQw,size_16,color_FFFFFF,t_70"></p><h4 id="进入软件,初始语言为英语,可以对照下图进入设置修改语言或直接进行操作(原理应该是清除注册表某些驱动留下来的遗留垃圾)"><a href="#进入软件,初始语言为英语,可以对照下图进入设置修改语言或直接进行操作(原理应该是清除注册表某些驱动留下来的遗留垃圾)" class="headerlink" title="进入软件,初始语言为英语,可以对照下图进入设置修改语言或直接进行操作(原理应该是清除注册表某些驱动留下来的遗留垃圾)"></a>进入软件,初始语言为英语,可以对照下图进入设置修改语言或直接进行操作(原理应该是清除注册表某些驱动留下来的遗留垃圾)</h4><p><img src="https://img-blog.csdnimg.cn/20200622113259946.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L20wXzQ2NjE0MjQw,size_16,color_FFFFFF,t_70"></p><h4 id="清除完注册表,即修复完重启电脑wifi网卡就正常了,上图"><a href="#清除完注册表,即修复完重启电脑wifi网卡就正常了,上图" class="headerlink" title="清除完注册表,即修复完重启电脑wifi网卡就正常了,上图"></a>清除完注册表,即修复完重启电脑wifi网卡就正常了,上图</h4><p><img src="https://img-blog.csdnimg.cn/20200622130946271.png?x-oss-process=image/watermark,type_ZmFuZ3poZW5naGVpdGk,shadow_10,text_aHR0cHM6Ly9ibG9nLmNzZG4ubmV0L20wXzQ2NjE0MjQw,size_16,color_FFFFFF,t_70"></p><h4 id="希望可以帮助到你"><a href="#希望可以帮助到你" class="headerlink" title="希望可以帮助到你"></a>希望可以帮助到你</h4>]]></content>
<categories>
<category> 生活 </category>
</categories>
<tags>
<tag> 二创 </tag>
<tag> window故障 </tag>
</tags>
</entry>
<entry>
<title>两个著名的心理学现象</title>
<link href="/2021/09/15/%E4%B8%A4%E4%B8%AA%E8%91%97%E5%90%8D%E7%9A%84%E5%BF%83%E7%90%86%E5%AD%A6%E7%8E%B0%E8%B1%A1/"/>
<url>/2021/09/15/%E4%B8%A4%E4%B8%AA%E8%91%97%E5%90%8D%E7%9A%84%E5%BF%83%E7%90%86%E5%AD%A6%E7%8E%B0%E8%B1%A1/</url>
<content type="html"><![CDATA[<h3 id="在近代心理学研究上,有两个现象比较引人注意,一是斯德哥尔摩效应,二是米尔格拉姆实验。"><a href="#在近代心理学研究上,有两个现象比较引人注意,一是斯德哥尔摩效应,二是米尔格拉姆实验。" class="headerlink" title="在近代心理学研究上,有两个现象比较引人注意,一是斯德哥尔摩效应,二是米尔格拉姆实验。"></a>在近代心理学研究上,有两个现象比较引人注意,一是斯德哥尔摩效应,二是米尔格拉姆实验。</h3><h4 id="斯德哥尔摩效应又叫斯德哥尔摩综合征,这里的“征”不是错别字,是一系列征候、特征、现象、迹象的意思,常被误写为“症”,后者是单一病症。这是一个根据真实事件产生的一个心理学概念。"><a href="#斯德哥尔摩效应又叫斯德哥尔摩综合征,这里的“征”不是错别字,是一系列征候、特征、现象、迹象的意思,常被误写为“症”,后者是单一病症。这是一个根据真实事件产生的一个心理学概念。" class="headerlink" title="斯德哥尔摩效应又叫斯德哥尔摩综合征,这里的“征”不是错别字,是一系列征候、特征、现象、迹象的意思,常被误写为“症”,后者是单一病症。这是一个根据真实事件产生的一个心理学概念。"></a>斯德哥尔摩效应又叫斯德哥尔摩综合征,这里的“征”不是错别字,是一系列征候、特征、现象、迹象的意思,常被误写为“症”,后者是单一病症。这是一个根据真实事件产生的一个心理学概念。</h4><p>1973年8月23日,两名罪犯意图抢劫瑞典首都斯德哥尔摩市内最大的一家银行失败后,挟持了4位银行职员。他们与警方僵持了6天之后被抓获。</p><p>随后令人惶惑不解的事发生了:这4名银行职员事后长达几个月的时间里,一直对歹徒显露出感激和认同的情感,拒绝在法院指控绑匪,还为他们筹措辩护资金,对司法部门采取敌对态度。</p><p>更甚者,人质中的一名女职员竟然还爱上其中的一个劫匪,并与他在其服刑期间订婚。</p><p>对此现象,专家深入研究后认为:人性能承受的恐惧有一条脆弱的底线,这也是人类潜在的一种自我保护。在穷凶极恶的歹徒面前,人质会把生命权渐渐付托给他。时间拖久了,人质吃一口饭、喝一口水,能够获得多一点点的权利,都会觉得这是歹徒对他的宽忍和慈悲。对于控制自己命运的暴徒,人质的恐惧会逐渐转化为感激,进而变为一种崇拜。最后人质会下意识地认为歹徒的安全,就是自己的安全。</p><p>这种屈服于暴虐的弱点,就叫“斯德哥尔摩精神征候群”,常见于囚犯、战俘、家暴等各种场景受虐者。</p><p>婴儿会对成人形成依附,这种情感在成人中也会出现——人是可以被驯养的。</p><p>2011年9月,河南洛阳警方侦破了一件离奇大案,引起轰动:案犯李浩,男,洛阳技术监督局执法大队工作人员,有妻和一子,时年34岁。李浩利用地下室加挖地窖,在长达两年的时间里先后囚禁6名坐台女当性奴,其中有两名女子因反抗被杀害。在这起案件中也出现了斯德哥尔摩效应。</p><p>李浩挖的地窖隐藏在地下6米深处,进入前要经过7道铁门,窖内面积近20平方米,设有通风系统、双层床、煤气灶、热水壶等,生活用具一应俱全,电从外面接入,歹徒负责吃喝拉撒的运入和运出。</p><p>令人惊讶的是,被囚禁的女孩子身边还配备了电脑,但无法上网,只供她们打游戏、听音乐、看影视。警方侦查后得知,歹徒在将6名女子诱骗囚禁之后“调教有方”,女孩子们不仅毫无反抗之意,反而相互妒忌。</p><p>2010年的一个晚上,其中一名女子与另一被囚女孩因争风吃醋发生打斗。李浩协助后者将前者打死之后,将尸体就地掩埋。在此之前,为了杀一儆百,李浩曾将另一名不听话的女子打死,也掩埋在地窖角落。</p><p>据办案刑警透露:调查过程中,竟然有被解救女子试图袒护歹徒,自称歹徒对她们照顾有加。“歹徒善于与人沟通,他对女孩们的洗脑很成功。另外这些被解救者很可能被迫或自愿参与了对另外两个被囚女子的杀害。歹徒借此控制她们的心智。”</p><p>这件事因为其中一女子被李浩带着外出时逃脱并报警而东窗事发。李浩先被开除党籍和公职,后判死刑。本是受害人的6女子中有3人因被裹挟指使参与虐待和杀人,一个判三年徒刑,两个判缓刑。当地有关部门试图压制媒体报道不果,后来责任人被迫道歉并受到停职等处分。</p><p>真是小地窖,大社会。</p><h4 id="另一个心理学研究的名词是“米尔格拉姆实验”,也是真实事件,并且这一实验后来被多次重复验证。"><a href="#另一个心理学研究的名词是“米尔格拉姆实验”,也是真实事件,并且这一实验后来被多次重复验证。" class="headerlink" title="另一个心理学研究的名词是“米尔格拉姆实验”,也是真实事件,并且这一实验后来被多次重复验证。"></a>另一个心理学研究的名词是“米尔格拉姆实验”,也是真实事件,并且这一实验后来被多次重复验证。</h4><p>这一实验的主持者叫斯坦利-米尔格拉姆(1933—1984),美籍犹太裔人,社会心理学家。他一直在思考二战中德军为什么会失去正常人的理智,干出那么多极尽残忍之事。1963年他在耶鲁大学时进行了米尔格兰姆实验,测试人们对权威的服从性。</p><p>实验过程,先是广告招募志愿参与者,实验为时一小时,报酬4.5美元;地点在耶鲁大学的一个地下室,简单隔开的两个房间,互相能听到声音。</p><p>实验小组告诉参与者,这是一项关于“体罚对于学习行为的效用”的实验,并告诉参与者他将扮演“老师”的角色,以教导隔壁房间的另一位参与者——“学生”(事实上是由实验人员所假冒的)。</p><p>“老师”被给予一个据称从15伏特起跳的电击控制器,上面显示电压数;控制器连接到一个发电机,并被告知这个控制器能使隔壁的“学生”受到电击。“老师”根据材料教导隔壁的“学生”。如果学生答错了,老师会对学生施以电击,每逢作答错误,电击的伏特数也会随之提升。</p><p>参与者被告知实验是绝对安全的,并有导师在一边协助。</p><p>实验开始后,随着对面“学生”答错题的次数增多,电压也一点点增上去;隔壁被电击的痛苦声由小变大,由呻吟变大叫乃至尖叫。这时旁边的导师一直在怂恿参与者:实验是安全的;你已经收取了报酬、要完成实验;我是导师我权威、相信我没问题……</p><p>结论很可怕,参与者尽管先是迟疑,后来在导师的怂恿下,都把电压逐渐增加到足以致命的伏特数——100%的参与者都对隔壁的陌生人进行了20次以上电击,65%的参与者达到过450伏电压,只有极少数人担心隔壁陌生人的安全、坚守底线和慈悲之心拒绝继续执行这个实验。</p><p>是什么让他们放弃常识,相信隔壁的“学生”仍然是安全的呢?是旁边权威的导师?是遵守4.5美元酬金的契约?是相信耶鲁大学?……</p><p>实验当然是安全的,隔壁的惨叫声都是事先录制好的、假的。但是后来这个实验不断被世界各地的心理学家重复,得出的结论大同小异,都是真的——绝大多数人都会相信所谓专家导师的怂恿和绝对安全的承诺,而把电压增加到足以致命的伏特数。</p><p>纳粹德国犯下群体灭绝重罪的军官在法庭上不停地说“我只是执行上级命令”“我相信元首是正确的”“是某某元帅说必须这样”……但是这些都不能把他们从绞刑架上解脱下来。</p><p>第一次大战时,德国文化界发表过一个为德国侵略暴行辩护的《文明世界的宣言》,93个著名科学家、艺术家、牧师在上面签名,其中包括诺奖获得者、量子力学创始人之一的普朗克等等许多大名鼎鼎的精英。相反,爱因斯坦等四人于1914年10月起草了针锋相对的反战和平宣言《告欧洲人书》。一个人的伟大就在于他有着常识底线、无畏于强大者,并勇敢地站在正确的方向上。</p><p>据柏林墙倒塌后的一个名叫“8·13调查组”统计,在东德和西德分裂时期,共有985名东德人因越境而丧命,其中176人死于跨越柏林墙,437人死于跨越德国内部边界,175人淹死在逃亡西德的波罗的海中,还有13人逃到西方后又被抓回处死,从解密的克格勃档案中,也可查到德国分裂时的1000人左右受害者的下落。此外还有28名东德边防军士兵死在柏林墙下,有21位前苏联士兵因在这里开小差被处死。那些枪杀他们的人,在柏林墙倒后何以自处?</p><p>斯德哥尔摩群体综合征、米尔格拉姆实验都是真实的,并且在亿万人群中同样适用。他们的共同点就是都在怂恿下失去了独立思考能力,丧失生活常识和做人的底线。从这个角度上说,二战中德国和日本的每一个法西斯分子都不是无辜的。</p>]]></content>
<categories>
<category> 生活 </category>
</categories>
<tags>
<tag> -心理 -转载 </tag>
</tags>
</entry>
<entry>
<title>微信小程序之下拉列表</title>
<link href="/2021/09/10/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F%E4%B9%8B%E4%B8%8B%E6%8B%89%E5%88%97%E8%A1%A8/"/>
<url>/2021/09/10/%E5%BE%AE%E4%BF%A1%E5%B0%8F%E7%A8%8B%E5%BA%8F%E4%B9%8B%E4%B8%8B%E6%8B%89%E5%88%97%E8%A1%A8/</url>
<content type="html"><![CDATA[<h2 id="微信小程序之自定义下拉列表"><a href="#微信小程序之自定义下拉列表" class="headerlink" title="微信小程序之自定义下拉列表"></a>微信小程序之自定义下拉列表</h2><p>在achun完成某个小程序作业的途中需要用到一个类似android spiner下拉列表的组件,发现在小程序文档里并木有,so百度了看到一个比较好的,调用超简单</p><h3 id="效果图"><a href="#效果图" class="headerlink" title="效果图"></a>效果图</h3><p><img src="https://img-blog.csdnimg.cn/20181210142619472.png"></p><h3 id="代码如下"><a href="#代码如下" class="headerlink" title="代码如下"></a>代码如下</h3><h4 id="在wxml添加"><a href="#在wxml添加" class="headerlink" title="在wxml添加"></a>在wxml添加</h4><pre><code><view class='top'> <view class='top-text'> 选择班别</view> <!-- 下拉框 --> <view class='top-selected' bindtap='bindShowMsg'> <text>{{grade_name}}</text> </view> <!-- 下拉需要显示的列表 --> <view class="select_box" wx:if="{{select}}"> <view wx:for="{{grades}}" wx:key="unique"> <view class="select_one" bindtap="mySelect" data-name="{{item}}">{{item}}</view> </view> </view></view></code></pre><h4 id="在wxss添加"><a href="#在wxss添加" class="headerlink" title="在wxss添加"></a>在wxss添加</h4><pre><code>/* 顶部 */.top { width: 100vw; height: 80rpx; padding: 0 20rpx; line-height: 80rpx; font-size: 34rpx; border-bottom: 1px solid #000;}.top-text { float: left;}/* 下拉框 */.top-selected { width: 50%; display: flex; float: right; align-items: center; justify-content: space-between; border: 1px solid #ccc; padding: 0 10rpx; font-size: 30rpx;}/* 下拉内容 */.select_box { background-color: #fff; padding: 0 20rpx; width: 50%; float: right; position: relative; right: 0; z-index: 1; overflow: hidden; text-align: left; animation: myfirst 0.5s; font-size: 30rpx;}.select_one { padding-left: 20rpx; width: 100%; height: 60rpx; position: relative; line-height: 60rpx; border-bottom: 1px solid #ccc;}/* 下拉过度效果 */@keyframes myfirst { from { height: 0rpx; } to { height: 210rpx; }}/* 下拉图标 */.top-selected image { height: 50rpx; width: 50rpx; position: absolute; right: 0rpx; top: 20rpx;}</code></pre><h4 id="js页添加"><a href="#js页添加" class="headerlink" title="js页添加"></a>js页添加</h4><pre><code>Page({data: { select: false, grade_name: '--请选择--', grades: ['1班', '2班', '3班', ] }, bindShowMsg() { this.setData({ select: !this.data.select }) }, mySelect(e) { console.log(e) var name = e.currentTarget.dataset.name this.setData({ grade_name: name, select: false }) })}</code></pre><h4 id="使用指南"><a href="#使用指南" class="headerlink" title="使用指南"></a>使用指南</h4><p>1.可以在onload方法里将你的数组数据setdata给grades数组,这样打开就是加载你的数组了<br>2.在mySelect接收点击的项,并调用所携带的数据</p>]]></content>
<categories>
<category> 编程 </category>
</categories>
<tags>
<tag> 二创 </tag>
<tag> 小程序 </tag>
</tags>
</entry>
<entry>
<title>如何将hexo-douban多个模块合并</title>
<link href="/2021/08/17/%E5%A6%82%E4%BD%95%E5%B0%86hexo-douban%E5%A4%9A%E4%B8%AA%E6%A8%A1%E5%9D%97%E5%90%88%E5%B9%B6/"/>
<url>/2021/08/17/%E5%A6%82%E4%BD%95%E5%B0%86hexo-douban%E5%A4%9A%E4%B8%AA%E6%A8%A1%E5%9D%97%E5%90%88%E5%B9%B6/</url>
<content type="html"><![CDATA[<h2 id="前言"><a href="#前言" class="headerlink" title="前言"></a>前言</h2><p>看这个教程的前提是你的博客已经安装了hexo-douban,hexo-douban是一个在Hexo页面中嵌入豆瓣个人主页的小插件,具体请百度,这里不做安装教程</p><h2 id="如何将hexo-douban多个模块组合在一起"><a href="#如何将hexo-douban多个模块组合在一起" class="headerlink" title="如何将hexo-douban多个模块组合在一起"></a>如何将hexo-douban多个模块组合在一起</h2><p>为什么要组合在一起呢,因为我觉得一个模块一个页面很乱!然后自己看过的电影书籍也不多,很有必要组合在一起!</p><h2 id="效果如下"><a href="#效果如下" class="headerlink" title="效果如下"></a>效果如下</h2><p><img src="https://luoimg.com/i/2021/08/17/xeolzn.png"></p><h3 id="举个栗子,如果你想把电影和书籍整合到一个界面,主要思路为:"><a href="#举个栗子,如果你想把电影和书籍整合到一个界面,主要思路为:" class="headerlink" title="举个栗子,如果你想把电影和书籍整合到一个界面,主要思路为:"></a>举个栗子,如果你想把电影和书籍整合到一个界面,主要思路为:</h3><p>把movie的文件整合到book中,所以你在以前书籍的页面也能看到电影,同理,你想把game,music整合也可以</p><h3 id="步骤如下"><a href="#步骤如下" class="headerlink" title="步骤如下"></a>步骤如下</h3><h4 id="打开博客根目录-gt-node-modules-gt-hexo-douban-gt-movies-generator-js。将movies文件resolv方法复制到books-generator-js-并修改方法名为resolv1,如下"><a href="#打开博客根目录-gt-node-modules-gt-hexo-douban-gt-movies-generator-js。将movies文件resolv方法复制到books-generator-js-并修改方法名为resolv1,如下" class="headerlink" title="打开博客根目录>node-modules>hexo-douban>movies-generator.js。将movies文件resolv方法复制到books-generator.js,并修改方法名为resolv1,如下"></a>打开博客根目录>node-modules>hexo-douban>movies-generator.js。将movies文件resolv方法复制到books-generator.js,并修改方法名为resolv1,如下</h4><figure class="highlight javascript"><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><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br><span class="line">31</span><br><span class="line">32</span><br><span class="line">33</span><br><span class="line">34</span><br><span class="line">35</span><br><span class="line">36</span><br><span class="line">37</span><br><span class="line">38</span><br><span class="line">39</span><br><span class="line">40</span><br><span class="line">41</span><br><span class="line">42</span><br><span class="line">43</span><br><span class="line">44</span><br><span class="line">45</span><br><span class="line">46</span><br><span class="line">47</span><br><span class="line">48</span><br><span class="line">49</span><br><span class="line">50</span><br><span class="line">51</span><br><span class="line">52</span><br><span class="line">53</span><br><span class="line">54</span><br><span class="line">55</span><br><span class="line">56</span><br><span class="line">57</span><br><span class="line">58</span><br><span class="line">59</span><br><span class="line">60</span><br><span class="line">61</span><br><span class="line">62</span><br><span class="line">63</span><br><span class="line">64</span><br><span class="line">65</span><br><span class="line">66</span><br><span class="line">67</span><br><span class="line">68</span><br><span class="line">69</span><br><span class="line">70</span><br><span class="line">71</span><br><span class="line">72</span><br><span class="line">73</span><br></pre></td><td class="code"><pre><span class="line"><span class="function"><span class="keyword">function</span> <span class="title">resolv1</span>(<span class="params">url, timeout</span>) </span>{</span><br><span class="line"> <span class="keyword">var</span> response = <span class="string">''</span>;</span><br><span class="line"> <span class="keyword">try</span> {</span><br><span class="line"> response = request(url, {</span><br><span class="line"> <span class="attr">timeout</span>: timeout,</span><br><span class="line"> <span class="attr">dataType</span>: <span class="string">'xml'</span></span><br><span class="line"> });</span><br><span class="line"> } <span class="keyword">catch</span> (err) {</span><br><span class="line"> offline = <span class="literal">true</span>;</span><br><span class="line"> }</span><br><span class="line"></span><br><span class="line"> <span class="keyword">if</span> (offline) {</span><br><span class="line"> <span class="keyword">return</span> {</span><br><span class="line"> <span class="attr">list</span>: [],</span><br><span class="line"> <span class="attr">next</span>: <span class="string">""</span></span><br><span class="line"> };</span><br><span class="line"> }</span><br><span class="line"></span><br><span class="line"> <span class="keyword">var</span> doc = <span class="keyword">new</span> Dom({</span><br><span class="line"> <span class="attr">errorHandler</span>: {</span><br><span class="line"> <span class="attr">warning</span>: <span class="function"><span class="keyword">function</span>(<span class="params">e</span>) </span>{},</span><br><span class="line"></span><br><span class="line"> <span class="attr">error</span>: <span class="function"><span class="keyword">function</span>(<span class="params">e</span>) </span>{},</span><br><span class="line"></span><br><span class="line"> <span class="attr">fatalError</span>: <span class="function"><span class="keyword">function</span>(<span class="params">e</span>) </span>{}</span><br><span class="line"> }</span><br><span class="line"> }).parseFromString(response.data.toString());</span><br><span class="line"></span><br><span class="line"> <span class="keyword">var</span> items = xpath.select(<span class="string">'//div[@class="grid-view"]/div[@class="item"]'</span>, doc);</span><br><span class="line"> <span class="keyword">var</span> next = xpath.select(<span class="string">'string(//span[@class="next"]/a/@href)'</span>, doc);</span><br><span class="line"> <span class="keyword">if</span> (next.startsWith(<span class="string">"/"</span>)) {</span><br><span class="line"> next = <span class="string">"https://movie.douban.com"</span> + next;</span><br><span class="line"> }</span><br><span class="line"></span><br><span class="line"> <span class="keyword">var</span> list = [];</span><br><span class="line"> <span class="keyword">for</span> (<span class="keyword">var</span> i <span class="keyword">in</span> items) {</span><br><span class="line"> <span class="keyword">var</span> parser = <span class="keyword">new</span> Dom().parseFromString(items[i].toString());</span><br><span class="line"> <span class="keyword">var</span> title = xpath.select1(<span class="string">'string(//li[@class="title"]/a/em)'</span>, parser);</span><br><span class="line"> <span class="keyword">var</span> alt = xpath.select1(<span class="string">'string(//li[@class="title"]/a/@href)'</span>, parser);</span><br><span class="line"> <span class="keyword">var</span> image = xpath.select1(<span class="string">'string(//div[@class="item"]/div[@class="pic"]/a/img/@src)'</span>, parser).replace(<span class="string">'ipst'</span>, <span class="string">'spst'</span>);</span><br><span class="line"></span><br><span class="line"> <span class="keyword">var</span> tags = xpath.select1(<span class="string">'string(//li/span[@class="tags"])'</span>, parser);</span><br><span class="line"> tags = tags ? tags.substr(<span class="number">3</span>) : <span class="string">''</span>;</span><br><span class="line"> <span class="keyword">var</span> date = xpath.select1(<span class="string">'string(//li/span[@class="date"])'</span>, parser);</span><br><span class="line"> date = date ? date : <span class="string">''</span>;</span><br><span class="line"></span><br><span class="line"> <span class="keyword">var</span> recommend = xpath.select1(<span class="string">'string(//li/span[starts-with(@class,"rating")]/@class)'</span>, parser);</span><br><span class="line"> recommend = renderStar(recommend.substr(<span class="number">6</span>, <span class="number">1</span>));</span><br><span class="line"> <span class="keyword">var</span> comment = xpath.select1(<span class="string">'string(//li/span[@class="comment"])'</span>, parser);</span><br><span class="line"> comment = comment ? comment : <span class="string">''</span>;</span><br><span class="line"></span><br><span class="line"> <span class="keyword">var</span> info = xpath.select1(<span class="string">'string(//li[@class="intro"])'</span>, parser);</span><br><span class="line"> info = info ? info : <span class="string">''</span>;</span><br><span class="line"></span><br><span class="line"> <span class="comment">//image = 'https://images.weserv.nl/?url=' + image.substr(8, image.length - 8) + '&w=100';</span></span><br><span class="line"></span><br><span class="line"> list.push({</span><br><span class="line"> <span class="attr">title</span>: title,</span><br><span class="line"> <span class="attr">alt</span>: alt,</span><br><span class="line"> <span class="attr">image</span>: image,</span><br><span class="line"> <span class="attr">tags</span>: tags,</span><br><span class="line"> <span class="attr">date</span>: date,</span><br><span class="line"> <span class="attr">recommend</span>: recommend,</span><br><span class="line"> <span class="attr">comment</span>: comment,</span><br><span class="line"> <span class="attr">info</span>: info</span><br><span class="line"> });</span><br><span class="line"> }</span><br><span class="line"></span><br><span class="line"> <span class="keyword">return</span> {</span><br><span class="line"> <span class="string">'list'</span>: list,</span><br><span class="line"> <span class="string">'next'</span>: next</span><br><span class="line"> };</span><br><span class="line">}</span><br></pre></td></tr></table></figure><h4 id="初始化几个movie文件的变量,将movie文件的三个代码块复制到book文件-并修改wish为wish1,resolv为resolv1,如下"><a href="#初始化几个movie文件的变量,将movie文件的三个代码块复制到book文件-并修改wish为wish1,resolv为resolv1,如下" class="headerlink" title="初始化几个movie文件的变量,将movie文件的三个代码块复制到book文件,并修改wish为wish1,resolv为resolv1,如下"></a>初始化几个movie文件的变量,将movie文件的三个代码块复制到book文件,并修改wish为wish1,resolv为resolv1,如下</h4><figure class="highlight javascript"><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></pre></td><td class="code"><pre><span class="line"><span class="keyword">var</span> wish = []; <span class="comment">//想读</span></span><br><span class="line"><span class="keyword">var</span> read = []; <span class="comment">//看完</span></span><br><span class="line"><span class="keyword">var</span> reading = []; <span class="comment">//在看</span></span><br><span class="line"><span class="keyword">var</span> wish1 = [] <span class="comment">//想看</span></span><br><span class="line"><span class="keyword">var</span> watching = [] <span class="comment">//在看</span></span><br><span class="line"><span class="keyword">var</span> watched = [] <span class="comment">//看完</span></span><br><span class="line"><span class="keyword">var</span> headers = {</span><br><span class="line"> <span class="string">'Cookie'</span>: []</span><br><span class="line">};</span><br></pre></td></tr></table></figure><figure class="highlight javascript"><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><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br></pre></td><td class="code"><pre><span class="line"><span class="comment">//想看</span></span><br><span class="line"> <span class="keyword">var</span> wishUrl = <span class="string">'https://movie.douban.com/people/'</span> + config.douban.user + <span class="string">'/wish'</span>;</span><br><span class="line"></span><br><span class="line"> <span class="keyword">for</span> (<span class="keyword">var</span> nextWish = wishUrl; nextWish;) {</span><br><span class="line"> <span class="keyword">var</span> resWish = resolv1(nextWish, timeout);</span><br><span class="line"> nextWish = resWish.next;</span><br><span class="line"> wish1 = wish1.concat(resWish.list);</span><br><span class="line"> }</span><br><span class="line"><span class="comment">//看过</span></span><br><span class="line"> <span class="keyword">var</span> watchedUrl = <span class="string">'https://movie.douban.com/people/'</span> + config.douban.user + <span class="string">'/collect'</span>;</span><br><span class="line"></span><br><span class="line"> <span class="keyword">for</span> (<span class="keyword">var</span> nextWatched = watchedUrl; nextWatched;) {</span><br><span class="line"> <span class="keyword">var</span> resWatched = resolv1(nextWatched, timeout);</span><br><span class="line"> nextWatched = resWatched.next;</span><br><span class="line"> watched = watched.concat(resWatched.list);</span><br><span class="line"> }</span><br><span class="line"><span class="comment">//在看</span></span><br><span class="line"> <span class="keyword">var</span> watchingUrl = <span class="string">'https://movie.douban.com/people/'</span> + config.douban.user + <span class="string">'/do'</span>;</span><br><span class="line"></span><br><span class="line"> <span class="keyword">for</span> (<span class="keyword">var</span> nextWatching = watchingUrl; nextWatching;) {</span><br><span class="line"> <span class="keyword">var</span> resWatching = resolv1(nextWatching, timeout);</span><br><span class="line"> nextWatching = resWatching.next;</span><br><span class="line"> watching = watching.concat(resWatching.list);</span><br><span class="line"> }</span><br></pre></td></tr></table></figure><h4 id="在下面contents代码块添加上字段,如下"><a href="#在下面contents代码块添加上字段,如下" class="headerlink" title="在下面contents代码块添加上字段,如下"></a>在下面contents代码块添加上字段,如下</h4><figure class="highlight javascript"><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></pre></td><td class="code"><pre><span class="line"><span class="keyword">var</span> contents = ejs.renderFile(path.join(__dirname, <span class="string">'templates/book.ejs'</span>), {</span><br><span class="line"> <span class="string">'wish1'</span>: wish1, <span class="comment">//想看</span></span><br><span class="line"> <span class="string">'watching'</span>: watching, <span class="comment">//在看</span></span><br><span class="line"> <span class="string">'watched'</span>: watched, <span class="comment">//看过</span></span><br><span class="line"> <span class="string">'wish'</span>: wish, <span class="comment">//想读</span></span><br><span class="line"> <span class="string">'read'</span>: read, <span class="comment">//在读</span></span><br><span class="line"> <span class="string">'reading'</span>: reading, <span class="comment">//读过</span></span><br><span class="line"> <span class="string">'__'</span>: __,</span><br><span class="line"> <span class="string">'root'</span>: root</span><br><span class="line"> },</span><br><span class="line"> <span class="function"><span class="keyword">function</span>(<span class="params">err, result</span>) </span>{</span><br><span class="line"> <span class="keyword">if</span> (err) <span class="built_in">console</span>.log(err);</span><br><span class="line"> <span class="keyword">return</span> result;</span><br><span class="line"> });</span><br></pre></td></tr></table></figure><h4 id="接下来将node-modules-gt-hexo-douban-gt-templates-gt-movie-ejs的代码段复制到book-ejs-文件全部代码如下,效果为只显示看过,读过。"><a href="#接下来将node-modules-gt-hexo-douban-gt-templates-gt-movie-ejs的代码段复制到book-ejs-文件全部代码如下,效果为只显示看过,读过。" class="headerlink" title="接下来将node-modules>hexo-douban>templates>movie.ejs的代码段复制到book.ejs,文件全部代码如下,效果为只显示看过,读过。"></a>接下来将node-modules>hexo-douban>templates>movie.ejs的代码段复制到book.ejs,文件全部代码如下,效果为只显示看过,读过。</h4><figure class="highlight javascript"><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><span class="line">19</span><br><span class="line">20</span><br><span class="line">21</span><br><span class="line">22</span><br><span class="line">23</span><br><span class="line">24</span><br><span class="line">25</span><br><span class="line">26</span><br><span class="line">27</span><br><span class="line">28</span><br><span class="line">29</span><br><span class="line">30</span><br></pre></td><td class="code"><pre><span class="line"><blockquote></span><br><span class="line"> <span class="xml"><span class="tag"><<span class="name">p</span>></span></span></span><br><span class="line"><span class="xml"> <%- 我的书单; %></span></span><br><span class="line"><span class="xml"> <span class="tag"></<span class="name">p</span>></span></span></span><br><span class="line"></blockquote></span><br><span class="line"></span><br><span class="line"><span class="xml"><span class="tag"><<span class="name">style</span>></span></span></span><br><span class="line"><span class="xml"> <% include index.css %></span></span><br><span class="line"><span class="xml"><span class="tag"></<span class="name">style</span>></span></span></span><br><span class="line"> <span class="xml"><span class="tag"><<span class="name">div</span> <span class="attr">id</span>=<span class="string">"hexo-douban-item1"</span>></span></span></span><br><span class="line"><span class="xml"> <% read.forEach(function(item){ %></span></span><br><span class="line"><span class="xml"> <% include bookRead.ejs %></span></span><br><span class="line"><span class="xml"> <% }); %></span></span><br><span class="line"><span class="xml"> <% include pagination.ejs %></span></span><br><span class="line"><span class="xml"> <span class="tag"></<span class="name">div</span>></span></span></span><br><span class="line"><span class="xml"><span class="tag"><<span class="name">blockquote</span>></span></span></span><br><span class="line"><span class="xml"> <span class="tag"><<span class="name">p</span>></span></span></span><br><span class="line"><span class="xml"> <%- 我的电影; %></span></span><br><span class="line"><span class="xml"> <span class="tag"></<span class="name">p</span>></span></span></span><br><span class="line"><span class="xml"><span class="tag"></<span class="name">blockquote</span>></span></span></span><br><span class="line"><span class="xml"><span class="tag"><<span class="name">div</span> <span class="attr">id</span>=<span class="string">"hexo-douban-item2"</span>></span></span></span><br><span class="line"><span class="xml"> <% watched.forEach(function(item){ %></span></span><br><span class="line"><span class="xml"> <% include movieWatched.ejs %></span></span><br><span class="line"><span class="xml"> <% }); %></span></span><br><span class="line"><span class="xml"> <% include pagination.ejs %></span></span><br><span class="line"><span class="xml"><span class="tag"></<span class="name">div</span>></span></span></span><br><span class="line"><span class="xml"><span class="tag"><<span class="name">script</span>></span></span></span><br><span class="line"><span class="xml"> <% include index.js %></span></span><br><span class="line"><span class="xml"> <% include pagination.js %></span></span><br><span class="line"><span class="xml"><span class="tag"></<span class="name">script</span>></span></span></span><br></pre></td></tr></table></figure><h4 id="hexo三连"><a href="#hexo三连" class="headerlink" title="hexo三连"></a>hexo三连</h4><figure class="highlight javascript"><table><tr><td class="gutter"><pre><span class="line">1</span><br></pre></td><td class="code"><pre><span class="line">hexo clean && hexo g && hexo s</span><br></pre></td></tr></table></figure>]]></content>
<categories>
<category> 编程 </category>
</categories>
<tags>
<tag> 原创 </tag>
<tag> HEXO </tag>
</tags>
</entry>
<entry>
<title>你是如何被劣质信息包围的</title>
<link href="/2021/08/15/%E4%BD%A0%E6%98%AF%E5%A6%82%E4%BD%95%E8%A2%AB%E5%8A%A3%E8%B4%A8%E4%BF%A1%E6%81%AF%E5%8C%85%E5%9B%B4%E7%9A%84/"/>
<url>/2021/08/15/%E4%BD%A0%E6%98%AF%E5%A6%82%E4%BD%95%E8%A2%AB%E5%8A%A3%E8%B4%A8%E4%BF%A1%E6%81%AF%E5%8C%85%E5%9B%B4%E7%9A%84/</url>
<content type="html"><![CDATA[<h1 id="第一境界"><a href="#第一境界" class="headerlink" title="第一境界"></a>第一境界</h1><h2 id="案例1:简单的利用你不知道,而他知道(举个例子:B站)"><a href="#案例1:简单的利用你不知道,而他知道(举个例子:B站)" class="headerlink" title="案例1:简单的利用你不知道,而他知道(举个例子:B站)"></a>案例1:简单的利用你不知道,而他知道(举个例子:B站)</h2><p>B 站强大的搜索引擎大家都知道,以 “搜索软件安装包” 为例,你可以搜索:</p><p>“好用的浏览器插件”,你会得到 IDM 下载器、油猴平台下的各种脚本、pandownload (已失效) 等等。</p><p>”Adobe photoshop CC 、Adobe 系列”,你会得到各种破解版,和安装包等等。</p><p>有了流量,于是直接引导(地址公众号下载),或者间接引导(内容价值引导关注公众号),你会发现他们公众号有很多推荐的好用的各种软件,什么破解 VIP 视频神奇啦、什么游戏破解版啦等等,什么各种高效办公神奇啦,阅读人数很多都 1w + 以上,有评论说” 天天发现新世界 “、” 我特么现在才知道你们公众号 “、” 这是个好东西,我都不想分享别人 “</p><p>至于该 up 主是什么目的,软件有无毒,不讨论,但是至少有一点,他们公众号有大量广告,而广告就意味着收入。他们的用户,却不知道他们所有的都这些东西都是在某个地方搬运过来的,而在搬运的那个地方,有更多、更优质的东西</p><h2 id="案例2:赚差价"><a href="#案例2:赚差价" class="headerlink" title="案例2:赚差价"></a>案例2:赚差价</h2><p>闲鱼案例,有人在闲鱼上免费送书,但得出 12 运费,而闲鱼卖家只做了一件事,就是把买家的地址填到拼多多,然后 5 元下单,最后差价 7 元到手,而此时买家还觉得便宜,想想买家,他天天接触闲鱼,所以让他忘记了更便宜的存在,才被闲鱼部分卖家利用信息不对称薅羊毛</p><h1 id="第二境界(重点讨论)"><a href="#第二境界(重点讨论)" class="headerlink" title="第二境界(重点讨论)"></a>第二境界(重点讨论)</h1><h4 id="中级玩法,仅仅因为不懂、知识面窄、能力有限,于是有了他们的存在。"><a href="#中级玩法,仅仅因为不懂、知识面窄、能力有限,于是有了他们的存在。" class="headerlink" title="中级玩法,仅仅因为不懂、知识面窄、能力有限,于是有了他们的存在。"></a>中级玩法,仅仅因为不懂、知识面窄、能力有限,于是有了他们的存在。</h4><h2 id="案例1:"><a href="#案例1:" class="headerlink" title="案例1:"></a>案例1:</h2><p>有一本书叫《异类》,全球畅销级别的书,讲了 1 万小时理论,只要你练习 1 万小时,你可以成为这方面专家。可是,这本书是断章取义一篇关于 “刻意练习” 的论文,别人说的是 1 万小时的刻意且层层递进的反馈式练习啊,这条件完全被忽略了。当论文作者发现自己被严重误解后,2016 年作者的《刻意练习》在机械工业出版,终于澄清。就像一个开了 1 万小时的公交车司机,可能还远远不如经过 100 小时精心练习的赛车手车技强。</p><p><strong>想想这个里面有几层信息传播?五层!一手信息源来自该论文,二手信息来自《异类》的对论文的断章取义,三手信息来自一些所谓大师、名人对《异类》的解读和宣扬,四手信息是建立在三手信息的基础上进一步传播与转述,结果成了励志鸡汤,如果可以,在此基础上第五次信息传播,心灵鸡汤的书诞生了:即只要 1w 小时的努力,就会成功,努力 = 成功。这在 2015 年之前你会经常听到,尤其是高中、初中。2020 年的今天你绝对很少听到了,你听到更多的是 “刻意练习”。所以当你再看到励志鸡汤成功学的时候,想想它是被玩剩下的几手信息?</strong></p><h2 id="案例2:"><a href="#案例2:" class="headerlink" title="案例2:"></a>案例2:</h2><p>来看看 2020 年今天的解读的盛行。以樊登读书为例,首先樊登很有商业头脑,知道很多人看不懂、不愿意看书,可书是汇集智慧的地方,很多人无法享受这部分优质信息,于是有了低门槛的用户交互。这是不是也是一种信息不对称呢,和第一境界不一样,人们知道它的存在,却无法发现它的价值,于是有人发现了其价值,把一本书选择性剪辑 + 个人理解的编码方式呈现,从而用更简单化语言与普通人进行交互,以此满足更低层次的需求。很幸运,樊登一直告诉他的用户并鼓励他的用户看原书,并承认了讲书代替不了看书,这点值得鼓励与感激,但,也许他永远不会讲,如果一直沉迷听书,根本学不到东西,想想你听过的,还能想起哪怕是一句吗? 如果你是一个学习动力极强的人,你自己会慢慢的远离这些而看原书本身,再慢慢的,你会往书的更上一层次找到找到信息源,而看论文本身,前提是,你是一个学习动力极强极强的人。</p><h2 id="案例3:"><a href="#案例3:" class="headerlink" title="案例3:"></a>案例3:</h2><p>再看看作为 B 站的科普优质主播「回行针事件」,当你一味的支持和感激的时候,看看那些理性的反对声音吧,因为他们确实是三手信息,一手来自学术论文,二手来自垂直网站,三手来自对垂直网站的节选,这意味这如果他们不严谨的错误,可能会有对有些人有致命的影响,还会误人子弟,所以理性的批判声音是对的,毕竟拥有 200W + 粉丝的影响力,要有一份强烈的责任心。而这里,想说的是信息不对称的问题,因为很多人不懂一些学术或者研究,于是有人把这部分优质内容以可视化与通俗易懂的文案呈现,以此,还是玩的信息不对称。当然了,不管怎样,感激是一方面,质疑内容本身也很重要。</p><h2 id="案例4:"><a href="#案例4:" class="headerlink" title="案例4:"></a>案例4:</h2><p>昨天 B 站看到一视频,标题:我是如何追踪小偷找回手机。要不,你们先看看再回来。很人说好有启发、好厉害,刚开始,我也觉得啊,于是我把该视频发给我学计算机网络的大佬同学,他说里面的关于侵入计算机内部部分是不可能的,而且全是运气成分,他让我搜索了视频中的几个关键词,了解网络的一些知识后,再回过头看他视频,简直是降维打击啊,于是,我删除了几分钟前对反对声音的批评,并默默的给那条有理有据的反对声音点赞,但我依然选择关注该 up 主,因为创作不错。所以,因为我无知,我不懂,所以我觉得它好,那是因为信息不对称而已,我不知道那一部分知识,所以就有人就利用这部分知识,编成了一个美丽的故事,而我,以为牛逼,却不知道往上,有更牛逼的玩法。</p><h1 id="第三境界"><a href="#第三境界" class="headerlink" title="第三境界"></a>第三境界</h1><h4 id="高级玩法,打破信息不对称而形成了更大的信息不对称,公司层面,国家层面(这个不讨论)。"><a href="#高级玩法,打破信息不对称而形成了更大的信息不对称,公司层面,国家层面(这个不讨论)。" class="headerlink" title="高级玩法,打破信息不对称而形成了更大的信息不对称,公司层面,国家层面(这个不讨论)。"></a>高级玩法,打破信息不对称而形成了更大的信息不对称,公司层面,国家层面(这个不讨论)。</h4><h2 id="案例1:-1"><a href="#案例1:-1" class="headerlink" title="案例1:"></a>案例1:</h2><p>链家等中介房地产。因为客户与房东一直有巨大的信息不对称,所以中介打破这种信息不对称,让交易更容易,可是却形成了信息不对称的垄断,为此,房东与客户付出了此费用</p><h2 id="案例2:-1"><a href="#案例2:-1" class="headerlink" title="案例2:"></a>案例2:</h2><p>淘宝等购物平台。以前,商品都是线下交易,这存在着极大的价格差异,于是淘宝打破了这种信息不对称,用户买到了更便宜、更优质的东西,可是,淘宝以此有了巨大的交易数据,知道什么商品在哪个区域销量好等等很多信息,而这部分信息它可以挖掘出更多价值东西,进而对我们做进一步的影响,至于影响是什么,你可以想想?</p><h1 id="结语"><a href="#结语" class="headerlink" title="结语"></a>结语</h1><h4 id="信息不对称,也许它就像食物链的某一端,如果没有了,世界可能不再美好,就像一个人只有喜,却没有了怒、哀、乐。"><a href="#信息不对称,也许它就像食物链的某一端,如果没有了,世界可能不再美好,就像一个人只有喜,却没有了怒、哀、乐。" class="headerlink" title="信息不对称,也许它就像食物链的某一端,如果没有了,世界可能不再美好,就像一个人只有喜,却没有了怒、哀、乐。"></a>信息不对称,也许它就像食物链的某一端,如果没有了,世界可能不再美好,就像一个人只有喜,却没有了怒、哀、乐。</h4><p>尊重每一个信息层次的人与该层次对应的服务者(不想用” 薅羊毛者 “这个词,因为他们很多确实提供了对某一人群的价值)。而不是每个层次降维打击比自己更低一层次的信息服务者并同时嘲笑该信息层次人群低端。欢迎分享你遇到的信息不对称案例</p><h1 id="本帖内容为转载,所以也转一下优质的评论:"><a href="#本帖内容为转载,所以也转一下优质的评论:" class="headerlink" title="本帖内容为转载,所以也转一下优质的评论:"></a>本帖内容为转载,所以也转一下优质的评论:</h1><h2 id="1:"><a href="#1:" class="headerlink" title="1:"></a>1:</h2><p>最开始互联网没兴盛起来的时候,信息大多是靠报纸、书籍、口口相传的经验等传递。所以那个时候书籍的价值很大,落在纸上的铅字是神圣的,不管是编辑还是作者,都比较有责任感,传递优质内容。<br>那个时候,许多人利用信息差赚取利益还只停留在靠走关系(当然现在也不少),内部消息以及圈层等。</p><p>而现在,互联网极为便利,很多热心的人分享出一手经验及见解,我们靠搜索引擎就能解决许多特定的问题,避免不少坑,一定程度上抹平了信息不对称,推动了进步。然而,接下来就比较有意思了,我想引用下来自知乎上的一个观点分析,印象如下:<br>“<br>互联网的共享和便捷损害了那些利用信息差攫取利益的人的利益,然后资本家的办法就来了。那就混杂大量 shit 一般的内容,灌水、低质、谩骂、战队黑化,怎么无聊怎么低级怎么来,就是让大量的网民迷失于泥沙俱下的信息中,无法分辨。然后,就可以继续开班授课,建立壁垒,加入内部星球圈,成为铁杆粉丝,教你成功秘诀,嗯继续赚钱…… 香。<br>”</p><p>上面那段可能有点阴谋论的感觉,但我比较认可该观点,因为中国有很多类似的例子,刚开始干得好好的,初心也挺好,最后就变了那味儿:知道、贴吧、知乎等,信息大多都由浓转淡,好东西越来越难觅得……</p><p>####个人的应对想法是</p><ol><li>尽量少暴露在随机推荐信息中,或者说,定量服用该类信息。</li><li>有需求地有体系地去摄取信息,有意识地快速滤掉劣质信息。</li><li>还是多读书吧,看多了好的,就像末代皇帝溥仪鉴别假古董的方法:因为它跟我家里那些不一样。也越能体会到北大王强说的,越读越往前,读到先秦,读到诸子百家。</li><li>人生是场修行,只有不断:思考,实践,总结,修正。</li></ol><h2 id="2:"><a href="#2:" class="headerlink" title="2:"></a>2:</h2><p>像这种 B 站 搜索 各种好用的软件什么的,可能我不搜索了,由于 B 站推送机制,所以不太会出现</p><p>我只是会逛一些特有的网站,找找最近有什么 好用的软件,大概是实现什么功能。自己需不需要,是最先考虑的 。</p><p>关于信息不对称,这个非常有意思。<br>最近在思考一个很有趣的问题;<br>在美国,有很多人 相信 地球是平的。</p><p>(一家全球民意调查机构说,只有大约三分之二的 18 到 24 岁的美国人,确信地球是圆的,也就是说,剩下三分之一的美国年轻人,对于地球是不是圆的拿不准。)</p><p>相信上帝,不相信 进化论。<br>有人说是,无知,是反智,有人说这只是满足了他们的某种目的。</p><p>无论我们怎么去传播真理,告诉他 世界是圆的,又有什么意义呢?</p><p>手握真理的人,往往只在意真理本身的传播。但是,在真实世界,对很多人来说,真理没有那么重要,他们找到自己生活的意义,解决自己的问题才重要。</p><h2 id="3:"><a href="#3:" class="headerlink" title="3:"></a>3:</h2><p>信息差的现象问题,可能永远也无法平衡,可能双方的信息差值会无限接近,接近平衡,平衡即破!<br>水因平衡不动,为死水!一览无余!人人皆知,可却毫无生气!<br>水因落差而动,为活水!活力交融!有人知、有人不知,却是生机勃勃!<br>探索信息源头,又往下一个信息源头,环环紧扣!<br>愿意不断动的探索党的时候就会动起来,会收获动的回报!<br>愿意静下做伸手党的时候会静下来,会收获静的回报!<br>愿保持 不断探索,时而沉淀,终身学习!</p>]]></content>
<categories>
<category> 生活 </category>
</categories>
<tags>
<tag> 科普 </tag>
<tag> 转载 </tag>
</tags>
</entry>
<entry>
<title>高质量资源集锦</title>
<link href="/2021/08/14/%E9%AB%98%E8%B4%A8%E9%87%8F%E8%B5%84%E6%BA%90%E9%9B%86%E9%94%A6/"/>
<url>/2021/08/14/%E9%AB%98%E8%B4%A8%E9%87%8F%E8%B5%84%E6%BA%90%E9%9B%86%E9%94%A6/</url>
<content type="html"><![CDATA[<h2 id="高质量资源集锦"><a href="#高质量资源集锦" class="headerlink" title="高质量资源集锦"></a>高质量资源集锦</h2><h3 id="资源集成网站:"><a href="#资源集成网站:" class="headerlink" title="资源集成网站:"></a>资源集成网站:</h3><h4 id="阿虚同学的储物柜https-www-axutongxue-com"><a href="#阿虚同学的储物柜https-www-axutongxue-com" class="headerlink" title="阿虚同学的储物柜https://www.axutongxue.com/"></a>阿虚同学的储物柜<a href="https://www.axutongxue.com/">https://www.axutongxue.com/</a></h4><p>不管是考证,看视频,听音乐,学习等资源,只有你想不到,没有它做不到,真正解决一个满足所有。</p><h4 id="爱寻匿https-www-aixunni-com"><a href="#爱寻匿https-www-aixunni-com" class="headerlink" title="爱寻匿https://www.aixunni.com/"></a>爱寻匿<a href="https://www.aixunni.com/">https://www.aixunni.com/</a></h4><p>资源整合网站,对比前一个可能稍少,网站ui美化较好,个人经常使用为观看影视剧</p><h4 id="lackaarhttp-lackar-com-aa"><a href="#lackaarhttp-lackar-com-aa" class="headerlink" title="lackaarhttp://lackar.com/aa/"></a>lackaar<a href="http://lackar.com/aa/">http://lackar.com/aa/</a></h4><p>这个我不熟,没怎么用过</p><h3 id="个人推荐使用网站分享:"><a href="#个人推荐使用网站分享:" class="headerlink" title="个人推荐使用网站分享:"></a>个人推荐使用网站分享:</h3><h4 id="朋友圈文案生成器https-pyq-shadiao-app"><a href="#朋友圈文案生成器https-pyq-shadiao-app" class="headerlink" title="朋友圈文案生成器https://pyq.shadiao.app/"></a>朋友圈文案生成器<a href="https://pyq.shadiao.app/">https://pyq.shadiao.app/</a></h4><p>顾名思义,想文案想的脑壳疼的时候可以使用一下,网站也同时集成了彩虹屁生成器,脏话生成器,毒鸡汤生成器,记仇表情包生成器,脑洞真不错!</p><h4 id="novip视频-电脑-https-www-novipnoad-com"><a href="#novip视频-电脑-https-www-novipnoad-com" class="headerlink" title="novip视频(电脑)https://www.novipnoad.com/"></a>novip视频(电脑)<a href="https://www.novipnoad.com/">https://www.novipnoad.com/</a></h4><p>在微信浏览器跳转为美团页面,适合在电脑端打开,有众多1080p超高清电影,电视剧等,最近可能由于使用的人数越来越多,很多视频因为版权原因播放不了,所以该怎么说呢,太多人知道也不见得是一种好事,但还是分享一下吧</p><h4 id="虫部落社区https-www-chongbuluo-com"><a href="#虫部落社区https-www-chongbuluo-com" class="headerlink" title="虫部落社区https://www.chongbuluo.com/"></a>虫部落社区<a href="https://www.chongbuluo.com/">https://www.chongbuluo.com/</a></h4><p>很棒的社区,自从偶然踏进了这里,感觉打开了新大陆,有很多网站都是在这里知晓。</p><h4 id="wallhavenhttps-wallhaven-cc"><a href="#wallhavenhttps-wallhaven-cc" class="headerlink" title="wallhavenhttps://wallhaven.cc/"></a>wallhaven<a href="https://wallhaven.cc/">https://wallhaven.cc/</a></h4><p>高清免费动漫壁纸网站,质量超高,个人博客使用的图片均来自这里</p><h3 id="其他网站"><a href="#其他网站" class="headerlink" title="其他网站"></a>其他网站</h3><h4 id="摆地摊进货渠道https-gitmind-cn-app-doc-37a515614"><a href="#摆地摊进货渠道https-gitmind-cn-app-doc-37a515614" class="headerlink" title="摆地摊进货渠道https://gitmind.cn/app/doc/37a515614"></a>摆地摊进货渠道<a href="https://gitmind.cn/app/doc/37a515614">https://gitmind.cn/app/doc/37a515614</a></h4><h4 id="英语打字网站(电脑)https-kaiyiwing-gitee-io-qwerty-learner"><a href="#英语打字网站(电脑)https-kaiyiwing-gitee-io-qwerty-learner" class="headerlink" title="英语打字网站(电脑)https://kaiyiwing.gitee.io/qwerty-learner/"></a>英语打字网站(电脑)<a href="https://kaiyiwing.gitee.io/qwerty-learner/">https://kaiyiwing.gitee.io/qwerty-learner/</a></h4><p>如果你需要一边练习打字,一边背诵单词,那这个网站可以满足你</p><h4 id="windows更新伪装(电脑)https-fakeupdate-net"><a href="#windows更新伪装(电脑)https-fakeupdate-net" class="headerlink" title="windows更新伪装(电脑)https://fakeupdate.net/"></a>windows更新伪装(电脑)<a href="https://fakeupdate.net/">https://fakeupdate.net/</a></h4><p>有时候你可能需要去上一下厕所,但又不想暴露电脑在做什么的时候,你可以打开这个网站,选择伪装更新的系统,按F11全屏,这时你的电脑似乎在做系统更新。可防止无关人士窥屏</p><h4 id="新片场https-www-xinpianchang-com"><a href="#新片场https-www-xinpianchang-com" class="headerlink" title="新片场https://www.xinpianchang.com/"></a>新片场<a href="https://www.xinpianchang.com/">https://www.xinpianchang.com/</a></h4><p>视频剪辑学习网站,在这里你可以看到很多业内剪辑人的作品</p><h4 id="照片处理网http-photops-com"><a href="#照片处理网http-photops-com" class="headerlink" title="照片处理网http://photops.com/"></a>照片处理网<a href="http://photops.com/">http://photops.com/</a></h4><p>也叫ps自学网,网站是老网站,看起来已经没落了,但还是有很多大神在这里留下了经典的教程资源</p><h4 id="找相似https-www-similarsites-com"><a href="#找相似https-www-similarsites-com" class="headerlink" title="找相似https://www.similarsites.com/"></a>找相似<a href="https://www.similarsites.com/">https://www.similarsites.com/</a></h4><p>这个网站可以寻找同类型,类似的网站</p><h4 id="位置服务https-www-opengps-cn"><a href="#位置服务https-www-opengps-cn" class="headerlink" title="位置服务https://www.opengps.cn/"></a>位置服务<a href="https://www.opengps.cn/">https://www.opengps.cn/</a></h4><p>可以寻找ip地址的定位</p><h3 id="结语"><a href="#结语" class="headerlink" title="结语"></a>结语</h3><p>还有很多有趣的网站等着我们去发掘,如果有幸你正在使用的话,可以在留言分享一下,但凡这个贴子有点用的话,也留个言好吗!</p>]]></content>
<categories>
<category> 资源 </category>
</categories>
<tags>
<tag> 原创 </tag>
</tags>
</entry>
<entry>
<title>什么是命</title>
<link href="/2021/08/14/%E4%BB%80%E4%B9%88%E6%98%AF%E5%91%BD/"/>
<url>/2021/08/14/%E4%BB%80%E4%B9%88%E6%98%AF%E5%91%BD/</url>
<content type="html"><![CDATA[<h2 id="我这些年对“命”有这么两个维度理解:"><a href="#我这些年对“命”有这么两个维度理解:" class="headerlink" title="我这些年对“命”有这么两个维度理解:"></a>我这些年对“命”有这么两个维度理解:</h2><p>出生家庭和所处时代,这两样基本上框住了大部分人的一生。我给大家仔细分析下。</p><p>大部分人一辈子都摆脱不了父母给自己的那些影响,情绪、习惯、性格,这些大部分都是很小的时候就形成了,那时候人主要受父母的影响。还有智商,也是从父母那里继承的。</p><p>如果父母感情和睦,孩子大概率是一个性格温和型的人,他这辈子一般不会因为太冲动得罪人。如果父母经常吵架,孩子大概率会遗传一部分暴躁基因。这些东西都会渗透在人的一生中方方面面,有些人天生不卑不亢不招人烦,有些人稍微有点刺激就发飙,两种人大概率是两条人生道路,后者必须用其他优点来抵消性格上的缺陷。</p><p>而且大人对孩子性格的影响,不一定是简单模仿,非常复杂,比如有的父母太老实懦弱,最终一事无成,孩子懂事后就对“老实”超级反感,慢慢走向了另一面,觉得所有人都欠他,干啥缺德事都毫无愧疚。</p><p>而且父母财力和能力决定了你周围是一群啥样的人,你上什么学校,你能接触到什么知识,毕竟你买不到上千万的海淀学区房,你就没法跟“清北二代”在一起共同成长。所以说看着教育可以帮你摆脱父母形象,其实你接受的教育水平也是他们能力的延伸。</p><p>美国那边很早就提出一个逻辑,说纽约上东区的父母们花大价钱聚集在一起,到底是为了啥?那边有些小区想买房还得面试,如果太low都不让入社区。这个问题现在中国也出现了,“东西海”(东西城海淀)的父母们花上千万,全家住在一个猪窝,到底为的又是啥?师资力量?二环?当然都不是,其实就是为了那种氛围,父母能搞定上千万,自然不可能太差劲,东西海的父母们普遍坚信这种环境中成长起来的小孩更加健康一些。</p><p>说到这里,可能有小伙伴纳闷,父母是清北名校毕业,儿女就能继承他们的智商?</p><p>当然不能了,智商这玩意是这个世界上最不稳定遗传的东西,西方富豪往往都是通过生一群来对抗这种不稳定性。但是,父母的很多思维方式会传导到儿女那里,比如孩子跟别人打架了,绝大部分父母倾向于不能让孩子受气,而理性父母更倾向于让孩子反思到底是交往中哪个环节出了问题,才导致失控,下回应该怎么做;如果孩子学习成绩变差,那些父母也都倾向于反思这段时间什么地方有了变化,是不是这部分变化导致了孩子情绪有问题。</p><p>我们讲,“回溯”和“反思”,是人类历史上最伟大的东西,它让人摆脱了思想上的不断造轮子。人都有个毛病,犯过的错会重复再犯,容易出问题的地方下次肯定还要出,如果每次出问题都糊弄,时间长了慢慢就意识不到这个问题的存在,人也就一直在原地打转。</p><p>而具备“回溯”能力的人必须得经过长期的训练和现代工程项目的锤炼,普通人非常难具备这个能力,甚至都不知道从哪下手。而工程学上为了这个技能也发明了一大堆工具,如果父母是学霸,毕业后在现代企业里做工程项目相关工作,这些能力都融入骨髓了,生活中潜移默化就给下一代传递下去了。</p><p>现代义务教育多少弥补了一些这方面的差距,但是没法消除最本质的隔阂,学校可以教给你现代人类取得的重大成就,但是学校提供的是一种“平均水平”的教育,如果你家低于平均水平,那学校能帮你拉高一些,但是如果你想高于平均,它往往无能为力,只能是你父母把他们积累的经验传给你,如果他们啥都没积累下,那就得你自己去悟了</p><p>普通人可能需要到三十多岁才彻底开悟,你的黄金阶段都过了,才get到别人小时候的技能。</p><p>这些都跟游戏里的“初始设定”似的,到了二十岁左右就基本上改不了了,你是个敏捷型还是智力型的人,性格内向还是外向,偏激还是冷静,基本上那时候已经定下来了,这些参数在你今后每一个重大决策的时候都会影响你。</p><p>而且我自己感触非常深,我出身教师家庭,好处是从小读书特别多,毛病是极度厌恶风险,毕业到现在,好几个机会都被我犹犹豫豫错过,自从毕业后也没投过简历,一直在一个企业呆到现在,好在这个企业一路高歌猛进,不然我自己大概率过得跟混国企似的。衍生出来的好处是我顺利进入了中层,而且对业务太熟,可以花大量时间在看书和写作上,毛病是如果当初去了那几个初创公司,我已经财务自由可以用所有时间看书和写作。</p><p>这两年“原生家庭”这个词越来越火,我也一直在想这事,惊讶地发现自己绝大部分毛病和优点确实都是从父母那里来的,只是之前没注意。当然了,这个不是不能变,我一会儿再讲。</p><p>更极端的,豆瓣上有个小组,叫“父母皆祸害”,不知道现在还在不在,我以前作为一个好奇心极强的人去看了下,差点看抑郁,强烈不推荐大家去看。那里边就是很多父母做的不太好,把孩子给毁了,孩子在极度痛苦中过一生。以前我觉得是少数,后来发现不一定,其实大部分人生孩子,并不是因为ta足够成熟足够理性可以为人父母了,而是没想太多就生下来了,但是养孩子这事比考研难得多,怎么养大这事又懵逼了,但是又不能不养,只好凑合着养,很多事做的不太好,让孩子痛苦一辈子。</p><p>人是啥样的基本是家庭给“捏脸”捏出来的,不过好在这并不是问题的全部。</p><p>到了社会上,还有一个参数就是自己所处的时代。相同的才华,投胎在快速上升的中国、落后的非洲、稳定的欧洲,最后演化出来的肯定是三种不同的结果。</p><p>我家里有个远房亲戚,我整个童年就是听着他的神话长大,知道他有钱有能力,后来长大了,仔细了解了下,才知道他就是那种敢闯敢干型的,在上世纪80年代顶着巨大的风险开了个小饭店,然后就进入了开挂一样的人生,因为当时小饭店太赚钱了(经常一天赚公务员一年的收入),快速攒下了初始资金,后来基本干啥成啥,直到2010年之后开始干啥都点背,后来干脆退休不干了。</p><p>这其实就是典型的时代红利,平台上升期对里边每个人的犯错容忍度很高,你就算犯了错,改了就行,但是一旦进入稳定期,事情就立刻不好办了,有种喝水都容易被呛到的感觉。2010年左右我国开始产能过剩,做实业相关的买卖竞争非常惨烈,利润被摊得很薄,早期那批人就不行了,取而代之的是互联网新贵们,他们闯入了处女地,随便折腾,不少人三十岁出头就财务自由,这要是放在传统行业,比如机械、土木相关专业几乎不可能。</p><p>也就是说,时代赋予大家差不多平等的机会,但是出生不同家庭,对机会的承接能力完全不一样,最后演化出来了完全不同的结果。</p><p>这个意义上讲,只要知道了一个人“出生什么家庭”,“在哪个国家哪个时代”,这两个参数确认下来,这一辈子大概也就差不多了,或者说大部分人这辈子差不多了。有一小部分人会差得非常大,但是这类人也不会太多,也正是因为概率低,所以大家才会津津乐道。</p><p>说到这里,可能有种浓重的“宿命论”,从群体角度来看,确实是,不过从个体来看,又不一定,我这些年的一个观察,大概下边这几条能帮助人跳出原来的局。</p><p>第一点是性格。</p><p>我自己最痛苦的几年是当项目经理那几年,大家往往觉得码农们一个个很单纯很淳朴非常好管,其实不是,他们内心世界一个比一个丰富,只是不愿意说出来,擅长非暴力不合作,而且他们眼里其他人都是傻叉,日常鄙视每一个人,拿到别人的代码先骂几句“傻B”才开始干活。所以那几年干得并不顺利,后来才知道,其他领导也有相同体会,发现管理这帮人实在是不太爽。</p><p>后来我自己向上升了一级,提拔了一个哥们做领导,他的技术一般(进管理层的技术大部分一般,中等偏上就够了,反正今后不用写代码了),但是性格特别好,非常外向,跟谁都是笑脸相对,非常诚恳会来事,在一次座谈的时候他说,他性格本来是内向的,但是后来强迫自己不再回避别人的目光,主动和别人打招呼,并且认真听别人在说啥,并且用最诚恳的态度对待每个人,后来惊讶地发现以前好像大家都无视自己,现在大家都挺喜欢自己,然后进入了一个正反馈状态。</p><p>我后来又碰上几次,发现那种原生家庭带出来的孤僻性格有时候是能改变的,关键是你愿不愿意去做,而大部分人一辈子混的不太好,其实也是栽在了太过孤僻的性格。</p><p>此外太多人总想玩点啥“社交技巧”,可是吧,又没那个能力,最后画虎不成反类犬,我这些年的一个观察,如果你实在不知道怎么做,可以选择真诚,长期看来,真诚是成本最低的一种策略。既不用装逼,又不用什么复杂技巧,还可以快速获得别人的信任。</p><p>前两年我去大学招聘,所有人都在简历里写了精通这精通那,其实想想就知道,那些编程语言没个两三年实战,很少有人敢说精通,不过大家都这么写,也就无所谓了,不过总有人很诚恳地写着“只用过xxx,写了上万行代码,不确定是否精通”,这种人肯定会让面试官眼前一亮,当然了,能不能被录取还得走流程,印象分肯定是加上了。</p><p>人这一辈子自己能力是一回事,但是能往上爬,大部分时候是别人愿意拉你一把,这种“拉一把”的动机大概排序是:血缘>裙带>伯乐,这也决定了大部分时候,家族血缘对人影响最大,正常人只能靠伯乐了,而且伯乐得没有自家人才会拉一个没有血缘的人,这时候你肯定得是一个性格好的人,最起码不能是人见人烦对吧?事实上太多人好不容易爬起来,最后本性暴露,栽在了目中无人招人烦这个毛病上。</p><p>除了性格,还有一个问题,就是职业。</p><p>职业发展有两点,一是职业本身,另一点是你自己。</p><p>职业本身说的是这个职业的前景怎么样,相同的人,在不同行业里结果可能完全是不一样的,比如十年前你选了互联网、土木和机械,三种职业完全三种不同的发展路径,到现在大概率完全不同的结果。</p><p>整体来讲,稳定的预期得到稳定的结果,比如你去做了公务员;不确定的预期有不确定的结果,比如你去做生意。太过平坦的世界里自然是很安全的,但是也不会有太高的高峰。高峰林立的地方坑也多,这就需要大家自己权衡了。</p><p>之前TikTok上有个小哥在美国天天问那些开豪车的人干啥工作,基本没有确定性高的行业,确定性高的行业门槛都高的离谱(美国医生和律师比中国门槛高的多的多,又贵又难):<br><img src="https://attach9.dwnews.net/20210728/293_1627450393.png" alt="图片"></p><p>当然了,最重要的还是人本身,从我这些年的感触来看,进取心,亲和度,积极性,勤奋程度等等,这些对人的影响持续是十年如一日那种,而且也没法装。比如你是个积极性强的人,为人处世自然事事积极,总会让你碰上啥狗屎运,但是如果你不是那么个人,强行装作很积极,用不了多久就彻底崩了,疲劳的不行,很快生活不能自理。</p><p>最近几年有深刻的研究发现,意志力和积极性都跟肌肉似的,跟每个人能举起不同重量一样,意志力和积极性差距也非常大,这玩意可以通过刻意训练变强,不过就跟大部分人没法长期坚持去健身房一样,大部分人也没法太过明显改善这俩参数。到这里,好像又绕回最开始的性格的问题上去了。</p><p>尾声:</p><p>本文并不是宣扬宿命论,不过从大部分样本来看,绝大部分人的一辈子其实已经被出身家庭和时代给框死了,只有极少数人能跳出那个圈。</p><p>不过把视野放大,现在这个时代无疑是五千年历史上最好的时代,给了普通人太多的机会和选择,如果认真在一个领域投入十年,基本上谁都能达到一个很高的高度。大家可以想想自己十年前啥样,现在又是啥样,估计很少有特别倒退的,如果集中注意力,再在一件事上投十年,结果大概率也不会太差。</p>]]></content>
<categories>
<category> 生活 </category>
</categories>
<tags>
<tag> 人生 </tag>
<tag> 转载 </tag>
</tags>
</entry>
<entry>
<title>男朋友偷偷看片,算不算出轨?</title>
<link href="/2021/08/14/%E7%94%B7%E6%9C%8B%E5%8F%8B%E5%81%B7%E5%81%B7%E7%9C%8B%E7%89%87%EF%BC%8C%E7%AE%97%E4%B8%8D%E7%AE%97%E5%87%BA%E8%BD%A8%EF%BC%9F/"/>
<url>/2021/08/14/%E7%94%B7%E6%9C%8B%E5%8F%8B%E5%81%B7%E5%81%B7%E7%9C%8B%E7%89%87%EF%BC%8C%E7%AE%97%E4%B8%8D%E7%AE%97%E5%87%BA%E8%BD%A8%EF%BC%9F/</url>
<content type="html"><![CDATA[<h2 id="男朋友偷偷看片,算不算出轨?"><a href="#男朋友偷偷看片,算不算出轨?" class="headerlink" title="男朋友偷偷看片,算不算出轨?"></a>男朋友偷偷看片,算不算出轨?</h2><p>背着女友偷偷看片算不算背叛?虽然面对的对象是虚假的,但由此带来的问题的确非常真实。</p><p>“当我发现他需要被另一个女人唤醒时,这几乎让我立刻崩溃了”。Reddit论坛一位网友说。<br><img src="https://luoimg.com/i/2021/08/07/ipekg6.jpg" alt="图片"></p><p>这位网友提到男友喜好古怪。</p><p>除了经常要和她玩点标新立异的东西外,他还沉迷摄影。为了满足男友这位网友甚至给他拍过一百多部DIY视频。</p><p>网友与她男友交往已有六年。一次意外让她在借用他手机时,看到相册里面存有大量动作片和图片。</p><p>当她与男友对质时,男友对她翻看手机的行为非常上火,这让她感觉他还隐瞒了更多的东西。</p><p>“我已经给了他这么多,他却像是毫不知足一样还需要其他的刺激。”</p><p>“更让我难受的是他吼我,说只是一些视频而已。”<br><img src="https://luoimg.com/i/2021/08/07/ipetei.jpg" alt="图片"></p><p>在社交网络中你还能找到许多类似故事。</p><p>Reddit男女关系区,有网友说看到男友电脑里被整理成册精心分类的小电影,她瞬时觉得对象与电影里的变态老杂碎无异。<br><img src="https://luoimg.com/i/2021/08/07/ipf68m.jpg" alt="图片"></p><p>这位网友表示,她第一次发现男友有小电影搜集习惯是因为找他借U盘。</p><p>那天网友准备拷几首歌带给她朋友,没想到在男友U盘里发现了几百个视频。<br><img src="http://luoimg.com/i/2021/08/07/ipfagr.jpg" alt="图片"></p><p>大概是这个意思,我不知道老外是不是也放在E盘/工作管理/项目招投标记录/2019年项目存档/8月/20190816Releasefile下面</p><p>“我发现这些电影被按照类型仔细存放在了不同文件夹里。有些文件夹上写到上帝。他还给每部电影都标注了评分。”</p><p>“收集小电影是一回事。但小电影上的详细标注,让它的主人看上去就像是有怪癖的连环杀手。”</p><p>虽然事发后这位网友再三考虑选择了谅解,但也对自己的宽恕深感内疚。<br><img src="https://luoimg.com/i/2021/08/07/572a77t.jpg" alt="图片"></p><p>不少发现男朋友看小电影的女生都有这样一个类似观点。</p><p>对于单纯观看小电影这种行为她们或许还能够说服自己,但对背后“自己是否对另一半具有吸引力”的担心让她们深感恐惧。<br><img src="https://luoimg.com/i/2021/08/07/ipfgk4.jpg" alt="图片"></p><p>Reddit上一位网友发帖表示,她最担心的是男友这种行为或许具有“排他性”。</p><p>她提到男友有一个她不知道的社交小号,当她找到这个号时发现这号点赞收藏了大量兄贵作品。<br><img src="https://luoimg.com/i/2021/08/07/572ccf3.jpg" alt="图片"></p><p>这位网友表示她并不反感双性恋,而且男友早就坦白过。</p><p>但男友的这个小号让她感到事情都在一个她看不见的地方悄然进行。</p><p>“我不确定那些他说有点累的那些夜晚是否与这些视频有关系,我觉得小电影成了自己的替代品。”<br><img src="https://luoimg.com/i/2021/08/07/ipg0pp.jpg" alt="图片"></p><p>在另一个帖子中有网友说,她在男友网页记录中发现了海量歪网站阅览记录,并且时间大多发生在叫他出门他说身体不舒服要待在家的时候。</p><p>她不敢想象自己不在家时男友坐在电脑面前那些事,这让她感觉男友在背着自己偷情。<br><img src="https://luoimg.com/i/2021/08/07/ipg1gv.jpg" alt="图片"></p><p>有网友表示,他发现男友爱看的片子,关键是里面主角形象与自己相去甚远。</p><p>网友说自己是个黑发的瘦子,而男友存的片女主角大多都是金发BBW。<br><img src="https://luoimg.com/i/2021/08/07/ipg67j.jpg" alt="图片"></p><p>她发现男友似乎特别喜欢有面部护理的片,这些风格的电影占据了他收藏夹一半还多。不过男友却从未对自己提过这样的要求。</p><p>相比两人平日小清新式的交流,收藏夹里的男友显得异常重口。</p><p>她确定男友很爱自己。但小电影的存在就像他还有其他对象,自己就像他的“供应商”之一。<br><img src="https://luoimg.com/i/2021/08/07/ipggpf.jpg" alt="图片"></p><p>网络上关于女生对男友看片的讨论是如此之多,以至于市面上还流通着不少相关书籍。</p><p>一位英国女士Carly Peacock,在她著作《A Pocketful Of Porn》中以自己老公为例,详细分析了男性在有伴侣情况下还要看小电影的原因,以及治疗方案。<br><img src="https://luoimg.com/i/2021/08/07/ipgqrx.png" alt="图片"></p><p>书中引用了一些来自英国的家庭研究数据,例如近 20% 的已婚男性每周观看一次或更多次色情片,已婚女性的这一比例仅为 3%;</p><p>在任何恋爱关系中,37% 的男性表示他们看色情片的频率比他们的伴侣意识到的要多。<br><img src="https://luoimg.com/i/2021/08/07/ipgt8h.jpg" alt="图片"></p><p>Carly认为小电影无疑百害无一益,其中包括破坏二人关系,扭曲性期望,以及降低男性对真正性生活的关注等。</p><p>Carly在书中提到虽然经过长期努力老公似乎已经戒掉了这个习惯。</p><p>但老公对非法小电影的癖好可能让她这辈子都无法释怀。</p><p>“每当我在他上面时,我总会百感交集。”</p><p>“他躲闪的眼睛让我不知道他在进入我还是在进入一些想象的东西。”<br><img src="https://luoimg.com/i/2021/08/07/iph3im.jpg" alt="图片"></p><p>不过对于偷看小电影算不算背叛这个问题,也有很多人觉得以上观点都太小题大做了。</p><p>譬如上面提到的那个自己是黑发瘦子,男友却喜欢金发BBW的网友,她帖子的评论区就有网友说这只是合理幻想。</p><p>就像伦理类小电影是野生网站上备受欢迎的一个门类,而实际上现实中有样学样的人还不及这些作品数量的零头。</p><p>就像有人喜欢看《行尸走肉》,但没人会因此在现实中尝试用水管砸爆人头。</p><p>小电影只是一种合理发泄。</p><p><img src="https://luoimg.com/i/2021/08/07/iphiug.gif" alt="图片"></p><p>有网友在帖子下留言说这就像你男友午餐通常都吃牛排,有天他吃了一次意大利面,而这并不能说明他就不喜欢牛排了。</p><p>还有网友说这是保护楼主的体现。</p><p>“他知道你可能不太会接受面部护理,而他又有这样的需求。看片既满足了自己又没有伤害到你。”</p><p>关于小电影是否是女友替代品这个问题一些网友给出了角度刁钻的观点。</p><p>比如有人提到通常人们认为在房事中男性处于纯粹享受状态,但事实并非如此。</p><p>有时房事会对男性带来巨大压力,你必须始终保持直立。为了确保对方喜欢你,你不能像捅马蜂窝一样胡乱出击。</p><p>你需要不停察言观色,调整速度与角度。如同一个耐心专业的马杀鸡师傅。</p><p>对一些男性来说房事中的付出要远大于收获。<br><img src="https://luoimg.com/i/2021/08/07/ipicll.gif" alt="图片"></p><p>还有网友提到这是植物性神经的锅。</p><p>就像我们无法在食物前做到不分泌唾液。</p><p>那个偷看小电影的人和你男友并非是同一个人。</p><p>还有人提到观看小电影能提高专业技能。</p><p>当然这点因人而异。</p><p>事实上女性对另一半偷看小电影有不满是很正常的。</p><p>所有的担忧也并非空穴来风。</p><p>只是当我们讨论偷看小电影的利弊就像在讨论药物的药效与毒性,剂量大小是关键问题。</p><p>人与人的任何关系中都存在阻碍因素,如果这些阻碍因素眼下并没有反客为主,并且在未来一段时间内没有变本加厉的迹象。那你或许并没有必要因为一些小视频而放弃你和他的关系。</p><p>如果你觉得过分了,就去和他谈谈。</p><p>没有商量解决不了的问题。如果有,那就考虑放弃。</p>]]></content>
<categories>
<category> 生活 </category>
</categories>
<tags>
<tag> 两性 </tag>
<tag> 转载 </tag>
</tags>
</entry>
<entry>
<title>GENERATE BLOG AGAIN!</title>
<link href="/2021/08/11/hello-world/"/>
<url>/2021/08/11/hello-world/</url>
<content type="html"><![CDATA[<h2 id="如何搭建一个你的博客"><a href="#如何搭建一个你的博客" class="headerlink" title="如何搭建一个你的博客"></a>如何搭建一个你的博客</h2><p>得益于github支持的一点点空间,还有压箱子底的域名,这个简简单单的博客诞生了</p><h3 id="博客是什么"><a href="#博客是什么" class="headerlink" title="博客是什么"></a>博客是什么</h3><p>$ 博客类似于以前的QQ空间,你可以在这里写日记,存放相册,发说说等,你可以装修你的空间,如添加你的空间音乐,更换你的主页背景等。qq空间是腾讯公司的产品,如果tx公司面临倒闭(tan90),可能你的数据和你为空间花费的心思在一瞬间化为乌有。而创建自己的博客网站,依托于服务器存在。和QQ空间相比有什么不同呢,举个栗子:你在广州想买套房,你可以跟房产公司购买,户型只能固定的选择几种。而现在,你直接在广州塔旁买块地,自己规划,自己盖房(当然,你也可以委托别人代搭),建成后你可以自己住,也可以为别人提供服务。</p><h3 id="如何搭建博客"><a href="#如何搭建博客" class="headerlink" title="如何搭建博客"></a>如何搭建博客</h3><p>$ 首先你要有个域名(简单理解为网址),然后有一个公网可访问的空间,将你的域名绑定到这个空间,it is ok.</p><h3 id="服务器是什么"><a href="#服务器是什么" class="headerlink" title="服务器是什么"></a>服务器是什么</h3><p>$ 很早之前,我一直以为有个域名就可以有个网站。然而并不是这样的,我简单解释一下访问网站的大概的原理。当你访问一个网站,也就是访问它的服务器,每个服务器都有ip地址,例如(44.33.56.21),在浏览器输入能访问网站,但人们很难记住这样的数字,so,域名出现了,更简单,也更容易记住。将ip地址绑定域名,输入域名可以识别所绑定的ip,从而访问。识别域名解析为ip的东西也叫作dns服务器,有时候电脑软件可以上网,而浏览器输入域名进入不了网站可能的原因就是dns服务器错误。电脑软件以ip地址于服务器交流,不需要使用dns服务器。回归主题,服务器是什么。其实每一台电脑都可以叫做服务器。我们常理解的服务器为在公网上运行,我们可以访问的机器。它除了可以在公网上被访问,其实和我们平时使用的电脑并没有什么不同。可能有的人会说了,平时在社交平台上发说说,别人也不是能看到,能访问,还能评论。这两者有什么不同呢,简而言之,你在社交平台上发说说,评论的原理就是你访问了社交平台的服务器,你把说说,照片存放在了服务器上,而其他用户在访问同个服务器,也就能看到上面的数据了。当然你上传和下载的权限也会由服务器拥有者决定。</p>]]></content>
<categories>
<category> 编程 </category>
</categories>
<tags>
<tag> 原创 </tag>
</tags>
</entry>
</search>