Anonymous user
User talk:Paddy3118: Difference between revisions
→References: Thanks for catching the staleness :-)
(→question on numbers for the hourglass puzzle: added a new talk section.) |
(→References: Thanks for catching the staleness :-)) |
||
(7 intermediate revisions by 4 users not shown) | |||
Line 101:
: Michael, Thanks for forwarding it - it's great to get positive feedback from a lecturer. (Maybe the site needs a "visitors book")? --[[User:Paddy3118|Paddy3118]] 01:18, 18 April 2010 (UTC)
===References===
Thanks for finding the new location for the BBC Video. Too bad it isn't visible around the world without some network expertise. The Beeb could take a lesson from the Khan Academy.
<br />[[User:GarveyPatrickD|GarveyPatrickD]] ([[User talk:GarveyPatrickD|talk]]) 14:14, 10 May 2021 (UTC)
:Hmmm, It's a difficult choice of some or none. There are other references however, and the task description seems complete in itself.
: Thanks for catching the staleness :-)
: --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 14:22, 10 May 2021 (UTC)
==Evolutionary algorithm==
Line 1,868 ⟶ 1,875:
I have a question about your flagging of the REXX solution for the '''hourglass puzzle'''. Is it your concern that words were used instead of Arabic numerals? The output was almost identical of the '''Python''' entry (as noted by the '''trans''' tag). Which computer programming entry would be better emulated? Would changing it to exactly match Python's output be OK? (Except for the misspelling error). -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 18:04, 30 December 2020 (UTC)
:Python is using string interpolation there so an expression such as {t4//4} will be replaced by its actual value (4) when the string is printed. Does REXX have a similar facility? --[[User:PureFox|PureFox]] ([[User talk:PureFox|talk]]) 20:15, 30 December 2020 (UTC)
:: Ah, now I see the light. I was thinking that the characters '''{t4///4}''' were just that and I didn't realize that they were meant to be substituted. I will correct it ASAP. Thanks for finding my (glaring) omission. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 20:27, 30 December 2020 (UTC)
::: Sorry for being vague :-)
::: --[[User:Paddy3118|Paddy3118]] ([[User talk:Paddy3118|talk]]) 20:34, 30 December 2020 (UTC)
:::: Naw, my bad. If I had been paying more attention to Python's output, I would have noticed that there was string
interpolation going on. I need better eyes or I need to do less programming when my eyesight begins to get the best of me. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 02:31, 31 December 2020 (UTC)
== Fibonacci numbers definition for Padovan task ==
Concerning the ''Padovan'' task, the Fibonacci numbers definition for the first two terms may need re-doing, '''F(0) = 0''', '''F(1) = 1'''. Of course, this depends where you start the Fibonacci series. But ten terms were listed starting with zero, so then F(0) has to be zero. -- [[User:Gerard Schildberger|Gerard Schildberger]] ([[User talk:Gerard Schildberger|talk]]) 10:35, 27 February 2021 (UTC)
|