V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  ss098  ›  全部回复第 1 页 / 共 60 页
回复总数  1185
1  2  3  4  5  6  7  8  9  10 ... 60  
讲错了,需要把磁盘 wipe 掉恢复为没有 filesystem 的原始 block 设备
mkfs.xfs 你这就是给磁盘格式化文件系统啊?你应该把系统 wipe 掉

https://wiki.archlinux.org/title/Securely_wipe_disk
50 天前
回复了 qweruiop 创建的主题 PostgreSQL 请教一个经典的 postgres 的 sql 怎么写
@qweruiop 你可以参照我的方案在 student_transactions 中加上 where 条件,可以解决你的需求。
51 天前
回复了 qweruiop 创建的主题 PostgreSQL 请教一个经典的 postgres 的 sql 怎么写
https://www.v2ex.com/i/au869vqx.png

刚刚的代码忘记设为 null 了,现在改了一下可以符合预期

with student_transactions as (
select
transactions.student_id,
count(transactions.id) as transactions_count
from transactions
group by transactions.student_id
)

select
students.id,
students.name,
coalesce(student_transactions.transactions_count, 0) as transactions_count
from students
left join student_transactions on students.id = student_transactions.student_id
51 天前
回复了 qweruiop 创建的主题 PostgreSQL 请教一个经典的 postgres 的 sql 怎么写
with student_transactions as (
select
transactions.student_id,
count(transactions.id) as transactions_count
from transactions
group by transactions.student_id
)

select
students.id,
students.name,
student_transactions.transactions_count
from students
left join student_transactions on students.id = student_transactions.student_id
Raspberry Pi 5
Docker Hub 上显示的是压缩后的 layer 大小
看错了,是下载不是上传,tus 适用于上传
开源断点续传协议 tus

https://tus.io/
可以使用 helmfile 来定制自己的 values.yaml 去覆盖默认 values.yaml 的值,也支持使用 Git 管理。
109 天前
回复了 zhoudaiyu 创建的主题 Kubernetes 有个 K8s 跨集群通信的需求想请教下各位
你想找的是不是:cilium cluster mesh
“问 Google 就知道答案的简单问题”
“问 Baidu 就知道答案的简单问题”

问什么都可以,绝对不可以是 GPT 。只能通过付费才能得到简单问题的答案,我想,不会是各位所期望的互联网。
https://tiptap.dev/hocuspocus/introduction

Hocuspocus 基于 Y.js 实现
170 天前
回复了 DavidWei 创建的主题 Elasticsearch [求付费技术支持-ES]写入超慢
本地部署如果觉得 Ceph / Longhorn 等 Storage Class 太复杂的话,可以考虑使用 Local Static Provisioner ,缺点就是节点被固定了,不能任意迁移节点。

https://github.com/kubernetes-sigs/sig-storage-local-static-provisioner
170 天前
回复了 DavidWei 创建的主题 Elasticsearch [求付费技术支持-ES]写入超慢
NFS ?要不换个别的 Storage Class 试试。
使用 helm 的话可以考虑使用 configmap hashing 作为 deployment 的 annotations

https://stackoverflow.com/questions/54579641/does-helm-upgrade-on-a-configmap-automatically-inject-new-data-into-running-pod
273 天前
回复了 amrnxcdt 创建的主题 问与答 找一个网站/服务,内详
搜了下 xip.io 好像挂了,得用 nip
273 天前
回复了 amrnxcdt 创建的主题 问与答 找一个网站/服务,内详
甚至每个人还有独立的 Access Token 可以自己调用 API ,最近我做的一个项目就用 GPT 替我写代码替代了大量人工重复操作,我只要 Review 就可以了。
补充一下,我们公司用上面的 Chatbot UI 搭建了一份部署在 Vercel 上,有企业还是比较好申请 GPT 4 的。
1  2  3  4  5  6  7  8  9  10 ... 60  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3970 人在线   最高记录 6543   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 36ms · UTC 10:21 · PVG 18:21 · LAX 03:21 · JFK 06:21
Developed with CodeLauncher
♥ Do have faith in what you're doing.