{"id":793,"date":"2016-03-02T13:48:44","date_gmt":"2016-03-02T02:48:44","guid":{"rendered":"http:\/\/thetravellerslastjourney.com\/shai\/progress-through-pygame"},"modified":"2019-08-04T11:53:53","modified_gmt":"2019-08-04T11:53:53","slug":"progress-through-pygame","status":"publish","type":"post","link":"https:\/\/thetravellerslastjourney.com\/shai\/2016\/03\/02\/progress-through-pygame\/","title":{"rendered":"Progress through pygame"},"content":{"rendered":"<figure id=\"attachment_516\" aria-describedby=\"caption-attachment-516\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/jeroensnake.deviantart.com\/art\/Threads-of-reality-woven-into-a-virtual-landscape-512831076\" rel=\"attachment wp-att-516\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"wp-image-516\" 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=600%2C338\" alt=\"threads_of_reality_woven_into_a_virtual_landscape_by_jeroensnake-d8hbqzo\" width=\"600\" height=\"338\" \/><\/a><figcaption id=\"caption-attachment-516\" class=\"wp-caption-text\">&#8220;Threads of reality woven into a virtual landscape&#8221; by jeroensnake @ deviantart<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">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.<\/p>\n<p style=\"text-align: justify;\">I have surpassed primary levels of comprehension within python\u00a0(absorbing presumptions and laws of syntax and vocabulary) towards more elaborate lessons (such as preferential solutions or object usage). I have also surpassed primary levels of exploration, although these lessons are even more abstract than the pidgin of a programming language, or predictions of its logical iterations.<\/p>\n<p style=\"text-align: justify;\">I don&#8217;t know whether it is possible to appreciate where I walk, or what it would mean to do so, or whether the closest that may be approximated is an appreciation more properly called &#8220;preparation&#8221;.\u00a0Barbara Oakley has said that we can expect leaps of comprehension, and that we should\u00a0<em>prepare<\/em> for them.<\/p>\n<h3>Early progress in direction<\/h3>\n<figure id=\"attachment_517\" aria-describedby=\"caption-attachment-517\" style=\"width: 212px\" class=\"wp-caption alignleft\"><a href=\"http:\/\/www.deviantart.com\/art\/Rainy-Day-92662800\" rel=\"attachment wp-att-517\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"size-medium wp-image-517\" src=\"https:\/\/i0.wp.com\/thetravellerslastjourney.com\/shai\/wp-content\/uploads\/2016\/03\/rainy_day_by_jerry8448-d1j632o.jpg?resize=212%2C300\" alt=\"&quot;Rainy Day&quot; by jerry8448 @ deviantart\" width=\"212\" height=\"300\" \/><\/a><figcaption id=\"caption-attachment-517\" class=\"wp-caption-text\">&#8220;Rainy Day&#8221; by jerry8448 @ deviantart<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">As an early student of python, I approach a field of study for the practical benefits it serves (or the possibility of satiating curiosity). This is a sound prerequisite for investigation, and the only other major option is the one recommended by experts and those that have walked further along the path.<\/p>\n<p style=\"text-align: justify;\">In choosing a direction I ask myself, &#8220;What do I want, how can I get it, and will this give it to me&#8221;. Tangential considerations also exist, &#8220;Is this a good use of my time, am I ready to appreciate this, are there other features warranting priority&#8221;.<\/p>\n<p style=\"text-align: justify;\">In choosing a direction I cannot predict the scope of what I will learn. I cannot plan for the things I do not know that I do not know, or for the epiphanies that expose themselves in the idiosyncrasies of progress or as outcomes of categorization. Pygame is an opening of an entire vista, whose <em>novelty<\/em> of range depends on what I have\u00a0<em>and<\/em> have not experienced. It offered me (most obviously) a platform for a graphical and dynamic interface. And by the end it had offered me a context for comprehending lessons I had already learned, allowing me to re-envision their profundity and scope.<\/p>\n<h3>Things that contextualize<\/h3>\n<p style=\"text-align: justify;\">I offer here three examples of exercises and tools that have provided an education that surpassed their appearances.<\/p>\n<h4>Using Pygame<\/h4>\n<p>The first two are modules: <strong>Surface<\/strong> and <strong>Sprites<\/strong>.<\/p>\n<p>Sprites are an object class that allows inheritance of useful attributes and methods for sprite tasks.<\/p>\n<p>Surfaces are objects that may be instantiated for graphical representation.<\/p>\n<p style=\"text-align: justify;\">Sprites taught me an appreciation of class inheritance. I was already familiar with whatever classes I had already written, but these were the first classes (beyond <code>object<\/code>) from outside. Like most epiphanies, there was an element of accumulated experience, but a singular major motif appears: there are\u00a0methods that (didn&#8217;t necessarily give me more tools but) short-cut tasks obviously related to them. This included generating <code>Rect<\/code> objects, and the ability to get\u00a0dimensions or modify them by using a host of reference points (e.g. top, centre) or to collate and manipulate using <code>spritegroup<\/code>. The nature of the &#8220;shortcut&#8221; methods perhaps highlighted inheritance as an inheritance\u00a0<em>of<\/em> self-familiarity, that is the ability of an object to understand, express, and manipulate itself, and that these abilities form the existence of the (well written) object.<\/p>\n<p style=\"text-align: justify;\">Sprites (and Rects which they had) provided a context for appreciating the power and versatility of classes on a new level. There was no obvious intellectual or conceptual breakthrough. Only a context for reinforcing potentials of which I was already aware.<\/p>\n<figure id=\"attachment_518\" aria-describedby=\"caption-attachment-518\" style=\"width: 249px\" class=\"wp-caption alignright\"><a href=\"http:\/\/arseniic.deviantart.com\/art\/Imagination-121968970\" rel=\"attachment wp-att-518\"><img data-recalc-dims=\"1\" decoding=\"async\" class=\"size-medium wp-image-518\" src=\"https:\/\/i0.wp.com\/thetravellerslastjourney.com\/shai\/wp-content\/uploads\/2016\/03\/imagination_by_arseniic-d20m7uy.jpg?resize=249%2C300\" alt=\"&quot;Imagination&quot; by arseniic @ deviantart\" width=\"249\" height=\"300\" \/><\/a><figcaption id=\"caption-attachment-518\" class=\"wp-caption-text\">&#8220;Imagination&#8221; by arseniic @ deviantart<\/figcaption><\/figure>\n<p style=\"text-align: justify;\">Surfaces taught me how libraries were, beyond their tools and methods, (potentially) novel opportunities for thinking about problems. Without knowing how to program any sort of graphical interface (e.g. images, backgrounds, texts), I obviously started with preconceptions about the processes that could be involved and utilized and manipulated towards these ends. But with Surfaces came a host of related concepts, including notably the <code>blit<\/code> method which was significant because it separated graphic objects, including their dimensions (potentially in Rect objects) and their presentation onto a place (and separate to the <code>flip<\/code> of the display). The very act of overcoming resistance of comprehension of Surfaces (not necessarily an impressive task, especially for the well-travelled) seemed to open up a new vista for appreciating how a library included its own implicit recommendation of using itself, and thus could carry its own culture to be used.<\/p>\n<p style=\"text-align: justify;\">Surfaces provided a context for appreciating the role of libraries in hosting, potentiating and enabling paradigms of abstraction (esp. for solving problems). Once again, there was no obvious new facts or usages that I suddenly understood. There was just using a library to solve a problem I had already thought about, and then understanding how libraries held their own tendencies\u00a0of comprehension.<\/p>\n<h4>Working on a project<\/h4>\n<p>The third context I provide here is that of working on my own project.<\/p>\n<p style=\"text-align: justify;\">Working on a project tied together with a number of things I had already know but (and this is hard to express) not known how to know.<\/p>\n<p style=\"text-align: justify;\">There feels to be a process of whittling of internal processes when working on a project with defined goals. Because the goals are set, and because iterative experimentation and efforts must be made towards that goal, there are necessary changes in approach. These changes exist superficially (e.g. in the way the code is written) and internally, changing the way thoughts are thought.<\/p>\n<p style=\"text-align: justify;\">Some of these changes to thought are obvious developments of programming strategy and tactics. Perhaps learning new ways to organize objects or modularize.<\/p>\n<p style=\"text-align: justify;\">Some of these changes to thought are subtle yet amenable to a distinction after reflection. Perhaps in the way objects qua objects are perceived and conceived.<\/p>\n<p style=\"text-align: justify;\">Some of these changes are so subtle as to only be available to the imagination regarding the cause of changes. Perhaps a perception of executed flow.<\/p>\n<p style=\"text-align: justify;\">Some of these changes are invisible to roaming mind.<\/p>\n<p style=\"text-align: justify;\">Working on a project provides a context for generating and nurturing these changes.<\/p>\n<h3>Contextualized comprehension<\/h3>\n<p style=\"text-align: justify;\">The practical conclusion is that context is required for a comprehension that extends beyond internal logic. And that extending the range of contexts might extend the range of comprehension. The correlation of contextualization (breadth) to comprehension (depth) might not be simple.<\/p>\n<p style=\"text-align: justify;\">The theoretical conclusion is that meaning is interrelated by its application (manual or cognitive), and derives nuances of applicability that expand with each novel meeting.\u00a0Meaning may exist as the interplay of idea &#8211; born as a spark and cosmic coordinate &#8211; and the real world \u00a0&#8211; enforcing itself as a delimiter and echoing of potential.<\/p>\n<figure id=\"attachment_519\" aria-describedby=\"caption-attachment-519\" style=\"width: 600px\" class=\"wp-caption aligncenter\"><a href=\"http:\/\/madminer965.deviantart.com\/art\/shattered-background-The-Matrix-530209072\" rel=\"attachment wp-att-519\"><img data-recalc-dims=\"1\" decoding=\"async\" data-attachment-id=\"519\" data-permalink=\"https:\/\/thetravellerslastjourney.com\/shai\/2016\/03\/02\/progress-through-pygame\/shattered_background_the_matrix__by_madminer965-d8ro7xs\/\" data-orig-file=\"https:\/\/i0.wp.com\/thetravellerslastjourney.com\/shai\/wp-content\/uploads\/2016\/03\/shattered_background_the_matrix__by_madminer965-d8ro7xs.jpg?fit=1191%2C670&amp;ssl=1\" data-orig-size=\"1191,670\" data-comments-opened=\"1\" data-image-meta=\"{&quot;aperture&quot;:&quot;0&quot;,&quot;credit&quot;:&quot;&quot;,&quot;camera&quot;:&quot;&quot;,&quot;caption&quot;:&quot;&quot;,&quot;created_timestamp&quot;:&quot;0&quot;,&quot;copyright&quot;:&quot;&quot;,&quot;focal_length&quot;:&quot;0&quot;,&quot;iso&quot;:&quot;0&quot;,&quot;shutter_speed&quot;:&quot;0&quot;,&quot;title&quot;:&quot;&quot;,&quot;orientation&quot;:&quot;0&quot;}\" data-image-title=\"shattered_background_the_matrix__by_madminer965-d8ro7xs\" data-image-description=\"\" data-image-caption=\"&lt;p&gt;&amp;#8220;shattered background(The Matrix)&amp;#8221; by madminer965 @ deviantart&lt;\/p&gt;\n\" data-large-file=\"https:\/\/i0.wp.com\/thetravellerslastjourney.com\/shai\/wp-content\/uploads\/2016\/03\/shattered_background_the_matrix__by_madminer965-d8ro7xs.jpg?fit=720%2C405&amp;ssl=1\" class=\"wp-image-519\" src=\"https:\/\/i0.wp.com\/thetravellerslastjourney.com\/shai\/wp-content\/uploads\/2016\/03\/shattered_background_the_matrix__by_madminer965-d8ro7xs.jpg?resize=600%2C338\" alt=\"&quot;shattered background(The Matrix)&quot; by madminer965 @ deviantart\" width=\"600\" height=\"338\" srcset=\"https:\/\/i0.wp.com\/thetravellerslastjourney.com\/shai\/wp-content\/uploads\/2016\/03\/shattered_background_the_matrix__by_madminer965-d8ro7xs.jpg?w=1191&amp;ssl=1 1191w, https:\/\/i0.wp.com\/thetravellerslastjourney.com\/shai\/wp-content\/uploads\/2016\/03\/shattered_background_the_matrix__by_madminer965-d8ro7xs.jpg?resize=300%2C169&amp;ssl=1 300w, https:\/\/i0.wp.com\/thetravellerslastjourney.com\/shai\/wp-content\/uploads\/2016\/03\/shattered_background_the_matrix__by_madminer965-d8ro7xs.jpg?resize=768%2C432&amp;ssl=1 768w, https:\/\/i0.wp.com\/thetravellerslastjourney.com\/shai\/wp-content\/uploads\/2016\/03\/shattered_background_the_matrix__by_madminer965-d8ro7xs.jpg?resize=1024%2C576&amp;ssl=1 1024w, https:\/\/i0.wp.com\/thetravellerslastjourney.com\/shai\/wp-content\/uploads\/2016\/03\/shattered_background_the_matrix__by_madminer965-d8ro7xs.jpg?resize=720%2C405&amp;ssl=1 720w, https:\/\/i0.wp.com\/thetravellerslastjourney.com\/shai\/wp-content\/uploads\/2016\/03\/shattered_background_the_matrix__by_madminer965-d8ro7xs.jpg?resize=580%2C326&amp;ssl=1 580w, https:\/\/i0.wp.com\/thetravellerslastjourney.com\/shai\/wp-content\/uploads\/2016\/03\/shattered_background_the_matrix__by_madminer965-d8ro7xs.jpg?resize=320%2C180&amp;ssl=1 320w\" sizes=\"(max-width: 600px) 100vw, 600px\" \/><\/a><figcaption id=\"caption-attachment-519\" class=\"wp-caption-text\">&#8220;shattered background(The Matrix)&#8221; by madminer965 @ deviantart<\/figcaption><\/figure>\n","protected":false},"excerpt":{"rendered":"<p>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 within python\u00a0(absorbing presumptions and laws [&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,77,115,106],"tags":[123,124],"metadata":[],"class_list":["post-793","post","type-post","status-publish","format-standard","hentry","category-all-posts","category-autodidactic","category-blog-posts","category-observations","category-perspective","category-self-improvement","category-the-traveller-is-the-journey","tag-programming","tag-python"],"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":793,"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":243,"url":"https:\/\/thetravellerslastjourney.com\/shai\/2016\/01\/28\/continuing-early-progress-in-python\/","url_meta":{"origin":793,"position":1},"title":"Continuing early progress in python","author":"Pala","date":"January 28, 2016","format":false,"excerpt":"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\u2026","rel":"","context":"In &quot;All Posts&quot;","block_context":{"text":"All Posts","link":"https:\/\/thetravellerslastjourney.com\/shai\/all-posts\/"},"img":{"alt_text":"matrix-434035_960_720","src":"https:\/\/travelleristhejourney.files.wordpress.com\/2016\/01\/matrix-434035_960_720.jpg?w=350&h=200&crop=1","width":350,"height":200},"classes":[]},{"id":1123,"url":"https:\/\/thetravellerslastjourney.com\/shai\/2016\/08\/08\/personal-statement-rmit-2016\/","url_meta":{"origin":793,"position":2},"title":"Personal Statement RMIT 2016","author":"Pala","date":"August 8, 2016","format":false,"excerpt":"To whom it may concern, A personal statement is not mandatory for my application to a Masters in Analytics but is an opportunity for me to advertise my interest and relevant experience. This letter will comprise a quasi-biographical form since that is the easiest medium for expressing and communicating my\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":583,"url":"https:\/\/thetravellerslastjourney.com\/shai\/2016\/04\/01\/a-map-to-a-first-stage-of-learning-python\/","url_meta":{"origin":793,"position":3},"title":"A map to a first stage of learning python","author":"Pala","date":"April 1, 2016","format":false,"excerpt":"The atlas is filled with maps, and the roads twist and turn around short-cuts and panoramic views. Here is the advice of a singular traveller, still a beginner. Where this begins This begins where I did. Knowing about programming, and knowing a little about how to program. About 7 years\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":802,"url":"https:\/\/thetravellerslastjourney.com\/shai\/2016\/03\/17\/learning-to-make-a-game\/","url_meta":{"origin":793,"position":4},"title":"Learning to make a game","author":"Pala","date":"March 17, 2016","format":false,"excerpt":"Last November I started learning to code python[I]. In 5 weeks I hope to have finished creating a card game. Learning python Briefly: codecadamey, Learn Python The Hard Way, The Python Game Book, Foundations in Python Networking, reddit, stackexchange, python standard library documentation, prolog challenges, codewars, checkio. A review 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":[]},{"id":661,"url":"https:\/\/thetravellerslastjourney.com\/shai\/2016\/05\/19\/first-impressions-of-r\/","url_meta":{"origin":793,"position":5},"title":"First impressions of R","author":"Pala","date":"May 19, 2016","format":false,"excerpt":"I've only been studying R[I] for a few weeks. It's my second programming language, and I'm only a beginner at my first - python. R is strangely strange. It looks a bit like java with all its brackets, but then goes and uses \"<-\" for designating variables, as if the\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-cN","_links":{"self":[{"href":"https:\/\/thetravellerslastjourney.com\/shai\/wp-json\/wp\/v2\/posts\/793","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=793"}],"version-history":[{"count":0,"href":"https:\/\/thetravellerslastjourney.com\/shai\/wp-json\/wp\/v2\/posts\/793\/revisions"}],"wp:attachment":[{"href":"https:\/\/thetravellerslastjourney.com\/shai\/wp-json\/wp\/v2\/media?parent=793"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/thetravellerslastjourney.com\/shai\/wp-json\/wp\/v2\/categories?post=793"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/thetravellerslastjourney.com\/shai\/wp-json\/wp\/v2\/tags?post=793"},{"taxonomy":"metadata","embeddable":true,"href":"https:\/\/thetravellerslastjourney.com\/shai\/wp-json\/wp\/v2\/metadata?post=793"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}