Skip to content

Commit

Permalink
update
Browse files Browse the repository at this point in the history
  • Loading branch information
lmj01 committed Oct 14, 2024
1 parent a3e6318 commit 4e753c1
Show file tree
Hide file tree
Showing 12 changed files with 117 additions and 73 deletions.
10 changes: 10 additions & 0 deletions articles/notes/quantification.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# 量化

https://github.com/FinHackCN/finhack/tree/main

这俩是专业的
https://github.com/vnpy/vnpy
https://github.com/mementum/backtrader

这个是cpp,专业机构都在用,但没必要,还是python快,写demo就用python
https://github.com/wondertrader/wondertrader
2 changes: 2 additions & 0 deletions articles/notes/work.md
Original file line number Diff line number Diff line change
Expand Up @@ -106,5 +106,7 @@ Bolton指数可以明确地分析上下颌牙齿牙量的大小,可根据数
### 牙弓

- 整个牙弓的阻力中心如何求
- 牙弓线牙弓使用spline来实现
- 前牙区的前凸扩弓、后收缩弓 需要配合牙齿的IPR和间隙值的调整2024/10/9

取tooth上的occc和occm关键点作采样的基础, 牙弓有两条线,一个是辅助可以变换的,一个是对颌显示使用。
15 changes: 12 additions & 3 deletions cg/geometry.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,7 @@

几何法线Geometric Normal通常指的是在几何建模阶段为每个顶点计算的法线向量,它代表了在该顶点处表面的平滑近似。

- 顶点法线,计算每个顶点相连的的所有三角形的面法线的平均值来得到顶点法线。
-

- 顶点法线,计算每个顶点相连的的所有三角形的面法线的平均值来得到顶点法线。

- Normals in geometry a normal is a vector or a line that is perpendicular to a given object (e.g. plane normal, vertex normal ).
- Normals in graphics are usually used for light calculations, such as calculating Diffuse reflection across a surface by taking the dot product between the light direction and surface normals. Normals are usually calculated based on the geometrical properties of the mesh (Faces/Vertices), by taking the cross product of any two non-parallel edges that lies on the same plane.
Expand All @@ -34,6 +32,17 @@

- [等几何技术](/cg/mesh/isogeometric.md)

## 距离

