-
Notifications
You must be signed in to change notification settings - Fork 1
/
index.xml
86 lines (86 loc) · 96.4 KB
/
index.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
<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom">
<channel>
<title>Fanstasy Player / 幻想系玩家</title>
<link>https://fantasyplayer.link/</link>
<description>个人博客, 技术博客, 思想分享,开发日志。</description>
<generator>Hugo 0.138.0 & FixIt v0.3.15</generator>
<language>zh-CN</language>
<managingEditor>[email protected] (Aincvy)</managingEditor>
<webMaster>[email protected] (Aincvy)</webMaster>
<lastBuildDate>Thu, 14 Nov 2024 21:57:26 +0800</lastBuildDate>
<atom:link href="https://fantasyplayer.link/index.xml" rel="self" type="application/rss+xml" />
<item>
<title>香港自由行记录</title>
<link>https://fantasyplayer.link/caprice/%E9%A6%99%E6%B8%AF%E8%87%AA%E7%94%B1%E8%A1%8C%E8%AE%B0%E5%BD%95/</link>
<pubDate>Thu, 14 Nov 2024 21:57:26 +0800</pubDate><author>[email protected] (Aincvy)</author>
<guid>https://fantasyplayer.link/caprice/%E9%A6%99%E6%B8%AF%E8%87%AA%E7%94%B1%E8%A1%8C%E8%AE%B0%E5%BD%95/</guid>
<description><p><strong>多图预警!!!</strong></p>
<h2 id="行动流程" class="heading-element"><span>行动流程</span>
 <a href="#%e8%a1%8c%e5%8a%a8%e6%b5%81%e7%a8%8b" class="heading-mark">
 <svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg>
 </a>
</h2><p>简单的流水账一下</p>
<ul>
<li>第一天
<ul>
<li>早上10点20的飞机, 12点45左右到达香港。 在内地的时候就把移动数据关闭了, 到了香港取消飞行模式, 连接机场WiFi, 机场WiFi速度还挺不错的。</li>
<li>先过海关, 提交港澳通行证即可, 过关的时候会给一张过关小票, 记得保存好。</li>
<li>随后去拿托运的行李, 在机场大厅找到711, 买了一张流量卡, 10天12GB的流量卡, 58港币。<em>刚刚看了下支付宝充流量 5天2G的40块, 4天无限流量是86元, 所以711的卡还算便宜。</em> 本来想买club sim 的, 想着拿回内地之后 保号,用于接收短信, 但是711给我的是 csl的旅游型sim 卡。</li>
<li>在机场大厅吃了份回锅肉配卷饼, 114港币。 使用了支付宝进行支付。</li>
<li>支付宝微信银联云闪付在香港现在特别方便了,吃饭,买东西,坐公交地铁都可以使用。</li>
<li>使用 三星支付(银联云闪付)乘坐机场巴士 A21路到达尖沙咀。 机场巴士有一块区域专门放置行李箱。</li>
<li>民宿酒店签到后, 去逛了一下星光大道, 看了看维多利亚港, 名人掌印。</li>
<li>晚饭随便找了一个地方吃了一下,一份小炒黄牛肉+一份米饭 197人民币, 太贵了。</li>
<li>随便找了个地方坐着尝试开通了 ZA BANK 的账户, 随后逛了下街, 回到酒店刷了刷视频, 就睡觉了。</li>
</ul>
</li>
<li>第二天
<ul>
<li>预约了汇丰和中银香港的开户, 可见开户贴: <a href="https://fantasyplayer.link/caprice/%E9%A6%99%E6%B8%AF%E9%93%B6%E8%A1%8C%E5%8D%A1%E5%8A%9E%E7%90%86/">香港银行卡办理记录</a></li>
<li>支付宝乘车码直接可以坐香港地铁, 很方便。</li>
<li>开了户回到酒店, 在酒店旁边吃了一份芝士焗牛腩加一份奶茶, 80港币附近。 这家店的服务,环境,比小炒黄牛肉那家差很多, 但是便宜。</li>
<li>下午去了九龙公园, 九龙公园挺大的, 绕着走一圈就到晚上了。
<ul>
<li>文物探知馆: 恐龙化石, 陶器, 建筑的历史。</li>
<li>少量的鹦鹉</li>
<li>人工喷泉</li>
<li>漫画宣传的长廊, 以及漫画人物的雕塑</li>
<li>小迷宫</li>
<li>泳池 <em>没开门,也没水</em></li>
<li>儿童乐园</li>
</ul>
</li>
<li>逛完九龙公园就晚上了, 吃了一份肉酱鸡排饭+雪碧, 花了港币80附近, 一罐国内2块5人民币附近的雪碧, 在香港要12港币</li>
<li>去了信和中心逛了一下, 共三层,店很多, 过道很小, 人比较多, 所以比较拥挤。 这里卖手办的, 公仔的, 手机壳的很多。 还有一些卖书的, 卖杂志的。 笔者在这里花了670 买了三个手办, 仔细看了一下, 有俩还是Made In China 。。 不过享受到了购物的乐趣也不算太亏, 否则三层全逛完啥都不买感觉也挺无聊的。</li>
</ul>
</li>
<li>第三天
<ul>
<li>去了海洋公园
<ul>
<li>先说一下缺点把, 高山缆车维修,只能坐海底列车往返(其实就是一个穿山地铁。。) 大熊猫生了两只幼崽, 下面的场馆关闭了2个大号的场馆, 所以下面的场馆贼无聊, 什么都没有。</li>
<li>笔者进去之后就乘坐海底列车去了高峰公园, 高峰乐园玩的东西多一些。
<ul>
<li>游乐场: 过山车,荡秋千,一个大号的船型秋千, 摩天轮,碰碰车,冰原部分的过山车, 还有一个转动很厉害的不知道叫什么名字的以及其他。</li>
<li>热带雨林动物:
<ul>
<li>青色的蛇</li>
<li>各种有毒的小青蛙</li>
<li>鳄鱼</li>
<li>挺大的一条鱼</li>
<li>蜘蛛</li>
<li>挺大号的乌龟</li>
<li>这里还有一个漂流的小游戏, 要注意岸上的人有水枪可以对小船上的人呲水, 所以需要备好雨衣。</li>
</ul>
</li>
<li>海洋与南北极动物:
<ul>
<li>海豚,海狮, 这俩有一个持续20分钟的简单的表演。</li>
<li>鲨鱼, 都比较小。 魔鬼鱼也不算很大。 有一个海象是真的大, 感觉比一个成年人都大的感觉。</li>
<li>企鹅贼好玩, 走路会排队, 动不动就像被点穴了一样一动不动。 <em>企鹅的这个场馆很冷。</em></li>
<li>水母</li>
<li>各种各样的鱼类, 大的,小的很多。</li>
<li>海马</li>
<li>雪狐</li>
<li>海豹</li>
</ul>
</li>
</ul>
</li>
<li>海滨乐园 <em>山脚下的部分</em>
<ul>
<li>纪念品场馆很多, 消费满100港币, 会给一张50港币的游戏券, 可以去玩摊位游戏: 套圈,投篮,丢球之类的。</li>
<li>有个水族馆可以看🐟</li>
</ul>
</li>
</ul>
</li>
<li>晚上回去之后在民宿附近吃了一份麦当劳</li>
<li>去了广华街以及附近的地方
<ul>
<li>广华街有好几家卖玩具枪的枪械店, 这些玩具枪的动能都很高, 是不允许携带到国内的。。 枪械有手枪,冲锋枪, AK, 狙击枪等。 还有强光手电等。</li>
<li>买了一份喜茶, 28港币, 好像是使用微信点餐的。</li>
<li>逛了一下 游戏机厅, 没看到老虎机, 有拳皇, 赛车游戏, 还有很多音游的机器。</li>
<li>逛了一下夜市, 在夜市里面买了一副画。 夜市好像大多只收现金。 大多数都是衣服,钱包, 筷子+小碗, 买菜用的大袋子, 公仔,手表,戒指和其他饰品 冰箱贴之类的。</li>
<li>在这附近还看到了2个人发生冲突, 僵持了十几分钟, 中间一个人想走, 但是被另外一个人拉住了, 最后好像有个路人报警了。</li>
<li><em>还在某个小店里面碰到了一个酷似中国惊奇先生里黄大浪的中年男人,肚子很大。。</em></li>
</ul>
</li>
</ul>
</li>
<li>第四天
<ul>
<li>第三天步行了将近20公里, 太累了, 早上起不来。 本来计划去坐昂坪360缆车, 但是今天需要搭乘下午5.20的飞机回来, 没地方寄存行李, 所以就没去。
<ul>
<li>昂坪360缆车在地铁的东涌站附近搭乘, 东涌站距离机场比较近, 但是没地方寄存行李。 网上搜索了一下,缆车这里好像可以寄存行李,1次100HKD,太贵了。</li>
<li>昂坪360缆车有来回的, 上去之后可以看天坛大佛。</li>
</ul>
</li>
<li>去看了尖沙咀钟楼, 在港口附近转了一圈</li>
<li>去了苹果体验店, 很多人排队体验 apple vision。 感觉香港的苹果设备也没有大陆便宜。</li>
<li>在附近找了一家店吃了个饭, 居然只支持支付宝微信现金, 不支持VISA。</li>
<li>拿着行李坐A22路去了机场, 本次去机场坐了公交车的第二层,高层风景好。</li>
<li>到了机场托运行李, 换取登机牌, 随后将随身携带的剩余港币存入银行, 顺便存了200块人民币到港卡里面, 在银行APP上查看的时候 提示我为人民币(离岸) 😂</li>
<li>搭乘飞机, 坐出租车就回到家了。</li>
</ul>
</li>
</ul>
<h2 id="图片分享" class="heading-element"><span>图片分享</span>
 <a href="#%e5%9b%be%e7%89%87%e5%88%86%e4%ba%ab" class="heading-mark">
 <svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg>
 </a>
