1 2 3 4 5 ··· 8 下一页

2024年7月24日

摘要: 个人理解的定义 高效、低延迟、可重用的消息传递系统(或消息传递层,有点类型网络协议,但不是消息队列) 阅读全文
posted @ 2024-07-24 17:42 ac23 阅读(1) 评论(0) 推荐(0) 编辑

2024年7月18日

摘要: 步骤如下 安装 https://grafana.com/docs/grafana/latest/setup-grafana/installation/debian/ 启动 使用systemd的方式启动、查看运行状态、重启,方便快捷 https://grafana.com/docs/grafana/l 阅读全文
posted @ 2024-07-18 10:56 ac23 阅读(5) 评论(0) 推荐(0) 编辑

2024年7月14日

摘要: 该运行时API的作用 作为在访问共享内存时作为线程块内的同步机制出现,保证同一线程块内所有线程到程序运行到这个运行时API调用时都能运行完毕(注意,该API不能同步不同线程块内的线程),例如下列Cuda静态共享内存使用代码示例程序中的第23行所示: /************************ 阅读全文
posted @ 2024-07-14 15:26 ac23 阅读(2) 评论(0) 推荐(0) 编辑

2024年7月13日

摘要: 重点 计算线程唯一标识,并确保没有线程越界的技巧: 以下列英伟达官方的Cuda程序示例为例子 /* Copyright (c) 2022, NVIDIA CORPORATION. All rights reserved. * * Redistribution and use in source an 阅读全文
posted @ 2024-07-13 12:14 ac23 阅读(1) 评论(0) 推荐(0) 编辑

2024年6月18日

摘要: 1.定义 在多线程编程中,当两个或多个线程并发访问同一个内存位置时,如果没有适当的同步机制(如锁或原子操作),并且至少有一个访问是写操作,就会发生数据竞争。这可能会导致不可预测的行为、崩溃或错误的结果。 阅读全文
posted @ 2024-06-18 09:25 ac23 阅读(2) 评论(0) 推荐(0) 编辑

2024年6月9日

摘要: 原来 bool Myclass::connect() { std::function<void()>f = std::bind(&Myclass::loopCheckStatus, this); new std::thread(f); return true; } void Myclass::loo 阅读全文
posted @ 2024-06-09 22:16 ac23 阅读(1) 评论(0) 推荐(0) 编辑

2024年5月10日

摘要: Ray core https://mp.weixin.qq.com/s/8yJ9CO61ZraAvfw8X0Rz-g 阅读全文
posted @ 2024-05-10 10:04 ac23 阅读(1) 评论(0) 推荐(0) 编辑

2024年5月8日

摘要: 直接使用以下脚本: import psycopg2 import duckdb import pandas as pd # Connect to PostgreSQL conn_postgres = psycopg2.connect( dbname="pg_test_db", user="your_ 阅读全文
posted @ 2024-05-08 15:21 ac23 阅读(55) 评论(0) 推荐(0) 编辑

2024年5月7日

摘要: zipline https://zipline.ml4trading.io/install.html TA-lib 如这篇文章所言 https://stackoverflow.com/a/75311818/16205177 阅读全文
posted @ 2024-05-07 14:01 ac23 阅读(4) 评论(0) 推荐(0) 编辑

2024年4月22日

摘要: 背景 阅读全文
posted @ 2024-04-22 10:42 ac23 阅读(14) 评论(0) 推荐(0) 编辑
1 2 3 4 5 ··· 8 下一页