V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  lookStupiToForce  ›  全部回复第 23 页 / 共 56 页
回复总数  1119
1 ... 19  20  21  22  23  24  25  26  27  28 ... 56  
2022-12-06 17:12:58 +08:00
回复了 Zseventh 创建的主题 MacBook Pro 现在买 m1 pro/max 算不算 49 年入国军?
鉴于大概率来年 2 月会出新的,我真的不知道说不算的人会不会给你补差价🐶
2022-12-06 14:19:58 +08:00
回复了 moonrailgun 创建的主题 分享创造 做了一个可视化代码编程工具 codesk
如果能像一些代码可视化插件一样分析现有代码后能理出一个框架出来就好了(。
2022-12-06 11:50:51 +08:00
回复了 qdwang 创建的主题 OpenAI ChatGPT 还不是最可怕的
@qwertty01 #82
chatGPT 因为文本过长被截断,可以只回复"继续"或者"continue"让它接着上文回复的。
2022-12-06 11:38:09 +08:00
回复了 aPaul 创建的主题 问与答 发现一家疑似骗子助贷公司
@aPaul #11
http://jcjb.cbirc.gov.cn/


1. 你有实际证据吗?
2. 你的实际证据可以构成一条完整证据链吗?

而且你要举报基本意味着“被实名”然后担上你身家,如果没有血仇,“这一切值得吗?”
2022-12-06 11:17:07 +08:00
回复了 qinrui 创建的主题 Ubuntu ubuntu 做日常办公可行么?
你们公司的会计要是有些 excel 水平,你就能体会到用 linux/macos 办公是怎样的生不如死了(。
2022-12-06 10:44:37 +08:00
回复了 imvsiam 创建的主题 OpenAI ChatGPT 为何字数限制,无论代码还是文章,我都会突然停止
继续

continue
都可以
2022-12-06 10:43:58 +08:00
回复了 MID 创建的主题 macOS 终于能在 macOS 上愉快的使用鼠标了
感谢,同用触摸板最后手指疼
2022-12-06 10:39:56 +08:00
回复了 hzzz0823 创建的主题 OpenAI 关于有人大量使用 ChatGPT 被 BAN 账号
感觉禁言一段时间作个警示还是可以的
不过 V 站账号被炸后往生的成本也不算高,撑死三年进不去水深火热🤣
这波属于站长生气发毛了,spamming 在站长那儿估计属于不能碰的东西
2022-12-06 10:22:29 +08:00
回复了 aPaul 创建的主题 问与答 发现一家疑似骗子助贷公司
国内这些通过搞门路抽过桥费的公司,有一个算一个,全都得被抓倒闭
再低的市场利息,也能被这些收过桥费的玩意儿给炒高炒到离谱
而且他们还压根不负责担风险

不过源头问题也不在这里,他们也属于权钱交易的下游,说多了又要骂起来,唉
2022-12-05 18:56:28 +08:00
回复了 wliansheng 创建的主题 Python 怎么使用 pd,构建一对多的表格数据呢?
two methods:

1. multi level index
intuitive but not recommended
https://pandas.pydata.org/docs/user_guide/advanced.html

2. duplicate values in first two columns to match third columns row count
2022-12-05 17:16:04 +08:00
回复了 Suclogger 创建的主题 OpenAI 探讨 ChatGPT 对软件行业和程序员工作的影响
@Suclogger #6 what a fucking black magic!!!👹👹👹
2022-12-05 16:02:26 +08:00
回复了 usnake 创建的主题 Python 为什么用 Python 保存的图片色彩不对呢
代码换了,用下面的测试
'''
from PIL import Image, ImageDraw, ImageFont
import cv2
import numpy as np


def test():
image = Image.new('RGB', (150, 150), (255, 255, 255))
draw = ImageDraw.Draw(image)
font = ImageFont.truetype("calibri.ttf", size=25)
draw_text = 'why use\n\nPython'
draw.text((10, 10), draw_text, font=font, fill=(235, 84, 77))

output_file = 'test.png'
output_file_2 = 'test_2.png'
output_file_3 = 'test_3.png'
output_file_4 = 'test_4.png'
image.save(output_file)
cv2.imwrite(output_file_2, np.asarray(image))
cv2.imwrite(output_file_3, cv2.cvtColor(np.asarray(image), cv2.COLOR_RGB2BGR))
cv2.imwrite(output_file_4, np.asarray(image)[:, :, ::-1])


if __name__ == '__main__':
test()
'''
2022-12-05 16:01:13 +08:00
回复了 usnake 创建的主题 Python 为什么用 Python 保存的图片色彩不对呢
op ,你确定你代码的颜色给对了嘛?
另外建议直接 with Image.open('back.png') as image:...,不要用 bk_img = cv2.imread("back.png") 再 Image.fromarray(bk_img)转换一次,你这转换过去又转换回来极容易出错 /出现颜色转换损失
最后,经测试 3 楼用的 AI 回答也还是正确的

'''
from PIL import Image, ImageDraw, ImageFont
import cv2
import numpy as np

def test():
image = Image.new('RGB', (100, 100), (255, 255, 255))
draw = ImageDraw.Draw(image)
font = ImageFont.load_default()
draw_text = 'why use Python'
draw.text((10, 10), draw_text, font=font, fill=(235, 77, 84))

output_file = 'test.png'
output_file_2 = 'test_2.png'
output_file_3 = 'test_3.png'
output_file_4 = 'test_4.png'
image.save(output_file)
cv2.imwrite(output_file_2, np.asarray(image)) # op 原始方法
cv2.imwrite(output_file_3, cv2.cvtColor(np.asarray(image), cv2.COLOR_RGB2BGR)) # copliot 给的方法
cv2.imwrite(output_file_4, np.asarray(image)[:, :, ::-1]) # chatGPT 的方法


if __name__ == '__main__':
test()
'''
附图
https://i.imgur.com/ssheTce.png
https://i.imgur.com/GUBwNMY.png
反正除了 test_2.png ,其他三幅图的颜色都是对的,分毫不差
2022-12-05 13:59:12 +08:00
回复了 vinsony 创建的主题 问与答 公式求解 In(R/1-R)= -0.3
说实话有点惊讶,我以为上这个坛子的人至少接受过高中教育......
2022-12-05 10:54:43 +08:00
回复了 FishGrazier 创建的主题 问与答 CPU 速度很快但是占用率不高是什么情况
是 intel 就下一个 Intel(R) Extreme Tuning Utility 自己测试,如果散热能满足就把功率拉满拉爆
是 AMD 就自己想办法测试🤣
2022-12-05 10:45:16 +08:00
回复了 andyJado 创建的主题 问与答 没有国外手机号,好想玩 CHATGPT🥺
@whitehack #8 感谢指路
印度号码已成功,而且其他 app 也可以使用,资源有保证了(?
一周时间?放全国所有普通高校是 0.1%,放 985211 是 5%,就算是顶级名校也是 10%
1 ... 19  20  21  22  23  24  25  26  27  28 ... 56  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   5015 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 38ms · UTC 07:59 · PVG 15:59 · LAX 00:59 · JFK 03:59
Developed with CodeLauncher
♥ Do have faith in what you're doing.