2024年1月30日

摘要: 直接上表的DDL -- hypertable创建DDL: CREATE TABLE public.snapshot ( "Student" text NOT NULL, "Date" int8 NOT NULL, "Time" text NOT NULL, "Field" text NOT NULL 阅读全文
posted @ 2024-01-30 13:53 ac23 阅读(40) 评论(0) 推荐(0) 编辑

2024年1月20日

摘要: 背景 其实Ubuntu20.04之后完全可以用apt安装自带的Boost,只不过如果想要安装特定版本的Boost和静态链接(性能、发布时可以不带上Boost动态库考量),可以如下文自己去编译Boost 下载Boost源码 地址:https://www.boost.org/users/history/ 阅读全文
posted @ 2024-01-20 20:52 ac23 阅读(113) 评论(0) 推荐(0) 编辑

2024年1月16日

摘要: 借助Pg最新版本(16.1)进行的基于lz4或zstd算法的TOAST压缩 查看当前版本PG的编译时开启的配置选项 使用apt安装好最新的PG后,使用以下命令查看PG支持的特性 pg_config 命令输出结果: 红框处就显示,当前的PG支持LZ4和ZSTD两种压缩算法,再加上PG默认自带的pglz 阅读全文
posted @ 2024-01-16 20:29 ac23 阅读(5) 评论(0) 推荐(0) 编辑

2024年1月15日

摘要: 1.杀掉某个用户的所有进程 killall -u 用户名 2.Ubuntu20.04查看mac地址 ip addr show 结果在link/ether查看 3.获取某个文件夹下以某个后缀结尾的文件的个数(这里以.h5为例) 3.1 先进入该目录 3.2 输入以下命令 ls -1 *.h5 | gr 阅读全文
posted @ 2024-01-15 09:40 ac23 阅读(4) 评论(0) 推荐(0) 编辑

2023年12月1日

摘要: 1.https://gist.github.com/jpz/1c33c466b9af1287abfa51497ab1c0a4 阅读全文
posted @ 2023-12-01 11:31 ac23 阅读(18) 评论(0) 推荐(0) 编辑

2023年11月30日

摘要: 背景 编译报错 OpenCL platform ID is empty OpenCL platform name is empty Failed to find any of these OpenCL platforms: Intel(R) FPGA Emulation Platform for O 阅读全文
posted @ 2023-11-30 15:37 ac23 阅读(39) 评论(0) 推荐(0) 编辑

2023年11月29日

摘要: 注意,是配置root用户的 export ROOT=/home export QUARTUS_ROOTDIR=$ROOT/intelFPGA/18.1/quartus export INTELFPGAOCLSDKROOT=$ROOT/intelFPGA/18.1/hld export PATH=$P 阅读全文
posted @ 2023-11-29 10:43 ac23 阅读(23) 评论(0) 推荐(0) 编辑

2023年11月19日

摘要: 参考链接: https://www.zhihu.com/column/c_1165595669594689536 阅读全文
posted @ 2023-11-19 22:00 ac23 阅读(7) 评论(0) 推荐(0) 编辑

2023年11月18日

摘要: 一、具体操作 查看物理CPU个数 cat /proc/cpuinfo| grep "physical id"| sort| uniq| wc -l 查看每个物理CPU中core的个数(即核数) cat /proc/cpuinfo| grep "cpu cores"| uniq 查看逻辑CPU的个数 阅读全文
posted @ 2023-11-18 10:18 ac23 阅读(21) 评论(0) 推荐(0) 编辑

2023年11月16日

摘要: 一、进入docker容器,并以bash命令与该docker容器交互 sudo docker exec -it docker容器id bash 阅读全文
posted @ 2023-11-16 15:16 ac23 阅读(73) 评论(0) 推荐(0) 编辑