<?xml version="1.0" encoding="ISO-8859-1"?>
<!-- generator="FeedCreator 1.7.2" -->
<rdf:RDF
    xmlns="http://purl.org/rss/1.0/"
    xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
    xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
    xmlns:dc="http://purl.org/dc/elements/1.1/">
    <channel rdf:about="">
        <title>Evolution Systems - Matt's Blog</title>
        <description></description>
        <link>http://www.evolution-systems.co.uk/blogs/matt/main/</link>
        <image rdf:resource="http://www.evolution-systems.co.uk/images/keyb1.jpg" />
       <dc:date>2010-04-26T19:49:01+01:00</dc:date>
        <items>
            <rdf:Seq>
                <rdf:li rdf:resource="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=71/"/>
                <rdf:li rdf:resource="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=70/"/>
                <rdf:li rdf:resource="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=69/"/>
                <rdf:li rdf:resource="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=68/"/>
                <rdf:li rdf:resource="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=67/"/>
                <rdf:li rdf:resource="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=66/"/>
                <rdf:li rdf:resource="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=65/"/>
                <rdf:li rdf:resource="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=64/"/>
                <rdf:li rdf:resource="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=63/"/>
                <rdf:li rdf:resource="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=62/"/>
            </rdf:Seq>
        </items>
    </channel>
    <image rdf:about="http://www.evolution-systems.co.uk/images/keyb1.jpg">
        <title>Evolution Systems logo</title>
        <link>http://www.evolution-systems.co.uk</link>
        <url>http://www.evolution-systems.co.uk/images/keyb1.jpg</url>
    </image>
    <item rdf:about="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=71/">
        <dc:format>text/html</dc:format>
        <dc:date>2010-04-26T17:49:01+01:00</dc:date>
        <dc:source>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=71/</dc:source>
        <dc:creator>Matthew Jakeman</dc:creator>
        <title>Ubuntu On Lenovo Thinkpad X201 (Blank Screen Problem)</title>
        <link>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=71/</link>
        <description>Just got myself one of these and had a few problems getting Ubuntu to even boot from a USB stick on it. Although it sounded like everything was going smoothly the screen was blank for some reason.&lt;br /&gt;
&lt;br /&gt;
A quick google about brought up this bug:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/linux/+bug/554569&quot;&gt;Launchpad Bug Report&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
The solution to the problem is in comment #8 on there. Basically you need to use the following boot option to get the display working correctly&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;xforcevesa i915.modeset=0&lt;/code&gt;&lt;br /&gt;
Just stick this in at the bootloader and it should be fine. When Ubuntu is fully installed just put the same line into /etc/default/grub to make the change permanent.</description>
    </item>
    <item rdf:about="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=70/">
        <dc:format>text/html</dc:format>
        <dc:date>2010-04-08T16:32:24+01:00</dc:date>
        <dc:source>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=70/</dc:source>
        <dc:creator>Matthew Jakeman</dc:creator>
        <title>Risizing An Image With PHP</title>
        <link>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=70/</link>
        <description>I came across this PHP class today that is great for resizing images. It is extremely easy to use and quite a small class. The class file can be downloaded here:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;http://www.evolution-systems.co.uk/files/SimpleImage.php&quot;&gt;SimpleImage.php&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
