V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  vivisidea  ›  全部回复第 16 页 / 共 28 页
回复总数  551
1 ... 12  13  14  15  16  17  18  19  20  21 ... 28  
2023-05-15 17:35:50 +08:00
回复了 huoxingren09 创建的主题 程序员 创业互助小组,寻找一起志同道合的朋友加入!
@newshbb 一眼 AIGC
2023-05-15 17:25:14 +08:00
回复了 inhzus 创建的主题 程序员 左耳朵耗子于周六晚突发心梗去世
世事无常,RIP
2023-05-11 20:24:44 +08:00
回复了 winson030 创建的主题 奇思妙想 转码失败后,我和伴侣开了永生花店
永生花?我不是很理解这个玩意儿,主要是。。。不好看阿?
2023-05-10 17:47:20 +08:00
回复了 bing134 创建的主题 程序员 技能交换
@3img +1 人类获取知识的效率实在太低了,机器复制一下即可。。
2023-05-10 17:31:22 +08:00
回复了 afternoon123 创建的主题 MySQL 学 MySQL 看哪本书好?
https://book.douban.com/subject/23008813/

高性能 MySQL ,感觉这本还不错
2023-05-09 21:22:39 +08:00
回复了 taosimple 创建的主题 程序员 2023 年独立开发者这条路还能走下去吗
人家做 up 主可能花一个星期做一条视频就有几十万播放几百评论,我 tm 用了大半年投出去什么水花都没有

===
既然要对比,那不能光比好的阿,人家还有 30 多岁就死了的呢 /狗头
2023-05-09 18:02:54 +08:00
回复了 rivercherdeeeeee 创建的主题 程序员 黑客反反复复入侵
不重装系统?这个必须重装吧,趁机把业务整到容器里去跑
2023-05-08 20:27:13 +08:00
回复了 dudubaba 创建的主题 程序员 今年想把房贷还完躺平的念头越来越重
37 岁跟你想法一样,贷款有 300 多个……家里两老人还没医保(只有农村医保),软肋也还小,曾经幻想 40 多岁能退休躺着。。也只能是幻想了
2023-05-08 15:58:46 +08:00
回复了 vulgur 创建的主题 程序员 独立开发周记 #12:尔虞我诈的互联网
朋友圈转发截图生成工具
==
还有这等好东西!收藏+1
2023-05-08 12:34:02 +08:00
回复了 Al0rid4l 创建的主题 Windows 谁给讲讲 Win11 有啥优点,好让我继续用下去
win11 bug 也太多了,休眠后唤醒,win + s 搜索经常会挂掉,我都想重新装 win10
2023-05-06 17:17:03 +08:00
回复了 baoyinhe 创建的主题 问与答 现在存储向量数据库都用什么,哪种是未来的趋势?
@lchynn 我没仔细看 redis 检索的实现原理,但在 kv 应用场景,一般可以控制 key 的驱逐策略,比如可以用 noeviction 策略,拒绝新的写入,或者 LRU 把最老的 evict 掉

https://redis.io/docs/reference/eviction/

The exact behavior Redis follows when the maxmemory limit is reached is configured using the maxmemory-policy configuration directive.

The following policies are available:

noeviction: New values aren’t saved when memory limit is reached. When a database uses replication, this applies to the primary database
allkeys-lru: Keeps most recently used keys; removes least recently used (LRU) keys
allkeys-lfu: Keeps frequently used keys; removes least frequently used (LFU) keys
volatile-lru: Removes least recently used keys with the expire field set to true.
volatile-lfu: Removes least frequently used keys with the expire field set to true.
allkeys-random: Randomly removes keys to make space for the new data added.
volatile-random: Randomly removes keys with expire field set to true.
volatile-ttl: Removes keys with expire field set to true and the shortest remaining time-to-live (TTL) value.
2023-05-06 14:38:43 +08:00
回复了 baoyinhe 创建的主题 问与答 现在存储向量数据库都用什么,哪种是未来的趋势?
刚好在隔壁看一篇关于用 openai embedding 来做检索的文章,里面有提到这个

向量数据库选项包括:

