{"id":52,"date":"2001-12-20T00:00:00","date_gmt":"2001-12-20T00:00:00","guid":{"rendered":"http:\/\/www.3cats.us\/blog\/?p=13"},"modified":"2001-12-20T00:00:00","modified_gmt":"2001-12-20T00:00:00","slug":"notes-13","status":"publish","type":"post","link":"https:\/\/www.3cats.us\/blog\/2001\/12\/notes-13\/","title":{"rendered":"notes-13"},"content":{"rendered":"<p>Thu Dec 20 23:10:49 PST 2001<\/p>\n<p>With a little typing it sure is easy to create PHP driven content. Just as easy to make a pretty big mess as well. I&#8217;m going to have to sit down and make some plans so the thing doesn&#8217;t snowball on me into a huge mess. It&#8217;s very clear that PHP is similar to perl. It has the same software maintance issues and &quot;dark side of the force&quot; that perl does:<\/p>\n<hr  \/>\n<dl >\n<dt>EXTERIOR: DAGOBAH&#8211;DAY<\/dt>\n<dd>With Yoda strapped to his back, Luke climbs up one of the<br \/>\nmany thick vines that grow in the swamp until he reaches the<br \/>\nDagobah statistics lab. Panting heavily, he continues his<br \/>\nexercises&#8211;grepping, installing new packages, logging in as<br \/>\nroot, and writing replacements for two-year-old shell scripts<br \/>\nin Python.<\/dd>\n<dt>YODA: Code! Yes. A programmer&#8217;s strength flows from code maintainability.<\/dt>\n<dd>But beware of Perl. Terse syntax&#8230; more than one way to do it&#8230;<br \/>\ndefault variables. The dark side of code maintainability are they.<br \/>\nEasily they flow, quick to join you when code you write. If once you<br \/>\nstart down the dark path, forever will it dominate your destiny,<br \/>\nconsume you it will.<\/dd>\n<\/dl>\n<p>LUKE: Is Perl better than Python?<\/p>\n<p>YODA: No&#8230; no&#8230; no. Quicker, easier, more seductive.<\/p>\n<p>LUKE: But how will I know why Python is better than Perl?<\/p>\n<p>YODA: You will know. When your code you try to read six months from now.<\/p>\n<hr  \/>\n<p>I&#8217;ve always loved that because it&#8217;s so true. Perl is easier and quicker to code, but it truly suffers from maintance problems. I&#8217;ve had to look at my perl code over years, and it always seems to suffer the readiblity problems. Recently I&#8217;ve been using Python at work, and it is indeed better for producing code that can be read by at least the same person later on. It&#8217;s also a lot better for writing big programs.<\/p>\n<p>Anyway, I&#8217;ve also been hacking at DC linux again, and a couple of CDRs later I&#8217;m getting pretty close. I&#8217;ve got a working kernel booting with the distro code, but init isn&#8217;t running correctly. I think it&#8217;s because the GDROM isn&#8217;t getting mounted correctly and so all I have is what&#8217;s on the initrd ramdisk image. So after hacking up the ramdisk image, I might have it working. The downside is that I&#8217;m going through my spindle of CDRs a bit fast :-P<\/p>\n<p>Well, I though I&#8217;ve figured out what the problem is. The kernel wasn&#8217;t being passed any arguments on what to run once it launched. I though for a while that it was a problem with incorrectly mounting the ramdisk or the gdrom or something like that. But it appears that the distro with the kernel that I can compile was somehow passing arguments to his kernel to tell it what to run or something. But my attempts to compile the kernel with particular options just isn&#8217;t working out at all.<\/p>\n<p>If I can just get this thing up and running with PPP, then I won&#8217;t have to be constantly jumping through all these hoops to compile a kernel, build ramdisks and go though the fun of building a DC-bootable disk which is a bit of a pain, but I&#8217;m getting used to it. I&#8217;m going to need to buy a few more CDRs real soon now, I&#8217;m down to 4 or 5&#8230;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>    <![CDATA[]]><br \/>\n     <a href=\"https:\/\/www.3cats.us\/blog\/2001\/12\/notes-13\/\">Continue reading <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-52","post","type-post","status-publish","format-standard","hentry","category-uncategorized"],"_links":{"self":[{"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/posts\/52","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/comments?post=52"}],"version-history":[{"count":0,"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/posts\/52\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/media?parent=52"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/categories?post=52"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.3cats.us\/blog\/wp-json\/wp\/v2\/tags?post=52"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}