A quick example usage to show how simple it is...&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;   include('SimpleImage.php');&lt;br /&gt;   $image = new SimpleImage();&lt;br /&gt;   $image-&gt;load('picture.jpg');&lt;br /&gt;   $image-&gt;resize(250,400);&lt;br /&gt;   $image-&gt;save('picture2.jpg');&lt;/code&gt;&lt;br /&gt;
The last time I had to do some image resizing with PHP was a number of years ago and I seem to remember it being a lot more complicated than this.&lt;br /&gt;
&lt;br /&gt;
Thanks to &lt;a href=&quot;http://www.white-hat-web-design.co.uk/articles/php-image-resizing.php&quot;&gt;White Hat Web Design&lt;/a&gt; for making this little class and making it available.</description>
    </item>
    <item rdf:about="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=69/">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-29T19:10:21+01:00</dc:date>
        <dc:source>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=69/</dc:source>
        <dc:creator>Matthew Jakeman</dc:creator>
        <title>OpenWRT default blocking of ICMP</title>
        <link>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=69/</link>
        <description>I have been setting up an OpenWRT router at home specifically because I wanted to use it as an end point for a &lt;a href=&quot;http://www.tunnelbroker.net&gt;Hurrican Electric IPv6 Tunnel&lt;/a&gt;. I need this so I can do some tests using my &lt;a href=&quot;https://sourceforge.net/projects/npplusplus/&quot;&gt;NP++ Source Code&lt;/a&gt; between home and the office.&lt;br /&gt;
&lt;br /&gt;
To be able to configure your tunnels IPv4 end point (ie the IP address of the router on your home network) the IP address you are setting needs to be pingable. First this was a bit of a pain as I needed to set up my BT Router so put the Linksys in the DMZ. After messing with that for a bit it was all working.&lt;br /&gt;
&lt;br /&gt;
Despite everything being set up correctly I still wasn't able to ping my home IP. After a bit of digging on the net I discovered that OpenWRT blocks all ICMP traffic by default which is a bit of a pain in the arse really.&lt;br /&gt;
&lt;br /&gt;
Anyway, here is the config change that you need to make to /etc/config/firewall to enable all ICMP traffic through the firewall:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;config rule&lt;br /&gt;
&lt;br /&gt;
    option proto ICMP&lt;br /&gt;
    option target ACCEPT&lt;/code&gt;</description>
    </item>
    <item rdf:about="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=68/">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-21T12:53:45+01:00</dc:date>
        <dc:source>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=68/</dc:source>
        <dc:creator>Matthew Jakeman</dc:creator>
        <title>NP++ Code On Sourceforge</title>
        <link>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=68/</link>
        <description>I have started up a project on sourceforge to host the np++ code. There are a couple of releases of the module along with the modified version of radvd that is needed. The mapping advertisement daemon is on there as well as the wireshark dissectors.&lt;br /&gt;
&lt;br /&gt;
The project can be found here for anyone that is interested in looking at the code:&lt;br /&gt;
&lt;br /&gt;
&lt;a href=&quot;https://sourceforge.net/projects/npplusplus/&quot;&gt;NP++ On Sourceforge&lt;/a&gt;&lt;br /&gt;
&lt;br /&gt;
All of the code is now hosted on the sourceforge svn server so that is also browsable on there.</description>
    </item>
    <item rdf:about="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=67/">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-14T17:38:27+01:00</dc:date>
        <dc:source>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=67/</dc:source>
        <dc:creator>Matthew Jakeman</dc:creator>
        <title>Remove Quick Create From All Modules In Sugarcrm</title>
        <link>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=67/</link>
        <description>If you need to remove the Quick Create view from every module as I recently needed to it is quite simple to do. First of all create the following file:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;custom/include/MVC/View/views/view.sidequickcreate.php&lt;/code&gt;&lt;br /&gt;
Then all you need to do is copy the following code in:&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;class ViewSidequickcreate extends SugarView&lt;br /&gt;{&lt;br /&gt;    function display()&lt;br /&gt;    {&lt;br /&gt;        return '';&lt;br /&gt;    }&lt;br /&gt;}&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;
Go to the admin section and perform a &quot;Quick Repair and Rebuild&quot; and Quick Create should have disappeared from every module.</description>
    </item>
    <item rdf:about="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=66/">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-04T23:49:14+01:00</dc:date>
        <dc:source>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=66/</dc:source>
        <dc:creator>Matthew Jakeman</dc:creator>
        <title>Ubuntu 9.10 Sound Problems And Script Solution</title>
        <link>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=66/</link>
        <description>I have been having a problem recently with my desktop PC where the sound would work perfectly through the speakers but as soon as I plugged in my headphones the volume decided to gradually fade down over 10 seconds to nothing. After this I would get no sound at all.&lt;br /&gt;