Pinecone ,完全托管的向量数据库
Weaviate ,开源向量搜索引擎
Redis ,向量数据库
Qdrant ,向量搜索引擎
Milvus ,用于可扩展相似性搜索的向量数据库
Chroma ,开源的嵌入向量存储

source
https://zhuanlan.zhihu.com/p/619233637
2023-05-05 22:05:09 +08:00
回复了 Tearia 创建的主题 Linux 配置个 ubuntu 的 VNC 花了一下午还没弄好
xrdp 这个好用,比 vnc 好用,windows 可以直接连,我翻了下之前记录的笔记,没碰到什么问题阿,我的系统是 xubuntu ,应该跟 ubuntu 没啥区别


#安装 xrdp
sudo apt install xrdp

#Xrdp 使用 /etc/ssl/private/ssl-cert-snakeoil.key,它仅仅对“ssl-cert” 用户组成语可读。运行下面的命令,将 xrdp 用户添加到这个用户组:
sudo adduser xrdp ssl-cert

#重启就能使用
sudo systemctl restart xrdp
2023-04-10 21:33:17 +08:00
回复了 neowong2005 创建的主题 问与答 使用成本低的打印机推荐
我在用佳能 G3800 墨仓式的,平时给娃打些幼儿园用的材料,偶尔打打照片,我估计这个墨水量小学都够用
2023-04-10 21:06:20 +08:00
回复了 LitSu 创建的主题 问与答 亲戚欠钱一直拖着不还,怎么办?
活该活该活该,看着都生气,碍于个 p 的亲戚,人家可没当你是亲戚
2023-04-09 22:25:59 +08:00
回复了 jeremylai 创建的主题 程序员 服务器内存占用很高,找不到具体的进程
可能是内核的内存泄露,重启试试。。。
2023-04-03 15:59:24 +08:00
回复了 rookiex 创建的主题 职场话题 被打了绩效 c,会有什么影响吗
问清楚理由呗,打完绩效不面谈的?
2023-04-03 15:37:14 +08:00
回复了 niselover 创建的主题 Python [ Python ] 求一个无缝连续播放视频和音频的方案
需求不是特别明确,这些文件格式编码是什么?是一致的么?

已有的信息,如果我来搞的话,我会考虑把片段转成统一的封装和编码,比如都转成 mp4 或者 ts
然后直接用 ffmpeg 拼接成一个大文件
2023-02-27 13:51:40 +08:00
回复了 fetchAgain 创建的主题 程序员 你们的个人博客都是怎么推广的?我先说一种,抛砖引玉
v2ex.com 发帖问“你们博客怎么推广的?”,同时,附上自己的博客地址
2023-02-23 22:46:22 +08:00
回复了 XentaiZ 创建的主题 程序员 [求助]网络映射地址是否有办法实现新文件提醒?
这种需求可以试试问问 chatgpt ,我感觉是比较能出方案的,我瞎问了一个,你参考参考 :D
```
# write python program to monitor a network directory, if directory changes detected, invoke dingtalk webhook api

import os
import requests

# Set the directory you want to monitor
directory = '/tmp/some_folder'
# DingTalk webhook URL
dingtalk_url = 'https://oapi.dingtalk.com/robot/send?access_token=YOUR_DINGTALK_ACCESS_TOKEN'

# Get the files in the directory
files = os.listdir(directory)
# Get the modified times of the files
modified_times = [os.path.getmtime(os.path.join(directory, file)) for file in files]
# Make a copy of the modified times
previous_times = modified_times.copy()
# Monitor the directory
while True:
# Get the modified times
modified_times = [os.path.getmtime(os.path.join(directory, file)) for file in files] # Compare the modified times
for index, time in enumerate(modified_times):
if time != previous_times[index]:
# Invoke DingTalk webhook
data = {
"msgtype": "text",
"text": {
"content": f"Directory {directory} changed"
}
}
requests.post(dingtalk_url, json=data)
break
# Make a copy of the current modified times
previous_times = modified_times.copy()


```
1 ... 12  13  14  15  16  17  18  19  20  21 ... 28  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   6294 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 46ms · UTC 06:11 · PVG 14:11 · LAX 23:11 · JFK 02:11
Developed with CodeLauncher
♥ Do have faith in what you're doing.