{"id":177,"date":"2004-07-27T17:08:03","date_gmt":"2004-07-27T21:08:03","guid":{"rendered":"http:\/\/www.starkeith.net\/coredump\/?p=177"},"modified":"2013-05-16T19:07:42","modified_gmt":"2013-05-16T23:07:42","slug":"how-to-hack","status":"publish","type":"post","link":"https:\/\/www.starkeith.net\/coredump\/2004\/07\/27\/how-to-hack\/","title":{"rendered":"&#8220;How To Hack&#8221;"},"content":{"rendered":"<p>&#8220;How To Hack&#8221; by: Keithius<\/p>\n<p>There&#8217;s something weird that goes on in my head when I think about programming (or &#8220;hacking&#8221;, to use one definition of the word). It&#8217;s as if as soon as I think about something I want to achieve (a &#8220;goal&#8221;), I see it happening, and simultaneously, as if in a split-screen, I see the code needed to accomplish it. My brain just &#8220;shifts&#8221; from the world of abstract ideas into the world of concrete code (minus a few details here and there).<\/p>\n<p>I find this interesting because it&#8217;s also the way I <i>learn<\/i> a new language. For example, when I learned C++, I learned the basics of the language in a class (for the most part). But I <i>really<\/i> learned how C++ worked when I was watching a program through a debugger, literally tracing each line of code as it executed, following its effects on the &#8220;face&#8221; or visual aspect of the application, or on the file system, or on a database. The same thing goes for VB&#8230; I watched code through the debugger, I traced other people&#8217;s sample applications, following instructions and taking note of properties &#038; methods. After a while, these properties &#038; methods became second nature to me &#8211; I don&#8217;t have to spend a lot of time looking up properties or samples in any manual or anything. I just <i>know<\/i> them. <\/p>\n<p>Today I spent a LOT of time messing around with CSS, or cascading style sheets &#8211; a very, very useful thing to know for web design these days. Frankly, my web sites are crap compared to what they <i>could<\/i> be if I were better with CSS. But anyway: I was messing around with CSS today; copying bits of code from other websites that had &#8220;features&#8221; that I wanted, then modifying every property of these features to see what effect it had &#8220;visually&#8221; on the page I was working on. Through this &#8220;tweaking&#8221; process, I came to know CSS by heart. I started the day flipping through several very good guidebooks to CSS; by the end of the day I was freely modifying my CSS file without referencing the guides at all (well, almost). And the best part is, the page I was working on (a new web site for work) turned out <b>great<\/b>. When it&#8217;s done and published publicly, I&#8217;ll let you know where to find it.<\/p>\n<p>So, that&#8217;s my reflection on my &#8220;hacking&#8221; technique&#8230; basically just &#8220;fiddling&#8221; or &#8220;tweaking&#8221; something that already works until I know all about it, and then I can build something just like it, and then change it completely to suit my needs. I personally think this is the only way to learn&#8230; at least as far as some things are concerned&#8230; mostly skills, like languages (computer or otherwise) or technical skills (mechanic, carpenter, etc). So, if you find yourself needing to learn something new&#8230; give my method a try. Maybe you&#8217;ll surprise yourself when you pick up a new skill really quickly. <\/p>\n<p>Peace,<br \/>\n<br \/>-Keithius<\/p>\n","protected":false},"excerpt":{"rendered":"<p>&#8220;How To Hack,&#8221; a brief guide to hacking (the way of thinking more than anything else) by: Keith M. Survell.<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"webmentions_disabled_pings":false,"webmentions_disabled":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"activitypub_content_warning":"","activitypub_content_visibility":"","activitypub_max_image_attachments":3,"activitypub_interaction_policy_quote":"anyone","activitypub_status":"","footnotes":"","jetpack_post_was_ever_published":false},"categories":[3,5],"tags":[131,386,388],"class_list":["post-177","post","type-post","status-publish","format-standard","hentry","category-personal","category-technology","tag-hackers","tag-personal","tag-technology","entry"],"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/pimUj-2R","jetpack-related-posts":[{"id":602,"url":"https:\/\/www.starkeith.net\/coredump\/2005\/08\/14\/garote-hack-hack-hack-hack\/","url_meta":{"origin":177,"position":0},"title":"garote: HACK HACK HACK HACK","author":"Keith Survell","date":"August 14, 2005","format":false,"excerpt":"\"I have lost an entire work day to the wonders of being a small-time Windows admin. Screw this, I\u2019m going on vacation.\"","rel":"","context":"In &quot;tech&quot;","block_context":{"text":"tech","link":"https:\/\/www.starkeith.net\/coredump\/category\/technology\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":409,"url":"https:\/\/www.starkeith.net\/coredump\/2005\/02\/17\/a-web-page-that-sucks\/","url_meta":{"origin":177,"position":1},"title":"A Web Page that Sucks","author":"Keith Survell","date":"February 17, 2005","format":false,"excerpt":"I'm so embarrased. I used to live on the border of Northbridge. Oh dear god, there's BLINKING TEXT on the page... my eyes!","rel":"","context":"In &quot;tech&quot;","block_context":{"text":"tech","link":"https:\/\/www.starkeith.net\/coredump\/category\/technology\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":493,"url":"https:\/\/www.starkeith.net\/coredump\/2005\/05\/12\/joel-on-software-back-to-basics\/","url_meta":{"origin":177,"position":2},"title":"Joel on Software &#8211; Back to Basics","author":"Keith Survell","date":"May 12, 2005","format":false,"excerpt":"This article makes a good point about something very important; namely, that to be a good software programmer, you have to know a lot about the nuts & bolts of how the computer works - from raw CPU instructions right up to drivers & other high-level nonsense.","rel":"","context":"In &quot;personal&quot;","block_context":{"text":"personal","link":"https:\/\/www.starkeith.net\/coredump\/category\/personal\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":172,"url":"https:\/\/www.starkeith.net\/coredump\/2004\/06\/16\/a-programmers-prayer\/","url_meta":{"origin":177,"position":3},"title":"A Programmer&#8217;s Prayer","author":"Keith Survell","date":"June 16, 2004","format":false,"excerpt":"Blessed be, the caffeine which giveth me alertness and maketh my code appear clear.","rel":"","context":"In &quot;fun stuff&quot;","block_context":{"text":"fun stuff","link":"https:\/\/www.starkeith.net\/coredump\/category\/fun-stuff\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":963,"url":"https:\/\/www.starkeith.net\/coredump\/2007\/11\/04\/again-with-the-new-theme\/","url_meta":{"origin":177,"position":4},"title":"Again with the new theme","author":"Keith Survell","date":"November 4, 2007","format":false,"excerpt":"Once again, I have changed the theme of this blog... in terms of the visual style, anyway.","rel":"","context":"In &quot;personal&quot;","block_context":{"text":"personal","link":"https:\/\/www.starkeith.net\/coredump\/category\/personal\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":603,"url":"https:\/\/www.starkeith.net\/coredump\/2005\/08\/16\/line-counting\/","url_meta":{"origin":177,"position":5},"title":"Line Counting","author":"Keith Survell","date":"August 16, 2005","format":false,"excerpt":"My own free program to count the number of lines of code (LOC) in your VB6 project.","rel":"","context":"In &quot;tech&quot;","block_context":{"text":"tech","link":"https:\/\/www.starkeith.net\/coredump\/category\/technology\/"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/posts\/177","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/comments?post=177"}],"version-history":[{"count":0,"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/posts\/177\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/media?parent=177"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/categories?post=177"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.starkeith.net\/coredump\/wp-json\/wp\/v2\/tags?post=177"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}