&lt;br /&gt;
This hasn;t really been a big problem until very recently as I have decided to use my headphones a bit more to give my girlfriend a bit of peace and quiet. Obviously the problem needed fixing.&lt;br /&gt;
&lt;br /&gt;
After a bit of messing around I managed to totally disable my sound card by accident. After doing this I stumbled across &lt;a href=&quot;http://www.evolution-systems.co.uk/files/alsaconf&quot;&gt;this nice little script&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
This script did a brilliant job for me of detecting my sound card and configuring it perfectly in a matter of seconds with a little bit of user interaction from myself. I would highly recommend this script for anyone that is having sound issues.</description>
    </item>
    <item rdf:about="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=65/">
        <dc:format>text/html</dc:format>
        <dc:date>2010-01-02T22:02:05+01:00</dc:date>
        <dc:source>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=65/</dc:source>
        <dc:creator>Matthew Jakeman</dc:creator>
        <title>SugarCRM - Remove Mass Update From A Built In Module</title>
        <link>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=65/</link>
        <description>This quick post will show you how to remove the mass update field from a built in module in SugarCRM. This will also work for a module that has been deployed but it will not work properly for a module built using module builder. Well, it will work but as soon as you re-deploy the module the changes will be over-written.&lt;br /&gt;
&lt;br /&gt;
For the purpose of this we will use the Opportunities module and assume that it is this that we wish to remove the Mass Update panel from.&lt;br /&gt;
&lt;br /&gt;
The first thing to do is create the file 'view.list.php' in /custom/modules/Opportunities/views/  - If this path does not exist, simply create it and place the file in there.&lt;br /&gt;
&lt;br /&gt;
Once that is done add the following code to the file.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;&lt;?php&lt;br /&gt;if(!defined('sugarEntry') || !sugarEntry) die('Not A Valid Entry Point');&lt;br /&gt;&lt;br /&gt;require_once('include/MVC/View/views/view.list.php');&lt;br /&gt;&lt;br /&gt;class OpportunitiesViewList extends ViewList&lt;br /&gt;{&lt;br /&gt;  function listViewProcess()&lt;br /&gt;  {&lt;br /&gt;  $this-&gt;lv-&gt;showMassupdateFields = false;&lt;br /&gt;  parent::listViewProcess();&lt;br /&gt;  }&lt;br /&gt;}&lt;/code&gt;&lt;br /&gt;
This will remove the Mass update panel from the module. To adapt the above code for other modules simply change the name of the class from OpportunitiesViewList to &lt;Module Name&gt;ViewList and place it in the appropriate directory.</description>
    </item>
    <item rdf:about="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=64/">
        <dc:format>text/html</dc:format>
        <dc:date>2009-11-23T11:44:07+01:00</dc:date>
        <dc:source>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=64/</dc:source>
        <dc:creator>Matthew Jakeman</dc:creator>
        <title>Resizing Images With Mogrify</title>
        <link>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=64/</link>
        <description>I needed to resize a few images in a directory recently and knew there would be a much more convenient method than opening gimp on each image, resizing etc etc.&lt;br /&gt;