</h2><p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241107_173647.jpg" alt="20241107_173647" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241107_173647.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241107_173647.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241107_173647.jpg?size=large 2x" data-title="20241107_173647" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241107_173902.jpg" alt="20241107_173902" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241107_173902.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241107_173902.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241107_173902.jpg?size=large 2x" data-title="20241107_173902" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241107_180459.jpg" alt="20241107_180459" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241107_180459.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241107_180459.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241107_180459.jpg?size=large 2x" data-title="20241107_180459" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241107_203000.jpg" alt="20241107_203000" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241107_203000.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241107_203000.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241107_203000.jpg?size=large 2x" data-title="20241107_203000" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241108_160930.jpg" alt="20241108_160930" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241108_160930.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241108_160930.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241108_160930.jpg?size=large 2x" data-title="20241108_160930" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241108_163100.jpg" alt="20241108_163100" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241108_163100.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241108_163100.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241108_163100.jpg?size=large 2x" data-title="20241108_163100" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241108_163907.jpg" alt="20241108_163907" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241108_163907.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241108_163907.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241108_163907.jpg?size=large 2x" data-title="20241108_163907" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241108_173021.jpg" alt="20241108_173021" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241108_173021.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241108_173021.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241108_173021.jpg?size=large 2x" data-title="20241108_173021" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241108_191859.jpg" alt="20241108_191859" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241108_191859.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241108_191859.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241108_191859.jpg?size=large 2x" data-title="20241108_191859" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241108_204856.jpg" alt="20241108_204856" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241108_204856.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241108_204856.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241108_204856.jpg?size=large 2x" data-title="20241108_204856" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241109_102229.jpg" alt="20241109_102229" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241109_102229.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241109_102229.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241109_102229.jpg?size=large 2x" data-title="20241109_102229" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241109_102733.jpg" alt="20241109_102733" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241109_102733.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241109_102733.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241109_102733.jpg?size=large 2x" data-title="20241109_102733" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241109_104525.jpg" alt="20241109_104525" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241109_104525.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241109_104525.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241109_104525.jpg?size=large 2x" data-title="20241109_104525" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241109_105928.jpg" alt="20241109_105928" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241109_105928.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241109_105928.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241109_105928.jpg?size=large 2x" data-title="20241109_105928" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241109_110806.jpg" alt="20241109_110806" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241109_110806.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241109_110806.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241109_110806.jpg?size=large 2x" data-title="20241109_110806" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241109_115442.jpg" alt="20241109_115442" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241109_115442.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241109_115442.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241109_115442.jpg?size=large 2x" data-title="20241109_115442" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241109_122539.jpg" alt="20241109_122539" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241109_122539.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241109_122539.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241109_122539.jpg?size=large 2x" data-title="20241109_122539" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241109_124318.jpg" alt="20241109_124318" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241109_124318.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241109_124318.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241109_124318.jpg?size=large 2x" data-title="20241109_124318" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241109_144518.jpg" alt="20241109_144518" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241109_144518.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241109_144518.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241109_144518.jpg?size=large 2x" data-title="20241109_144518" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241109_151809.jpg" alt="20241109_151809" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241109_151809.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241109_151809.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241109_151809.jpg?size=large 2x" data-title="20241109_151809" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241109_170540.jpg" alt="20241109_170540" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241109_170540.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241109_170540.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241109_170540.jpg?size=large 2x" data-title="20241109_170540" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241109_171227.jpg" alt="20241109_171227" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241109_171227.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241109_171227.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241109_171227.jpg?size=large 2x" data-title="20241109_171227" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241109_202903.jpg" alt="20241109_202903" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241109_202903.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241109_202903.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241109_202903.jpg?size=large 2x" data-title="20241109_202903" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241110_111715.jpg" alt="20241110_111715" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241110_111715.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241110_111715.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241110_111715.jpg?size=large 2x" data-title="20241110_111715" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241110_113020.jpg" alt="20241110_113020" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241110_113020.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241110_113020.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241110_113020.jpg?size=large 2x" data-title="20241110_113020" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241110_113629.jpg" alt="20241110_113629" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241110_113629.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241110_113629.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241110_113629.jpg?size=large 2x" data-title="20241110_113629" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241110_140214.jpg" alt="20241110_140214" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241110_140214.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241110_140214.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241110_140214.jpg?size=large 2x" data-title="20241110_140214" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241110_141412.jpg" alt="20241110_141412" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241110_141412.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241110_141412.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241110_141412.jpg?size=large 2x" data-title="20241110_141412" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241110_161206.jpg" alt="20241110_161206" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241110_161206.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241110_161206.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241110_161206.jpg?size=large 2x" data-title="20241110_161206" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241110_175328.jpg" alt="20241110_175328" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241110_175328.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241110_175328.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241110_175328.jpg?size=large 2x" data-title="20241110_175328" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
<p><img loading="lazy" src="https://fantasyplayer.link/img/caprice/hongkong/20241110_180201.jpg" alt="20241110_180201" srcset="https://fantasyplayer.link/img/caprice/hongkong/20241110_180201.jpg?size=small, https://fantasyplayer.link/img/caprice/hongkong/20241110_180201.jpg?size=medium 1.5x, https://fantasyplayer.link/img/caprice/hongkong/20241110_180201.jpg?size=large 2x" data-title="20241110_180201" style="background: url(/images/loading.min.svg) no-repeat center;" onload="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}this.dataset.lazyloaded='';" onerror="this.title=this.dataset.title;for(const i of ['style', 'data-title','onerror','onload']){this.removeAttribute(i);}"/></p>
</description>
</item>
<item>
<title>香港银行卡办理记录</title>
<link>https://fantasyplayer.link/caprice/%E9%A6%99%E6%B8%AF%E9%93%B6%E8%A1%8C%E5%8D%A1%E5%8A%9E%E7%90%86/</link>
<pubDate>Wed, 13 Nov 2024 22:40:56 +0800</pubDate><author>[email protected] (Aincvy)</author>
<guid>https://fantasyplayer.link/caprice/%E9%A6%99%E6%B8%AF%E9%93%B6%E8%A1%8C%E5%8D%A1%E5%8A%9E%E7%90%86/</guid>
<description><p>港卡的主要用处就是入金美股, 也可以用来炒港股。</p>
<p>笔者前些天去香港办理了一张中银香港, 一张汇丰的实体卡, 还办理了虚拟银行ZA BANK 的一个账户。</p>
<h2 id="主要内容" class="heading-element"><span>主要内容</span>
 <a href="#%e4%b8%bb%e8%a6%81%e5%86%85%e5%ae%b9" class="heading-mark">
 <svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg>
 </a>
