<?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>Stochastic Geometry &#187; Math_Matrix</title>
	<atom:link href="http://www.stochasticgeometry.ie/tag/math_matrix/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.stochasticgeometry.ie</link>
	<description>Articles on random topics in Programming, Systems Administration, Academia and Industry by Mark Dennehy</description>
	<lastBuildDate>Fri, 27 Jan 2012 17:38:25 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
		<item>
		<title>Reaching the limits of PHP</title>
		<link>http://www.stochasticgeometry.ie/2007/11/02/reaching-the-limits-of-php/</link>
		<comments>http://www.stochasticgeometry.ie/2007/11/02/reaching-the-limits-of-php/#comments</comments>
		<pubDate>Fri, 02 Nov 2007 17:14:30 +0000</pubDate>
		<dc:creator>Mark Dennehy</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Markov models]]></category>
		<category><![CDATA[Math_Matrix]]></category>
		<category><![CDATA[PPM]]></category>
		<category><![CDATA[Python]]></category>
		<category><![CDATA[Trie]]></category>

		<guid isPermaLink="false">http://stochasticgeometry.wordpress.com/2007/11/02/reaching-the-limits-of-php/</guid>
		<description><![CDATA[<!--S-ButtonZ 1.1.5 Start--><!--S-ButtonZ 1.1.5 End--><p>First off, I rather like PHP. PHP 5 at least, I think PHP 4 was &#8211; and remains &#8211; a dog&#8217;s dinner of a thing at best. But for 90% (at least) of webpages, PHP is a pretty decent solution. Retrieval of data from databases, display of that data, no worries. Minimal learning curve, support for high-level constructs like objects and exceptions, several frameworks available &#8211; PHP&#8217;s a damn good choice in the vast majority of cases.</p>
<p>Thing is, right now I&#8217;m trying to put together a bit of code to act as a proof of concept, and &#8211; more fool me &#8211; I tried to use PHP to do it, figuring I&#8217;d save some time. No such luck. Turns out, trying to <em>create</em> data in PHP is a lot harder than trying to <em>manipulate or display</em> it. Right now, I&#8217;m in the middle of implementing a recognition system using a variable order markov model approach, and just generating the PPM-C prefix trees is a total pain in the fundament. Even the basic data structure I&#8217;m using &#8211; a trie &#8211; has no standard implementation in PEAR or the SPL or anywhere else I could find. So first I have to write that. Then I have to write the code to do all the other stuff. I mean, granted, hoping to find a pre-written PPM library was a bit hopeful, but prefix trees are basic data structures (and yes, I eventually found some sample code for one, but I&#8217;m still having to kick that about a fair bit to get what I need from it). But there was other stuff that I tried and ran into problems with. For example, PEAR::Math_Matrix seems to be PHP4 only, and the PEAR version doesn&#8217;t want to even parse in PHP5, let alone let &#8230; <a href="http://www.stochasticgeometry.ie/2007/11/02/reaching-the-limits-of-php/" class="read_more">Read the rest</a></p>]]></description>
		<wfw:commentRss>http://www.stochasticgeometry.ie/2007/11/02/reaching-the-limits-of-php/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