&lt;br /&gt;
A quick google search and I came across the 'mogrify' command. This is part of the ImageMagick suite. This is a nice simple command that allows you to resize images from the CLI.&lt;br /&gt;
&lt;br /&gt;
An example usage would be :&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;mogrify -resize 640x480 *.jpg&lt;/code&gt;&lt;br /&gt;
This would resize every .jpg image in the current directory to 640x480. I needed to resize them all to a fixed width and the following code achieves this.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;mogrify -resize 640 *.jpg&lt;/code&gt;&lt;br /&gt;
&lt;br /&gt;
This will definitely make my life a little easier in the future...</description>
    </item>
    <item rdf:about="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=63/">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-29T22:57:50+01:00</dc:date>
        <dc:source>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=63/</dc:source>
        <dc:creator>Matthew Jakeman</dc:creator>
        <title>Texmaker High CPU Usage And Slow Typing On Ubuntu 9.04</title>
        <link>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=63/</link>
        <description>I have been using Kile for a while for my LaTeX editing needs but after getting a new netbook (running Ubuntu 9.04 netbook remix), and not wanting to install the KDE libs I decided to switch back to texmaker.&lt;br /&gt;
&lt;br /&gt;
I installed it and loaded up a document to start doing a bit of work in it and the typing was extremely slow. I also noticed that the CPU usage shot up whenever I was typing. I tried the same on my desktop with the same results.&lt;br /&gt;
&lt;br /&gt;
I did a bit of searching and it appears this is a &lt;a href=&quot;https://bugs.launchpad.net/ubuntu/+source/texmaker/+bug/368092&quot;&gt;known bug&lt;/a&gt;.&lt;br /&gt;
&lt;br /&gt;
The only workaround I can find is to use the following command to run texmaker.&lt;br /&gt;
&lt;br /&gt;
&lt;code&gt;texmaker -graphicssystem raster&lt;/code&gt;&lt;br /&gt;
This seems to work but isn't ideal. I would quite like to know what actually causes this. Of course there is every possibility that this will be gone in 9.10. I will find out soon when I upgrade but the Ubuntu server traffic is ridiculous today with it being the release day so I think I'll leave it a while before I do any upgrades.</description>
    </item>
    <item rdf:about="http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=62/">
        <dc:format>text/html</dc:format>
        <dc:date>2009-10-27T15:37:43+01:00</dc:date>
        <dc:source>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=62/</dc:source>
        <dc:creator>Matthew Jakeman</dc:creator>
        <title>SugarCRM Field Access Control</title>
        <link>http://www.evolution-systems.co.uk/blogs/matt/view_post&amp;id=62/</link>
        <description>I have been playing around with SugarCRM CE recently as part of a project and one of the features we required was to be able to make some fields read only to certain users. This feature is available in the Professional version of SugarCRM but unfortunately not in the Community Edition.&lt;br /&gt;
&lt;br /&gt;
Fortunately I came across &lt;a href=&quot;http://www.sugarforge.org/projects/fieldacl/&quot;&gt;this SugarCRM module&lt;/a&gt; which did some of what I wanted. Unfortunately however, when a field is set to &quot;Read Only&quot; it disappears totally in the Edit View. Apparently this is a feature of the module but it definitely wasn't what I wanted. I wanted the fields to still appear in the Edit View but be read only.&lt;br /&gt;
&lt;br /&gt;
There were also a few other bits and pieces unfinished in the module such as the type of access that had been selected for a field showing up as the representing integer value in the overview rather than a human readable string.&lt;br /&gt;
&lt;br /&gt;
After quite a steep learning curve editing the templates and adding a logic hook I have managed to get the module doing more or less what I want. I have left the original type of Read Only as it was and added a new type &quot;Read Only In Edit View&quot; which does pretty much what it says on the tin. I have also changed the overview list of fields to display a string showing what type of access has been selected for a field.&lt;br /&gt;
&lt;br /&gt;
I am probably going to keep making tweaks to this module as there are still quite a few tweaks that could be made to make it a bit better I think.&lt;br /&gt;
&lt;br /&gt;
For now my modified version of the module can be &lt;a href=&quot;http://www.evolution-systems.co.uk/software/FieldLevelAccess-0.52.1236850112.zip&quot;&gt;downloaded here&lt;/a&gt; or &lt;a href=&quot;http://wiki.mjakeman.co.uk/index.php?title=Field_Level_Access_Control&quot;&gt;here&lt;/a&gt;.</description>
    </item>
</rdf:RDF>
