Nautical bell: Difference between revisions

From Rosetta Code
Content added Content deleted
(initial content)
 
m (minor fixups)
Line 1: Line 1:
{{draft task}}
{{draft task}}


The task is to write a small program that emulates a [[http://en.wikipedia.org/wiki/Ship%27s_bell#Number_of_bells nautical bell]] producing a ringing bell pattern at certain times throughout the day.
The task is to write a small program that emulates a [http://en.wikipedia.org/wiki/Ship%27s_bell#Timing_of_duty_periods nautical bell] producing a ringing bell pattern at certain times throughout the day.


The bell times should be in accordance with [[http://en.wikipedia.org/wiki/GMT Greenwich Mean Time]], unless locale dictates otherwise.
The bell timing should be in accordance with [http://en.wikipedia.org/wiki/GMT Greenwich Mean Time], unless locale dictates otherwise.


It is permissible for the program to [[Run as a daemon|daemonize]], or to slave off a scheduler, and it is permissible to use alternative notification methods (such as producing a written notice "Two Bells Gone"), if these are more usual for the system type.
It is permissible for the program to [Run as a daemon|daemonize], or to slave off a scheduler, and it is permissible to use alternative notification methods (such as producing a written notice "Two Bells Gone"), if these are more usual for the system type.


[[Category: Date and time]]
[[Category: Date and time]]

Revision as of 07:23, 21 February 2013

Nautical bell is a draft programming task. It is not yet considered ready to be promoted as a complete task, for reasons that should be found in its talk page.

The task is to write a small program that emulates a nautical bell producing a ringing bell pattern at certain times throughout the day.

The bell timing should be in accordance with Greenwich Mean Time, unless locale dictates otherwise.

It is permissible for the program to [Run as a daemon|daemonize], or to slave off a scheduler, and it is permissible to use alternative notification methods (such as producing a written notice "Two Bells Gone"), if these are more usual for the system type.