TANG ZhiXiong
TANG ZhiXiong
~~Control-T is great when current page disabled vim browser plugin.~~ :smiley: God, it's Control-Tab. Even better, works all the time!
Subscribed for years...Modifier keys may can not captured under command line. Maybe subtitles or https://en.wikipedia.org/wiki/Danmu ?
我有一个类似的使用场景:有一个文件夹(workdir),有一系列的脚本(比如 prog1, prog2,prog3)来操作这里的数据;我想对比一些关键环节间的文件变动,比如 workdir#v2(prog2 处理后的 workdir 状态) 和 workdir#v3 的区别(可以呈现为 1) 文件变动元信息 + 2) 可应用到 #v2 让这个目录变为 #v3 的一个 patch)。 我感觉 [dvc](https://dvc.org/) (把文件版本控制系统 git 扩展到数据版本控制)应该可以做这个事情,好像 dvc 也是对文件做分块然后用这些块来表达现在的文件(夹)数据。不知道 @sisong 有没有了解过,和 HDiffPatch...
I'm looking for a way to triangulate a pointcloud. Here's an example: A highway road surface: https://github.com/artem-ogre/CDT/assets/5262037/55229370-1461-4ff6-827d-386789a994c9 sample data: [segments.pcd.zip](https://github.com/artem-ogre/CDT/files/12320797/segments.pcd.zip) For a workaround, I may 1) segmentize pointcloud (colored by...
@artem-ogre Yes. It's like building a CDT along the way, without botherings of overpass/underpass.
I created a python binding for this: https://concave-hull.readthedocs.io/en/latest/ It can return index of hull points. impl: https://github.com/cubao/concave_hull/blob/b67c38ebc4869ac51513ae48b776f12312aa8e8f/src/concaveman.h#L719
[pybind11-rdp](https://github.com/cubao/pybind11-rdp) handles this pretty well: https://github.com/cubao/pybind11-rdp/blob/master/src/main.cpp#L26-L37 ```cpp struct LineSegment { EIGEN_MAKE_ALIGNED_OPERATOR_NEW const Eigen::Vector3d A, B, AB; const double len2, inv_len2; LineSegment(const Eigen::Vector3d &a, const Eigen::Vector3d &b) : A(a), B(b), AB(b...
As https://github.com/fhirschmann/rdp/issues/13 points out, pdist in rdp is WRONGLY Point-to-Line distance. We ([pybind11_rdp](https://github.com/cubao/pybind11-rdp)) use Point-to-LineSegment distance. ```python from rdp import rdp print(rdp([[0, 0], [10, 0.1], [1, 0]], epsilon=1.0)) # wrong...

纯路过,我也朋友圈发过这句话 