HackerTrans
热门最新趋势评论往期问答秀出招聘

cafebeen

331 声望加入于 12年前
https://cabeen.io
https://www.linkedin.com/in/cabeen/
[email protected]

提交

显示 HN:Zen 模式 – macOS 的全局焦点模式

github.com
26 分·作者 cafebeen·16小时前·10 评论

Is Math Art? Werner Herzog Says Yes

news.artnet.com
2 分·作者 cafebeen·4个月前·0 评论

Introducing Merge Labs

merge.io
3 分·作者 cafebeen·6个月前·1 评论

评论

cafebeen
·9小时前·讨论
确实,如果苹果仍然生产 11 英寸的 MacBook Air 就好了……
cafebeen
·14小时前·讨论
我同意这应该是内置的。 许多应用程序都有自己的“焦点模式”,但我想要在所有应用程序中统一工作的东西。 macOS 中有一个全屏模式,但它将窗口和上下文拉伸到全宽,这在某些应用程序中表现不佳(大量空白空间或行太长而无法舒适阅读)。 因此,这保留了车窗宽度,但在聚焦时扩展了高度,这对于我的日常驾驶员来说非常有效。 “淡入淡出”也有些不寻常,这意味着其他所有东西都变暗接近黑色,我发现这在视觉上压制了事物并减少了分心。

顺便说一下,repo 有一个动画演示,如果您想了解它是如何工作的。
cafebeen
·15小时前·讨论
这将是一件好事,而且从技术上讲,在这种设置中聚焦多个窗口也是可行的。 但我想知道如何选择合适的应用程序。 一种方法是使用命名集,例如 dev=(iTerm2、Safari),每个应用都有自己的快捷方式。 另一种方法是聚焦一个窗口,然后使用 Cmd+Tab 作为选择器来选择下一个要添加的应用程序。 我想这取决于安排是不断变化还是相对稳定。
cafebeen
·16小时前·讨论
作者:我制作了这个 macOS 工具 "Zen Mode",以提供一种可跨应用程序使用的全局聚焦模式。 有很多东西可以做到这一点(HazeOver、Stage Manager、内置全屏模式等),但没有任何东西能像我想象的那样。 它的基本思想是通过一个快捷方式将当前窗口置于最前沿和中心位置,并像聚光灯一样将其他所有内容都淡化为黑色。 这是一个简单的解决方案,只需 250 行 Hammerspoon Lua 代码,使用 Fable 构建,但经过多次迭代,用户体验才达到最佳。 我很乐意回答任何问题或听取任何反馈。
cafebeen
·4个月前·讨论
Yes, and one of my favorite anecdotes like this: at one of the greatest jazz concert ever recorded, Charlie Parker played a cheap plastic saxophone because he hadn't brought his own.

https://jazzfuel.com/charlie-parker-the-plastic-saxophone-th...
cafebeen
·5个月前·讨论
While not a cure, there are many known modifiable risk factors for Alzheimer’s, so to some extent we know enough to deflect / mitigate dementia: https://www.thelancet.com/journals/lancet/article/PIIS0140-6...
cafebeen
·6个月前·讨论
This is great and echoes my experience. Although I would add a caveat that this mostly applies to solo work. Once you need to collaborate or operate on a team, many of limits of self-hosting return.
cafebeen
·6个月前·讨论
I believe slash commands are all loaded into the initial context and executed when invoked by the user. Skills on the other hand only load the name and description into initial context, and the agent (not user) determines when to invoke them, and only then is the whole skill loaded into context. So skills shift decision making to the agent and use progressive disclosure for context efficiency.
cafebeen
·7个月前·讨论
Thank you for publishing that paper, which I think greatly helped address this problem at the time, which you accurately describe. I guess things have to be taken in their historical context, and science is a community project which may not uniformly follow best practices, but work like this can help get everyone in line! It's unfortunate, and no fault of the authors, that the general public has run wild with referencing this work to reject fMRI as a experimental technique. There's plenty of different ways to criticize it today, for sure.
cafebeen
·7个月前·讨论
This study was really highlighting a statistical issue which would occur with any imaging technique with noise (which is unavoidable). If you measure enough things, you'll inevitably find some false positives. The solution is to use procedures such as Bonferroni and FDR to correct for the multiple tests, now a standard part of such imaging experiments. It's a valid critique, but it's worth highlighting that it's not specific to fMRI or evidence of shaky science unless you skip those steps (other separate factors may indicate shakiness though).
cafebeen
·7个月前·讨论
In a practical sense, I would argue the scientific is primarily about churning out grants and papers.
cafebeen
·7个月前·讨论
To a large extent, I think this could be solved by labs having more long-term permanent research staff (technicians, data analysts, scientists) and reducing the number of PhD students. Many students would gladly stay on in that position instead of leaving, so it increases job opportunities. It would also improve the quality of the science because the permanent staff would have more historical knowledge, in contrast to the current situation where students constantly rotate in and out with somewhat messy hand-offs. The students could also then focus more on scholarly work, planning and overseeing research execution with the team. The problem is that the incentives are aligned to allocate students to doing all lab tasks, not long term staff. I think we could change this through changes to the requirements and structure of science funding mechanisms however, since ultimately that's the source of the incentives.
cafebeen
·7个月前·讨论
Thanks for your work great work on Claude Code!

One other feature with CLAUDE.md I’ve found useful is imports: prepending @ to a file name will force it to be imported into context. Otherwise, whether a file is read and loaded to context is dependent on tool use and planning by the agent (even with explicit instructions like “read file.txt”). Of course this means you have to be judicial with imports.