honghao retweeted
Obsidian 1.0 is live!
1.0 brings a complete redesign to desktop and mobile.
Plus, a new way to browse your second brain: tabs. Tabs make it easier to explore many ideas at once.
Learn more: obsidian.md/1.0
honghao retweeted
如果你正在开发 Electron 或 PWA 应用,一个使其更接近于原生应用的 CSS 技巧是 👇
*, a, button {
cursor: default;
user-select: none;
}
鼠标指针使用默认,禁止用户选择
在页面充斥着大量的菜单和按钮,而非跳转性链接时,尤为有效
同时避免鼠标指针频繁地在默认和指针状态来回跳动
honghao retweeted
phiresky.github.io/blog/2021… 卧槽碉堡了,在静态页面上host一个sqlite数据库从JS查询:sqlite编译到WebAssembly,自己实现一套virtual filesystem把file seek操作转成HTTP range request,对常见顺序查找稍微做了prefetch优化。最后效果相当不错啊!
honghao retweeted
What I’m really looking for when hiring an engineer xitter.gq/matvelloso/status/1380…
honghao retweeted
Ruby 2.7.0 is released ruby-lang.org/en/news/2019/1…
It introduces
* Pattern Matching
* REPL (irb) improvement
* Compaction GC
* Separation of positional and keyword arguments
and more!
Merry Christmas, Happy Holidays, and enjoy programming with Ruby 2.7!
New irb in Ruby 2.7
irb is much improved in Ruby 2.7 with reline
honghao retweeted
妈妈出门上班前没有亲吻儿子,儿子很愤怒,后果很严重😡。
佛罗里达的戴安娜·西蒙斯(Diana Simons)急着赶去上班,来不及亲吻两岁的儿子亚历克斯(Alex),亚历克斯大为震惊!抗议的视频👇。
请推友们转帖支持小Alex🙌。
honghao retweeted
谷歌 Google Pixel 4 手机里隔空操作的神奇小雷达 Soli
这是谷歌承诺的 vs 谷歌实际交付的
Via @_baxuz
xitter.gq/_baxuz/status/11844569…
honghao retweeted
Stand with Hong Kong, but which side? reddit.com/r/hearthstone/com…
如果你赞成我的文章,帮我顶一下,让 reddit 社区的人看到。
honghao retweeted
What would happen in US if someone drops a bike on police like this in #HongKong ? xitter.gq/Nichole62008668/status…
honghao retweeted
#npm/#javascript tip for today:
Use `npm-check` tool to find out which of your dependencies have a new major/minor/patch versions – and then do the update, all in just a couple of seconds.
honghao retweeted
虽然我身处民主自由国家,可是很多事情我是不敢当面说的,比如对吸毒者,对流浪者,对穆斯林,对女权,对同性恋系列的看法,在我自己的英文大号我是不敢说的,所以才有了这个小号汤米。自由民主都是相对的,在哪都有不能触及的边界,像香港暴民要求的那种绝对的自由,地球上没有国家有。




































