HackerTrans
トップ新着トレンドコメント過去質問紹介求人

cafebeen

331 カルマ登録 12 年前
https://cabeen.io https://www.linkedin.com/in/cabeen/ [email protected]

投稿

Show HN: Zen Mode – a global focus mode for 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 時間前·議論
Indeed, if only Apple still made an 11-inch macbook air...
cafebeen
·14 時間前·議論
I agree this should be built-in. Many apps have their own "focus mode", but I wanted something that works uniformly across all apps. There is a full-screen mode in macOS, but it stretches the widow and context to full width, which doesn't pan out too well in some apps (lots of empty space or lines that are too long to read comfortably). So this preserves the window width but extends the height when focused, which works well for my daily drivers. The "fade" is somewhat unusual too, which means everything else is darkened close to black, which I find visually suppressing things and reduces distraction.

By the way, repo has an animated demo in case you want to see how it works.
cafebeen
·15 時間前·議論
Would be great, and it's technically possible to spotlight multiple windows in this setup. But I wonder about the mechanics of picking the right apps. One way is to use named sets, e.g. dev=(iTerm2, Safari), each with their own shortcut. Another is to to focus one window and then use Cmd+Tab as an picker to choose which app to add next. I guess it depends on whether the arrangement is changing or relatively stable.
cafebeen
·16 時間前·議論
Author here, I made this macOS tool "Zen Mode" to provide a global focus mode that works across apps. There are plenty of things approaching this (HazeOver, Stage Manager, built-in full-screen mode, etc.) but nothing quite like I imagined. The basic idea is to have a shortcut to bring the current window front and center and fade everything else to black like a spotlight, and when you're done, the window returns home, and the lights come back up. A simple solution with about 250 lines of Hammerspoon Lua, built with Fable, though with many iterations to get the UX right. Happy to answer any questions or hear any feedback.
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.