Tag: 设计

Dkphhh Created@

这周重写了本站的暗黑模式与通知,虽然看起来没有什么区别,但是代码逻辑更加简洁合理,感觉自己又进步了 👍

阅读关于 2025-05-25 00:40:48 的文章
Dkphhh Created@

daisyUI 🌼 也是人类文明精华。

阅读关于 2025-05-23 21:47:04 的文章
Dkphhh Created@

C: I was keen to know about Steve’s passion, what drove him?

主持人:我想知道乔布斯的热情所在,是什么在激励他?

J: I read an article when I was very young, in the Scientific American, and it measures the efficiency of locomotion for various species on the planet, so for you know for bear, chimpanzee, raccoon and birds, and fish, how many calories per kilometer they spend to move, and humans was measured too, the condor won, it was the most efficient, and the mankind, the crowned creation, came in with rather unimpressive showing about 3rd way down the list, but somebody there had the brilliance to test a human riding a bicycle, blew away the condor, all the way off the charts, and I remember this really had an impact on me, I really remember this - humans were tool builders, and we build tools that can dramatically amplify our human abilities. To me, we actually went an ad line earlier with Apple, that the personal computer was the bicycle of mind, and I believe that with every bone in my body, that of all the inventions of humans, the computer is going to rank near, if not at the top, as history unfolds if we look back, and it is the most awesome tool that we ever invented, and I feel incredibly lucky to be at exactly the right place in silicon valley, at exactly the right time, historically where this invention has taken form.

乔布斯:我小时候曾在《科学美国人》上拜读过一篇文章,文中对比了地球上各种不同物种的移动速率,比如熊、猩猩、浣熊、鸟类、鱼类等——当然还有人类——计算它们每移动一公里消耗的热量,最后秃鹫赢了,它的移动效率最高。作为万物之灵的人类,排在倒数第几位。但是杂志特地测量了人类骑自行车的速率。结果把秃鹫远远甩在了身后,在排名上遥遥领先。这篇文章给我留下了深刻的印象,人类擅长发明工具,工具赋予我们奇妙的能力。苹果以前有一条广告:计算机是头脑的自行车,我彻头彻尾地坚信如果将来有人回顾人类历史,计算机将是人类最伟大的发明。能在硅谷参与这项发明,我觉得自己很幸运。

来源:人类头脑的自行车(乔布斯访谈摘录)

阅读关于 2025-04-28 13:03:07 的文章
Dkphhh Created@

今天的编程感受是:

  1. 产品构建的从 0 到 0.1 可以靠大脑里模棱两可的概念,但是从 0.1 到 1 需要一个明确的产品规划与设计。
  2. 前端开发很容易让人沉浸到细枝末节的微调中,忘记真正重要的事情。
阅读关于 2025-04-22 22:57:50 的文章
Dkphhh Created@

差不多花了一周的时间,终于算入门 drizzle 的使用了。基本上每学习一个 JS/TS 生态的库,都会经历一个从「为什么会存在这种东西?」、「为什么要这么麻烦?」到「这个设计哲学有点意思」、「用顺手以后好像也没有那么麻烦」的过程。

现在回味一下,Drizzle 的设计哲学其实恰恰最贴近我理想中的「简单」—— 只是在原始的 SQL 上浅浅封装了一层,没有像其他 orm 一样,「贴心」地把常用功能都封装在一个又一个函数里供用户直接调用,一个简单的 CRUD 都要用户考虑各种情况,写好多行。我一开始觉得难用,恰恰是因为它太原始了,加上我对 SQL 语言不熟悉,心理上有点抵触。

所以我现在对所谓的「简单」哲学也祛魅了。

「简单」不一定意味着「容易」和「好用」,「简单」只是「简单」。

simple is just simple,not easy.

阅读关于 2025-03-30 22:49:06 的文章
Dkphhh Created@

好的设计总是心有灵犀

阅读关于 2025-03-07 11:41:36 的文章
Dkphhh Created@

今日职场吐槽:老板要做一个网站,他亲自画好了原型图,亲自对接的外包,交代了需求。

过了一个星期,他要去忙别的了,外包把 UI 做好了,他让我确定 UI 有没有问题。而在此之前,我只看过一遍原型图,而且不是他发链接过来,也不是文件和图片,就是他把我叫到他跟前,用他的电脑看的(为什么我这么确定,因为我翻了聊天记录!)。

当时的我也并不知道后续和外包对接的重任会交到我手上(我猜他也没有这个计划,只是新工作进来以后就顾不上了)。然后我看了 UI,我感觉和他的原型图也差不多,我也不知道他们有没有沟通更多信息,然后我就说 OK,就照着这个做,3 天以后,老板心血来潮亲自看了 UI,责怪我为什么和他画的不一样???

真有你的 👍 再给你打工我是 🐶

阅读关于 2025-02-26 15:43:13 的文章