User:Paddy3118: Difference between revisions

From Rosetta Code
Content added Content deleted
No edit summary
Line 34: Line 34:
==Writing and maintaining tasks==
==Writing and maintaining tasks==
Wow, it certainly teaches you a lot about how easy it is to miss something in the description of a task. I have very regular indication of how easy it is to miss something out when implementing a task from a description, as I watch others completing tasks here, very often someone elses mistakes stops me from blundering into the same thing which may make me look a little better ;-)
Wow, it certainly teaches you a lot about how easy it is to miss something in the description of a task. I have very regular indication of how easy it is to miss something out when implementing a task from a description, as I watch others completing tasks here, very often someone elses mistakes stops me from blundering into the same thing which may make me look a little better ;-)

=== Pages I have started ===

# [http://rosettacode.org/wiki/Spiral_matrix Spiral matrix] 06:27 5 August 2008
# [http://rosettacode.org/wiki/Monty_Hall_problem Monty Hall problem] 17:59 5 August 2008
# [http://rosettacode.org/wiki/Web_scraping Web scraping] 20:09 20 August 2008
# [http://rosettacode.org/wiki/Sequence_of_non-squares Sequence of non-squares] 08:36 24 August 2008
# [http://rosettacode.org/wiki/Anagrams Anagrams] 20:28 24 September 2008
# [http://rosettacode.org/wiki/Text_processing/Max_licenses_in_use Text processing/Max licenses in use] 22:06 3 October 2008
# [http://rosettacode.org/wiki/One-dimensional_cellular_automata One-dimensional cellular automata] 21:35 8 October 2008
# [http://rosettacode.org/wiki/Conway%27s_Game_of_Life Conway's Game of Life] 22:06 10 October 2008
# [http://rosettacode.org/wiki/Text_processing/1 Text processing/1] 09:47 8 November 2008
# [http://rosettacode.org/wiki/Text_processing/2 Text processing/2] 22:21 13 November 2008
# [http://rosettacode.org/wiki/Align_columns Align columns] 05:27 16 November 2008
# [http://rosettacode.org/wiki/Probabilistic_choice Probabilistic choice] 18:28 17 November 2008
# [http://rosettacode.org/wiki/Knapsack_problem/Unbounded Knapsack problem/Unbounded] 22:02 2 December 2008
# [http://rosettacode.org/wiki/Day_of_the_week Day of the week] 14:06 12 December 2008
# [http://rosettacode.org/wiki/Non-decimal_radices/Output Non-decimal radices/Output] 05:14 31 January 2009
# [http://rosettacode.org/wiki/Octal Octal] 09:46 1 February 2009
# [http://rosettacode.org/wiki/Literals/Integer Literals/Integer] 23:03 1 February 2009
# [http://rosettacode.org/wiki/Interactive_programming Interactive programming] 17:18 21 February 2009
# [http://rosettacode.org/wiki/First-class_functions First-class functions] 15:22 24 February 2009
# [http://rosettacode.org/wiki/Y_combinator Y combinator] 03:54 28 February 2009
# [http://rosettacode.org/wiki/Function_composition Function composition] 06:26 3 March 2009
# [http://rosettacode.org/wiki/Exceptions/Catch_an_exception_thrown_in_a_nested_call Exceptions/Catch an exception thrown in a nested call] 05:31 7 March 2009
# [http://rosettacode.org/wiki/Look-and-say_sequence Look-and-say sequence] 09:20 4 April 2009
# [http://rosettacode.org/wiki/Mutual_recursion Mutual recursion] 21:22 9 April 2009
# [http://rosettacode.org/wiki/Bulls_and_cows Bulls and cows] 14:21 3 May 2009
# [http://rosettacode.org/wiki/Test_a_function Test a function] 18:15 28 May 2009
# [http://rosettacode.org/wiki/Menu Menu] 18:27 3 June 2009
# [http://rosettacode.org/wiki/Sort_stability Sort stability] 08:32 6 June 2009
# [http://rosettacode.org/wiki/Averages/Simple_moving_average Averages/Simple moving average] 21:13 17 June 2009
# [http://rosettacode.org/wiki/Send_email Send email] 05:51 1 July 2009
# [http://rosettacode.org/wiki/Topological_sort Topological sort] 05:46 3 July 2009
# [http://rosettacode.org/wiki/Ethiopian_multiplication Ethiopian multiplication] 04:51 23 July 2009
# [http://rosettacode.org/wiki/Russian_Peasant_Multiplication Russian Peasant Multiplication] 04:53 23 July 2009
# [http://rosettacode.org/wiki/First-class_functions/Use_numbers_analogously First-class functions/Use numbers analogously] 20:00 5 August 2009
# [http://rosettacode.org/wiki/Seven-sided_dice_from_five-sided_dice Seven-sided dice from five-sided dice] 05:28 8 August 2009
# [http://rosettacode.org/wiki/Verify_distribution_uniformity/Naive Verify distribution uniformity/Naive] 05:28 8 August 2009
# [http://rosettacode.org/wiki/Flatten_a_list Flatten a list] 16:41 16 August 2009
# [http://rosettacode.org/wiki/Evolutionary_algorithm Evolutionary algorithm] 19:07 6 October 2009
# [http://rosettacode.org/wiki/24_game 24 game] 17:12 31 October 2009
# [http://rosettacode.org/wiki/24_game/Solve 24 game/Solve] 04:48 1 November 2009
# [http://rosettacode.org/wiki/Bulls_and_Cows_game Bulls and Cows game] 06:46 2 November 2009
# [http://rosettacode.org/wiki/Hamming_numbers Hamming numbers] 18:38 2 December 2009
# [http://rosettacode.org/wiki/Random_number_generator_(included) Random number generator (included)] 08:01 23 January 2010
# [http://rosettacode.org/wiki/Pangram_checker Pangram checker] 19:12 25 January 2010
# [http://rosettacode.org/wiki/String_interpolation_(included) String interpolation (included)] 07:21 30 January 2010
# [http://rosettacode.org/wiki/Arbitrary-precision_integers_(included) Arbitrary-precision integers (included)] 06:45 13 February 2010
# [http://rosettacode.org/wiki/Averages/Pythagorean_means Averages/Pythagorean means] 05:22 20 February 2010
# [http://rosettacode.org/wiki/Averages/Geometric_mean Averages/Geometric mean] 05:35 20 February 2010
# [http://rosettacode.org/wiki/Averages/Harmonic_mean Averages/Harmonic mean] 05:36 20 February 2010
# [http://rosettacode.org/wiki/Averages/Root_mean_square Averages/Root mean square] 07:57 20 February 2010
# [http://rosettacode.org/wiki/Averages/Quadratic_mean Averages/Quadratic mean] 07:58 20 February 2010
# [http://rosettacode.org/wiki/Dot_product Dot product] 07:18 24 February 2010
# [http://rosettacode.org/wiki/Knapsack_problem/Unbounded/Python_dynamic_programming Knapsack problem/Unbounded/Python dynamic programming] 12:03 28 February 2010
# [http://rosettacode.org/wiki/Luhn_test_of_credit_card_numbers Luhn test of credit card numbers] 06:01 2 March 2010
# [http://rosettacode.org/wiki/Hailstone_sequence Hailstone sequence] 00:03 8 March 2010
# [http://rosettacode.org/wiki/Hofstadter-Conway_$10,000_sequence Hofstadter-Conway $10,000 sequence] 08:21 9 March 2010
# [http://rosettacode.org/wiki/Find_common_directory_path Find common directory path] 19:34 23 March 2010
# [http://rosettacode.org/wiki/Horner%27s_rule_for_polynomial_evaluation Horner's rule for polynomial evaluation] 03:28 31 March 2010
# [http://rosettacode.org/wiki/Luhn_test Luhn test] 04:35 2 April 2010
# [http://rosettacode.org/wiki/Number_reversal_game Number reversal game] 19:11 3 April 2010
# [http://rosettacode.org/wiki/Bulls_and_cows/Player Bulls and cows/Player] 13:19 13 June 2010
# [http://rosettacode.org/wiki/Four_bits_adder Four bits adder] 15:38 15 June 2010
# [http://rosettacode.org/wiki/Minesweeper_game Minesweeper game] 10:40 10 July 2010
# [http://rosettacode.org/wiki/Extreme_floating_point_values Extreme floating point values] 19:36 15 July 2010
# [http://rosettacode.org/wiki/Range_extraction Range extraction] 22:20 15 July 2010
# [http://rosettacode.org/wiki/Range_expansion Range expansion] 22:25 15 July 2010
# [http://rosettacode.org/wiki/Short-circuit_evaluation Short-circuit evaluation] 17:29 24 July 2010
# [http://rosettacode.org/wiki/Short_circuit_evaluation Short circuit evaluation] 17:29 24 July 2010
# [http://rosettacode.org/wiki/Quaternion_type Quaternion type] 21:46 2 August 2010
# [http://rosettacode.org/wiki/Stable_marriage_problem Stable marriage problem] 23:27 5 August 2010
# [http://rosettacode.org/wiki/Truncatable_primes Truncatable primes] 22:33 8 September 2010
# [http://rosettacode.org/wiki/Topological_sort/Extracted_top_item Topological sort/Extracted top item] 19:45 6 October 2010
# [http://rosettacode.org/wiki/Guess_the_number/With_feedback Guess the number/With feedback] 06:02 29 October 2010
# [http://rosettacode.org/wiki/Guess_the_number/With_feedback_(player) Guess the number/With feedback (player)] 06:11 29 October 2010
# [http://rosettacode.org/wiki/Ordered_words Ordered words] 21:35 9 November 2010
# [http://rosettacode.org/wiki/CSV_to_HTML_translation CSV to HTML translation] 11:38 13 November 2010
# [http://rosettacode.org/wiki/Simple_quaternion_type_and_operations Simple quaternion type and operations] 20:01 3 February 2011
# [http://rosettacode.org/wiki/Tic-tac-toe Tic-tac-toe] 07:12 4 February 2011
# [http://rosettacode.org/wiki/Noughts_and_crosses Noughts and crosses] 06:05 5 February 2011
# [http://rosettacode.org/wiki/Sort_disjoint_sublist Sort disjoint sublist] 06:29 12 February 2011
# [http://rosettacode.org/wiki/Unbias_a_random_generator Unbias a random generator] 06:55 22 February 2011
# [http://rosettacode.org/wiki/Unbalance_a_random_generator Unbalance a random generator] 06:56 22 February 2011
# [http://rosettacode.org/wiki/Text_processing/3 Text processing/3] 08:36 24 February 2011
# [http://rosettacode.org/wiki/Village_Pump/De-skilling%3F Village Pump/De-skilling?] 08:20 26 February 2011
# [http://rosettacode.org/wiki/Show_a_table_with_row_and_column_headings Show a table with row and column headings] 07:42 9 March 2011
# [http://rosettacode.org/wiki/Van_der_Corput_sequence Van der Corput sequence] 21:44 10 March 2011
# [http://rosettacode.org/wiki/Executable_library Executable library] 23:41 14 March 2011
# [http://rosettacode.org/wiki/Partial_function_application Partial function application] 08:04 25 March 2011
# [http://rosettacode.org/wiki/Box_the_compass Box the compass] 20:58 27 March 2011
# [http://rosettacode.org/wiki/Yin_and_yang Yin and yang] 10:19 2 April 2011
# [http://rosettacode.org/wiki/Vector_products Vector products] 14:18 9 April 2011
# [http://rosettacode.org/wiki/Natural_sorting Natural sorting] 11:12 23 April 2011
# [http://rosettacode.org/wiki/Permutations/Derangements Permutations/Derangements] 09:32 14 May 2011
# [http://rosettacode.org/wiki/Anagrams/Deranged_anagrams Anagrams/Deranged anagrams] 11:32 14 May 2011
# [http://rosettacode.org/wiki/Knight%27s_Tour Knight's Tour] 07:17 29 May 2011
# [http://rosettacode.org/wiki/Kaprekar_numbers Kaprekar numbers] 06:48 7 June 2011
# [http://rosettacode.org/wiki/Dinesman%27s_multiple-dwelling_problem Dinesman's multiple-dwelling problem] 08:23 25 June 2011
# [http://rosettacode.org/wiki/Unicode_variable_names Unicode variable names] 07:16 1 July 2011
# [http://rosettacode.org/wiki/Beyond_ASCII_variable_names Beyond ASCII variable names] 07:17 1 July 2011
# [http://rosettacode.org/wiki/FFT FFT] 08:38 11 July 2011
# [http://rosettacode.org/wiki/Numeric_error_propagation Numeric error propagation] 02:51 30 July 2011
# [http://rosettacode.org/wiki/Break_OO_privacy Break OO privacy] 03:38 6 August 2011
# [http://rosettacode.org/wiki/ScriptName ScriptName] 11:26 6 August 2011
# [http://rosettacode.org/wiki/Boxing_the_compass Boxing the compass] 06:08 19 August 2011
# [http://rosettacode.org/wiki/One_of_n_lines_in_a_file One of n lines in a file] 22:02 7 September 2011
# [http://rosettacode.org/wiki/Knuth%27s_algorithm_S Knuth's algorithm S] 19:15 21 October 2011
# [http://rosettacode.org/wiki/Hofstadter_Figure-Figure_sequences Hofstadter Figure-Figure sequences] 08:18 22 October 2011
# [http://rosettacode.org/wiki/Hofstadter_Q_sequence Hofstadter Q sequence] 09:08 23 October 2011
# [http://rosettacode.org/wiki/Truth_table Truth table] 07:19 31 October 2011
# [http://rosettacode.org/wiki/Simple_Database Simple Database] 10:39 1 November 2011
# [http://rosettacode.org/wiki/Hello_world/Newbie Hello world/Newbie] 09:10 6 November 2011
# [http://rosettacode.org/wiki/Parsing/Shunting-yard_algorithm Parsing/Shunting-yard algorithm] 22:47 2 December 2011
# [http://rosettacode.org/wiki/Parsing/RPN_calculator_algorithm Parsing/RPN calculator algorithm] 05:35 3 December 2011
# [http://rosettacode.org/wiki/Parsing/RPN_to_infix_conversion Parsing/RPN to infix conversion] 20:16 3 December 2011
# [http://rosettacode.org/wiki/Set_consolidation Set consolidation] 10:48 7 May 2012
# [http://rosettacode.org/wiki/Set_consoldation Set consoldation] 15:13 7 May 2012
# [http://rosettacode.org/wiki/Trabb_Pardo%E2%80%93Knuth_algorithm Trabb Pardo–Knuth algorithm] 20:17 22 May 2012
# [http://rosettacode.org/wiki/Fibonacci_n-step_number_sequences Fibonacci n-step number sequences] 21:52 24 May 2012
# [http://rosettacode.org/wiki/Floyd%27s_triangle Floyd's triangle] 19:03 24 June 2012
# [http://rosettacode.org/wiki/Dutch_national_flag_problem Dutch national flag problem] 09:25 1 July 2012

