http常见状态码

HTTP(超文本传输协议)状态码是用于表示客户端与服务器之间请求和响应状态的数字代码。以下是主要的HTTP状态码及其含义:

iohannes iohannes Published on 2025-04-01

模型预测准确度

预测准确度 95 - 100%:非常好。历史数据具有很明显的趋势或季节性模式。 90 - 94.9%:好。历史数据具有缓和的趋势或季节性模式。 &#

iohannes iohannes Published on 2025-03-18

run llama-7b model

download llama.cpp git clone https://github.com/ggerganov/llama.cpp.git cd llama.cpp make download model mkdir models/7B cd models/7B wget https://hu

iohannes iohannes Published on 2025-03-18

run llama2 local

start gpu docker container docker run -itd -v /home/adlong/llama:/root/llama -p 8000:8000 -p 8001:8001 -p 8002:22 --name llama2 --gpus all ubuntu clo

iohannes iohannes Published on 2025-03-18

run llama.cpp with hugging face model

run docker container docker run -itd -v /home/adlong/llm_models:/root/models -p 8000:8000 -p 8001:8001 -p 8002:22 --name llama_server --gpus all ubunt

iohannes iohannes Published on 2025-03-18

rust模块

定义模块 顶层模块 src/main.rs mod controller; mod router; fn main() { // do something } 模块对应文件夹或文件 |— src |— co

iohannes iohannes Published on 2025-03-18

select、poll、epoll区别

select、poll、epoll select 操作方式是遍历, 底层实现是数组,IO效率是每次调用都进行线性遍历,时间复杂度为O(n),最大连接数是1024(x86)或 2048

iohannes iohannes Published on 2025-03-18

sql 统计历史不同汇率成交

订单表 select * from sales order by date; date currency val 2022-01-01 rmb 10.00 2022-01-01 hk 100.00 2022-02-02

iohannes iohannes Published on 2025-03-18

tcp 粘包

粘包 多个数据包被连续存储于连续的缓存中,在对数据包进行读取时由于无法确定发生方的发送边界,而采用某一估测值大小来进Ŝ

iohannes iohannes Published on 2025-03-18

tcp 常见问题

tcp 三次握手 客户端发送请求报文将 SYN = 1同步序列号和初始化序列号seq = x发送给服务端,发送完之后客户端处于SYN_Send状态。此时服务&#

iohannes iohannes Published on 2025-03-18
Previous Next