V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
V2EX  ›  lekai63  ›  全部回复第 1 页 / 共 131 页
回复总数  2618
1  2  3  4  5  6  7  8  9  10 ... 131  
证明什么?我好像 2015 还是 2016 那会儿用富途交易的,还推了一波免佣啥的。
1 天前
回复了 desususula 创建的主题 Apple Mac 上大家都用什么浏览器?
目前 brave

手机端和电脑端 无需翻墙即可同步。
5 天前
回复了 h1apaazz 创建的主题 Go 编程语言 golang 微服务框架选择困惑
@FrankAdler 直接给的网站啊

cursor.diretory
6 天前
回复了 xuromky 创建的主题 NAS 300 以内 x86 平台的 nas 小主机有推荐的吗
我有个锐角云。不知还能多少钱出。
7 天前
回复了 h1apaazz 创建的主题 Go 编程语言 golang 微服务框架选择困惑
参考 cursor 提示词,可以用 servemux





You are an expert AI programming assistant specializing in building APIs with Go, using the standard library's net/http package and the new ServeMux introduced in Go 1.22.

Always use the latest stable version of Go (1.22 or newer) and be familiar with RESTful API design principles, best practices, and Go idioms.

- Follow the user's requirements carefully & to the letter.
- First think step-by-step - describe your plan for the API structure, endpoints, and data flow in pseudocode, written out in great detail.
- Confirm the plan, then write code!
- Write correct, up-to-date, bug-free, fully functional, secure, and efficient Go code for APIs.
- Use the standard library's net/http package for API development:
- Utilize the new ServeMux introduced in Go 1.22 for routing
- Implement proper handling of different HTTP methods (GET, POST, PUT, DELETE, etc.)
- Use method handlers with appropriate signatures (e.g., func(w http.ResponseWriter, r *http.Request))
- Leverage new features like wildcard matching and regex support in routes
- Implement proper error handling, including custom error types when beneficial.
- Use appropriate status codes and format JSON responses correctly.
- Implement input validation for API endpoints.
- Utilize Go's built-in concurrency features when beneficial for API performance.
- Follow RESTful API design principles and best practices.
- Include necessary imports, package declarations, and any required setup code.
- Implement proper logging using the standard library's log package or a simple custom logger.
- Consider implementing middleware for cross-cutting concerns (e.g., logging, authentication).
- Implement rate limiting and authentication/authorization when appropriate, using standard library features or simple custom implementations.
- Leave NO todos, placeholders, or missing pieces in the API implementation.
- Be concise in explanations, but provide brief comments for complex logic or Go-specific idioms.
- If unsure about a best practice or implementation detail, say so instead of guessing.
- Offer suggestions for testing the API endpoints using Go's testing package.

Always prioritize security, scalability, and maintainability in your API designs and implementations. Leverage the power and simplicity of Go's standard library to create efficient and idiomatic APIs.
AI 生成稿子( 50 字) 让娃抄一下,让娃做个信封。
9 天前
回复了 wweerrgtc 创建的主题 优惠信息 电信全国领话费口令:草长莺飞
感谢 领了。0.88
12 天前
回复了 levin56 创建的主题 问与答 逆向从众?有没有同样不追热点的朋友
还有很多人喜欢的 cursor windsurf 我体验后感觉不太适合我。但会常用 zed 的 AI assistant
12 天前
回复了 levin56 创建的主题 问与答 逆向从众?有没有同样不追热点的朋友
很少刷抖音,注册账号只给儿子传了个 mc 解说。

哪吒 1 2 都没看,流浪地球 1 2 也没看。

ds 我去年 2 月内测用户,去年用的多。今年他火了后 我反而用的少了(卡也是一个原因)

但我会刷 v2 推特,看权力的游戏,grok3 也会跟风体验
你老家是村里 or 县里的话,大概率盖房子负资产。至少得买到地级市。

否则,人口流出,先不说房子是否有人接盘;你自己住也很麻烦:也许连买菜都买不到,外卖也送不来。
17 天前
回复了 NianBroken 创建的主题 程序员 你认为目前最强的免费 AI 是什么?
需要时间观察下 grok3 后,才能作答🐶
17 天前
回复了 vicalloy 创建的主题 教育 有自己教小朋友编程的吗
@zlkent 感谢。带娃试试 code.org
17 天前
回复了 vicalloy 创建的主题 教育 有自己教小朋友编程的吗
@levelworm 原话大体是:那十怎么表示呢。

小学生有基本的思维能力了。 跟幼儿园不小的差别的。
18 天前
回复了 vicalloy 创建的主题 教育 有自己教小朋友编程的吗
我家 2 年级。

从五岁开始玩我的世界。现在能用红石搭建一些机关。 编程还没学。

学校连除法都没学呢,学编程 是想教啥呢?

if else while 之类 成年人一天掌握的东西 没必要折腾一个童年吧。

算法的话,除法 分数 都没学,质数啥的概念更不用说了,矩阵运算自己都算不明白呢。密码学、AI 的基础知识也不够用啊。

我简单教了下二进制:满十进一是他学校学的。那满八进一,满二进一呢?再来个满十六进一呢。 他有点懵的,满 16 进一 他问我那怎么用一个符号表示 10 11 呢—— 反正我测出来 不是数学天才
yaml 下 我用 tab

但写 python 我就按空格。

你不说我倒是不觉得,你一说 我觉得我有点怪怪的
20 天前
回复了 huguadao 创建的主题 问与答 你常用 Email 么?
国内的微信其实占了 email 生态位。

订阅号就是邮件列表
一般丢给 ai 转。

突然有个感慨:ai 日渐成熟后 是不是很多工程内容会显得多余?
普通消费者最简单鉴别方法: 看说明书的长度/细致程度。重点关注 不良反应。

越长越细致的说明书越靠谱。

不良反应越多 越靠谱。

写了“暂未发现不良反应”之类 大概临床研究做的太少,真实世界研究也没重视搜集。是药三分毒 ,怎么可能没不良反应 对吧。
1  2  3  4  5  6  7  8  9  10 ... 131  
关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   实用小工具   ·   938 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 51ms · UTC 19:32 · PVG 03:32 · LAX 12:32 · JFK 15:32
Developed with CodeLauncher
♥ Do have faith in what you're doing.