</h2><h3 id="资料准备" class="heading-element"><span>资料准备</span>
 <a href="#%e8%b5%84%e6%96%99%e5%87%86%e5%a4%87" class="heading-mark">
 <svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg>
 </a>
</h3><ul>
<li>身份证</li>
<li>港澳通行证</li>
<li>过关小票
<ul>
<li>进入香港的时候,需要将港澳通行证给检查人员查看, 他会对签注进行检查, 在放行的时候他会给读者一张小票, 保存好即可。</li>
</ul>
</li>
<li>3个月内的工资卡流水</li>
<li>3个月的支付宝基金报表 / 券商持仓活跃报表</li>
<li>3个月内的信用卡账单, 用于地址证明。 可以提前准备一份英文/拼音的地址。</li>
<li>每家银行 1000HKD 用于账户激活。</li>
<li>手机开通漫游服务, 否则无法接收短信</li>
</ul>
<h3 id="办理流程" class="heading-element"><span>办理流程</span>
 <a href="#%e5%8a%9e%e7%90%86%e6%b5%81%e7%a8%8b" class="heading-mark">
 <svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg>
 </a>
</h3><ul>
<li>预约
<ul>
<li>汇丰: 微信公众号 汇丰香港, 选择汇丰ONE即可, 可提前30天预约</li>
<li>中银香港: 微信公众号 中银香港微服务 选择一般账户, 可提前一周预约</li>
</ul>
</li>
<li>办理
<ul>
<li>到了预约的时间去目标银行去即可。</li>
<li>办卡理由为 炒美股, 并且将上面准备的材料都拿给银行职员检查。 不要说是存钱什么的, 会被拒绝。</li>
</ul>
</li>
</ul>
<h3 id="需要注意的点" class="heading-element"><span>需要注意的点</span>
 <a href="#%e9%9c%80%e8%a6%81%e6%b3%a8%e6%84%8f%e7%9a%84%e7%82%b9" class="heading-mark">
 <svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg>
 </a>
