<?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>jtes.net</title>
	<atom:link href="http://jtes.net/feed/" rel="self" type="application/rss+xml" />
	<link>http://jtes.net</link>
	<description>JohnTESlade - Software Engineer, Brighton UK</description>
	<lastBuildDate>Mon, 20 Feb 2012 20:53:43 +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>&#8230; As A Service &#8211; SAAS, PAAS, IAAS</title>
		<link>http://jtes.net/2012/01/19/as-a-service-saas-paas-iaas/</link>
		<comments>http://jtes.net/2012/01/19/as-a-service-saas-paas-iaas/#comments</comments>
		<pubDate>Thu, 19 Jan 2012 18:39:57 +0000</pubDate>
		<dc:creator>John TE Slade</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[cloud]]></category>
		<category><![CDATA[iaas]]></category>
		<category><![CDATA[paas]]></category>
		<category><![CDATA[saas]]></category>
		<category><![CDATA[software]]></category>

		<guid isPermaLink="false">http://jtes.net/?p=131</guid>
		<description><![CDATA[Thanks to nkhumpreys I was introduced to the three &#8220;.. as a service&#8221; concepts from cloud computing.  Even though I have been using [...]]]></description>
			<content:encoded><![CDATA[<p>Thanks to <a href="http://www.nkhumphreys.co.uk/">nkhumpreys</a> I was introduced to the three &#8220;.. as a service&#8221; concepts from cloud computing.  Even though I have been using the cloud I had never heard the terms before but they classified the tools I had been using. Here&#8217;s my overview.</p>
<h3>SASS &#8211; Software As A Service</h3>
<p>The top of the stack where the user interacts with an application which handles the processing and storage of data. Like a desktop application you access through a web browser.  The user is not usually developing code.</p>
<p><strong>Examples:</strong> <a href="http://docs.google.com">Google Docs</a>, <a href="http://www.dropbox.com">Dropbox</a>, <a href="http://www.salesforce.com">SalesForce.com</a></p>
<p><strong>Typical Billing:</strong> on a monthly subscription</p>
<h3>PAAS &#8211; Platform As A Service</h3>
<p>A software platform is provided which abstracts away some of the elements of the cloud &#8211; normally the scalability elements. This allows a developer to write a piece of code that processes a job (e.g. output a page of a website) and not worry about how many concurrent instances there are. This is great for services that might have unpredictable demand or where there are bursts of activity &#8211; such as algorithm that runs for 5 minutes every hour.</p>
<p>Generally the platform makes restrictions on the type of languages of the software and the code must be written in a way so it can execute in parallel &#8211; think problems that would work under Map Reduce.</p>
<p><strong>Examples:</strong> <a href="http://code.google.com/appengine/">Google App Engine</a>, <a href="http://www.picloud.com/">PiCloud</a></p>
<p><strong>Typical Billing:</strong> based on resource usage at a granular level &#8211; e.g. amount of bandwidth or number of CPU cycles used.</p>
<h3>IAAS &#8211; Infrastructure As A Service</h3>
<p>The renting of a piece of infrastructure for a short period (e.g. a server) in small increments (often hourly).   This reduces the need to keep spare servers to deal with load fluctuation - new servers can be rented on an hourly basis when required.  This provides full access of the instance server including shell access and installed libraries.</p>
<p><strong>Examples:</strong> <a href="http://aws.amazon.com/ec2/">Amazon EC2</a>, <a href="http://www.rackspace.com/cloud/">Rackspace Cloud</a></p>
<p><strong>Typical Billing: </strong>per instance per hour</p>
]]></content:encoded>
			<wfw:commentRss>http://jtes.net/2012/01/19/as-a-service-saas-paas-iaas/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Undefined subroutine &amp;Scalar::Util::weaken</title>
		<link>http://jtes.net/2012/01/01/undefined-subroutine-scalarutilweaken/</link>
		<comments>http://jtes.net/2012/01/01/undefined-subroutine-scalarutilweaken/#comments</comments>
		<pubDate>Sun, 01 Jan 2012 21:24:40 +0000</pubDate>
		<dc:creator>John TE Slade</dc:creator>
				<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://jtes.net/?p=125</guid>
		<description><![CDATA[Ever had the problem in Perl: Undefined subroutine &#38;Scalar::Util::weaken called at This is caused by a version of Scalar::Util that is perl only [...]]]></description>
			<content:encoded><![CDATA[<p>Ever had the problem in Perl:</p>
<blockquote><p>Undefined subroutine &amp;Scalar::Util::weaken called at</p></blockquote>
<p>This is caused by a version of Scalar::Util that is perl only and doesn&#8217;t implement the weaken function (<a href="http://lists.jifty.org/pipermail/jifty-devel/2006-June/000390.html">ref</a>).  To install the XS version of Scalar::Util use cpan and run:</p>
<blockquote><p>force install Scalar::Util</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://jtes.net/2012/01/01/undefined-subroutine-scalarutilweaken/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Adobe Flash in Fedora 16 x86_64</title>
		<link>http://jtes.net/2011/12/28/adobe-flash-in-fedora-16-x86_64/</link>
		<comments>http://jtes.net/2011/12/28/adobe-flash-in-fedora-16-x86_64/#comments</comments>
		<pubDate>Wed, 28 Dec 2011 17:20:12 +0000</pubDate>
		<dc:creator>John TE Slade</dc:creator>
				<category><![CDATA[Linux]]></category>

		<guid isPermaLink="false">http://jtes.net/?p=112</guid>
		<description><![CDATA[I always had problems getting Flash to work in both Firefox and Chrome when running Fedora Linux.  This became more of a problem since [...]]]></description>
			<content:encoded><![CDATA[<p>I always had problems getting Flash to work in both Firefox and Chrome when running Fedora Linux.  This became more of a problem since I started using the x86_64 kernel.  But here are the steps I took that worked under Fedora 16.  Thanks to <a href="http://www.google.com/support/forum/p/Chrome/thread?tid=72e4fac1f77af264&amp;hl=en">the_nins on the chrome support pages</a>.</p>
<p>Install the flash rpm</p>
<blockquote><p>From <a href="http://get.adobe.com/flashplayer/">http://get.adobe.com/flashplayer/</a></p></blockquote>
<p>Install the other required packages</p>
<blockquote><p>yum install flash-plugin nspluginwrapper.x86_64 nspluginwrapper.i686 alsa-plugins-pulseaudio.i686 libcurl.i686</p></blockquote>
<p>Create the wrapped up plugins for x86_64</p>
<blockquote><p>mozilla-plugin-config -i -g -v</p></blockquote>
<p>Create a symlink to the wrapped file:</p>
<blockquote><p>cd /usr/lib64/mozilla/plugins</p>
<p>ln -s /usr/lib64/mozilla/plugins-wrapped/nswrapper_32_64.libflashplayer.so</p></blockquote>
<p>Restart the browser and it should pickup the flash plugin.  I would also highly recommend using flashblock to load flash animations on demand &#8211; addons for <a href="https://chrome.google.com/webstore/detail/gofhjkjmkpinhpoiabjplobcaignabnl">Chrome</a> and <a href="https://addons.mozilla.org/en-US/firefox/addon/flashblock/">Firefox</a>.</p>
]]></content:encoded>
			<wfw:commentRss>http://jtes.net/2011/12/28/adobe-flash-in-fedora-16-x86_64/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Perl &#8220;Perl_Gthr_key_ptr&#8221; problems</title>
		<link>http://jtes.net/2011/12/03/perl-perl_gthr_key_ptr-problems/</link>
		<comments>http://jtes.net/2011/12/03/perl-perl_gthr_key_ptr-problems/#comments</comments>
		<pubDate>Sat, 03 Dec 2011 16:28:55 +0000</pubDate>
		<dc:creator>John TE Slade</dc:creator>
				<category><![CDATA[Perl]]></category>

		<guid isPermaLink="false">http://johnteslade.com/?p=103</guid>
		<description><![CDATA[I just upgraded by laptop to Fedora 16 and started to get problems with Perl libraries that were installed via yum.  Errors along [...]]]></description>
			<content:encoded><![CDATA[<p>I just upgraded by laptop to Fedora 16 and started to get problems with Perl libraries that were installed via yum.  Errors along the lines of:</p>
<blockquote><p>perl: symbol lookup error: /usr/local/lib64/perl5/auto/Crypt/Rijndael/Rijndael.so: undefined symbol: Perl_Gthr_key_ptr</p></blockquote>
<p>Some research suggest this is caused by the shared library being built against a different version of perl.  This is mainly a problem because Fedora provides a number of prebuild perl libraries through yum.  The fix for this is to use cpan to rebuild the libraries. So as root start cpan:</p>
<blockquote><p>cpan</p></blockquote>
<p>Then reinstall the libraries causing problems.  In the above example I did:</p>
<blockquote><p>force install Crypt::Rijndael</p></blockquote>
<p>This will recreate the .so file against the correct perl version.</p>
<h2>CPAN error with vxs.so</h2>
<p>There may be problems with cpan failing due to:</p>
<blockquote><p>perl: symbol lookup error: /usr/local/lib64/perl5/auto/version/vxs/vxs.so: undefined symbol: PerlGthrkey_ptr</p></blockquote>
<p>I managed to fix this by just deleting the whole folder:</p>
<blockquote><p> /usr/local/lib64/perl5/auto/version/</p></blockquote>
<h2>Apache and selinux</h2>
<p>If you are calling perl scripts from apache there might be further problems like:</p>
<blockquote><p>failed to map segment from shared object: Permission denied at /usr/lib64/perl5/DynaLoader.pm</p></blockquote>
<p>This is an SE linux issue and can be fixed with chcon:</p>
<blockquote><p>find /usr/local/lib64/perl5/auto -name &#8220;*.so&#8221; | xargs -n 1 chcon unconfined_u:object_r:lib_t:s0</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://jtes.net/2011/12/03/perl-perl_gthr_key_ptr-problems/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Site online</title>
		<link>http://jtes.net/2011/09/24/site-online/</link>
		<comments>http://jtes.net/2011/09/24/site-online/#comments</comments>
		<pubDate>Sat, 24 Sep 2011 18:41:55 +0000</pubDate>
		<dc:creator>John TE Slade</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://johnteslade.com/?p=97</guid>
		<description><![CDATA[The site is now finally sorted and I’ve put up my projects page.  I’m currently working on my remanence programming project (https://github.com/johnteslade/Remanence) and [...]]]></description>
			<content:encoded><![CDATA[<p>The site is now finally sorted and I’ve put up my projects page.  I’m currently working on my remanence programming project (<a href="https://github.com/johnteslade/Remanence">https://github.com/johnteslade/Remanence</a>) and on starting my eliptic curve cryptography introduction book.</p>
<p>More details soon</p>
]]></content:encoded>
			<wfw:commentRss>http://jtes.net/2011/09/24/site-online/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

