{"id":243,"date":"2016-01-28T10:25:05","date_gmt":"2016-01-28T10:25:05","guid":{"rendered":"http:\/\/thetravellerslastjourney.com\/shai\/continuing-early-progress-in-python"},"modified":"2019-08-04T04:44:10","modified_gmt":"2019-08-04T04:44:10","slug":"continuing-early-progress-in-python","status":"publish","type":"post","link":"https:\/\/thetravellerslastjourney.com\/shai\/2016\/01\/28\/continuing-early-progress-in-python\/","title":{"rendered":"Continuing early progress in python"},"content":{"rendered":"<p style=\"text-align: justify;\">The topology of progress is frustrating in the revelations of its unexpected troughs, and heights that transcend themselves into plateaus.<\/p>\n<p style=\"text-align: justify;\">The revelation of progress <em>is<\/em> frustration, proving itself only by the quagmire\u00a0of unfamiliar stretches, yet (do not fear, for) they\u00a0hide in their shadows easy slopes of epiphanies spurring euphoria.<\/p>\n<p style=\"text-align: justify;\">New lessons earn new vistas promising fresh territories for exploration. Having acquired the use of classes, the strategy of inheritance becomes possible; the use of unit testing reveals its own schools of philosophy and paraphernalia.\u00a0Every door\u00a0is a pathway to doors.<\/p>\n<p style=\"text-align: justify;\">That which was hard becomes incidental, and\u00a0the horizon shelters\u00a0more unknown, that first presents itself as an\u00a0inky blackness; or alien horde whose members are indistinguishable, united by the mystery and concealment of their purpose and mechanism.<\/p>\n<h3 style=\"text-align: justify;\">Counting the steps and reading the signs<\/h3>\n<p style=\"text-align: justify;\">My gaze backwards and forwards takes its measure by some base goals, established, nourished, and clarified since my outset. Without these measures the senses of evaluation grasp without grip.<\/p>\n<p style=\"text-align: justify;\">My studies of python will lead (it is intended) to:<\/p>\n<p style=\"text-align: justify;\">(1)\u00a0A\u00a0wide and strong knowledge base, that is familiar with the tools inherent in the code, and the opportunities expanded by its libraries<\/p>\n<p style=\"text-align: justify;\">(2) An intuition and skill for the writing of good code, that is intelligent in its problem solving, well-designed for its purpose, and that makes good use of available resources<\/p>\n<p style=\"text-align: justify;\">(3) An act of creation, to be epitomized in the materialization of ideas and brainstorms into software.<\/p>\n<h3 style=\"text-align: justify;\">Expanding a knowledge base<\/h3>\n<p style=\"text-align: left;\">I began my journey with <a href=\"https:\/\/www.codecademy.com\/learn\/python\" target=\"_blank\" rel=\"noopener noreferrer\">codecadamy<\/a>, then <a href=\"http:\/\/learnpythonthehardway.org\/\" target=\"_blank\" rel=\"noopener noreferrer\">LearnPythonTheHardWay<\/a> (LPTHW), and recently begun <a href=\"http:\/\/thepythongamebook.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">ThePythonGameBook<\/a>\u00a0(TPGB). This has been peppered with readings from <a href=\"https:\/\/doughellmann.com\/blog\/the-python-standard-library-by-example\/\" target=\"_blank\" rel=\"noopener noreferrer\">PythonStandardLibraryByExample<\/a>\u00a0(PSLBE).<\/p>\n<h4 style=\"text-align: justify;\">The beginnings of progress<\/h4>\n<p style=\"text-align: justify;\">Codecadamy endowed me with a capacity for reading and writing the fundamental semiotics and syntax of python. It led me through the initial morass, guileless and naive. It ordered me through the necessary fundamentals, and by gentle interrogations, walked me through overgrown creases\u00a0(not yet pathways) in my mind.<\/p>\n<p style=\"text-align: justify;\">Having finished the course I could think of python in terms of its basic building blocks, beginning with its laws of words and spaces, and continuing on to include variables, conditionals, and loops.<\/p>\n<p style=\"text-align: justify;\">My sense for python was thus an imagination of the ways data (mostly strings and numbers) could be combined (mostly into lists\u00a0and dictionaries), and manipulated by the laws of logic and the incredible manifestations of iteration. My imagination saw strange patterns emerge from these possibilities, taking non-idiosyncratic inputs (variables treated in their generic sense), pitting them against their own inner logic, and allowing for outcomes dependent on the patient repetition that is a computer&#8217;s <em><a href=\"https:\/\/en.wikipedia.org\/wiki\/Human_computer#Wartime_computing_and_the_invention_of_electronic_computing\" target=\"_blank\" rel=\"noopener noreferrer\">raison d&#8217;etre<\/a><\/em>.<\/p>\n<h4 style=\"text-align: justify;\">Delving further into <a href=\"https:\/\/en.wiktionary.org\/wiki\/the_grass_is_always_greener_on_the_other_side\" target=\"_blank\" rel=\"noopener noreferrer\">pastures<\/a> known and unknown<\/h4>\n<p style=\"text-align: justify;\">In addition to reinforcing lessons learned, LPTHW added more complex tools to my nascent tool-kit\u00a0(especially conditional lists and classes), and opened up unfamiliar\u00a0opportunities offering expansion (especially unit testing and packages).<\/p>\n<p style=\"text-align: justify;\">Sophisticated syntax (like conditional lists, and beyond the course, generator functions) add a heightened sense for the ability of code to be succinct, concentrated, and purposeful. I had already been able to achieve similar results using mere loops and functions, but these began to appear unwieldy when used without these new considerations. This, in turn,\u00a0sharpened my understanding and appreciation of &#8220;good&#8221; code in line, studied in the light of these\u00a0strengths.<\/p>\n<p style=\"text-align: justify;\">The use of classes was a great epiphany, modifying my sense of how modules of an algorithm could relate to each other on a macro scale. Classes forced me to contend with the philosophy of object-oriented coding, and\u00a0comprehend (so as to manipulate and obey)\u00a0the mechanics of inheritance (in classes) and variable storage (moving from classes to functions to globals). The change in perception that follows object-oriented design is revolutionary; functions already herald an emphasis on the power of modularity, but objects add a greater structure with which to imagine virtual threads whose\u00a0relationships cast silhouettes of concrete cityscapes and dreams within dreams.<\/p>\n<p style=\"text-align: justify;\">The addition of unit testing was a different species of epiphany to classes. In the case of unit testing, a domain whose basic motif was already known to me became enlarged beyond the scope of what I would have <a href=\"https:\/\/www.google.com.au\/url?sa=t&amp;rct=j&amp;q=&amp;esrc=s&amp;source=web&amp;cd=1&amp;cad=rja&amp;uact=8&amp;ved=0ahUKEwinnfbZvsvKAhXFKaYKHS34CBEQFgg6MAA&amp;url=https%3A%2F%2Fen.wikipedia.org%2Fwiki%2FThe_Black_Swan_(Taleb_book)&amp;usg=AFQjCNEkQoMQwP0jwvmfftVydsNSXvIqeg&amp;sig2=hHV9vt9xyRd-AbmKNWEBqg&amp;bvm=bv.112766941,d.dGY\" target=\"_blank\" rel=\"noopener noreferrer\">thought to think<\/a>. It is impossible to not already know the necessities of debugging, and the manual testing occupied by devious inputs and the measurements marked off through myriad\u00a0print commands. But unit testing introduced an entire domain of testing to be explored and enhanced; it provided a robust means for its automation; and in line with its structure, recommended a methodology for writing &#8211; yet another description of modularity &#8211; and parallel testing (which becomes its own art and invisible product serving the transience of creation).<\/p>\n<h4 style=\"text-align: justify;\">Directed investigations<\/h4>\n<p style=\"text-align: justify;\">Codecadamy and LPTHW were bought (with time)\u00a0in exchange for the foundation they could teach.\u00a0They\u00a0provided the base upon which Pygame could be explored, qua (and paralleling any alternative)\u00a0niche range of opportunities and applications within the\u00a0expanding realm of programming education. The pygame library\u00a0was selected because it suited a particular need I had prioritized, including a rapid development of graphical interface.<\/p>\n<p style=\"text-align: justify;\">Studying pygame obviously benefits general python comprehension and skill, but it also introduces an internal range of possibilities. The first major motif to be enlarged was the consideration of ready-made objects and methods like Surfaces, clocks, and events, which need to be understood according to the paradigm that\u00a0<em>is\u00a0<\/em>pygame. Seen this way,\u00a0pygame is\u00a0a range of opportunities revolving around abstractions that attract currents of design according to their laws and dominating powers.<\/p>\n<h3 style=\"text-align: justify;\">Training good writing<\/h3>\n<p style=\"text-align: justify;\">I heuristically define the aspiration for good code along three planes: (1) creatively intelligent (esp. on a micro-level), (2) well-designed (esp. on a macro level), and (3) succinctly opportunistic (esp. in use of python features and libraries).<\/p>\n<p style=\"text-align: justify;\">The first I undertook\u00a0to hone\u00a0by practising Prolog challenges, pitting my sparks of solutions against the technicalities of the problem, and then measuring these against solutions posted by others online. The Prolog are merely the first opportunity that revealed itself (and I have since audited\u00a0and\u00a0switched to <a href=\"http:\/\/codewars.com\" target=\"_blank\" rel=\"noopener noreferrer\">codewars<\/a>, inspired by the latter&#8217;s variations, and sensing the limitation in Prolog&#8217;s tight focus for my present state of education).<\/p>\n<p style=\"text-align: justify;\">These challenges should also help progress\u00a0the second aspiration (ie. goodness qua well-designed).\u00a0There is a state of mind that develops in all practice, and in moments between when reflecting on a problem or possibilities for design, when the novice programmer is\u00a0learning to think about &#8220;the&#8221; meta-algorithm which exists between the classes and methods; a synergy of transcendence appears\u00a0in the sum of space between logical determinism. These abstract insights are\u00a0hinted at by concepts like object-oriented, modular, and flexibility, and reflecting upon these may consolidate some\u00a0underlying ethos of well-designed code.<\/p>\n<p style=\"text-align: justify;\">When I surveyed answers others offered to challenges online, or to problems I was researching,\u00a0there were often\u00a0references to library usages that were\u00a0(to me, the uninitiated) novel. Exploring the\u00a0standard library, via PSLBE, opened up new short-circuits for solutions I had previously imagined (in less succinct form), and opened new &#8211; or stretched existing\u00a0&#8211;\u00a0vistas, to encompass frames of focus previously unimagined (e.g. codecs).<\/p>\n<p style=\"text-align: justify;\">All three of these aspirations (and their appearance in reflection) continue to iterate through cycles of finesse and scope. Thus the standards for good code become more stringent and delicate, perceiving clunk in what had previously been measured as wit; arbitrariness for that which had been called direct; calling ill-fitting that\u00a0I had considered resourceful.<\/p>\n<h3 style=\"text-align: justify;\">Original creation<\/h3>\n<p style=\"text-align: justify;\">I have held different magnifications of intent and visions in directing my motivation along the axis\u00a0of proficiency. The most literal strand of this thread is the\u00a0search for\u00a0a basic proficiency which will nurture itself into an advanced proficiency. But I have also sought to measure my progress by the capacity for acts of creation, and these I have dreamed near and far.<\/p>\n<p style=\"text-align: justify;\">The first milestone of my achievement will be a game that I will make. It will involve a graphical interface, obvious inputs, file usage, and network interaction. There is significant value in knowing the milestones that need to be surpassed on the way to a destination. I have repeatedly streamlined the widening berth of my education to ensure this outcome.<\/p>\n<p style=\"text-align: justify;\">There is not enough time to explore the ocean, so I have cast my gaze upon a constellation, and raise my head from the stellar displays beneath the waves only to adjust my course before the currents. Who knows what the place shall be, from where the stars I seek are reflected, and all that is left is to dive down, down, down, seeking possibilities yet impossible.<\/p>\n<p style=\"text-align: justify;\"><a href=\"https:\/\/travelleristhejourney.files.wordpress.com\/2016\/01\/matrix-434035_960_720.jpg\" rel=\"attachment wp-att-307\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"size-medium wp-image-307 aligncenter\" src=\"https:\/\/travelleristhejourney.files.wordpress.com\/2016\/01\/matrix-434035_960_720.jpg?w=300&#038;resize=300%2C212\" alt=\"matrix-434035_960_720\" width=\"300\" height=\"212\" \/><\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>The topology of progress is frustrating in the revelations of its unexpected troughs, and heights that transcend themselves into plateaus. The revelation of progress is frustration, proving itself only by the quagmire\u00a0of unfamiliar stretches, yet (do not fear, for) they\u00a0hide in their shadows easy slopes of epiphanies spurring euphoria. New lessons earn new vistas promising [&hellip;]<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":true,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[159,134,90,108,115,106],"tags":[111,123,124,116],"metadata":[],"class_list":["post-243","post","type-post","status-publish","format-standard","hentry","category-all-posts","category-autodidactic","category-blog-posts","category-observations","category-self-improvement","category-the-traveller-is-the-journey","tag-journey","tag-programming","tag-python","tag-self-improvement-2"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":198,"url":"https:\/\/thetravellerslastjourney.com\/shai\/2015\/12\/10\/early-progress-in-python\/","url_meta":{"origin":243,"position":0},"title":"Early progress in Python","author":"Pala","date":"December 10, 2015","format":false,"excerpt":"In a reality and society that are predicated and empowered by numbers, logic, and their interactions, it is enticing to the explorer to research and learn these domains of knowledge and practice. By learning to program I expect to discover many unknown unknowns. By learning to program I also hope\u2026","rel":"","context":"In &quot;All Posts&quot;","block_context":{"text":"All Posts","link":"https:\/\/thetravellerslastjourney.com\/shai\/all-posts\/"},"img":{"alt_text":"python","src":"https:\/\/travelleristhejourney.files.wordpress.com\/2015\/12\/python.jpg?w=350&h=200&crop=1","width":350,"height":200},"classes":[]},{"id":793,"url":"https:\/\/thetravellerslastjourney.com\/shai\/2016\/03\/02\/progress-through-pygame\/","url_meta":{"origin":243,"position":1},"title":"Progress through pygame","author":"Pala","date":"March 2, 2016","format":false,"excerpt":"Walking through the imaginary forest of possibilities can be overwhelming. I walk to discover, and I walk to create, and I walk to achieve my goals within the boundaries of time. Studying python has been exploration unto itself, and an exploration of exploration. I have surpassed primary levels of comprehension\u2026","rel":"","context":"In &quot;All Posts&quot;","block_context":{"text":"All Posts","link":"https:\/\/thetravellerslastjourney.com\/shai\/all-posts\/"},"img":{"alt_text":"threads_of_reality_woven_into_a_virtual_landscape_by_jeroensnake-d8hbqzo","src":"https:\/\/i0.wp.com\/thetravellerslastjourney.com\/shai\/wp-content\/uploads\/2016\/03\/threads_of_reality_woven_into_a_virtual_landscape_by_jeroensnake-d8hbqzo.jpg?resize=350%2C200","width":350,"height":200,"srcset":"https:\/\/i0.wp.com\/thetravellerslastjourney.com\/shai\/wp-content\/uploads\/2016\/03\/threads_of_reality_woven_into_a_virtual_landscape_by_jeroensnake-d8hbqzo.jpg?resize=350%2C200 1x, https:\/\/i0.wp.com\/thetravellerslastjourney.com\/shai\/wp-content\/uploads\/2016\/03\/threads_of_reality_woven_into_a_virtual_landscape_by_jeroensnake-d8hbqzo.jpg?resize=525%2C300 1.5x"},"classes":[]},{"id":45,"url":"https:\/\/thetravellerslastjourney.com\/shai\/2015\/11\/22\/directing-nascent-momentum\/","url_meta":{"origin":243,"position":2},"title":"Directing nascent momentum","author":"Pala","date":"November 22, 2015","format":false,"excerpt":"Newton's first law prophecies a character's story; the past predicts the future. The changes associated with an existing momentum are to be expected. In which case\u00a0the path of a man becomes the story of a calculator surfing a leaf buffeted by external winds. But novel changes can occur, as by\u2026","rel":"","context":"In &quot;All Posts&quot;","block_context":{"text":"All Posts","link":"https:\/\/thetravellerslastjourney.com\/shai\/all-posts\/"},"img":{"alt_text":"Moon dream","src":"https:\/\/travelleristhejourney.files.wordpress.com\/2015\/11\/moon-478982_1920.jpg?w=350&h=200&crop=1","width":350,"height":200},"classes":[]},{"id":3658,"url":"https:\/\/thetravellerslastjourney.com\/shai\/2015\/10\/13\/the-traveller-is-the-journey-subjects\/","url_meta":{"origin":243,"position":3},"title":"The Traveller is the Journey &#8211; Subjects","author":"Pala","date":"October 13, 2015","format":false,"excerpt":"Categories Journal - relating and describing the experiences of my own day to day life Out-of-the-darkness - specifically my efforts and experiences in recovery Self-improvement - specifically my efforts and experiences in remaking and improving myself Searching - specifically my thoughts and responses to deciding and reconsidering direction Observations -\u2026","rel":"","context":"In &quot;All Posts&quot;","block_context":{"text":"All Posts","link":"https:\/\/thetravellerslastjourney.com\/shai\/all-posts\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":39990,"url":"https:\/\/thetravellerslastjourney.com\/shai\/2014\/09\/30\/reading-hegel-part-5-on-the-unhappy-consciousness-2\/","url_meta":{"origin":243,"position":4},"title":"Reading Hegel [part 5] on &#8220;The Unhappy Consciousness&#8221;","author":"Pala","date":"September 30, 2014","format":false,"excerpt":"Reading Hegel about a form of consciousness he calls \"unhappy\", because not only does it define itself as a dichotomy, but it divides and separates the aspect of itself that it feels to be unchangeable and essential. This leaves a self that sees itself as a changing transience, and that\u2026","rel":"","context":"In &quot;All Posts&quot;","block_context":{"text":"All Posts","link":"https:\/\/thetravellerslastjourney.com\/shai\/all-posts\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":112,"url":"https:\/\/thetravellerslastjourney.com\/shai\/2014\/09\/27\/reading-hegel-part-4-on-stoicism-and-skepticism\/","url_meta":{"origin":243,"position":5},"title":"Reading Hegel [part 4] on &#8220;Stoicism&#8221; and &#8220;Skepticism&#8221;","author":"Pala","date":"September 27, 2014","format":false,"excerpt":"Reading Hegel's Phenomenology of Spirit for the first time. Here I've read the first part of section B \"Self-consciousness\", chapter IV \"The truth of self-certainty\", part B \"Freedom of self-consciousness\". That elaborate indexing adumbrates the topic matter: Hegel's studying a self-conscious entity, whose basis for truth is its certainty of\u2026","rel":"","context":"In &quot;All Posts&quot;","block_context":{"text":"All Posts","link":"https:\/\/thetravellerslastjourney.com\/shai\/all-posts\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"jetpack_shortlink":"https:\/\/wp.me\/padotI-3V","_links":{"self":[{"href":"https:\/\/thetravellerslastjourney.com\/shai\/wp-json\/wp\/v2\/posts\/243","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/thetravellerslastjourney.com\/shai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/thetravellerslastjourney.com\/shai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/thetravellerslastjourney.com\/shai\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/thetravellerslastjourney.com\/shai\/wp-json\/wp\/v2\/comments?post=243"}],"version-history":[{"count":0,"href":"https:\/\/thetravellerslastjourney.com\/shai\/wp-json\/wp\/v2\/posts\/243\/revisions"}],"wp:attachment":[{"href":"https:\/\/thetravellerslastjourney.com\/shai\/wp-json\/wp\/v2\/media?parent=243"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thetravellerslastjourney.com\/shai\/wp-json\/wp\/v2\/categories?post=243"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thetravellerslastjourney.com\/shai\/wp-json\/wp\/v2\/tags?post=243"},{"taxonomy":"metadata","embeddable":true,"href":"https:\/\/thetravellerslastjourney.com\/shai\/wp-json\/wp\/v2\/metadata?post=243"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}