Go符合计算

Go符合计算

在 Go 语言生态中,处理符号运算(Symbolic Computation)最常用的方案是通过 SymEngine 的 Go 语言绑定(Bindings)。

SymEngine 本身是一个基于 C++ 开发的高性能符号操作库,它的目标是成为比 SymPy 更快的底层引擎。Go 版本的实现实际上是利用 CGO 调用了 C++ 的底层接口。 …

阅读全文

Salome 源码编译和运行

注:务必使用Ubuntu22.04/24.04编译,更高或者更低的系统都不行,编译脚本Bug太多

1、clone SAT and SAT_SALOME


安装依赖
sudo apt install libxrandr-dev -y
sudo apt install libxinerama-dev -y
sudo apt install …

阅读全文

OpenMC编译和运行

1、安装依赖

安装一系列依赖包(git,cmake,make等)

sudo apt install g++ cmake libhdf5-dev libpng-dev

2、编译openmc

下载和安装 openmc命令

git clone --recurse-submodules …

阅读全文

python源

pip 源 任选一个

pip config set global.index-url https://mirrors.aliyun.com/pypi/simple/
pip config set global.index-url https://pypi.tuna.tsinghua.edu.cn/simple
pip config set …

阅读全文

Postman桌面快捷方式

1. 下载地址

https://www.postman.com/downloads/
得到文件
postman-linux-x64.tar.gz

2. 配置桌面

cd /home/[YourUserName]/.local/share/applications
vim postman.desktop

[Desktop Entry] …

阅读全文

frp配置

1. 下载地址

https://github.com/fatedier/frp/releases
比如 v0.50.0版本

2. 服务端配置 frps & frps.ini

[common]
log_file = ./frps.log
dashboard_user = XXXXX
dashboard_pwd = XXXX …

阅读全文

git repo mirror

1. How to create a git repo mirror

1、 create a empty git repo https://repo.XXX.com/Mirrors/abc.git

2、 git clone empty git repo to dir(比如:abc)

3、 cd abc

4、 git clone --mirror …

阅读全文

Ubuntu install googlepinyin

1. fcitx and fcitx-googlepinyin

$ sudo apt install fcitx-bin
$ sudo apt install fcitx-pinyin fcitx-googlepinyin

2. 系统设置中进入地区及语言设置,管理语言,切换输入从ibus到fcitx

settings

$ sudo reboot

3. 配置中文 …

阅读全文

ubuntu下安装syncthing应用

Step 1 – Add Syncthing repo to apt sources

echo "deb https://apt.syncthing.net/ syncthing stable" | sudo tee /etc/apt/sources.list.d

Step 2 – Add Syncthing’s PGP keys …

阅读全文