</h3><ul>
<li>汇丰对材料的检查不是特别严格, 但是中银香港很严格。
<ul>
<li>如果碰到了实习生的话, 会很严格, 正式员工可能会宽松一些</li>
</ul>
</li>
<li>一定要出发前准备相关的材料, 过早准备 可能会碰到材料过期。</li>
<li>汇丰没看持仓报表, 30分钟左右弄好。</li>
<li>如果没能在内地准备好资料, 到了香港之后可以使用银行APP 将流水发送到自己的邮箱,然后在香港打印。 香港打印非常贵,黑白打印,一张8HKD, 不建议在香港打印。</li>
<li>因为笔者在办理中银香港的时候 现场弄了流水账单, 券商持仓报表, 又离开银行去打印。 实习生帮我录制了信息之后, 需要正式员工进行确认, 但是有一段时间正式员工都不在,等了二三十分钟, 所以全部弄完 花了3个小时。</li>
</ul>
</description>
</item>
<item>
<title>娱乐至死 读后感</title>
<link>https://fantasyplayer.link/2024/%E5%A8%B1%E4%B9%90%E8%87%B3%E6%AD%BB-%E8%AF%BB%E5%90%8E%E6%84%9F/</link>
<pubDate>Mon, 21 Oct 2024 21:10:14 +0800</pubDate><author>[email protected] (Aincvy)</author>
<guid>https://fantasyplayer.link/2024/%E5%A8%B1%E4%B9%90%E8%87%B3%E6%AD%BB-%E8%AF%BB%E5%90%8E%E6%84%9F/</guid>
<category domain="https://fantasyplayer.link/categories/book/">Book</category>
<description><p>媒介即隐喻: 铅字,电视机都是媒介,每种媒介有不一样的特点,特性。 每个媒介在大脑中都会附带一些额外信息。</p>
<p>印刷机统治下的美国和电视机统治下的美国完全不一样, 印刷机和电视机有不同的特点, 这种特点是绑定于工具自身的。</p>
<p>电视机的娱乐属性特别高。 原因是电视机因为收视率的问题 会被迫的对节目内容做出一些调整, 这些调整会使节目变得非常具有娱乐性,片段性。</p>
<p>当电视机播出一个很惨烈的新闻的时候, 比如X死Y伤, 在新闻结束的时候, 播音员仍然会说明天同一时间再见, 这促使我们对这个新闻发生的惨剧不闻不问, 我们只是了解到了这个事情, 仅此而已。 随后我们很快会忘记它。</p>
<p>电视上一个新闻可能就只有45秒, 在播放结束之后 会紧接着播放下一条新闻, 这样就不会留给观众思考的时间。 其实,观众也不需要思考。</p>
<p>新闻使信息变成片段式的了。</p>
<p>信息应该对我们接下来的行为产生一些影响,但是新闻一般情况下对我们今天要做什么不会产生任何影响。</p>
<p>“好,现在。。” 这是一个承上启下的语句,这使得信息变得更加碎片化。 新闻播音员使用这个句子来让我们把注意力从上一个新闻转移到下一个。</p>
<p>词汇在语境下才有意义, 自相矛盾在语境下才会发生。 在一个没有语境的语境中, 自相矛盾就自动消失了。</p>
<p>印刷术统治下的美国, 书籍,小册子 才是主流。 电报的发明, 电视机的发明, 电视机与摄影术的结合, 产生了一个娱乐时代。</p>
<p>电视使政治和宗教也变成一种娱乐。 使用电视节目传教 不可避免的使传教变成一种娱乐节目。</p>
<p>宗教应该是神圣的, 需要有仪式感。 需要特定的图案, 特定的道具(木头,圣水什么的)。 电视会抹掉神圣感, 因为电视本身不是神圣的, 我在电视上看娱乐节目, 在电视上寻求快乐, 那么看宗教节目也会有类似的想法。 还有就是, 看电视节目的时候, 选择权在观众手里, 我想换台就可以直接换台, 在教堂的时候却做不到一秒回家。</p>
<p>教堂的环境和家里的环境也不一样。</p>
<p>此外, 宗教节目一旦上了电视, 就会寻求收视率, 而为了收视率 会更大的减弱宗教的神圣感。 因为会精心准备节目, 会调查观众喜欢看什么, 然后自身去往那个方向发展。所以宗教节目就会变得具有娱乐性。</p>
<p>政治也是如此,观众需要的不是思考, 不是长篇大论, 需要的是 电视明星般的感觉, 政治人物应该耀眼, 需要像其他电视广告那样推销自己, 没有深度思考, 没有疑问, 需要有的是 带给观众良好的感觉。</p>
<p>60秒的电视广告太长了, 30秒的 略显臃肿, 15 ~ 20秒的最好。 但须知 15~20 秒根本很难表达什么有深度的内容。</p>
<p>电视带来的快乐是短暂的瞬间快乐。</p>
<p>将电视和教育结合是一个不错的尝试, 但仅仅是一个不错的尝试。</p>
<p>娱乐时代会使文化精神枯萎。</p>
</description>
</item>
<item>
<title>使用docker搭建lobe chat - 本地的openai客户端</title>
<link>https://fantasyplayer.link/periphery/%E4%BD%BF%E7%94%A8docker%E6%90%AD%E5%BB%BAlobe-chat-db---%E4%B8%80%E4%B8%AAai%E5%8A%A9%E6%89%8B%E8%81%8A%E5%A4%A9%E6%9C%8D%E5%8A%A1/</link>
<pubDate>Fri, 04 Oct 2024 16:54:11 +0800</pubDate><author>[email protected] (Aincvy)</author>
<guid>https://fantasyplayer.link/periphery/%E4%BD%BF%E7%94%A8docker%E6%90%AD%E5%BB%BAlobe-chat-db---%E4%B8%80%E4%B8%AAai%E5%8A%A9%E6%89%8B%E8%81%8A%E5%A4%A9%E6%9C%8D%E5%8A%A1/</guid>
<description><h2 id="简述" class="heading-element"><span>简述</span>
 <a href="#%e7%ae%80%e8%bf%b0" class="heading-mark">
 <svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg>
 </a>
</h2><p>项目主页: <a href="https://github.com/lobehub/lobe-chat"target="_blank" rel="external nofollow noopener noreferrer">https://github.com/lobehub/lobe-chat</a></p>
<p>这是一个使用API 调用多家 LLM服务商的本地聊天客户端。</p>
<ul>
<li>支持: OpenAI / Claude 3 / Gemini / Ollama / Azure / DeepSeek</li>
<li>支持文件上传,向量化,引用文件内容</li>
<li>网页爬虫插件, 时间助手插件, 股票走势插件等</li>
</ul>
<p>lobe-chat 有2个版本, 一个是单用户版本, 使用一个固定code访问。 另外一个是 database版本, 允许多用户, 使用用户名密码注册登录。 虽然允许多用户, 但是好像无法限制用量。</p>
<p>单用户版本的部署非常简单, 而database版本的部署就有点困难了, 本文的内容是 database版本的部署。</p>
<h2 id="主要内容" class="heading-element"><span>主要内容</span>
 <a href="#%e4%b8%bb%e8%a6%81%e5%86%85%e5%ae%b9" class="heading-mark">
 <svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg>
 </a>
