humpy's recent timeline updates
humpy

humpy

V2EX member #261253, joined on 2017-10-21 00:39:59 +08:00
Today's activity rank 27977
humpy's recent replies
Mar 10
Replied to a topic by sikuu2al OpenClaw 怎么突然全国都在 OpenClaw
因为它有可能成为新的流量入口啊。AI 再发展发展,人要买什么东西、缴费、甚至小红书、抖音这种基于个性推荐的信息流,都就不会用什么网站、APP 了,直接给龙虾说,龙虾给你搞定
Jan 16
Replied to a topic by v2dev 问与答 大家现在在用什么 TODO 管理软件?
我自己用 ai 写了一个 chrome newtab 插件,基于紧急+重要四象限,每次用浏览器就能看见:

https://i.imgant.com/v2/BNfRhgi.png

(感谢 @cai314494687 提供的 imgant 图床)
Dec 10, 2025
Replied to a topic by YanSeven 问与答 求好用的 epub 对照翻译工具(基于 llm)
微信读书
你要是项目负责人,能拍板的话,直接用中文吧,只要环境统一配置 UTF8 编码,没啥问题的( IDEA 有拼音插件,可以用拼音做代码补全)。
试过一次你就能体会到英语母语者写代码看代码的感觉了。
可以用 [JOL]( https://github.com/openjdk/jol) 工具测一下:

System.out.println(GraphLayout.parseInstance(ints).toFootprint());

---

java.util.ArrayList@5679c6c6d footprint:
COUNT AVG SUM DESCRIPTION
1 40016 40016 [Ljava.lang.Object;
10000 16 160000 java.lang.Integer
1 24 24 java.util.ArrayList
10002 200040 (total)

在我的机器上( 64 位 JDK8 ),大约 200040 / 1024 = 195kb
ConcurrentHashMap +1 ,用 ConcurrentHashMap 的 compute() 方法就行,key 传你的锁 ID ,remappingFunction 传你的业务逻辑,CHM 在执行 remappingFunction 的时候会获取 synchronized 锁,唯一需要注意的就是 key 的 hashcode() 选择
Aug 30, 2023
Replied to a topic by jwoooo12 问与答 有没有可以按照农历提醒的日历
如果是要提醒农历生日,苹果就行,通讯录可以设置联系人农历生日,到时间日历会提醒
基本不用,这就是个 nullability 的残废实现,慢慢等 https://mail.openjdk.org/pipermail/valhalla-spec-experts/2023-May/002276.html
我觉得挺好,难道脚本就一定要用那几个弱类型动态语言?
脚本运行其实可以试试 ant ,别看它老,我最近用了下,感觉还挺不错。
About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3228 Online   Highest 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 18ms · UTC 13:05 · PVG 21:05 · LAX 06:05 · JFK 09:05
♥ Do have faith in what you're doing.