Transfer json from js to wasm
Here is a simple example about how to pass information by json from js to wasm (C++ generated). We will pass enum value with json in the following project. C++ JS: If you want to write a whole CPlusPlus + Read more…
Here is a simple example about how to pass information by json from js to wasm (C++ generated). We will pass enum value with json in the following project. C++ JS: If you want to write a whole CPlusPlus + Read more…
The post introduces two topics. My explore was based on the old project from What will happen if we pass wrong vtkRenderer object for vtkPicker::Pick?. Just see the important logics about our issue at the following diff file. vector.diff: Rememder use Read more…
. I used the old project which was introduced on the post What will happen if we pass wrong vtkRenderer object for vtkPicker::Pick? to explore variable Tolerance effect. Let’s make Tolerance to be 0.1 in the picking experiment. We can see the picking range become bigger, Read more…
. vtkCellPicker has the interface int vtkPicker::Pick(double selectionX, double selectionY, double selectionZ, vtkRenderer* renderer).In the some scenes, we can still pick the 3D actor even if pass wrong vtkRenderer object to the interface.Here is a simple example we can use to Read more…
Simple way to setup webdav by docker Prepare: write docker-compose.yml setup Container We can access it by http://weiy.cc:9789/webdav/ Use https for webdav Go to /root/webdav.create folder ssl under /root/webdav.cp exist certificate files fullchain.pem and privkey.pem to /root/webdav/ssl write docker-compose.yml: write Read more…
The operation cannot be completed because the file or folder is being used by another program. Close the file or folder and try again. You’ve probably encountered this issue on Windows when attempting to delete or rename a folder or Read more…
. Sometimes we need to transfer important files between devices, and using WeChat for file transfers is inconvenient. Instead, you can use Minio to build a private cloud, ensuring privacy and security. First, you need a cloud server. (You see, Read more…
. We have install ollama and deploy DeepSeek-R1:14B on our computer. Related post: Now let’s install a chrome extension to build a web UI to communicate with AI easily. Open the page: https://chromewebstore.google.com/detail/page-assist-a-web-ui-for/jfgfiigpkhlkbnfnbobbkinehhfdhndo Add the extension to chrome, set up Read more…
I’ve been using LM Studio to run DeepSeek locally, but the model files are too large and my C: drive is running out of space. It’s become unbearable. After some research, I found a solution using Ollama to download the Read more…