</h2><p>官方文档可见: <a href="https://lobehub.com/zh/docs/self-hosting/server-database/docker-compose"target="_blank" rel="external nofollow noopener noreferrer">https://lobehub.com/zh/docs/self-hosting/server-database/docker-compose</a></p>
<p>本着不重复造轮子的理念, 本文将会描述碰到的一些问题, 以及如何解决。</p>
<h3 id="logto-没有ssl证书的问题" class="heading-element"><span>logto 没有SSL证书的问题</span>
 <a href="#logto-%e6%b2%a1%e6%9c%89ssl%e8%af%81%e4%b9%a6%e7%9a%84%e9%97%ae%e9%a2%98" class="heading-mark">
 <svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg>
 </a>
</h3><p>着重说一下 logto, 这个应用要么使用localhost访问, 要么必须使用https访问, 如果lobe部署到非本机的其他机器,比如(家里的NAS服务器上), 这就变成了一个很大的问题。</p>
<p>如果有公网签发的SSL证书,可以直接使用, 但是如果没有的话, 可以考虑下面的方案:</p>
<ul>
<li>使用 ssh 的端口转发来模拟localhost 访问。
<ul>
<li><code>ssh -L 3001:localhost:3001 -L 3002:localhost:3002 user@server</code></li>
<li>成功链接到服务器之后, 在本地访问 localhost:3001 / localhost:3002(这个是管理界面) 就可以访问logto 了</li>
<li>笔者不确定这种方式是否需要每次使用lobe-chat的时候都需要端口转发。</li>
</ul>
</li>
<li>使用自签名证书
<ul>
<li>使用 <a href="https://github.com/FiloSottile/mkcert"target="_blank" rel="external nofollow noopener noreferrer">https://github.com/FiloSottile/mkcert</a> 制作自签名证书</li>
<li>使用 <a href="https://github.com/pi-hole/pi-hole"target="_blank" rel="external nofollow noopener noreferrer">https://github.com/pi-hole/pi-hole</a> 做本地的DNS解析, 或者使用别的本地解析服务</li>
<li>在pi-hole上添加了解析之后, 使用 mkcert 创建证书。
<ul>
<li>示例命令:</li>
<li>mkcert auth.logto.mylab</li>
</ul>
</li>
<li>使用 nginx 反代 logto 的服务
<ul>
<li>将证书复制 nginx 能访问到的目录里面, 使用下面的nginx 配置来配置反代</li>
</ul>
</li>
<li>修改 docker-compose.yaml 文件
<ul>
<li>修改 <code>lobe</code> 的环境变量: <code>- 'LOGTO_ISSUER=https://auth.logto.mylab/oidc'</code></li>
<li>将 mkcert 生成的 rootCA.pem 复制到 可访问的地方, 然后映射到容器里面</li>
<li>设置node.js 的环境变量, 使CA证书生效, node.js 有自己的信任机制, 它不信任linux系统的证书列表。</li>
</ul>
</li>
<li>注意: 这里没有代理 管理页面的端口3002, 所以如果需要访问管理页面的话, 还是需要使用上面的那种端口转发的形式。</li>
</ul>
</li>
</ul>
<p><strong>nginx配置参考</strong></p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span><span class="lnt">14
</span><span class="lnt">15
</span><span class="lnt">16
</span><span class="lnt">17
</span><span class="lnt">18
</span><span class="lnt">19
</span><span class="lnt">20
</span><span class="lnt">21
</span><span class="lnt">22
</span><span class="lnt">23
</span><span class="lnt">24
</span><span class="lnt">25
</span><span class="lnt">26
</span><span class="lnt">27
</span><span class="lnt">28
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-fallback" data-lang="fallback"><span class="line"><span class="cl"> server {
</span></span><span class="line"><span class="cl"> listen 80;
</span></span><span class="line"><span class="cl"> server_name auth.logto.mylab;
</span></span><span class="line"><span class="cl"> return 301 https://$server_name$request_uri;
</span></span><span class="line"><span class="cl"> }
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"> server {
</span></span><span class="line"><span class="cl"> listen 443 ssl;
</span></span><span class="line"><span class="cl"> server_name auth.logto.mylab; 
</span></span><span class="line"><span class="cl"> ssl_certificate /root/cert/auth.logto.mylab.pem; 
</span></span><span class="line"><span class="cl"> ssl_certificate_key /root/cert/auth.logto.mylab-key.pem; 
</span></span><span class="line"><span class="cl"> ssl_session_cache builtin:1000 shared:SSL:10m;
</span></span><span class="line"><span class="cl"> ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
</span></span><span class="line"><span class="cl"> ssl_ciphers HIGH:!aNULL:!eNULL:!EXPORT:!CAMELLIA:!DES:!MD5:!PSK:!RC4;
</span></span><span class="line"><span class="cl"> ssl_prefer_server_ciphers on;
</span></span><span class="line"><span class="cl">
</span></span><span class="line"><span class="cl"> location / {
</span></span><span class="line"><span class="cl"> proxy_set_header Host $host;
</span></span><span class="line"><span class="cl"> proxy_set_header X-Real-IP $remote_addr;
</span></span><span class="line"><span class="cl"> proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
</span></span><span class="line"><span class="cl"> proxy_set_header X-Forwarded-Proto $scheme;
</span></span><span class="line"><span class="cl"> proxy_set_header Upgrade $http_upgrade;
</span></span><span class="line"><span class="cl"> proxy_set_header Connection &#34;upgrade&#34;;
</span></span><span class="line"><span class="cl"> proxy_pass http://NAS的IP:3001; 
</span></span><span class="line"><span class="cl"> proxy_read_timeout 90;
</span></span><span class="line"><span class="cl"> proxy_redirect http://NAS的IP:3001 https://auth.logto.mylab; 
</span></span><span class="line"><span class="cl"> }
</span></span><span class="line"><span class="cl"> }</span></span></code></pre></td></tr></table>
</div>
</div><p><strong>docker-compose修改的示例</strong></p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-yaml" data-lang="yaml"><span class="line"><span class="cl"><span class="w"> </span><span class="nt">lobe</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">image</span><span class="p">:</span><span class="w"> </span><span class="l">lobehub/lobe-chat-database</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">container_name</span><span class="p">:</span><span class="w"> </span><span class="l">lobe-database</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="c"># 其他的选项省略了</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">volumes</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="s1">&#39;./root_certs/rootCA.pem:/usr/local/share/ca-certificates/mkcertRootCA.crt&#39;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="nt">environment</span><span class="p">:</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="s1">&#39;LOGTO_ISSUER=https://auth.logto.mylab/oidc&#39;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="s1">&#39;S3_ENDPOINT=http://NAS的IP:${MINIO_PORT}&#39;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="s1">&#39;S3_PUBLIC_DOMAIN=http://NAS的IP:${MINIO_PORT}&#39;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span>- <span class="s1">&#39;NODE_EXTRA_CA_CERTS=/usr/local/share/ca-certificates/mkcertRootCA.crt&#39;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="c"># 其他的省略了</span></span></span></code></pre></td></tr></table>
</div>
</div><p>配置到 Nginx上的是 <code>auth.logto.mylab.pem</code> 和 <code>auth.logto.mylab-key.pem</code> ,配置到 lobe-chat里面的是<code>rootCA.pem</code> ,总共是3个不同的文件, rootCA.pem 是根证书。</p>
<h3 id="使用代理访问openai等llm提供商" class="heading-element"><span>使用代理访问openai等LLM提供商</span>
 <a href="#%e4%bd%bf%e7%94%a8%e4%bb%a3%e7%90%86%e8%ae%bf%e9%97%aeopenai%e7%ad%89llm%e6%8f%90%e4%be%9b%e5%95%86" class="heading-mark">
 <svg class="octicon octicon-link" viewBox="0 0 16 16" version="1.1" width="16" height="16" aria-hidden="true"><path d="m7.775 3.275 1.25-1.25a3.5 3.5 0 1 1 4.95 4.95l-2.5 2.5a3.5 3.5 0 0 1-4.95 0 .751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018 1.998 1.998 0 0 0 2.83 0l2.5-2.5a2.002 2.002 0 0 0-2.83-2.83l-1.25 1.25a.751.751 0 0 1-1.042-.018.751.751 0 0 1-.018-1.042Zm-4.69 9.64a1.998 1.998 0 0 0 2.83 0l1.25-1.25a.751.751 0 0 1 1.042.018.751.751 0 0 1 .018 1.042l-1.25 1.25a3.5 3.5 0 1 1-4.95-4.95l2.5-2.5a3.5 3.5 0 0 1 4.95 0 .751.751 0 0 1-.018 1.042.751.751 0 0 1-1.042.018 1.998 1.998 0 0 0-2.83 0l-2.5 2.5a1.998 1.998 0 0 0 0 2.83Z"></path></svg>
 </a>