(Auto-generated so it includes miss-spellings and re-directs)


[[Speaks::English (English)| ]]
[[Speaks::English (English)| ]]

Revision as of 20:42, 6 July 2012

My Favorite Languages
Language Proficiency
Python Advanced?
C Advanced(some time ago)
AWK Advanced?
Tcl I get by
Perl I get by
BASIC Advanced(some time ago)
VHDL Yep
Verilog Yep
Bash Yep
csh Yep
Wrote my own Been there. Done that. Next!
... ...

Hi, I'm Donald McCarthy. I work with Electronic Design Automation tools creating design flows, filling in the gaps with novel tools, and generally helping to design and verify integrated circuits. Your phone might have a processor I worked on, or if you have a nice German car, the engine management chips or the braking controllers might be things I've worked on.

I have used the Python programming language for over a decade, and am a python advocate, working by POLITELY (sorry about the shout), spreading the word in forums such as this, and by answering Python queries in blogs. I maintain my own blog Go Deh!.

Rosetta Code Tasks

Although I do a little cleanup of RC pages, and engage in relevant talk page discussions (Kick-me if I seem impolite), I had a stash of examples written for an un-published, (and un-finished to be truthful), book on Python that might be candidates for tasks.

It turned out that, most of the tasks I have written, I developed with RC in mind, and follow my interests at the time. I maintain a list in my talk page of new pages I have created, and, being vain, like to track their viewings, (but I don't artificially pump their viewing stats; that would be impolite, and pretty pointless).

There is one edit that was not for a new page or a task I did that I like to remember, and that was my changes to the entry on Hexadecimal (that also lead to me adding octal).

What Rosetta Code is to me

  • A better repository for those algorithms that interest me.
  • A way to improve my technical writing skills. (Something that can be very useful at work).
    • A way to do as I say: I really can't stand papers written for journals and too many Wikipedia maths entries where you are confronted by a sea of symbols, without any attempt to take the interested amateur along with them. We're not dumb, and we have to be pretty interested to end up reading the paper anyway. I think of it not as "dumbing down", more like popularising.
  • It's a way to take my mind off a harder problem so that my unconscious can do its magic.

Writing and maintaining tasks

Wow, it certainly teaches you a lot about how easy it is to miss something in the description of a task. I have very regular indication of how easy it is to miss something out when implementing a task from a description, as I watch others completing tasks here, very often someone elses mistakes stops me from blundering into the same thing which may make me look a little better ;-)