- [GJK collision detection lib in raw js ](https://github.com/guilledk/gjk-js)
- [An Efficient Parametric Algorithm for Octree Traversal Jorge Revelles,Carlos Ureña,Miguel Lastra](https://static.aminer.org/pdf/PDF/000/672/942/an_efficient_parametric_algorithm_for_octree_traversal.pdf)

### bvh

- [A BVH implementation to speed up raycasting and enable spatial queries against three.js meshes. ](https://github.com/gkjohnson/three-mesh-bvh)
- [A modern C++ BVH construction and traversal library ](https://github.com/madmann91/bvh)


## 参考

- [代数几何小科普3:怎么知道方程(组)有解? ](https://blog.sciencenet.cn/blog-1646100-818073.html)
Expand Down
1 change: 1 addition & 0 deletions cg/tools/curve.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ Catmull-Rom广泛使用于建模或动画,它有三个属性
Catmull-Rom样条线是由四个控制点p0,p1,p2,p3定义的插值样条曲线,曲线只绘制从p1到p2的部分,就是去除掉首尾两个点。即如果要绘制一条通过K个点的曲线,需要K+2个控制点,首尾两个点可以任意选择,但是会影响曲线形状。

[On the Parameterization of Catmull-Rom Curves](http://www.cemyuksel.com/research/catmullrom_param/catmullrom.pdf)

[Parameterization and Applications of Catmull-Rom Curves](http://www.cemyuksel.com/research/catmullrom_param/catmullrom_cad.pdf)

[Smooth Paths Using Catmull-Rom Splines](https://qroph.github.io/2018/07/30/smooth-paths-using-catmull-rom-splines.html)
Expand Down
3 changes: 3 additions & 0 deletions exercises/book-info.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,9 @@
- [pdf](https://journal.cricaas.com.cn/attached/file/20210517/20210517161953_566.pdf)
- [在线英语语法书籍--旋元佑](https://llwslc.github.io/grammar-club/)

- [数学家记录史MacTutor is a free online resource containing biographies of more than 3000 mathematicians and over 2000 pages of essays and supporting materials. ](https://mathshistory.st-andrews.ac.uk/)


## 数论

- [[]远山启《数学女王的邀请--初等数论入门》](https://book.douban.com/subject/35097523/)
Expand Down
1 change: 1 addition & 0 deletions index/article.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@
- [GeoGebra开源项目](/articles/2024/geogebra.md)
- [vfs虚拟文件系统](/articles/2024/vfs.md)
- [三维网格](/articles/notes/mesh.md)
- [量化股市](/articles/notes/quantification.md)

## 2023

Expand Down
1 change: 1 addition & 0 deletions index/book-info.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- [国学导航](http://www.guoxue123.com/)
- [漢川草廬--一個文史哲愛好者所建立的正體中文古籍網站--繁体-台湾](http://www.漢川草廬.tw/index.php)
- [中國哲學書電子化計劃](https://ctext.org/zh)
- [北京大学《儒藏》编纂与研究中心](https://ruzang.pku.edu.cn/)



Expand Down
8 changes: 6 additions & 2 deletions index/online.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,9 @@
# 线上文章
# 在线

- [AI - AMiner由清华大学计算机科学与技术系建立,论文检索, 手机号](https://www.aminer.cn/)
- [kimi](https://kimi.moonshot.cn)
- [文言一心](https://yiyan.baidu.com)

- [数学家记录史MacTutor is a free online resource containing biographies of more than 3000 mathematicians and over 2000 pages of essays and supporting materials. ](https://mathshistory.st-andrews.ac.uk/)

- [Visual Information Theory可视化信息理论](https://colah.github.io/posts/2015-09-Visual-Information/)

Expand Down Expand Up @@ -75,6 +78,7 @@
- [在线编译文件](https://wandbox.org/)
- [在线编译--可查看汇编](https://godbolt.org/)
- [在线编译--可查看预处理-方便调试宏](https://www.build-bench.com/)
- [SVG在线编辑即预览](https://www.svgviewer.dev/)
- [draw.io diagramming applications are the leading solutions for web based sketching and diagramming functionality](https://www.drawio.com/)
- [嘉立创EDA](https://lceda.cn/editor)
- [This is a online vector graphics editor.](https://skeditor.github.io/)
Expand Down
4 changes: 4 additions & 0 deletions web/confuse.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
# 代码混淆


- [A powerful obfuscator for JavaScript and Node.js ](https://github.com/lmj01/javascript-obfuscator)
33 changes: 33 additions & 0 deletions web/framework.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,39 @@ Vue3.0新增了一个组件Teleport组件,将其所在组件模板内容内容
- [Vue 技术栈 Vue3 + Pinia + Vite5 实现, 可参考别人的代码逻辑](https://github.com/zyronon/douyin)
- [入门级vue3+vite+Ts的多页面(MPA)模板,支持单模块构建,引入pinia,vueUse,naive-ui,axios等主流库用于开发,配置husky+commit+prettier+eslint来规范代码。 ](https://github.com/dv-cli/vue3-vite-multiple-page)

### 多语言
> i18n是国际化的英文为 internationalization,为了方便,通常会简写为 i18n(开头的 i、中间的 18 个字符、末尾的 n)
分三类信息,
- message,文本的替换
- date time format,时间日期的格式
- number,数字格式,货币形式等

但难点还是很多的:
- 多语言的没有标准,使用起来就存在各种兼容的问题,如中文有zh,zh_CN等来区分中文, 可参考BCP 47,全称为Best Current Practice for Tags for the Identification of Languages,是一个基于RFC 5646标准的语言标签格式的建议标准。
- 多语言还是影响视觉设计,开发时就需要考虑这些问题,不同语言的表述会导致字符的长度差异较大
- 语言的字段是复用还是语义化,都是一个难点,随着需求的变化可能会有很大的影响
- 符合用户习惯与不同文化的需求


#### **vue**

把i18n实列对象放入Vue的实例中,通过this.$i18n.locale='zh'来设置对应的语言

也可以存储在store或cookie中,

但对惰性组件,如echarts这类需要重新渲染的,就需要手动处理了,方法有:
- 利用watch监听locale字段是否发现变化,主动调用重新渲染
- locale变化时直接this.reload强制刷新页面

```js
new Vuei81n({
locale:'',
messages: {}, // $t(path)
numberFormats: {}, // $n()
dateTimeFormats: {}, // $d()
})
```

## [React](https://react.dev/)

Expand Down
66 changes: 1 addition & 65 deletions web/index.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,14 +24,14 @@
- [适配屏幕](/web/adapt.screen.md)
- [http](/web/http.md)
- [javascript](/cpl/web/ECMAScript.md)
- [代码混淆](/web/confuse.md)


- [Web Check网站分析,分析各种配置,可参考网站的配置](https://web-check.as93.net/)
- [Draggable objects可拖动的对象网页实现](https://www.redblobgames.com/making-of/draggable/)

- [CanIUse网站查看接口的普及率](https://caniuse.com/)


## [MDN Web Api](https://developer.mozilla.org/en-US/docs/Web/API)

现代浏览器技术开发API有大量的接口,需要去了解
Expand Down Expand Up @@ -63,70 +63,6 @@ document.execCommand('copy'); // 旧的方法调用系统接口
对一些工具起作用的 使用[Can I Use data](https://caniuse.com/)数据来判断
- [A smaller version of caniuse-db, with only the essentials! ](https://github.com/browserslist/caniuse-lite)

### 多语言
> i18n是国际化的英文为 internationalization,为了方便,通常会简写为 i18n(开头的 i、中间的 18 个字符、末尾的 n)
分三类信息,
- message,文本的替换
- date time format,时间日期的格式
- number,数字格式,货币形式等

但难点还是很多的:
- 多语言的没有标准,使用起来就存在各种兼容的问题,如中文有zh,zh_CN等来区分中文, 可参考BCP 47,全称为Best Current Practice for Tags for the Identification of Languages,是一个基于RFC 5646标准的语言标签格式的建议标准。
- 多语言还是影响视觉设计,开发时就需要考虑这些问题,不同语言的表述会导致字符的长度差异较大
- 语言的字段是复用还是语义化,都是一个难点,随着需求的变化可能会有很大的影响
- 符合用户习惯与不同文化的需求


#### **vue**

把i18n实列对象放入Vue的实例中,通过this.$i18n.locale='zh'来设置对应的语言

也可以存储在store或cookie中,

但对惰性组件,如echarts这类需要重新渲染的,就需要手动处理了,方法有:
- 利用watch监听locale字段是否发现变化,主动调用重新渲染
- locale变化时直接this.reload强制刷新页面

```js
new Vuei81n({
locale:'',
messages: {}, // $t(path)
numberFormats: {}, // $n()
dateTimeFormats: {}, // $d()
})
```

### 引导库

- [driver.js官网](https://driverjs.com/)
- [Driver.js,Powerful, highly customizable vanilla JavaScript engine to drive the user's focus across the page,MIT开源协议](https://github.com/kamranahmedse/driver.js)

- [Intro.js is a lightweight JavaScript library for creating step-by-step and powerful customer onboarding tours商用授权](https://introjs.com/)
- [github](https://github.com/usablica/intro.js)
- [Bootstrap Tour](https://bootstraptour.com/)
- [github](https://github.com/sorich87/bootstrap-tour)

### 富文本编辑器

- [企业版的开源富文本编辑器The rich text editor behind great content creation experiences](https://github.com/tinymce/)
- [TinyMCE](https://github.com/tinymce/tinymce)

- [过时的YUI is a free, open source JavaScript and CSS library for building richly interactive web applications. ](https://clarle.github.io/yui3/)
- [github yui3 ](https://github.com/yui/yui3)

- [The WYSIWYG Editor of tomorrow available today](https://ckeditor.com/)
- [CKEditor 5 is an ultra-modern JavaScript rich-text editor with MVC architecture, a custom data model, and virtual DOM](https://github.com/ckeditor/ckeditor5)

- [Quill -- Your powerful rich text editor.](https://quilljs.com/)
- [github](https://github.com/quilljs/quill)

### PDF

- [PDF-LIB可写可修改](https://pdf-lib.js.org/) 字体必须内嵌,这样文件非常大,拷贝合并pdf时,内嵌字体还没法删除
- [github](https://github.com/Hopding/pdf-lib)

- [jspdf只能写 github](https://github.com/parallax/jsPDF)

### 数学
- [regression-js是JS库,包含了linear least-squares filting methods对的数据分析方法,支持linear、exponential、logarithmic、power、polynomial几种常见的](https://github.com/Tom-Alexander/regression-js)
Expand Down
46 changes: 43 additions & 3 deletions web/library.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,21 @@
相关库,工作中使用过,分析并学习的库

## 富文本

- [企业版的开源富文本编辑器The rich text editor behind great content creation experiences](https://github.com/tinymce/)
- [TinyMCE](https://github.com/tinymce/tinymce)

- [过时的YUI is a free, open source JavaScript and CSS library for building richly interactive web applications. ](https://clarle.github.io/yui3/)
- [github yui3 ](https://github.com/yui/yui3)

- [The WYSIWYG Editor of tomorrow available today](https://ckeditor.com/)
- [CKEditor 5 is an ultra-modern JavaScript rich-text editor with MVC architecture, a custom data model, and virtual DOM](https://github.com/ckeditor/ckeditor5)


### Quill
> quill富文本编辑器

- [Quill -- Your powerful rich text editor.](https://quilljs.com/)
- [github](https://github.com/quilljs/quill)

#### dev

Expand Down Expand Up @@ -89,8 +102,13 @@ With PartyKit, you can focus on building multiplayer apps or adding real-time ex

## 展示类


### [jsPDF](https://github.com/lmj01/jsPDF/tree/master)

- [PDF-LIB可写可修改](https://pdf-lib.js.org/) 字体必须内嵌,这样文件非常大,拷贝合并pdf时,内嵌字体还没法删除
- [github](https://github.com/Hopding/pdf-lib)
- [jspdf只能写 github](https://github.com/parallax/jsPDF)

Client-side JavaScript PDF generation for everyone.

- [paper size打印纸张大小](https://www.papersizes.org/a-paper-sizes.htm)
Expand Down Expand Up @@ -141,7 +159,29 @@ reveal.js is an open source HTML presentation framework.
轻量级生成式的粒子显示
[demo and doc](https://marcbruederlin.github.io/particles.js/)

# 其他库
### 引导库

- [driver.js官网](https://driverjs.com/)
- [Driver.js,Powerful, highly customizable vanilla JavaScript engine to drive the user's focus across the page,MIT开源协议](https://github.com/kamranahmedse/driver.js)

- [Intro.js is a lightweight JavaScript library for creating step-by-step and powerful customer onboarding tours商用授权](https://introjs.com/)
- [github](https://github.com/usablica/intro.js)
- [Bootstrap Tour](https://bootstraptour.com/)
- [github](https://github.com/sorich87/bootstrap-tour)


## 其他库

- [Compact GUI for fine-tuning parameters and monitoring value changes 比dat.GUI更舒服的库](https://github.com/cocopon/tweakpane)
- [excel](/articles/notes/excel.md)
- [excel](/articles/notes/excel.md)

### signal

信号是一个非常好的方案用来沟通数据和状态

- [A proposal to add signals to JavaScript.标准提案中的signal](https://github.com/tc39/proposal-signals)

- [Custom Event/Messaging system for JavaScript inspired by AS3-Signals 很老的了](http://millermedeiros.github.io/js-signals/)
- [github](https://github.com/millermedeiros/js-signals)
- [small, simple, fast event system with no dependencies ](https://github.com/JosephClay/signal-js)
- [Manage state with style in every framework ](https://github.com/preactjs/signals)

0 comments on commit 4e753c1

Please sign in to comment.