</h3><p>在 .env 里面添加</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-fallback" data-lang="fallback"><span class="line"><span class="cl">PROXY_URL=http://地址:端口</span></span></code></pre></td></tr></table>
</div>
</div><p>即可</p>
</description>
</item>
<item>
<title>黑客与画家 读后感</title>
<link>https://fantasyplayer.link/2024/%E9%BB%91%E5%AE%A2%E4%B8%8E%E7%94%BB%E5%AE%B6-%E8%AF%BB%E5%90%8E%E6%84%9F/</link>
<pubDate>Fri, 04 Oct 2024 16:16:39 +0800</pubDate><author>[email protected] (Aincvy)</author>
<guid>https://fantasyplayer.link/2024/%E9%BB%91%E5%AE%A2%E4%B8%8E%E7%94%BB%E5%AE%B6-%E8%AF%BB%E5%90%8E%E6%84%9F/</guid>
<category domain="https://fantasyplayer.link/categories/book/">Book</category>
<description><p><em>本博文是笔者读完之后2个月写的,所以部分内容记得不是很准。</em></p>
<p>学校的作用就是把孩子们关起来, 好让他们的父母可以去做别的事情。</p>
<p>学校和监狱是有类似氛围的场所, 因为学生自身的能力和技术并不会直接对他们产生正向效用。 如果在社会上,技术高超的人会获取更多的报酬。报酬的多少可以直接影响一个人的各个方面, 而学生却不会感受到这种东西。</p>
<p>如果你想抨击某人, 那就给他贴上标签把。</p>
<p>你可以在你的大脑里面进行各种思想, 但是不要说出去。</p>
<p>如果你想快速致富, 就去创业。 创业是要在1年内完成别人三年的工作。</p>
<p>金钱是一种媒介,金钱本身并不是一种财富,财富是人们需要的东西。 当你修好了自家坏掉的拖拉机的时候, 你就创造了财富。</p>
<p>如果你不努力, 你就会取得平均水平的结果, 而创业公司的平均水平就是倒闭关门。</p>
<p>当客户第一次提出某种意见的时候,不予理会, 只有客户第三次,第四次提出意见的时候,才会给予支持和实现, 因为客户很可能也不知道自己想要什么。</p>
<p>贫富差距随着社会发展正在越来越大,但是总体来说现代的穷人也是会享受一些社会发展的成果的。 比如古代的皇帝无论如何也无法享受到高铁动车的便利, 更何况冰箱空调等基本家用电器。</p>
<p>我们选取最困难的方法来实现我们的想法, 因为这样可以在一定程度上提高竞争对手复制我们功能的代价。 如果某些功能我们有, 他们没有, 那么我们就有了优势。</p>
<p>壁垒是一件很重要的事情。</p>
<p>不同编程语言的比较是看特性的, 比如语言A支持闭包,递归, 但是语言B不支持,那么语言A就具备了语言B不具有的特性, 就可以实现一些更高级的功能。 <em>笔者注:现代编程语言的特性应该都差不太多了。</em></p>
<p>好的设计就是简单的设计。</p>
</description>
</item>
<item>
<title>在linux里面安装homebrew</title>
<link>https://fantasyplayer.link/periphery/%E5%9C%A8linux%E9%87%8C%E9%9D%A2%E5%AE%89%E8%A3%85homebrew/</link>
<pubDate>Fri, 04 Oct 2024 14:20:48 +0800</pubDate><author>[email protected] (Aincvy)</author>
<guid>https://fantasyplayer.link/periphery/%E5%9C%A8linux%E9%87%8C%E9%9D%A2%E5%AE%89%E8%A3%85homebrew/</guid>
<description><p>homebrew 是一个包管理器, 可以用这个工具安装很多软件包,开发库等。 这个工具在macos 上是比较出名的。</p>
<p>注意,在linux上, 应该考虑把 homebrew 安装到目录<code>/home/linuxbrew/.linuxbrew</code> 里面, 如果不想安装到此目录, 可以先建立一个软连接, 然后再执行安装脚本。</p>
<p>下面是安装流程:</p>
<ul>
<li>建立软连接 <em>可选</em>
<ul>
<li><code>sudo ln -s [目录] /home/linuxbrew/.linuxbrew</code></li>
<li>如果使用软连接的话, 还需要注意文件夹以及文件权限的问题。 <em>homebrew不能使用root权限进行安装</em></li>
</ul>
</li>
<li>安装: <code>ALL_PROXY=[代理服务器地址] /bin/bash -c &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)&quot;</code>
<ul>
<li>如果没有代理服务器, 或者不需要的话, 可以执行: <code>/bin/bash -c &quot;$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)&quot;</code></li>
</ul>
</li>
<li>成功安装之后, 执行命令: <code>(echo; echo 'eval &quot;$(/home/linuxbrew/.linuxbrew/bin/brew shellenv)&quot;') &gt;&gt; ~/.bashrc</code></li>
<li>打开一个新的终端, 输入命令<code>brew --version</code> , 如果能看到版本号打印就说明安装成功了。</li>
</ul>
<p>有一点需要注意的是, 如果系统的 glibc 版本比较低, 使用 brew 安装软件的时候, 会自动下载一个新版本的glibc 。 如果使用brew 安装一些 cpp开发库的话, 就需要考虑同时使用 brew 安装 gcc/g++ , 然后使用 brew 安装的 gcc来编译项目。 否则 可能会碰到大量的链接错误。 笔者同时尝试了clang, 但是没有成功。 此外,如果使用新版本的glibc 代替系统的,常规程序(ls,mv,cat等) 都会报段错误。</p>
</description>
</item>
<item>
<title>Java中子类隐藏父类的静态函数</title>
<link>https://fantasyplayer.link/program/java%E4%B8%AD%E5%AD%90%E7%B1%BB%E9%9A%90%E8%97%8F%E7%88%B6%E7%B1%BB%E7%9A%84%E5%87%BD%E6%95%B0/</link>
<pubDate>Fri, 04 Oct 2024 14:14:50 +0800</pubDate><author>[email protected] (Aincvy)</author>
<guid>https://fantasyplayer.link/program/java%E4%B8%AD%E5%AD%90%E7%B1%BB%E9%9A%90%E8%97%8F%E7%88%B6%E7%B1%BB%E7%9A%84%E5%87%BD%E6%95%B0/</guid>
<description><div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt"> 1
</span><span class="lnt"> 2
</span><span class="lnt"> 3
</span><span class="lnt"> 4
</span><span class="lnt"> 5
</span><span class="lnt"> 6
</span><span class="lnt"> 7
</span><span class="lnt"> 8
</span><span class="lnt"> 9
</span><span class="lnt">10
</span><span class="lnt">11
</span><span class="lnt">12
</span><span class="lnt">13
</span><span class="lnt">14
</span><span class="lnt">15
</span><span class="lnt">16
</span><span class="lnt">17
</span><span class="lnt">18
</span><span class="lnt">19
</span><span class="lnt">20
</span><span class="lnt">21
</span><span class="lnt">22
</span><span class="lnt">23
</span><span class="lnt">24
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-java" data-lang="java"><span class="line"><span class="cl"><span class="kd">class</span> <span class="nc">HelloWorld</span><span class="w"> </span><span class="p">{</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="kd">public</span><span class="w"> </span><span class="kd">static</span><span class="w"> </span><span class="kt">void</span><span class="w"> </span><span class="nf">main</span><span class="p">(</span><span class="n">String</span><span class="o">[]</span><span class="w"> </span><span class="n">args</span><span class="p">)</span><span class="w"> </span><span class="p">{</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="n">System</span><span class="p">.</span><span class="na">out</span><span class="p">.</span><span class="na">println</span><span class="p">(</span><span class="s">&#34;Try programiz.pro&#34;</span><span class="p">);</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> 
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="n">Basic</span><span class="p">.</span><span class="na">printNumber</span><span class="p">();</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="n">Child</span><span class="p">.</span><span class="na">printNumber</span><span class="p">();</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="p">}</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="p">}</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="kd">class</span> <span class="nc">Basic</span><span class="w"> </span><span class="p">{</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="kd">public</span><span class="w"> </span><span class="kd">static</span><span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="nf">getNumber</span><span class="p">(){</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">1</span><span class="p">;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="p">}</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> 
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="kd">public</span><span class="w"> </span><span class="kd">static</span><span class="w"> </span><span class="kt">void</span><span class="w"> </span><span class="nf">printNumber</span><span class="p">(){</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="n">System</span><span class="p">.</span><span class="na">out</span><span class="p">.</span><span class="na">println</span><span class="p">(</span><span class="n">getNumber</span><span class="p">());</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="p">}</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="p">}</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="kd">class</span> <span class="nc">Child</span><span class="w"> </span><span class="kd">extends</span><span class="w"> </span><span class="n">Basic</span><span class="w"> </span><span class="p">{</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="kd">public</span><span class="w"> </span><span class="kd">static</span><span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="nf">getNumber</span><span class="p">(){</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="k">return</span><span class="w"> </span><span class="n">2</span><span class="p">;</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"> </span><span class="p">}</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="p">}</span></span></span></code></pre></td></tr></table>
</div>
</div><p>上面的代码, 将会输出下面的结果:</p>
<div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-fallback" data-lang="fallback"><span class="line"><span class="cl">Try programiz.pro 
</span></span><span class="line"><span class="cl">1 
</span></span><span class="line"><span class="cl">1 </span></span></code></pre></td></tr></table>
</div>
</div><p>说明在静态函数里面 不存在覆盖一说,只是单纯的隐藏而已。 如果是实例方法的话, 父类的方法将会被覆盖, 但是静态方法不会被覆盖。</p>
</description>
</item>
<item>
<title>Java中Integer和int的相等判断</title>
<link>https://fantasyplayer.link/program/java%E4%B8%ADinteger%E5%92%8Cint%E7%9A%84%E7%9B%B8%E7%AD%89%E5%88%A4%E6%96%AD/</link>
<pubDate>Fri, 04 Oct 2024 14:11:45 +0800</pubDate><author>[email protected] (Aincvy)</author>
<guid>https://fantasyplayer.link/program/java%E4%B8%ADinteger%E5%92%8Cint%E7%9A%84%E7%9B%B8%E7%AD%89%E5%88%A4%E6%96%AD/</guid>
<description><div class="highlight"><div class="chroma">
<table class="lntable"><tr><td class="lntd">
<pre tabindex="0" class="chroma"><code><span class="lnt">1
</span><span class="lnt">2
</span><span class="lnt">3
</span></code></pre></td>
<td class="lntd">
<pre tabindex="0" class="chroma"><code class="language-java" data-lang="java"><span class="line"><span class="cl"><span class="kt">int</span><span class="w"> </span><span class="n">i</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">j</span><span class="w"> </span><span class="p">:</span><span class="w"> </span><span class="err">✔</span><span class="n">️可以判断是否相等</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="n">Integer</span><span class="w"> </span><span class="n">i</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="kt">int</span><span class="w"> </span><span class="n">j</span><span class="p">:</span><span class="w"> </span><span class="err">✔</span><span class="n">️可以判断是否相等</span><span class="err">,</span><span class="n">因为会自动拆箱</span><span class="w">
</span></span></span><span class="line"><span class="cl"><span class="w"></span><span class="n">Integer</span><span class="w"> </span><span class="n">i</span><span class="w"> </span><span class="o">==</span><span class="w"> </span><span class="n">Integer</span><span class="w"> </span><span class="n">j</span><span class="p">:</span><span class="w"> </span><span class="err">❌</span><span class="n">不可以判断是否相等</span><span class="err">,</span><span class="w"> </span><span class="n">需要使用</span><span class="w"> </span><span class="n">equals</span><span class="w">			</span></span></span></code></pre></td></tr></table>
</div>
</div></description>
</item>
<item>
<title>Docker Compose的项目机制</title>
<link>https://fantasyplayer.link/periphery/docker-compose%E7%9A%84%E9%A1%B9%E7%9B%AE%E6%9C%BA%E5%88%B6/</link>
<pubDate>Fri, 04 Oct 2024 14:00:56 +0800</pubDate><author>[email protected] (Aincvy)</author>
<guid>https://fantasyplayer.link/periphery/docker-compose%E7%9A%84%E9%A1%B9%E7%9B%AE%E6%9C%BA%E5%88%B6/</guid>
<description><p>docker compose 存在一个项目机制, 官方文档参考: <a href="https://docs.docker.com/reference/cli/docker/compose/#use--p-to-specify-a-project-name"target="_blank" rel="external nofollow noopener noreferrer">https://docs.docker.com/reference/cli/docker/compose/#use--p-to-specify-a-project-name</a></p>
<p>项目名称的遵从下面的顺序来设置:</p>
<ul>
<li>使用 -p 的命令行参数</li>
<li>环境变量: <code>COMPOSE_PROJECT_NAME</code></li>
<li>配置文件里面的顶层配置项 <code>name:</code> (或者在指定了一系列配置文件时最后一个<code>name:</code>)</li>
<li>配置文件所在的目录名字(或者第一个配置文件所在的目录的目录名字)</li>
<li>如果没有指定项目名称, 那么将会使用当前目录的目录名字作为项目名称。 目录名字必须由这些元素组成: 小写字母,数字,- 或_ 。 同时必须以小写字母或者数字开头, 否则就必须使用其他机制来指定项目名称。</li>
</ul>
<p>当完全没有指定过项目名称的时候, 将会使用<code>docker-compose.yaml</code> 文件所在目录的目录名作为项目名称, 所以如果存在 A/X, B/X 两个目录的时候, 两个项目名称都将会是 X 。</p>
<p>这意味着,在 B/X 目录下执行 docker compose up 的时候, 会把 A/X 的容器给顶掉, 反过来也一样。</p>
</description>
</item>
<item>
<title>Yubikey使用一周的体验</title>
<link>https://fantasyplayer.link/caprice/yubikey%E4%BD%BF%E7%94%A8%E4%B8%80%E5%91%A8%E7%9A%84%E4%BD%93%E9%AA%8C/</link>
<pubDate>Fri, 04 Oct 2024 13:48:32 +0800</pubDate><author>[email protected] (Aincvy)</author>
<guid>https://fantasyplayer.link/caprice/yubikey%E4%BD%BF%E7%94%A8%E4%B8%80%E5%91%A8%E7%9A%84%E4%BD%93%E9%AA%8C/</guid>
<description><p>Yubikey 是一个物理密钥, 形状类似于U盘,接口有 USB-A, USB-C, LIGHTNING 接口的, 同时允许使用NFC无线连接手机。</p>
<p>应用场景有:</p>
<ul>
<li><a href="https://fantasyplayer.link/caprice/%E4%BD%BF%E7%94%A8yubikey-otp-%E9%AA%8C%E8%AF%81sudo/">使用yubikey-Otp验证sudo</a></li>
<li><a href="https://fantasyplayer.link/caprice/%E4%BD%BF%E7%94%A8yubikey-%E7%AD%BE%E5%90%8Dgit%E6%8F%90%E4%BA%A4%E8%AE%B0%E5%BD%95/">使用yubikey签名git提交记录</a></li>
<li><a href="https://fantasyplayer.link/caprice/%E4%BD%BF%E7%94%A8yubikey%E5%AD%98%E5%82%A8wireguard%E7%9A%84%E7%A7%81%E9%92%A5/">使用yubikey存储wireguard的私钥</a></li>
<li><a href="https://fantasyplayer.link/caprice/%E4%BD%BF%E7%94%A8yubikey%E5%AE%9E%E7%8E%B0ssh%E5%85%8D%E5%AF%86%E7%99%BB%E5%BD%95/">使用yubikey实现ssh免密登录</a></li>
<li><a href="https://fantasyplayer.link/caprice/%E4%BD%BF%E7%94%A8yubikey%E5%AF%B9keepass%E6%95%B0%E6%8D%AE%E5%BA%93%E8%BF%9B%E8%A1%8C%E5%8A%A0%E5%AF%86/">使用yubikey对keepass数据库进行加密</a></li>
</ul>
<p>需要注意的点:</p>
<ul>
<li>手机上NFC链接的时候 无法输入静态密码, 因为yubikey是模拟键盘输入的, 而NFC无法做到模拟键盘。</li>
<li>槽位只有2个(短按和长按) 所以只能从下面4个功能中选择2个: 静态密码, OTP(出厂自带),挑战-响应, HTOP
<ul>
<li>挑战-响应 不需要手动键入, 但是仍然需要占用槽位。</li>
<li>OTP是出厂自带, 会占用1个槽位, 所以能配置的只有1个。 简单来说2个槽位不够用。</li>
</ul>
</li>
<li>最大支持 64个 TOTP , 所以可能需要考虑配合一个密码管理工具来使用。</li>
<li>价格不低, 笔者淘宝上买了2个 5NFC, 花了1000块。
<ul>
<li>一般都是建议买2个, 一个主要使用,一个是备用的。</li>
</ul>
</li>
<li>国内软件基本上都不支持, 但是国外软件支持的很多。</li>
</ul>
</description>
</item>
</channel>
</rss>