Pages I have started

  1. Spiral matrix 06:27 5 August 2008
  2. Monty Hall problem 17:59 5 August 2008
  3. Web scraping 20:09 20 August 2008
  4. Sequence of non-squares 08:36 24 August 2008
  5. Anagrams 20:28 24 September 2008
  6. Text processing/Max licenses in use 22:06 3 October 2008
  7. One-dimensional cellular automata 21:35 8 October 2008
  8. Conway's Game of Life 22:06 10 October 2008
  9. Text processing/1 09:47 8 November 2008
  10. Text processing/2 22:21 13 November 2008
  11. Align columns 05:27 16 November 2008
  12. Probabilistic choice 18:28 17 November 2008
  13. Knapsack problem/Unbounded 22:02 2 December 2008
  14. Day of the week 14:06 12 December 2008
  15. Non-decimal radices/Output 05:14 31 January 2009
  16. Octal 09:46 1 February 2009
  17. Literals/Integer 23:03 1 February 2009
  18. Interactive programming 17:18 21 February 2009
  19. First-class functions 15:22 24 February 2009
  20. Y combinator 03:54 28 February 2009
  21. Function composition 06:26 3 March 2009
  22. Exceptions/Catch an exception thrown in a nested call 05:31 7 March 2009
  23. Look-and-say sequence 09:20 4 April 2009
  24. Mutual recursion 21:22 9 April 2009
  25. Bulls and cows 14:21 3 May 2009
  26. Test a function 18:15 28 May 2009
  27. Menu 18:27 3 June 2009
  28. Sort stability 08:32 6 June 2009
  29. Averages/Simple moving average 21:13 17 June 2009
  30. Send email 05:51 1 July 2009
  31. Topological sort 05:46 3 July 2009
  32. Ethiopian multiplication 04:51 23 July 2009
  33. Russian Peasant Multiplication 04:53 23 July 2009
  34. First-class functions/Use numbers analogously 20:00 5 August 2009
  35. Seven-sided dice from five-sided dice 05:28 8 August 2009
  36. Verify distribution uniformity/Naive 05:28 8 August 2009
  37. Flatten a list 16:41 16 August 2009
  38. Evolutionary algorithm 19:07 6 October 2009
  39. 24 game 17:12 31 October 2009
  40. 24 game/Solve 04:48 1 November 2009
  41. Bulls and Cows game 06:46 2 November 2009
  42. Hamming numbers 18:38 2 December 2009
  43. Random number generator (included) 08:01 23 January 2010
  44. Pangram checker 19:12 25 January 2010
  45. String interpolation (included) 07:21 30 January 2010
  46. Arbitrary-precision integers (included) 06:45 13 February 2010
  47. Averages/Pythagorean means 05:22 20 February 2010
  48. Averages/Geometric mean 05:35 20 February 2010
  49. Averages/Harmonic mean 05:36 20 February 2010
  50. Averages/Root mean square 07:57 20 February 2010
  51. Averages/Quadratic mean 07:58 20 February 2010
  52. Dot product 07:18 24 February 2010
  53. Knapsack problem/Unbounded/Python dynamic programming 12:03 28 February 2010
  54. Luhn test of credit card numbers 06:01 2 March 2010
  55. Hailstone sequence 00:03 8 March 2010
  56. Hofstadter-Conway $10,000 sequence 08:21 9 March 2010
  57. Find common directory path 19:34 23 March 2010
  58. Horner's rule for polynomial evaluation 03:28 31 March 2010
  59. Luhn test 04:35 2 April 2010
  60. Number reversal game 19:11 3 April 2010
  61. Bulls and cows/Player 13:19 13 June 2010
  62. Four bits adder 15:38 15 June 2010
  63. Minesweeper game 10:40 10 July 2010
  64. Extreme floating point values 19:36 15 July 2010
  65. Range extraction 22:20 15 July 2010
  66. Range expansion 22:25 15 July 2010
  67. Short-circuit evaluation 17:29 24 July 2010
  68. Short circuit evaluation 17:29 24 July 2010
  69. Quaternion type 21:46 2 August 2010
  70. Stable marriage problem 23:27 5 August 2010
  71. Truncatable primes 22:33 8 September 2010
  72. Topological sort/Extracted top item 19:45 6 October 2010
  73. Guess the number/With feedback 06:02 29 October 2010
  74. Guess the number/With feedback (player) 06:11 29 October 2010
  75. Ordered words 21:35 9 November 2010
  76. CSV to HTML translation 11:38 13 November 2010
  77. Simple quaternion type and operations 20:01 3 February 2011
  78. Tic-tac-toe 07:12 4 February 2011
  79. Noughts and crosses 06:05 5 February 2011
  80. Sort disjoint sublist 06:29 12 February 2011
  81. Unbias a random generator 06:55 22 February 2011
  82. Unbalance a random generator 06:56 22 February 2011
  83. Text processing/3 08:36 24 February 2011
  84. Village Pump/De-skilling? 08:20 26 February 2011
  85. Show a table with row and column headings 07:42 9 March 2011
  86. Van der Corput sequence 21:44 10 March 2011
  87. Executable library 23:41 14 March 2011
  88. Partial function application 08:04 25 March 2011
  89. Box the compass 20:58 27 March 2011
  90. Yin and yang 10:19 2 April 2011
  91. Vector products 14:18 9 April 2011
  92. Natural sorting 11:12 23 April 2011
  93. Permutations/Derangements 09:32 14 May 2011
  94. Anagrams/Deranged anagrams 11:32 14 May 2011
  95. Knight's Tour 07:17 29 May 2011
  96. Kaprekar numbers 06:48 7 June 2011
  97. Dinesman's multiple-dwelling problem 08:23 25 June 2011
  98. Unicode variable names 07:16 1 July 2011
  99. Beyond ASCII variable names 07:17 1 July 2011
  100. FFT 08:38 11 July 2011
  101. Numeric error propagation 02:51 30 July 2011
  102. Break OO privacy 03:38 6 August 2011
  103. ScriptName 11:26 6 August 2011
  104. Boxing the compass 06:08 19 August 2011
  105. One of n lines in a file 22:02 7 September 2011
  106. Knuth's algorithm S 19:15 21 October 2011
  107. Hofstadter Figure-Figure sequences 08:18 22 October 2011
  108. Hofstadter Q sequence 09:08 23 October 2011
  109. Truth table 07:19 31 October 2011
  110. Simple Database 10:39 1 November 2011
  111. Hello world/Newbie 09:10 6 November 2011
  112. Parsing/Shunting-yard algorithm 22:47 2 December 2011
  113. Parsing/RPN calculator algorithm 05:35 3 December 2011
  114. Parsing/RPN to infix conversion 20:16 3 December 2011
  115. Set consolidation 10:48 7 May 2012
  116. Set consoldation 15:13 7 May 2012
  117. Trabb Pardo–Knuth algorithm 20:17 22 May 2012
  118. Fibonacci n-step number sequences 21:52 24 May 2012
  119. Floyd's triangle 19:03 24 June 2012
  120. Dutch national flag problem 09:25 1 July 2012

(Auto-generated so it includes miss-spellings and re-directs)