<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>the corioblog &#187; php</title>
	<atom:link href="http://www.coriolinus.net/tag/php/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.coriolinus.net</link>
	<description>read, and be entertained</description>
	<lastBuildDate>Sat, 09 Jul 2011 19:53:24 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>personal statement re:becoming a CS graduate student</title>
		<link>http://www.coriolinus.net/2004/11/17/personal-statement-rebecoming-a-cs-graduate-student/</link>
		<comments>http://www.coriolinus.net/2004/11/17/personal-statement-rebecoming-a-cs-graduate-student/#comments</comments>
		<pubDate>Wed, 17 Nov 2004 05:36:00 +0000</pubDate>
		<dc:creator>coriolinus</dc:creator>
				<category><![CDATA[rfc]]></category>
		<category><![CDATA[writing]]></category>
		<category><![CDATA[artificial intelligence]]></category>
		<category><![CDATA[database-backed web system]]></category>
		<category><![CDATA[Java PLAF technology]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.coriolinus.net/2004/11/17/628/</guid>
		<description><![CDATA[This is the first draft of my personal statement, which is the only essay I get to write for my graduate application. I&#8217;m curious what you think of it. Your Personal Statement should be a brief but carefully written essay regarding: 1) your reasons you want to do graduate work in this particular field, 2) [...]]]></description>
			<content:encoded><![CDATA[<p>This is the first draft of my personal statement, which is the only essay I get to write for my graduate application. I&#8217;m curious what you think of it.</p>
<blockquote><p>Your Personal Statement should be a brief but carefully written essay regarding: 1) your reasons you want to do graduate work in this particular field, 2) your specific interests and experiences in this field, 3) any special skill or experiences that may relate to an assistantship, and 4) your career plans.<br />
&#8212;&#8211;</p>
<p>One of the most important lessons that I&#8217;ve learned during my time as an undergraduate student is that computer science is a continually evolving field. Specific languages and procedures that I use now might be rendered useless by new developments in theory or technique at any moment. Keeping abreast of current developments is a requirement just to survive in the job market.</p>
<p>However, I&#8217;d rather not just tread water, just keep afloat. I&#8217;d rather be part of the group pushing the envelope of what can be done with computers; I&#8217;d rather be writing the papers than reading them. Undergraduate studies are a step toward a career coding; they bring one up to speed with curent practice. Graduate studies are the next leap forward; they transform my role from that of a learner to that of an innovator.</p>
<p>WPI&#8217;s undergraduate computer science curriculum is project-based. Among other things, this means that before graduation, I complete two projects for class credit: the IQP is worth one class of credit, and the MQP is worth three. The former involved the development of a tool to aid people unfamiliar with computers with the process of setting up a complex database-backed web system. The latter, currently in progress, seeks to extend the Napkin Pluggable Look and Feel (napkinlaf.sourceforge.net) by creating a system which generates icons which look as if they had been hand-drawn, as the icons are called for.</p>
<p>The only common elements between those projects is that they both represented a significant amount of research, of delving into programming territory unfamiliar to me. I learned enough from the first project to qualify as a PHP/MySQL expert at the job I got subsequently; I expect to emerge from the MQP an authority on both Java PLAF technology and the specific graphical tricks involved in tricking people into thinking that a human drew something machine-generated. Some of my most interesting classes have been in AI and pattern recognition. I enjoy extending myself, branching into new areas and fields.</p>
<p>I don&#8217;t yet know what I will do after graduate school. I certainly wouldn&#8217;t mind doing pure research; holding a job learning things so new I&#8217;m the first person to get there could certainly be interesting. Alternately, I&#8217;ve had the idea for some time now that it might be fun developing intelligent opponents for computer games. For the moment, I intend to keep my options open.</p>
<p>One of the major reasons I look forward to graduate school is that I often read an article from one news source or another about a really interesting project being carried out by a team of graduate student researchers. Be it developing a control system for DARPA&#8217;s unmanned vehicle race, or a system which can beat most people at 20 questions, there are all sorts of interesting developments being made in the computing world today. Linus Torvalds was a graduate student when he wrote Linux. I want to make my mark too.</p></blockquote>
<p>Any suggestions or comments are appreciated&#8211;I have a month before this is due&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coriolinus.net/2004/11/17/personal-statement-rebecoming-a-cs-graduate-student/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>actually magic functionality is usually a bad thing</title>
		<link>http://www.coriolinus.net/2004/05/26/actually-magic-functionality-is-usually-a-bad-thing/</link>
		<comments>http://www.coriolinus.net/2004/05/26/actually-magic-functionality-is-usually-a-bad-thing/#comments</comments>
		<pubDate>Thu, 27 May 2004 01:23:00 +0000</pubDate>
		<dc:creator>coriolinus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.coriolinus.net/2004/05/26/558/</guid>
		<description><![CDATA[From http://www.php.net/manual/en/language.oop.php: PHP reserves all function names starting with __ as magical. It is recommended that you do not use function names with __ in PHP unless you want some documented magic functionality. This sort of thing reminds me of why I&#8217;m fond of programming: it is the closest people have come yet to genuine [...]]]></description>
			<content:encoded><![CDATA[<p>From <a href="http://www.php.net/manual/en/language.oop.php">http://www.php.net/manual/en/language.oop.php</a>:</p>
<blockquote><p>PHP reserves all function names starting with __ as magical. It is recommended that you do not use function names with __ in PHP unless you want some documented magic functionality.</p></blockquote>
<p>This sort of thing reminds me of why I&#8217;m fond of programming: it is the closest people have come yet to genuine wizardry.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coriolinus.net/2004/05/26/actually-magic-functionality-is-usually-a-bad-thing/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>note my extreme reluctance to apply myself</title>
		<link>http://www.coriolinus.net/2004/02/17/note-my-extreme-reluctance-to-apply-myself/</link>
		<comments>http://www.coriolinus.net/2004/02/17/note-my-extreme-reluctance-to-apply-myself/#comments</comments>
		<pubDate>Tue, 17 Feb 2004 11:57:00 +0000</pubDate>
		<dc:creator>coriolinus</dc:creator>
				<category><![CDATA[brain flotsam]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.coriolinus.net/2004/02/17/466/</guid>
		<description><![CDATA[On the plus side, the server is now back up. I did accomplish something this week, in terms of the project. Plus, I think I configured it so that the sshd, apache, and mysql daemons start automatically at boot now. Then again, it&#8217;s Linux, so I&#8217;m not sure that following the documented steps will actually [...]]]></description>
			<content:encoded><![CDATA[<p>On the plus side, the server is now back up. I did accomplish <em>something</em> this week, in terms of the project. Plus, I think I configured it so that the sshd, apache, and mysql daemons start automatically at boot now. Then again, it&#8217;s Linux, so I&#8217;m not sure that following the documented steps will actually cause the correct thing to happen.</p>
<p>On the minus side, I just spent several hours of coding to accomplish a small portion of what could probably have been done much better with about the same investment in time, spent configuring. On the silver-lining side, I now have a much better working notion of how PHP and MySQL actually work together, and the sorts of things they like and dislike.</p>
<p>Now, to sleep. My luck has been good recently; I&#8217;ll hope that my advisor isn&#8217;t too disappointed with last week&#8217;s progress. We meet in 7 hours, most of which time I will spend sleeping. However, this last week has been the first one so far in which my project partner and I haven&#8217;t met our weekly goals. Oh well. I suppose that just means that we&#8217;ll have to actually work in the coming weeks.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coriolinus.net/2004/02/17/note-my-extreme-reluctance-to-apply-myself/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Xitami PHP Failure</title>
		<link>http://www.coriolinus.net/2003/12/11/xitami-php-failure/</link>
		<comments>http://www.coriolinus.net/2003/12/11/xitami-php-failure/#comments</comments>
		<pubDate>Thu, 11 Dec 2003 17:14:00 +0000</pubDate>
		<dc:creator>coriolinus</dc:creator>
				<category><![CDATA[geekspeak]]></category>
		<category><![CDATA[rfc]]></category>
		<category><![CDATA[CGI]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.coriolinus.net/2003/12/11/417/</guid>
		<description><![CDATA[I don&#8217;t suppose anyone just happens to know how to make php work on xitami? I get the following error: &#8220;Internal error: your request was unsuccessful Cannot create CGI process &#8211; program not found&#8221; I&#8217;m pretty sure I&#8217;ve set the config to the proper directory, but it doesn&#8217;t seem to be working for some reason. [...]]]></description>
			<content:encoded><![CDATA[<p>I don&#8217;t suppose anyone just happens to know how to make php work on xitami? I get the following error: &#8220;Internal error: your request was unsuccessful Cannot create CGI process &#8211; program not found&#8221;</p>
<p>I&#8217;m pretty sure I&#8217;ve set the config to the proper directory, but it doesn&#8217;t seem to be working for some reason.</p>
<p>[edit 20080719]</p>
<p>This post doesn&#8217;t have the solution; five years later, I still have no idea how to make this work. On the other hand, I&#8217;ve had good experiences with <a href="http://www.lighttpd.net/">lighttpd</a> since then; try just using that instead.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coriolinus.net/2003/12/11/xitami-php-failure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>361</title>
		<link>http://www.coriolinus.net/2003/09/20/361/</link>
		<comments>http://www.coriolinus.net/2003/09/20/361/#comments</comments>
		<pubDate>Sat, 20 Sep 2003 08:50:00 +0000</pubDate>
		<dc:creator>coriolinus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Apache]]></category>
		<category><![CDATA[Ebay]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[USD]]></category>

		<guid isPermaLink="false">http://www.coriolinus.net/2003/09/20/361/</guid>
		<description><![CDATA[Good news and minorly bad. I found out that I have enough money to pay to live here. This was a surprise, but it is good news. The person who had my Palm Pilot for three weeks IMed me, said &#8220;Come to Founders and I&#8217;ll give your Palm Pilot back.&#8221; I came, he gave it [...]]]></description>
			<content:encoded><![CDATA[<p>Good news and minorly bad.</p>
<p>I found out that I have enough money to pay to live here. This was a surprise, but it is good news.</p>
<p>The person who had my Palm Pilot for three weeks IMed me, said &#8220;Come to Founders and I&#8217;ll give your Palm Pilot back.&#8221; I came, he gave it back, in perfect condition. No indication as to why a three-week delay, but I&#8217;m not complaining. I wasn&#8217;t expecting to see it again.</p>
<p>Bad news is that I seem to have come down with the disease of the moment. As of right now, symptoms are limited to a runny nose, but I don&#8217;t know if they&#8217;re going to get worse or better. Also, I figured out that the video card that got put into my computer by the repair techs doesn&#8217;t do 3d at all. I&#8217;m currently waiting for Ebay to validate me so that I can bid on a replacement card of the kind I originally had. I expect to be able to get one for less than $20, including shipping.</p>
<p>Another inconvenience: I haven&#8217;t played with PHP since WPI changed the way it worked a while ago&#8230; until today. Now, having played with it, it seems that the new &#8216;security upgrade&#8217; that they performed incidentally eliminates all error messages before I get to see them. Which means that if anything is wrong, from a dropped semicolon to a miscalled function, my only indication is that the entire program doesn&#8217;t work.</p>
<p>I may be installing Apache and PHP on my local machine in the near future, so that I can attempt to make functional pages again.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coriolinus.net/2003/09/20/361/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>GUI</title>
		<link>http://www.coriolinus.net/2003/05/21/gui/</link>
		<comments>http://www.coriolinus.net/2003/05/21/gui/#comments</comments>
		<pubDate>Wed, 21 May 2003 06:44:00 +0000</pubDate>
		<dc:creator>coriolinus</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[Linux]]></category>
		<category><![CDATA[operating system]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.coriolinus.net/2003/05/21/313/</guid>
		<description><![CDATA[It&#8217;s funny, because the moment you add the graphical element to a program, its size grows ridiculously. It was true when I was programming them out of hand-drawn ascii art with QBasic, it was true when I was still using QBasic to create simple 320&#215;240 graphics, it was true later with Visual Basic, and it&#8217;s [...]]]></description>
			<content:encoded><![CDATA[<p>It&#8217;s funny, because the moment you add the graphical element to a program, its size grows ridiculously. It was true when I was programming them out of hand-drawn ascii art with QBasic, it was true when I was still using QBasic to create simple 320&#215;240 graphics, it was true later with Visual Basic, and it&#8217;s still true as I start to create programs which take advantage of my <a href="http://www.kde.org">KDE</a> desktop.</p>
<p>The only language I&#8217;ve ever used in which the graphical element has been fairly unobtrusive and simple was <a href="http://www.php.net">PHP</a>. I suspect that it&#8217;s because PHP was built from the ground up to take the input and output functionality of HTML and run with it, as it merges very well with HTML code and fits the general style, and has no other obvious input or output methods. This was a good choice, because HTML itself was designed to be a interface design specification language of a high degree of power and flexibility, yet simple enough to be hand-coded without significant trouble.</p>
<p>The reason I&#8217;m mentioning all of this is that I&#8217;ve started to look into the how and why of creating a graphical desktop application for Linux. I would be doing this for Windows, but I no longer use that operating system. This is all leading into the creation of the graphical SCP client eventually. Right now, I&#8217;ve created a rather useless hello world program which, nonetheless, runs on the KDE desktop. However, I was following a tutorial rather closely. Next on the menu: creating a program of my own design and specification (a simple digital clock which I can resize with the font size adjusting accordingly, perhaps with alarm and/or analogue mode).</p>
<p>Why do I program and learn during summer vacation, when I could be mindlessly bent on relaxation? I&#8217;ve relapsed into a seminocturnal sleeping schedule, and there are only so many novels I can read&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coriolinus.net/2003/05/21/gui/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>i no longer remember the context of this post</title>
		<link>http://www.coriolinus.net/2002/12/21/i-no-longer-remember-the-context-of-this-post/</link>
		<comments>http://www.coriolinus.net/2002/12/21/i-no-longer-remember-the-context-of-this-post/#comments</comments>
		<pubDate>Sat, 21 Dec 2002 16:53:00 +0000</pubDate>
		<dc:creator>coriolinus</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[Perl]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.coriolinus.net/2002/12/21/218/</guid>
		<description><![CDATA[New thought: I may work entirely in java for the main frame, so that I keep the advantages of multithreading without having to deal with multiple-language programming. I&#8217;m going to have to look into this. Is Perl multithreaded? Because if I&#8217;m going to learn a (basically) new language for this project, it might as well [...]]]></description>
			<content:encoded><![CDATA[<p>New thought: I may work entirely in java for the main frame, so that I keep the advantages of multithreading without having to deal with multiple-language programming. I&#8217;m going to have to look into this. Is Perl multithreaded? Because if I&#8217;m going to learn a (basically) new language for this project, it might as well be a multithreaded one&#8230;</p>
<p>The fun part about working with frames is that I can keep the old php code in all the other frames where it&#8217;s still the best-suited language.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coriolinus.net/2002/12/21/i-no-longer-remember-the-context-of-this-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>217</title>
		<link>http://www.coriolinus.net/2002/12/21/217/</link>
		<comments>http://www.coriolinus.net/2002/12/21/217/#comments</comments>
		<pubDate>Sat, 21 Dec 2002 07:14:00 +0000</pubDate>
		<dc:creator>coriolinus</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Christmas]]></category>
		<category><![CDATA[Java]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.coriolinus.net/2002/12/21/217/</guid>
		<description><![CDATA[disappointed. php apparently doesn&#8217;t support multithreading, and though it does support some forms of integration with java (which does support multithreading), that&#8217;s a bag of worms I&#8217;d rather not open up unless I at least have a basic framework of code going already. on the plus side, I got all my christmas shopping done and [...]]]></description>
			<content:encoded><![CDATA[<p>disappointed. php apparently doesn&#8217;t support multithreading, and though it does support some forms of integration with java (which <i>does</i> support multithreading), that&#8217;s a bag of worms I&#8217;d rather not open up unless I at least have a basic framework of code going already.</p>
<p>on the plus side, I got all my christmas shopping done and everything wrapped. also, I may get to go skiing with my family over the weekend.</p>
<p>&#8230; not much more is going on right now. went to worcester today, so I spent many, many hours on the road&#8230; it was raining all day&#8230; I like rain&#8230;</p>
<p>I would be asleep right now, but I got up after tossing and turning for an hour. when that happens, I&#8217;m obviously not tired enough.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coriolinus.net/2002/12/21/217/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>yeah, another webcomics directory post</title>
		<link>http://www.coriolinus.net/2002/12/19/yeah-another-webcomics-directory-post/</link>
		<comments>http://www.coriolinus.net/2002/12/19/yeah-another-webcomics-directory-post/#comments</comments>
		<pubDate>Thu, 19 Dec 2002 10:07:00 +0000</pubDate>
		<dc:creator>coriolinus</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[foreign server]]></category>
		<category><![CDATA[HTML]]></category>
		<category><![CDATA[overhead processing time]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.coriolinus.net/2002/12/19/212/</guid>
		<description><![CDATA[So I think I&#8217;ve worked out a nice new way to implement the webcomics directory. It&#8217;s going to be class-based, instead of function-based, and I&#8217;m going to start exploring the uses for mySQL in PHP instead of reading everything from flat file formats. In the end, if all works out right, it should look exactly [...]]]></description>
			<content:encoded><![CDATA[<p>So I think I&#8217;ve worked out a nice new way to implement the <a href="http://users.wpi.edu/~peterg/webcomicsdirectory/">webcomics directory</a>. It&#8217;s going to be class-based, instead of function-based, and I&#8217;m going to start exploring the uses for mySQL in PHP instead of reading everything from flat file formats. In the end, if all works out right, it should <em>look</em> exactly the same, because I&#8217;m happy with the formatting, but there should be one major difference: every comic should load properly.</p>
<p>I think that one of the main benefits of handling it in this class-based way is that I can create subclasses whenever necessary, which means that I can handle all the really funny-formatted comics properly. Right now, I&#8217;m thinking of <a href="http://faith.rydia.net/">Demonology 101</a>, which currently isn&#8217;t even in the directory because (1) it only updates once a week, and (2) it has a format so alien to the current directory structure that it&#8217;s impossible to parse.</p>
<p>Of course, one thing that I&#8217;m going to have to watch out for is load time. Already, it takes upward of 30 seconds to generate the webcomics directory, though most of this is because it has to load at least the index.html for each comic in the directory to give it a shot at parsing. With the new code, I can only increase the overhead processing time on the server, because I&#8217;m handling things at a higher level. One thing I want to attempt to combat that is to multithread the process, so that each call out to a foreign server happens (relatively) simultaneously. Of course, that would make this my first multithreaded program <em>ever</em>, and I&#8217;m not looking forward to it; everything that I&#8217;ve heard about it makes it sound hairy. Also, this would realistically force me to buffer all output until all the threads are finished processing, at which point I&#8217;ll need to flush everything&#8230; hopefully this&#8217;ll all happen fast enough that I don&#8217;t run into time-out errors on the client side&#8230;</p>
<p>For the moment, I&#8217;m going to be putting all my test implementations <a href="http://users.wpi.edu/~peterg/webcomicsdirectory/test/">here</a>, in case you want to see a buggy work-in-progress.</p>
<p>Of course, this means that I&#8217;m going to have to teach myself SQL in general, the mySQL implementation in PHP, the way PHP handles classes, all about multithreading&#8230; I think that&#8217;s all I&#8217;ll have to learn, for the moment, but I might discover more once I start coding.</p>
<p>Wish me luck!</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coriolinus.net/2002/12/19/yeah-another-webcomics-directory-post/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>announcement of delay</title>
		<link>http://www.coriolinus.net/2002/04/03/announcement-of-delay/</link>
		<comments>http://www.coriolinus.net/2002/04/03/announcement-of-delay/#comments</comments>
		<pubDate>Wed, 03 Apr 2002 16:22:00 +0000</pubDate>
		<dc:creator>coriolinus</dc:creator>
				<category><![CDATA[programming]]></category>
		<category><![CDATA[php]]></category>

		<guid isPermaLink="false">http://www.coriolinus.net/2002/04/03/46/</guid>
		<description><![CDATA[That noon thing with the PHP&#8211;it&#8217;s not going to happen. On the other hand, this is my day off from classes (yay for funky free-Wednesday schedules!), so I get to keep playing with it until it works&#8230; At least now I have an idea as to how to approach the problem. It&#8217;s a start. And [...]]]></description>
			<content:encoded><![CDATA[<p>That noon thing with the PHP&#8211;it&#8217;s not going to happen. On the other hand, this is my day off from classes (yay for funky free-Wednesday schedules!), so I get to keep playing with it until it works&#8230;</p>
<p>At least now I have an idea as to how to approach the problem. It&#8217;s a start. And I&#8217;m still waiting for TauCeti&#8217;s source files; at this rate I&#8217;ll have figured it out myself before he gets them to me&#8230;</p>
]]></content:encoded>
			<wfw:commentRss>http://www.coriolinus.net/2002/04/03/announcement-of-delay/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

