[Pharo-project] [ANN] Pomodoro for Pharo 2.0
Hi, I followed the recent discussion and initial code about "Pomodoro" and since (until now) I used a timer written in Java I thought it would be a good idea to replace it with a Smalltalk one ;) I grabbed the HOPomodoro code from Phil and since it was marked as "experiment" I thought it would be good to write a new clean implementation with tests for Pharo 2.0. Thanks Phil - hope you are not angry that I hijacked the idea ... Attached is a screenshot of the tool. Install ======= Go to the Config browser in Pharo 2.0 ("Tools" -> "Config Browser") and load "Pomodoro" from the "Verified" tab. A new timer should appear and you can just click on "Start" to run the timer. When it finished it turns red, beeps and informs the user. How to use ========== You can open a new pomodoro (defaults 25 minutes) from the world menu ("Tools" -> "Pomodoro"). Customize ========= You can customize the pomodoro using Smalltalk. Here are a few examples: "open a new 25 minute one" Pomodoro new open "Opens a new timer with one minute total time" Pomodoro timerFor: 1 minute "Provide an action when pomodoro is finished" Pomodoro timerFor: 5 seconds whenFinishedDo: [ self inform: 'Pomodoro finished'] Code ==== The project comes with 15 tests. Code lives on project "Pomodoro" on SmalltalkHub. So far I added Phil and Sean as contributors since they discussed this topic already and may provide new ideas. If one wants to contribute feel free to do so. Thanks T.
Torsten Bergmann wrote
"Provide an action when pomodoro is finished" Pomodoro timerFor: 5 seconds whenFinishedDo: [ self inform: 'Pomodoro finished']
Hi, i like the Pomodoro App. Two things i noticed when i tried the above example: - When you drag and drop a finished (red) Pomodoro Morph the whenFinishedDo: block is executed every time on dropping the morph. - The clock starts with 4 seconds and displays the 'Pomodoro finished' notification 1 second after the progress bar and the clock show zero. -- View this message in context: http://forum.world.st/ANN-Pomodoro-for-Pharo-2-0-tp4678427p4678538.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Of course not, I am using yours :-) 2013/3/26 Torsten Bergmann <astares@gmx.de>
Hi,
I followed the recent discussion and initial code about "Pomodoro" and since (until now) I used a timer written in Java I thought it would be a good idea to replace it with a Smalltalk one ;)
I grabbed the HOPomodoro code from Phil and since it was marked as "experiment" I thought it would be good to write a new clean implementation with tests for Pharo 2.0. Thanks Phil - hope you are not angry that I hijacked the idea ...
Attached is a screenshot of the tool.
Install =======
Go to the Config browser in Pharo 2.0 ("Tools" -> "Config Browser") and load "Pomodoro" from the "Verified" tab. A new timer should appear and you can just click on "Start" to run the timer. When it finished it turns red, beeps and informs the user.
How to use ==========
You can open a new pomodoro (defaults 25 minutes) from the world menu ("Tools" -> "Pomodoro").
Customize ========= You can customize the pomodoro using Smalltalk. Here are a few examples:
"open a new 25 minute one" Pomodoro new open
"Opens a new timer with one minute total time" Pomodoro timerFor: 1 minute
"Provide an action when pomodoro is finished" Pomodoro timerFor: 5 seconds whenFinishedDo: [ self inform: 'Pomodoro finished']
Code ==== The project comes with 15 tests. Code lives on project "Pomodoro" on SmalltalkHub. So far I added Phil and Sean as contributors since they discussed this topic already and may provide new ideas. If one wants to contribute feel free to do so.
Thanks T.
philippeback wrote
Of course not, I am using yours :-)
</awkward moment> ;) ----- Cheers, Sean -- View this message in context: http://forum.world.st/ANN-Pomodoro-for-Pharo-2-0-tp4678427p4678981.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
I like the icon :-) 2013/3/30 Sean P. DeNigris <sean@clipperadams.com>
philippeback wrote
Of course not, I am using yours :-)
</awkward moment> ;)
----- Cheers, Sean -- View this message in context: http://forum.world.st/ANN-Pomodoro-for-Pharo-2-0-tp4678427p4678981.html Sent from the Pharo Smalltalk mailing list archive at Nabble.com.
Hello, First time user of Pharo - I just got pomodoro up running, but how to close it? Thanks! -- Ipstone -- View this message in context: http://forum.world.st/ANN-Pomodoro-for-Pharo-2-0-tp4678427p4875915.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
The Pomodoro timer is a morph on the screen. The easiest way is to open the morphs Halo and just delete it. You can also run the following expression in a playground: PomodoroMorph allInstancesDo: [:each | each delete ] I would recommend to read one of the introduction books to get familiar with Pharo and its concepts. See the PDF's at [1] and [2] Bye T. [1] https://github.com/SquareBracketAssociates/UpdatedPharoByExample [2] http://pharo.pharocloud.com/pharobooks
Gesendet: Donnerstag, 04. Februar 2016 um 19:12 Uhr Von: ipstone <isaacpei@gmail.com> An: pharo-dev@lists.pharo.org Betreff: Re: [Pharo-dev] [ANN] Pomodoro for Pharo 2.0
Hello,
First time user of Pharo - I just got pomodoro up running, but how to close it?
Thanks! -- Ipstone
-- View this message in context: http://forum.world.st/ANN-Pomodoro-for-Pharo-2-0-tp4678427p4875915.html Sent from the Pharo Smalltalk Developers mailing list archive at Nabble.com.
participants (5)
-
ipstone -
MartinW -
phil@highoctane.be -
Sean P. DeNigris -
Torsten Bergmann