-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
328 lines (308 loc) · 11.9 KB
/
index.html
File metadata and controls
328 lines (308 loc) · 11.9 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Code Tip</title>
<meta name="description" content="Coding, scientific development, finance, data analysis, visualization, statistics, and machine learning">
<meta name="author" content="Marsyas">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<!-- Le HTML5 shim, for IE6-8 support of HTML elements -->
<!--[if lt IE 9]>
<script src="/theme/html5.js"></script>
<![endif]-->
<link href="/theme/css/ipython.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/css/bootstrap.min.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/font-awesome/4.1.0/css/font-awesome.min.css" rel="stylesheet">
<link href="//maxcdn.bootstrapcdn.com/bootswatch/3.2.0/simplex/bootstrap.min.css" rel="stylesheet">
<link href="/theme/css/local.css" rel="stylesheet">
<link href="/theme/css/pygments.css" rel="stylesheet">
</head>
<body>
<div class="container">
<div class="page-header">
<h1><a href="/">Code Tip</a>
<br> </div>
<div class="row">
<div class="col-md-8 col-md-offset-2">
<div class="article" itemscope itemtype="http://schema.org/BlogPosting">
<a href="/mpvzhong-wen-zi-mu-xian-shi-cheng-fang-ge-de-jie-jue-fang-an.html">
<h2 itemprop="name headline">mpv中文字幕显示成方格□的解决方案</h2>
</a>
<time datetime="2025-07-19T12:00:00+08:00" itemprop="datePublished">Sat 19 July 2025</time>
—
<span itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">Marsyas</span>
</span>
<div class="summary"><p>下载的蓝光电影没有中文字幕,用<a href="https://github.com/fispurring/LightVT">lightVT</a>翻译出中文字幕后,发现播放时中文都变成了方格□。网上搜了下,是因为缺乏mpv播放器使用的字体,打开“字 …</p></div>
Category:
<span itemprop="articleSection">
<a href="/category/ji-zhu.html" rel="category">技术</a>
</span>
Tags:
<span itemprop="keywords">
<a href="/tag/mpv.html" rel="tag">mpv</a>
</span>
<span itemprop="keywords">
<a href="/tag/lightvt.html" rel="tag">lightVT</a>
</span>
<span itemprop="keywords">
<a href="/tag/macos.html" rel="tag">macOS</a>
</span>
<span itemprop="keywords">
<a href="/tag/zi-ti.html" rel="tag">字体</a>
</span>
</div>
<hr>
<div class="article" itemscope itemtype="http://schema.org/BlogPosting">
<a href="/bian-yi-llama-cpp-cuda.html">
<h2 itemprop="name headline">编译llama-cpp-cuda</h2>
</a>
<time datetime="2025-07-06T20:00:00+08:00" itemprop="datePublished">Sun 06 July 2025</time>
—
<span itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">Marsyas</span>
</span>
<div class="summary"><p>llama-cpp-python 0.3.4版本(官方在win上最新的预编译cuda版本)不支持qwen3和gemma3架构,只能自己编译最新的llama-cpp-python cuda版本。
编译期间碰到“No CUDA toolset found.”报错,copilot询问无果,在 <a href="https://github.com/abetlen/llama-cpp-python/issues/247#issuecomment-1848769561">这里</a> 找到了解决方法。
编译步骤 …</p></div>
Category:
<span itemprop="articleSection">
<a href="/category/ji-zhu.html" rel="category">技术</a>
</span>
Tags:
<span itemprop="keywords">
<a href="/tag/llama-cpp-python.html" rel="tag">llama-cpp-python</a>
</span>
<span itemprop="keywords">
<a href="/tag/python.html" rel="tag">python</a>
</span>
<span itemprop="keywords">
<a href="/tag/llamacpp.html" rel="tag">llama.cpp</a>
</span>
</div>
<hr>
<div class="article" itemscope itemtype="http://schema.org/BlogPosting">
<a href="/ji-ge-chang-yong-de-isobiao-zhun.html">
<h2 itemprop="name headline">几个常用的ISO标准</h2>
</a>
<time datetime="2024-11-02T00:00:00+08:00" itemprop="datePublished">Sat 02 November 2024</time>
—
<span itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">Marsyas</span>
</span>
<div class="summary"><ul>
<li>币种 ISO4217</li>
<li>日期时间 iso8601</li>
<li>地区 ISO-3166-1</li>
</ul></div>
Category:
<span itemprop="articleSection">
<a href="/category/ji-zhu.html" rel="category">技术</a>
</span>
Tags:
<span itemprop="keywords">
<a href="/tag/isobiao-zhun.html" rel="tag">ISO标准</a>
</span>
</div>
<hr>
<div class="article" itemscope itemtype="http://schema.org/BlogPosting">
<a href="/directus-da-yin-bu-chu-typescript-dui-zhan.html">
<h2 itemprop="name headline">Directus 打印不出 typescript 堆栈</h2>
</a>
<time datetime="2023-11-15T00:39:00+08:00" itemprop="datePublished">Wed 15 November 2023</time>
—
<span itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">Marsyas</span>
</span>
<div class="summary"><h3>现象</h3>
<p>Directus extensions 打印错误日志,只能打印出 javascript 堆栈,无法打印出 typescript 堆栈。</p>
<h3>排查过程</h3>
<ul>
<li>检查了输出目录 dist,发现 dist 目录下有对应的 map 文 …</li></ul></div>
Category:
<span itemprop="articleSection">
<a href="/category/ji-zhu.html" rel="category">技术</a>
</span>
Tags:
<span itemprop="keywords">
<a href="/tag/directus.html" rel="tag">Directus</a>
</span>
<span itemprop="keywords">
<a href="/tag/typescript.html" rel="tag">TypeScript</a>
</span>
<span itemprop="keywords">
<a href="/tag/nodejs.html" rel="tag">nodejs</a>
</span>
</div>
<hr>
<div class="article" itemscope itemtype="http://schema.org/BlogPosting">
<a href="/wei-xian-de-gc.html">
<h2 itemprop="name headline">危险的GC</h2>
</a>
<time datetime="2013-06-24T00:00:00+08:00" itemprop="datePublished">Mon 24 June 2013</time>
—
<span itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">Marsyas</span>
</span>
<div class="summary"><p>在用cocos2d-javascript binding作游戏的时候遇到一个莫名其妙崩溃的问题,调用堆栈显示是在GC的时候,执行一个叫做MarkObjectRoot的函数,发生了EXC_BAD_ACCESS错误。</p>
<p>于是查找了些关于ObjectRoot的信息,这东西主要是为了防止SpiderMonkey执行GC操作的时候把还在使用的Object引用清除掉而存在的,不少地方都在 …</p></div>
Category:
<span itemprop="articleSection">
<a href="/category/ji-zhu.html" rel="category">技术</a>
</span>
Tags:
<span itemprop="keywords">
<a href="/tag/cocosbuilder.html" rel="tag">cocosbuilder</a>
</span>
<span itemprop="keywords">
<a href="/tag/cocos2d-x.html" rel="tag">cocos2d-x</a>
</span>
<span itemprop="keywords">
<a href="/tag/javascript.html" rel="tag">javascript</a>
</span>
</div>
<hr>
<div class="article" itemscope itemtype="http://schema.org/BlogPosting">
<a href="/cocosbuilderzhong-de-javascriptji-cheng-wen-ti.html">
<h2 itemprop="name headline">CocosBuilder中的javascript继承问题</h2>
</a>
<time datetime="2013-06-19T00:00:00+08:00" itemprop="datePublished">Wed 19 June 2013</time>
—
<span itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">Marsyas</span>
</span>
<div class="summary"><p>由于在同一游戏中,不同关卡在玩法上有许多相同的地方,为了能够让代码复用以简化编程,我往往会把相同的部分放在 …</p></div>
Category:
<span itemprop="articleSection">
<a href="/category/ji-zhu.html" rel="category">技术</a>
</span>
Tags:
<span itemprop="keywords">
<a href="/tag/cocosbuilder.html" rel="tag">cocosbuilder</a>
</span>
<span itemprop="keywords">
<a href="/tag/cocos2d-x.html" rel="tag">cocos2d-x</a>
</span>
<span itemprop="keywords">
<a href="/tag/javascript.html" rel="tag">javascript</a>
</span>
</div>
<hr>
<div class="article" itemscope itemtype="http://schema.org/BlogPosting">
<a href="/hao-wan-de-cocosbuilder.html">
<h2 itemprop="name headline">好玩的CocosBuilder</h2>
</a>
<time datetime="2013-06-11T00:00:00+08:00" itemprop="datePublished">Tue 11 June 2013</time>
—
<span itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">Marsyas</span>
</span>
<div class="summary"><p>CocosBuilder是一个用于cocos2d的可视化编辑器,属于cocos2d联合发布的一部分。我曾经考虑过用它来做游戏的界面编辑,但是做了个Demo,评估了下之后,还是放弃了这个想法。一方面是感觉CocosBuilder还不太成熟,很 …</p></div>
Category:
<span itemprop="articleSection">
<a href="/category/ji-zhu.html" rel="category">技术</a>
</span>
Tags:
<span itemprop="keywords">
<a href="/tag/cocosbuilder.html" rel="tag">cocosbuilder</a>
</span>
<span itemprop="keywords">
<a href="/tag/cocos2d-x.html" rel="tag">cocos2d-x</a>
</span>
<span itemprop="keywords">
<a href="/tag/javascript.html" rel="tag">javascript</a>
</span>
</div>
<hr>
<div class="article" itemscope itemtype="http://schema.org/BlogPosting">
<a href="/yong-cocos2d-xkai-fa-windowsyou-xi.html">
<h2 itemprop="name headline">用Cocos2d-x开发Windows游戏</h2>
</a>
<time datetime="2013-05-05T00:00:00+08:00" itemprop="datePublished">Sun 05 May 2013</time>
—
<span itemprop="author" itemscope="" itemtype="http://schema.org/Person">
<span itemprop="name">Marsyas</span>
</span>
<div class="summary"><p>虽然在cocos2d-x支持的平台中包括Windows、Mac、Linux这样的传统电脑平台,但是这些平台只是被视为开发环境而存在的,对于在这些平台上面发布游戏,cocos2d-x本身没有提供官方的解决方案。然而,这些平台(尤其是Windows)拥 …</p></div>
Category:
<span itemprop="articleSection">
<a href="/category/ji-zhu.html" rel="category">技术</a>
</span>
Tags:
<span itemprop="keywords">
<a href="/tag/cocos2d-x.html" rel="tag">cocos2d-x</a>
</span>
<span itemprop="keywords">
<a href="/tag/windows.html" rel="tag">windows</a>
</span>
</div>
<hr>
<div class="pagination">
<ul>
<li class="prev disabled"><a href="#">← Previous</a></li>
<li class="active"><a href="/index.html">1</a></li>
<li class="next disabled"><a href="#">→ Next</a></li>
</ul>
</div> </div>
</div> <!-- <hr> -->
</div> <!-- /container -->
<footer class="aw-footer bg-danger">
<div class="container"> <!-- footer -->
<div class="row">
<div class="col-md-10 col-md-offset-1">
<div class="row">
<div class="col-md-3">
<h4>Navigation</h4>
<ul class="list-unstyled my-list-style">
<li><a href="">Code Tip</a></li>
</ul>
</div>
<div class="col-md-3">
<h4>Author</h4>
<ul class="list-unstyled my-list-style">
<li><a href="mailto:llxxyy217@gmail.com">Email</a></li>
</ul>
</div>
<div class="col-md-3">
<h4>Categories</h4>
<ul class="list-unstyled my-list-style">
<li><a href="/category/技术.html">技术 (8)</a></li>
</ul>
</div>
<div class="col-md-3">
<h4>Links</h4>
<ul class="list-unstyled my-list-style">
<li><a href="https://github.com/fispurring/">Github</a></li>
</ul>
</div>
</div>
</div>
</div>
</div>
</footer>
<div class="container">
<div class="row">
<div class="col-md-12 text-center center-block aw-bottom">
<p>© Marsyas 2016</p>
<p>Powered by Pelican</p>
</div>
</div>
</div>
<!-- JavaScript -->
<script src="https://code.jquery.com/jquery-2.1.1.min.js"></script>
<script src="//maxcdn.bootstrapcdn.com/bootstrap/3.2.0/js/bootstrap.min.js"></script>
<script type="text/javascript">
jQuery(document).ready(function($) {
$("div.collapseheader").click(function () {
$header = $(this).children("span").first();
$codearea = $(this).children(".input_area");
$codearea.slideToggle(500, function () {
$header.text(function () {
return $codearea.is(":visible") ? "Collapse Code" : "Expand Code";
});
});
});
});
</script>
</body>
</html>