Pomodoro timer that acknowledges the inexorable, infinite passage of time

Overview

Pomodouroboros

Most pomodoro trackers assume you're going to start them. But time and tide wait for no one - the great pomodoro of the cosmos is cold and dark, and it goes on forever.

For people with ADHD or other executive function disorders, time blindness is common; the inability to notice that time is passing or initiate tasks at an appropriate time. It's easy to let half the day slip by before starting your first pomodoro.

Pomodouroboros's goal is to:

  1. stay constantly in your visual field so that you will ABSOLUTELY not forget to set some goals
  2. remind you that death stalks your every step, and the pomodoros are happening whether you're making use of them or not
Comments
  • codesigning and notarization

    codesigning and notarization

    Build a quick shell script to build & notarize the app so that non-developers can download it normally.

    You can find some instructions on this guy's blog

    Follow-up:

    • [ ] #21
    opened by glyph 4
  • better icon

    better icon

    I am pretty happy with the general vibe of the little tomato snek boi but I threw it together in about 3 minutes in Affinity Designer, someone with more of an æsthetic sensibility could probably kick it up a half a dozen notches easily

    opened by glyph 3
  • ibtool not found

    ibtool not found

    The installation instructions I guess need a little more detail:

    % ./runme
    + mypy ./src
    Success: no issues found in 8 source files
    + rm -fr ./dist
    + python setup.py py2app --alias
    /usr/local/virtualenvs/tmp-6d1a0d409417d94/lib/python3.10/site-packages/setuptools/installer.py:27: SetuptoolsDeprecationWarning: setuptools.installer is deprecated. Requirements should be satisfied by a PEP 517 installer.
      warnings.warn(
    running py2app
    running build_py
    creating build
    creating build/bdist.macosx-10.15-x86_64
    creating build/bdist.macosx-10.15-x86_64/lib
    creating build/bdist.macosx-10.15-x86_64/lib/pomodouroboros
    copying src/pomodouroboros/test_model.py -> build/bdist.macosx-10.15-x86_64/lib/pomodouroboros
    copying src/pomodouroboros/notifs.py -> build/bdist.macosx-10.15-x86_64/lib/pomodouroboros
    copying src/pomodouroboros/quickapp.py -> build/bdist.macosx-10.15-x86_64/lib/pomodouroboros
    copying src/pomodouroboros/__init__.py -> build/bdist.macosx-10.15-x86_64/lib/pomodouroboros
    copying src/pomodouroboros/pommodel.py -> build/bdist.macosx-10.15-x86_64/lib/pomodouroboros
    copying src/pomodouroboros/cli.py -> build/bdist.macosx-10.15-x86_64/lib/pomodouroboros
    copying src/pomodouroboros/storage.py -> build/bdist.macosx-10.15-x86_64/lib/pomodouroboros
    copying src/pomodouroboros/mac_gui.py -> build/bdist.macosx-10.15-x86_64/lib/pomodouroboros
    creating /System/Volumes/Data/root/src/Pomodouroboros/build/bdist.macosx-10.15-x86_64/python3.10-standalone
    creating /System/Volumes/Data/root/src/Pomodouroboros/build/bdist.macosx-10.15-x86_64/python3.10-standalone/app
    creating /System/Volumes/Data/root/src/Pomodouroboros/build/bdist.macosx-10.15-x86_64/python3.10-standalone/app/collect
    creating /System/Volumes/Data/root/src/Pomodouroboros/build/bdist.macosx-10.15-x86_64/python3.10-standalone/app/temp
    creating /System/Volumes/Data/root/src/Pomodouroboros/dist
    creating build/bdist.macosx-10.15-x86_64/python3.10-standalone/app/lib-dynload
    creating build/bdist.macosx-10.15-x86_64/python3.10-standalone/app/Frameworks
    Add paths for VENV /usr/local/pyenv/pyenv/versions False
    *** creating application bundle: Pomodouroboros ***
    Copy '/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/apptemplate/prebuilt/main-x86_64' -> '/System/Volumes/Data/root/src/Pomodouroboros/dist/Pomodouroboros.app/Contents/MacOS/Pomodouroboros'
    compile IBFiles/GoalListWindow.xib -> /System/Volumes/Data/root/src/Pomodouroboros/dist/Pomodouroboros.app/Contents/Resources/GoalListWindow.nib
    xcrun: error: unable to find utility "ibtool", not a developer tool or in PATH
    Traceback (most recent call last):
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/converters/nibfile.py", line 42, in _get_ibtool
        gTool = check_output(["/usr/bin/xcrun", "-find", "ibtool"])[:-1]
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/util.py", line 718, in check_output
        raise subprocess.CalledProcessError(xit, command_line)
    subprocess.CalledProcessError: Command '['/usr/bin/xcrun', '-find', 'ibtool']' returned non-zero exit status 72.
    
    During handling of the above exception, another exception occurred:
    
    Traceback (most recent call last):
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/build_app.py", line 2275, in build_alias_executable
        copy_resource(src, dest, dry_run=self.dry_run, symlink=1)
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/util.py", line 132, in copy_resource
        converter(source, destination, dry_run=dry_run)
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/converters/nibfile.py", line 62, in convert_xib
        _run_nibtool(source, destination)
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/converters/nibfile.py", line 26, in _run_nibtool
        xit = subprocess.call([_get_ibtool(), "--compile", destination, source])
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/converters/nibfile.py", line 44, in _get_ibtool
        raise IOError("Tool 'ibtool' not found")
    OSError: Tool 'ibtool' not found
    error: Tool 'ibtool' not found
    Traceback (most recent call last):
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/build_app.py", line 2275, in build_alias_executable
        copy_resource(src, dest, dry_run=self.dry_run, symlink=1)
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/util.py", line 132, in copy_resource
        converter(source, destination, dry_run=dry_run)
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/converters/nibfile.py", line 62, in convert_xib
        _run_nibtool(source, destination)
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/converters/nibfile.py", line 31, in _run_nibtool
        raise RuntimeError("ibtool failed (%r -> %r)" % (source, destination))
    RuntimeError: ibtool failed ('IBFiles/GoalListWindow.xib' -> '/System/Volumes/Data/root/src/Pomodouroboros/dist/Pomodouroboros.app/Contents/Resources/GoalListWindow.nib')
    Traceback (most recent call last):
      File "/System/Volumes/Data/root/src/Pomodouroboros/setup.py", line 22, in <module>
        setup(
      File "/usr/local/virtualenvs/tmp-6d1a0d409417d94/lib/python3.10/site-packages/setuptools/__init__.py", line 87, in setup
        return distutils.core.setup(**attrs)
      File "/usr/local/virtualenvs/tmp-6d1a0d409417d94/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 148, in setup
        return run_commands(dist)
      File "/usr/local/virtualenvs/tmp-6d1a0d409417d94/lib/python3.10/site-packages/setuptools/_distutils/core.py", line 163, in run_commands
        dist.run_commands()
      File "/usr/local/virtualenvs/tmp-6d1a0d409417d94/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 967, in run_commands
        self.run_command(cmd)
      File "/usr/local/virtualenvs/tmp-6d1a0d409417d94/lib/python3.10/site-packages/setuptools/dist.py", line 1214, in run_command
        super().run_command(command)
      File "/usr/local/virtualenvs/tmp-6d1a0d409417d94/lib/python3.10/site-packages/setuptools/_distutils/dist.py", line 986, in run_command
        cmd_obj.run()
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/build_app.py", line 964, in run
        self._run()
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/build_app.py", line 1192, in _run
        self.run_alias()
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/build_app.py", line 1095, in run_alias
        dst = self.build_alias_executable(target, target.script, extra_scripts)
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/build_app.py", line 2275, in build_alias_executable
        copy_resource(src, dest, dry_run=self.dry_run, symlink=1)
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/util.py", line 132, in copy_resource
        converter(source, destination, dry_run=dry_run)
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/converters/nibfile.py", line 62, in convert_xib
        _run_nibtool(source, destination)
      File "/System/Volumes/Data/root/src/Pomodouroboros/.eggs/py2app-0.28-py3.10.egg/py2app/converters/nibfile.py", line 31, in _run_nibtool
        raise RuntimeError("ibtool failed (%r -> %r)" % (source, destination))
    RuntimeError: ibtool failed ('IBFiles/GoalListWindow.xib' -> '/System/Volumes/Data/root/src/Pomodouroboros/dist/Pomodouroboros.app/Contents/Resources/GoalListWindow.nib')
    
    opened by nedbat 2
  • intent-review improvements

    intent-review improvements

    reviewing poms should be a lot smoother

    • [x] reviewing an intent should present the text of the intent so you know what you're evaluating, in case you've gotten slightly distracted at the end of the pom

    • [x] to help with estimation, intents should really ask 2 questions:

      1. were you focused on the task, and
      2. did you complete the task (complete kind of implies focus, so only 3 options; we can do this as buttons rather than checkboxes probably)

      if you were focused it's a win, but if you didn't complete it, the next pom should give you the option to continue

    • [ ] there should be a prompt to review, towards the end (in mac UI, with user notification actions for marking success/fail)

    opened by glyph 2
  • be more CPU-efficient, particularly when not running

    be more CPU-efficient, particularly when not running

    When running, it seems like burning 10% CPU or so, even on a high end system, to keep the animation running with reasonable fluidity is just non-negotiable (Facilitimer, which displays a similar progress progress bar, uses similar CPU).

    But when the bar is not displayed, we can know in advance what the next interesting inflection point in our schedule is, and just fully go to sleep and not schedule anything until that point.

    opened by glyph 1
  • Minimize pyobjc dependencies

    Minimize pyobjc dependencies

    I only need a few frameworks, it shouldn't pull in the universe.

    (Specifically this refers to depending directly on pyobjc-framework-* and pyobjc-core rather than pyobjc in requirements.txt)

    opened by glyph 1
  • Add mypy.ini

    Add mypy.ini

    This config enables some hardening that already passes fine on 0.910, while leaving out some other nice things to enable later.

    Most importantly, it silences errors about pyobjc imports not containing type hints.

    opened by ambv 0
  • redesign the app with a new core conceit

    redesign the app with a new core conceit

    So, this app has thus far been a prototype, and one of the nice things about prototypes is that they let you learn stuff and get feedback!

    Unfortunately sometimes the learning takes you back to the drawing board 😬

    What I've learned from this particularly prototype is that having a real-time timer running is good, but it creates a few unhelpful incentives, initially touched upon in #17 (thanks @nceder!) .

    1. If I return to the keyboard at 10:36, there's a feeling that I've "missed" the current block and I should just sit around and wait for the new one. This is bad because the goal of this app should be to maximize intentional time, and always be helping you to get started (if it's time to get started!). There's no incentive to get back to work when you've missed a given pomodoro.
    2. The big ❌s in the UI provoke a real feeling of negativity and futility if the first half (or more) of the day has been disrupted. The message should always be "Get the highest score you can". By the time the time has already elapsed, persistent visual punishments are counterproductive.
    3. The nature of attention-momentum is such that I probably start the day too scattered to finish a 30 minute pom and by the time I'm in the groove I am interrupted by needing to re-set every 30 minutes. Focus streaks should gradually scale up in length until encouraging you to take a break.

    So the new design for the app I'm considering is something more like this:

    1. Whenever you're at the computer and have not set an intention during an intentional time, there should be an obnoxious (i.e. larger than a notification) but not time-bounded HUD element telling you that you should set an intention.

    2. This should come along with a "snooze" button, so you can say "remind me to set an intention in…".

    3. 🍅 / 🥫 as a "winning / losing" distinction is bad. There should be a challenge, but it should be relative, not absolute. Things can get better or things can get worse, there is no point beyond which you should feel hopeless and give up. There is a point where maybe you should take a break. Some thoughts for things that you might want to keep a running tally of how close you are to beating:

      1. your score from yesterday?
      2. your average score for the (week / month / year / all time) so far?
      3. your best score for the (week / month / year / all time)?
      4. the best leaderboard score from your friends for today? (when leaderboards get added)

      It might be better to model these as achievements, and you get a new one every time you beat one of these, rather than a single status for the day.

    4. there should be a concept of something like WoW's "rested XP" which gives you a bonus for starting that gets slightly larger the longer you've been between intentional periods. Sort of like Rested XP,  it shouldn't be as many points as you would have gotten for crushing it, but it should be increasingly motivating to get started knowing you're going to get a big bonus to your number. (*(Unlike rested XP, this number should consolidate down every day, so that you get a bigger bonus for actually getting your daily bonus for doing at least one focused period every day)

    5. There should be a "streak" counter where you start with a 10 minute interval and at the end of it you have the option to double, in an exponential progression; my first guess would be powers-of-2: 10 minutes, 20 minutes, 40 minutes, 80 minutes (with increasing breaks as well). There should be some encouragement to take breaks, so after hitting the max (perhaps after 2 80 minute periods back to back?) you get a big bonus for stopping. There should be a progressively higher points-per-second value for longer streaks, but of course the points disappear if you don't stay focused.

    6. Sometimes you finish a task early and want to set a new intention. You should be able to declare victory early and continue on to a longer streak, although with a focus-bonus pro-ration for how long you were focused. So for example if you declare victory at 5 minutes out of a 10 minute streak, perhaps the next one is 15 minutes instead of 20.

    7. There should be some calendar integration or some way to say "I could not continue that streak" to provide a small bonus for stopping on purpose, to relieve the pressure to continue working and miss meetings or some other perverse incentive.

    8. Intention-setting should have a more generous timeout, 4 minutes is not enough. I'd say the grace period at the end of the streak should be 15 minutes.

    9. Planning is good, but rigid estimation is bad. To replace the setting-intentions-in-the-list-view workflow where precise goals are assigned to precise time periods, there should be an advance-planning queue, where you plug in a bunch of potential things to focus on (this might be a good place to plug in integration with task trackers, like for example pulling in those options from a particular view in OmniFocus). At the start of each pom you can select an intention from your preregistered list.

    10. You can't always break down tasks into such small granularity that you can actually complete them. Task estimation should be gamified as follows: there are 2 questions about intentionality. "What do you want to focus on" (free text) and "do you think you'll finish it" (checkbox). If you don't check the checkbox, your success multiplier is 1.0. If you do check it, then if you successfully call your shot and finish it, you get a 1.12 multiplier and if you don't finish you get 0.9. So if you get better at estimating and finishing your intentions on time, that's a bonus, and the bonus for estimating correctly is bigger than the penalty for not doing so, but the main goal is to get focused not to get great at estimating.

    11. Evaluation needs to be much more lenient and editable. I'm constantly making mistakes with evaluations just by hitting the wrong key in the NSAlert. My thought here is that there's a bonus bump for evaluating within a certain time window past the end of a pom (and then not changing it) but you can go back and edit your evaluations freely within that period, and then you can edit them again at the end of the day with the only penalty being losing that small bonus for each thing that you had previously evaluted. Relative scale here being something like: 5 points for evaluating each pom within the day, 1 bonus point for evaluating each pom within an hour of completing it, bonus lost if you edit after that hour.

    All the "points" above are just ideas about estimates of relative proportions within the individual feature, and scalarizing them all against each other is an exercise for the future.

    Also cc @rockstar, thank you for the feedback.

    opened by glyph 1
  • add a MainMenu.xib and use `NSApplication.setActivationPolicy_` to give the app a menubar when it's in the foreground

    add a MainMenu.xib and use `NSApplication.setActivationPolicy_` to give the app a menubar when it's in the foreground

    Continuing to run in the background as a menu item and continuously presenting a progress bar is important to stay in the user's visual field, but the "list Pomodoros" window really makes me expect that the app participates in ⌘-Tab, and I suspect more detailed windows might be showing up in the near future. This would also make handling text-editing shortcuts a bit more straightforward, c.f. the comments on https://stackoverflow.com/q/72237870/13564

    opened by glyph 0
  • add the ability for the user to customize their day

    add the ability for the user to customize their day

    There are roughly two options here:

    • [ ] add a "Preferences" window that can allow for the selection of start of day, end of day, length of pom, length of break, etc
    • [ ] add the ability for the user to write a little Python plugin file that runs a function which constructs a Day object for a given datetime.date
    opened by glyph 1
Releases(0.0.1)
Owner
Glyph
Founder of the Twisted project. Software engineer at PIlot.com. Aspiring digital flâneur.
Glyph
ReConsider is a re-ranking model that re-ranks the top-K (passage, answer-span) predictions of an Open-Domain QA Model like DPR (Karpukhin et al., 2020).

ReConsider ReConsider is a re-ranking model that re-ranks the top-K (passage, answer-span) predictions of an Open-Domain QA Model like DPR (Karpukhin

Facebook Research 47 Jul 26, 2022
This is the official implementation of "One Question Answering Model for Many Languages with Cross-lingual Dense Passage Retrieval".

CORA This is the official implementation of the following paper: Akari Asai, Xinyan Yu, Jungo Kasai and Hannaneh Hajishirzi. One Question Answering Mo

Akari Asai 59 Dec 28, 2022
A multilingual version of MS MARCO passage ranking dataset

mMARCO A multilingual version of MS MARCO passage ranking dataset This repository presents a neural machine translation-based method for translating t

null 75 Dec 27, 2022
Fast and Easy Infinite Neural Networks in Python

Neural Tangents ICLR 2020 Video | Paper | Quickstart | Install guide | Reference docs | Release notes Overview Neural Tangents is a high-level neural

Google 1.9k Jan 9, 2023
Implements an infinite sum of poisson-weighted convolutions

An infinite sum of Poisson-weighted convolutions Kyle Cranmer, Aug 2018 If viewing on GitHub, this looks better with nbviewer: click here Consider a v

Kyle Cranmer 26 Dec 7, 2022
Code accompanying our paper Feature Learning in Infinite-Width Neural Networks

Empirical Experiments in "Feature Learning in Infinite-width Neural Networks" This repo contains code to replicate our experiments (Word2Vec, MAML) in

Edward Hu 37 Dec 14, 2022
Companion code for the paper "An Infinite-Feature Extension for Bayesian ReLU Nets That Fixes Their Asymptotic Overconfidence" (NeurIPS 2021)

ReLU-GP Residual (RGPR) This repository contains code for reproducing the following NeurIPS 2021 paper: @inproceedings{kristiadi2021infinite, title=

Agustinus Kristiadi 4 Dec 26, 2021
Backend code to use MCPI's python API to make infinite worlds with custom generation

inf-mcpi Backend code to use MCPI's python API to make infinite worlds with custom generation Does not save player-placed blocks! Generation is still

null 5 Oct 4, 2022
duralava is a neural network which can simulate a lava lamp in an infinite loop.

duralava duralava is a neural network which can simulate a lava lamp in an infinite loop. Example This is not a real lava lamp but a "fake" one genera

Maximilian Bachl 87 Dec 20, 2022
AquaTimer - Programmable Timer for Aquariums based on ATtiny414/814/1614

AquaTimer - Programmable Timer for Aquariums based on ATtiny414/814/1614 AquaTimer is a programmable timer for 12V devices such as lighting, solenoid

Stefan Wagner 4 Jun 13, 2022
This application is the basic of automated online-class-joiner(for YıldızEdu) within the right time. Gets the ZOOM link by scheduled date and time.

This application is the basic of automated online-class-joiner(for YıldızEdu) within the right time. Gets the ZOOM link by scheduled date and time.

215355 1 Dec 16, 2021
Time-series-deep-learning - Developing Deep learning LSTM, BiLSTM models, and NeuralProphet for multi-step time-series forecasting of stock price.

Stock Price Prediction Using Deep Learning Univariate Time Series Predicting stock price using historical data of a company using Neural networks for

Abdultawwab Safarji 7 Nov 27, 2022
TCNN Temporal convolutional neural network for real-time speech enhancement in the time domain

TCNN Pandey A, Wang D L. TCNN: Temporal convolutional neural network for real-time speech enhancement in the time domain[C]//ICASSP 2019-2019 IEEE Int

凌逆战 16 Dec 30, 2022
Real-Time-Student-Attendence-System - Real Time Student Attendence System

Real-Time-Student-Attendence-System The Student Attendance Management System Pro

Rounak Das 1 Feb 15, 2022
[CVPR 2022] Official code for the paper: "A Stitch in Time Saves Nine: A Train-Time Regularizing Loss for Improved Neural Network Calibration"

MDCA Calibration This is the official PyTorch implementation for the paper: "A Stitch in Time Saves Nine: A Train-Time Regularizing Loss for Improved

MDCA Calibration 21 Dec 22, 2022
OpenPose: Real-time multi-person keypoint detection library for body, face, hands, and foot estimation

Build Type Linux MacOS Windows Build Status OpenPose has represented the first real-time multi-person system to jointly detect human body, hand, facia

null 25.7k Jan 9, 2023
A unified framework for machine learning with time series

Welcome to sktime A unified framework for machine learning with time series We provide specialized time series algorithms and scikit-learn compatible

The Alan Turing Institute 6k Jan 8, 2023
PyTorch implementation of "A Full-Band and Sub-Band Fusion Model for Real-Time Single-Channel Speech Enhancement."

FullSubNet This Git repository for the official PyTorch implementation of "A Full-Band and Sub-Band Fusion Model for Real-Time Single-Channel Speech E

郝翔 357 Jan 4, 2023
RTS3D: Real-time Stereo 3D Detection from 4D Feature-Consistency Embedding Space for Autonomous Driving

RTS3D: Real-time Stereo 3D Detection from 4D Feature-Consistency Embedding Space for Autonomous Driving (AAAI2021). RTS3D is efficiency and accuracy s

null 71 Nov 29, 2022