<?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>Demenzia &#187; Symfony</title>
	<atom:link href="http://demenzia.net/category/symfony/feed/" rel="self" type="application/rss+xml" />
	<link>http://demenzia.net</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Tue, 16 Feb 2010 18:07:13 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>New Job</title>
		<link>http://demenzia.net/2008/06/14/new-job-2/</link>
		<comments>http://demenzia.net/2008/06/14/new-job-2/#comments</comments>
		<pubDate>Fri, 13 Jun 2008 23:27:47 +0000</pubDate>
		<dc:creator>Reefab</dc:creator>
				<category><![CDATA[Symfony]]></category>
		<category><![CDATA[Work]]></category>

		<guid isPermaLink="false">http://demenzia.net/2008/06/14/new-job-2</guid>
		<description><![CDATA[It seems I was due for my annual job change despite my best efforts to stay at one place for a little while. The last job was just too much for me, so I decided to start looking for something a little bit more relaxed.
I&#8217;m now working at Plemi a start-up that is going to [...]]]></description>
			<content:encoded><![CDATA[<p>It seems I was due for my annual job change despite my best efforts to stay at one place for a little while. The last job was just too much for me, so I decided to start looking for something a little bit more relaxed.</p>
<p>I&#8217;m now working at <a href="http://www.plemi.com">Plemi</a> a start-up that is going to offer services for concert gigs organization, mainly for emerging artists.</p>
<p>It does fit better in my current lifestyle as recently I&#8217;ve started going to a <a href="http://www.last.fm/user/reefab/events/past">lot of concerts</a> and otherwise going out and meeting a <a href="http://www.last.fm/user/reefab/friends/">lot of interesting people</a>. I&#8217;m also working part-time and (soon) telecommuting so I&#8217;ll have a lot more free time on my hands. Paris is a great city for concert going, I really regret not enjoying more of that aspect in the previous years I&#8217;ve been living there.</p>
<p>For the technical part, I am the lead developer of the symfony applications we are going to use for the launch of the services. As you may have noticed, I&#8217;m a big fan of <a href="http://www.symfony-project.org/">symfony</a>, being at the core of <a href="http://symfonians.net/person/reefab">my previous works</a>, so I&#8217;m glad I&#8217;ll be able to use it again and also able to contribute more to the project itself.</p>
]]></content:encoded>
			<wfw:commentRss>http://demenzia.net/2008/06/14/new-job-2/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ubuntu Linux and Symfony on a PlayStation 3</title>
		<link>http://demenzia.net/2007/08/21/linux-and-symfony-on-a-ps3/</link>
		<comments>http://demenzia.net/2007/08/21/linux-and-symfony-on-a-ps3/#comments</comments>
		<pubDate>Tue, 21 Aug 2007 20:55:33 +0000</pubDate>
		<dc:creator>Reefab</dc:creator>
				<category><![CDATA[Software]]></category>
		<category><![CDATA[Symfony]]></category>

		<guid isPermaLink="false">http://demenzia.net/2007/07/29/linux-and-symfony-on-a-ps3/</guid>
		<description><![CDATA[As said previously on this blog, I now work at Splitgames.com, a company based in Paris, France providing services to gamers where I manage the development of our web projects. We use Symfony as a framework on which to base our projects. Of course, we play quite a bit of video games, have a few [...]]]></description>
			<content:encoded><![CDATA[
<a href="http://demenzia.net/wp-content/gallery/articles/ps3-ubuntu-symfony/_DSC0007.jpg" title="" class="shutterset_singlepic134" >
	<img class="ngg-singlepic" src="http://demenzia.net/wp-content/gallery/cache/134__320x240__DSC0007.jpg" alt="_DSC0007" title="_DSC0007" />
</a>
<br />
As said previously on this blog, I now work at <a href="http://www.splitgames.com">Splitgames.com</a>, a company based in Paris, France providing services to gamers where I manage the development of our web projects. We use <a href="http://www.symfony-project.com/">Symfony</a> as a framework on which to base our projects. Of course, we play quite a bit of video games, have a few console systems laying around and I was wondering about how to bridge this two interests. By the way, if you like video games and Symfony we do have a few openings in our office in Paris. Email me if you are interessed at <a href="mailto:%20jobs@splitgames.com">jobs@splitgames.com</a>.</p>
<p>On my right I had a Playstation 3, on my left I had Symfony, the missing link would prove to be Ubuntu Linux.</p>
<p>Note: Running linux on a playstation 3 is not a hack, it doesn&#8217;t require any hardware modification, won&#8217;t disable any feature on your Playstation 3 and is not difficult to do.</p>
<p><span id="more-60"></span></p>
<p>Sony officially support running linux on your ps3 with dedicated tools present in the XMB ( Cross-mediabar, the UI of the Playstation 3).</p>
<p><em>Caveat: for installing Linux, you will need to format your hard-drive thus losing all the data on it. Fortunately, Sony made a backup utility so you can backup your game&#8217;s save data, game demos and other files very simply.</em></p>
<h3>What&#8217;s needed ?</h3>
<ul>
<li>A CD-R ( or DVD-R, I used a DVR-RW ).</li>
<li>USB Keyboard and mouse.</li>
<li>USB drive or memory card if you want to backup your data beforehand.</li>
<li>Component or HDMI cable if you plan on using the linux GUI ( ie, not use your Playstation 3 as a headless server ).</li>
</ul>
<p>As you can see, the Playstation 3 doesn&#8217;t require any special hardware to use linux as the Playstation 2 did.</p>
<h3>Ubuntu Install</h3>
<p>First, you have to download an iso image of Ubuntu for your PS3.</p>
<p>You can get it there :<br />
<code>http://cdimage.ubuntu.com/custom/20070608-feisty-ps3/ubuntu-7.04-desktop-powerpc+ps3.iso</code></p>
<p>While it&#8217;s downloading, it&#8217;s now a good time to backup your data if you&#8217;d like to.<br />
Plug in a usb-hardrive or a memory card and:</p>
<p>In the XMB, go to Settings -&gt; System Settings -&gt; Backup Utility, follow the on-screen instructions.</p>
<p>Once the backup is done and the image has been burned on a CD/DVD, go back to the XMB, and then:</p>
<p>Settings &gt; System Settings &gt; Format Utility &gt; Format Hard Disk.</p>
<p>Choose Yes.<br />
Select &#8220;Custom partition setting&#8221;<br />
and then &#8220;Allot 10GB to the Other OS&#8221;<br />
followed by  &#8220;Perform a Quick Format.&#8221;<br />
Reboot the PS3 by pressing X on your controller.</p>
<p>You can now insert the Ubuntu CD on your Playstation 3</p>
<p>
<a href="http://demenzia.net/wp-content/gallery/articles/ps3-ubuntu-symfony/_DSC0012.jpg" title="" class="shutterset_singlepic135" >
	<img class="ngg-singlepic" src="http://demenzia.net/wp-content/gallery/cache/135__320x240__DSC0012.jpg" alt="_DSC0012" title="_DSC0012" />
</a>

<p>Settings &gt; System Settings &gt; Install Other OS</p>
<p>Hit X when prompted to start the installer.</p>
<p>This step actually install a bootloader on your system from the CD, it doesn&#8217;t install the other operating system.</p>
<p>Next, Settings &gt; System Settings &gt; Default System ,select &#8220;Other OS&#8221; and reboot.<br />
Don&#8217;t forget to plug in your keyboard and mouse.</p>
<p>You will then see a command prompt kboot: on the screen, just press enter to boot from the CD.</p>
<p>From now on, it&#8217;s a normal Ubuntu install, just click on the installer on the desktop, select the 10GB drive and wait, and then wait some more. The installation is quite slow, much slower than on a comparable computer ( I blame the blu-ray drive ).</p>
<p><em>Caveat: if you are not using the HDMI output on a HDCP compatible screen, the live CD is going to default to NTSC/PAL resolution. Basically, the screen resolution will be too low for the installer application to display all of its window. Just press the &#8220;ALT&#8221; key on your keyboard and drag the window with the mouse to access the buttons on the lower side of the window.</em></p>
<p>After the installation finished and I rebooted into my ubuntu system, I had to make some configuration modification to display a decent resolution over Component cables. See the Notes at the end for the solution to this issue.</p>
<h3>Installing Symfony</h3>

<a href="http://demenzia.net/wp-content/gallery/articles/ps3-ubuntu-symfony/Screenshot.png" title="" class="shutterset_singlepic133" >
	<img class="ngg-singlepic" src="http://demenzia.net/wp-content/gallery/cache/133__320x240_Screenshot.png" alt="Screenshot" title="Screenshot" />
</a>
<br />
Now that you have a fully functional Ubuntu installation, there is a few steps left to accomplish before installing your development environment.</p>
<p>First, launch a terminal and get Super-User privileges and install the essential packages</p>
<p><code>reefab@reefab-desktop:~$ sudo -s<br />
root@reefab-desktop:~# apt-get install php5 php5-cli php5-mysql php-pear</code><br />

<a href="http://demenzia.net/wp-content/gallery/articles/ps3-ubuntu-symfony/Screenshot-2.png" title="" class="shutterset_singlepic129" >
	<img class="ngg-singlepic" src="http://demenzia.net/wp-content/gallery/cache/129__320x240_Screenshot-2.png" alt="Screenshot-2" title="Screenshot-2" />
</a>
<br />
Next, install Symfony using Pear, ( the PHP package manager, the cleanest way in my opinion ).</p>
<p><code><br />
root@reefab-desktop:~# pear channel-discover pear.symfony-project.com<br />
root@reefab-desktop:~# pear install symfony/symfony<br />
</code><br />

<a href="http://demenzia.net/wp-content/gallery/articles/ps3-ubuntu-symfony/Screenshot-3.png" title="" class="shutterset_singlepic131" >
	<img class="ngg-singlepic" src="http://demenzia.net/wp-content/gallery/cache/131__320x240_Screenshot-3.png" alt="Screenshot-3" title="Screenshot-3" />
</a>
<br />
Now create a directory inside /var/www/ that will house your applications.</p>
<p><code><br />
root@reefab-desktop:/var/www# mkdir symfony-test<br />
</code></p>
<p>And create your project and one application.</p>
<p><code><br />
root@reefab-desktop:/var/www/symfony-test# symfony init-project test<br />
root@reefab-desktop:/var/www/symfony-test# symfony init-app frontend<br />
</code></p>
<p>We now need to make some configuration in Apache to enable this application.</p>
<p>Create a new file in the site-available/ directory of the apache configuration</p>
<p><code><br />
root@reefab-desktop:/var/www/symfony-test# vi /etc/apache2/sites-available/symfony-test<br />
</code></p>
<p><code><br />
&lt;VirtualHost *:80&gt;<br />
ServerName symfony-test<br />
DocumentRoot "/var/www/symfony-test/web"<br />
DirectoryIndex index.php<br />
Alias /sf /usr/share/php/data/symfony/web/sf<br />
&lt;Directory "/usr/share/php/data/symfony/web/sf/"&gt;<br />
AllowOverride All<br />
Allow from All<br />
&lt;/Directory&gt;<br />
&lt;Directory "/var/www/symfony-test/web"&gt;<br />
AllowOverride All<br />
Allow from All<br />
&lt;/Directory&gt;<br />
&lt;/VirtualHost&gt;<br />
</code></p>
<p>And enable this site:</p>
<p><code><br />
root@reefab-desktop:/var/www/symfony-test# a2ensite<br />
Which site would you like to enable?<br />
Your choices are: default symfony-test<br />
Site name? symfony-test<br />
Site symfony-test installed; run /etc/init.d/apache2 reload to enable.<br />
root@reefab-desktop:/var/www/symfony-test# /etc/init.d/apache2 reload<br />
</code></p>
<p>the &#8220;symfony-test&#8221; hostname doesn&#8217;t exists so you may have to edit your /etc/hosts file and add it at the end of the line 127.0.0.1 or the one that start with the ip address of your system.</p>
<p>Example:</p>
<p><code><br />
127.0.0.1       localhost symfony-test<br />
</code></p>
<p>Now point your browser to http://symfony-test/ and there you are, a fully functional symfony installation on your Playstation 3 !<br />

<a href="http://demenzia.net/wp-content/gallery/articles/ps3-ubuntu-symfony/Screenshot-4.png" title="" class="shutterset_singlepic132" >
	<img class="ngg-singlepic" src="http://demenzia.net/wp-content/gallery/cache/132__320x240_Screenshot-4.png" alt="Screenshot-4" title="Screenshot-4" />
</a>

<h3>Notes</h3>
<p>If you have a hdmi hdcp compatible display, you can just skip this part.</p>
<p>First, go to a system Console ( press CTRL-ALT-F1 for example ).<br />
You may have an issue with debug message scrolling on the screen and preventing you to actually see what you are typing.</p>
<p>So, you will have to login in and typing &#8220;dmesg -n 1&#8243; to stop the kernel message being displayed on the consoles.</p>
<p>Now, use sudo to gain super-user privileges:</p>
<p><code>sudo -s</code></p>
<p>I then used the &#8220;<code>ps3videomode</code>&#8221; utility, just run it once to get a list of all video mode supported.</p>
<p>Then, you&#8217;ll have to try some to get on that will works on your display, if the screen become garbled, just press the up arrow and change the number to the default mode. This can get tricky.</p>
<p>I used vidmode number 4: YUV60Hz &#8211; 1080i</p>
<p>Now you have to edit /etc/kboot.conf and edit the default entry so it reads:</p>
<p><code>linux='/boot/vmlinux-2.6.16 initrd=/boot/initrd.img video=ps3fb:mode:##'</code></p>
<p>with ## being the vidmode you found. Then edit your xorg to add the resolution.</p>
<p>Your system will now have the correct resolution.</p>
]]></content:encoded>
			<wfw:commentRss>http://demenzia.net/2007/08/21/linux-and-symfony-on-a-ps3/feed/</wfw:commentRss>
		<slash:comments>11</slash:comments>
		</item>
	</channel>
</rss>
