Closed Happy0 closed 9 years ago
https://github.com/x89/Tea/blob/9e928ba90484283f856515cced828d4765996daf/tea.sh#L19
This removes all arguments ($1
, $2
etc.) which means that $1
is empty later in the script, and $#
is always 0.
I think this is an important feature that should be added as fast as possible
just the fact that it is here for more than a day with no response from the dev is a bad sign.
Indeed. I no longer have confidence in the management of this project.
I think it's time for a fork! Would you like the role of 'deputy product manager', @moopie?
I will quickly merge the request.
I think this project should be rewritten in Rust. Rust advertises memory safety which is very important, because the script needs to remember to remind the user that their tea is ready.
I think our fork should be rewritten in Haskell. Haskell promotes explicitly typed side effects which is very important because reminding the user that their tea is ready is effectful as it plays an audio clip and prints to standard out. This dangerous side effect should be explicitly captured.
Reminding a user that their tea is ready counts as a side effect. Haskell does not allow it.
This minor issue can be resolved by attaching a thermometer to the CPU which heats up due to the work required to execute the pure functions in tea.sh which can be captured, despite the limitation of Haskell not allowing side effects. We will write the pure functions in a way that predictably heats up the CPU to transmit 'your tea is ready' in morse code.
Invalid? Our fork is more urgent than I thought!
Watch it you or it's getting tagged wontfix.
On Wed, May 13, 2015 at 8:56 AM, Gordon Martin notifications@github.com wrote:
Invalid? Our fork is more urgent than I thought!
— Reply to this email directly or view it on GitHub https://github.com/x89/Tea/issues/13#issuecomment-101557443.
Thanks @anlutro. Congratulations on your new job as a maintainer for this prestigious project!
+1, highly committed individual.
Tea.sh does not print the usage when the --help flag is used.
Steps to reproduce:
Expected: Tea.sh prints the usage.
Actual: Tea.sh executes as normal, informing you that your tea is ready in 6 minutes.
Log: [happy0@delta Tea]$ ./tea.sh --help
You are using tea.flac. Have no fear! None! You will be warned when your tea is ready. ^C [happy0@delta Tea]$
Revision: 9e928ba90484283f856515cced828d4765996daf