Live data from Hacker News

I hacked my clock to control my focus

paepper.com

21–30 of 70 posts

Re: I hacked my clock to control my focus

#21

I built a simple SwiftUI/Swift Data app to do the same thing across my Apple Watch, iPhone, iPad and Desktop. With the heavy lifting of SwiftUI/Swift Data, and iCloud providing automatic and private syncing, this is the cloc output for my project, (including widgets and all of the code and projects needed to target all of these platforms.) ------------------------------------------------------------------------------…

You could post a gist of it, though. I’d love to do the same thing.

Re: I hacked my clock to control my focus

#24

is there something similar for macOS?

If the something you are asking about is scripting/modifying, that something might be Shortcuts (or the older Automator).

If the something you are asking about is a pre-built tool, I would think the menubar is the MacOS place to put a reminder and it looks like someone has built that: https://lifehacker.com/tech/one-thing-app-turns-your-macs-me...

Re: I hacked my clock to control my focus

#25
I've added an hourly chime to my work computer's clock, similar to a Casio wristwatch. It's a subtle reminder of the passing time, prompting me to pause, reflect, and reassess my actions to stay on track and avoid procrastination.

I like this constant on screen reminder though and might give it a try myself :)

Re: I hacked my clock to control my focus

#26
post #14
post #6

Earlier quoted context omitted.

I don't take breaks per se, which is a core part of that technique iirc.

I think the break can be a reflection and note taking period. Unfocus a bit, but not too far.

Interesting. I use the timer thing just for long running tasks I want to make progress on every day. Then I go work on other stuff.

Re: I hacked my clock to control my focus

#27

I've added an hourly chime to my work computer's clock, similar to a Casio wristwatch. It's a subtle reminder of the passing time, prompting me to pause, reflect, and reassess my actions to stay on track and avoid procrastination. I like this constant on screen reminder though and might give it a try myself :)

  The gods confound the man who first found out
  how to distinguish hours! Confound him, too,
  who in this place set up a sundial,
  to cut and hack my days so wretchedly
  into small portions! When I was a boy,
  my belly was my sundial — one surer,
  truer, and more exact than any of them.
  This dial told me when ’twas proper time
  to go to dinner, when I had aught to eat;
  But nowadays, why even when I have,
  I can’t fall-to unless the sun gives leave.
  The town’s so full of these confounded dials
  the greatest part of the inhabitants,
  shrunk up with hunger, crawl along the street.
— Plautus (c.254-184 BC)

(Originally posted 11 years ago: https://news.ycombinator.com/item?id=7007731#7008338>)

Re: I hacked my clock to control my focus

#28

I've added an hourly chime to my work computer's clock, similar to a Casio wristwatch. It's a subtle reminder of the passing time, prompting me to pause, reflect, and reassess my actions to stay on track and avoid procrastination. I like this constant on screen reminder though and might give it a try myself :)

I did something similar with a Telegram bot in order to remind myself to look away from the screen, get up and stretch for a bit. However I started to ignore it in favor of "more pressing" tasks and now the chime has become just a faint signal somewhere on the outer edge of my awareness, too easily forgotten about. You need to condition yourself to not ignore it or it will lose its effectiveness.

Re: I hacked my clock to control my focus

#29

I've added an hourly chime to my work computer's clock, similar to a Casio wristwatch. It's a subtle reminder of the passing time, prompting me to pause, reflect, and reassess my actions to stay on track and avoid procrastination. I like this constant on screen reminder though and might give it a try myself :)

If anyone is searching for a way to do this in macOS, the dato[1] app implements this rather nicely

[1]: https://sindresorhus.com/dato

Re: I hacked my clock to control my focus

#30
On macOS there is xBar (haven't tried it) and SwiftBar [1]

Its really cool because it lets you use any shell-executable file, including bash scripts, python scripts (with shebangs and made executable), as a menu bar tool. The standard output is expected to follow a very simple structure and will be used to create the menu bar tool's text/icon. You can have your scripts simply output emoji as well!

Not just that, but any output after a `---` will be treated as drop down options, and depending on format, those can contain info, or be exectuable actions.

Verrrry useful for all sorts of things.

1. https://github.com/swiftbar/SwiftBar

Post reply on HN