“Moving away from UUIDs”, Really?

Recently I saw an article called Moving away from UUIDs – Neil Madden on Hacker News. The title immediately got my attention since I use UUIDs a lot in various projects, no matter personal or commercial. Whether I’m using it right or wrong is a vital concern from an engineering perspective, so I read it thoroughly and carefully. This article is my summary and thoughts on it. Overall, the author gives an opinion that using UUIDs for unguessable random string like session tokens or cookies is a bad practice, the reasons are as follows:...

离开国产 SaaS

昨天看到 @dingyi 的推文说: 国产软件真的没必要轻易尝试了…… 原因是蜘蛛笔记发布了一个公告1,这款诞生不到半年的国产笔记服务因「战略调整」即将停止运营...

Defeat VSCode Tab Bar

A while ago, I found my VSCode tab bar (or tool bar) UI was quite unstable. The reason was that extensions may add icons called “action button” on the right side of the tab bar according to the type of the file, so when switching back and forth between different kinds of files, these buttons will either show or hide, making the available spaces for tabs changing constantly. This may not be noticable when you just open a few tabs, but if you have tabs that are enough to take up the spaces of the tab bar, the whole tab bar will be a clown fiesta with the appearace and disappearance of the action buttons....

真正的好作品只能靠自己去发现

最近闲暇时间在看一本网络小说,名叫《异仙列传》,作者是流浪的蛤蟆。 蛤蟆是一位非常老资历的网文作者,我从 2008 年接触他的小说《蜀山》开始,不定期关...

我用过的位置追踪应用

国庆接连几天都在外面游玩,拍了许多照片,于是产生了一个想法: 有没有哪个 app 可以导入一堆照片然后把其中的地理位置信息连成一个轨迹? 在 Twitter 和 Telegram 上都被...

浅谈 Chrome Manifest V3 的优缺点

Manifest V3 会对用户有什么影响,是好是坏?最近对此终于有了一些具体的理解,来辩证地看待这一改变。

为什么人们在黄图群喜欢聊哲学

偶然看到一张网图,内容如下: 人类真矛盾,不管进啥群,最后都是搞黄色。反而进了黄色群,最后聊三观、聊实事。 以前也看过类似的说法,都一笑置之了,...

并不乐观的全球化

看到了 @waylybaye 的推文: 我一个人,一台电脑,一个银行账户,不需要任何资质证明,不需要任何政府部门审批,不需要和市场所在地的政府打交道。就可以把作品卖...

童年的 Disco

朋友给我发了一个 B 站视频 别问我什么是迪斯科,是音乐家张蔷 2013 年的歌曲,却有着浓浓的怀旧风情,唤起了五光十色的童年回忆。 于是我翻了翻自己的收藏,...

Kevin Kelly 对创作者的指导

最近读到 Kevin Kelly (KK) 的一段话,深有感触: Separate the processes of creation from improving. You can’t write and edit, or sculpt and polish, or make and analyze at the same time. If you do, the editor stops the creator. While you invent, don’t select. While you sketch, don’t...