<?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>srcnix&#039;s obsessions</title>
	<atom:link href="http://www.srcnix.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.srcnix.com</link>
	<description></description>
	<lastBuildDate>Sun, 09 Jan 2011 18:30:37 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.2</generator>
		<item>
		<title>PCI Compliance: Disable SSLv2 and weak ciphers for Apache2 SSL</title>
		<link>http://www.srcnix.com/2011/01/09/pci-compliance-disable-sslv2-and-weak-ciphers-for-apache2-ss/</link>
		<comments>http://www.srcnix.com/2011/01/09/pci-compliance-disable-sslv2-and-weak-ciphers-for-apache2-ss/#comments</comments>
		<pubDate>Sun, 09 Jan 2011 18:30:37 +0000</pubDate>
		<dc:creator>srcnix</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Apache2]]></category>
		<category><![CDATA[Cipher]]></category>
		<category><![CDATA[PCI]]></category>
		<category><![CDATA[SSL]]></category>

		<guid isPermaLink="false">http://www.srcnix.com/?p=1015</guid>
		<description><![CDATA[If you have been advised to avoid weak SSL ciphers and disable SSLv2 let me inform you that it is actually a pretty simple task. Find below step by step instructions on clearing these two advisories for the PCI compliancy &#8230;]]></description>
			<content:encoded><![CDATA[<p>If you have been advised to avoid weak SSL ciphers and disable SSLv2 let me inform you that it is actually a pretty simple task. Find below step by step instructions on clearing these two advisories for the PCI compliancy checks.</p>
<p>First things first, let&#8217;s check to see if you have weak ciphers and SSL 2 enabled for connections. I&#8217;m showing you how to do this now as you will need to use it later to test your configuration changes.</p>
<p><strong><br />
Checking if your server supports weak ciphers<br />
</strong>To check if your server support weak cipher connections attempt to connect to it with the following command. You can run this command from the server in which you&#8217;re locking down.</p>
<blockquote><p>openssl s_client -connect HOST_NAME:443 -cipher LOW:EXP</p></blockquote>
<p>If weak ciphers are enabled you will receive a connection message with your connection waiting for input.</p>
<blockquote><p>CONNECTED(00000003)</p></blockquote>
<p>If weak ciphers are disabled, you will receive an error message similar to the following.</p>
<blockquote><p>CONNECTED(00000003)2290:error:140770FC:SSL routines:SSL23_GET_SERVER_HELLO:unknown protocol:s23_clnt.c:583:</p></blockquote>
<p><strong><br />
Checking if your server supports SSL2 connections<br />
</strong>Run the following command to check if SSL2 connections are accepted:</p>
<blockquote><p>openssl s_client -ssl2 -connect HOST_NAME:443</p></blockquote>
<p>If enabled, you will receive similar output to the following and your connection will be accepting input.</p>
<blockquote><p>CONNECTED(00000003)</p></blockquote>
<p>If not enabled your output will contain an error message similar to the following.</p>
<blockquote><p>CONNECTED(00000003)<br />
2420:error:1407F0E5:SSL routines:SSL2_WRITE:ssl handshake failure:s2_pkt.c:428:</p></blockquote>
<p><strong><br />
Disabling both weak ciphers and SSL2 connections<br />
</strong>To disable both of these options for Apache&#8217;s SSL connections open the SSL configuration file as root.</p>
<blockquote><p>sudo vi /etc/apache2/mods-enabled/ssl.conf</p></blockquote>
<p>You will need to either uncomment or add the following two lines</p>
<blockquote><p>SSLCipherSuite HIGH:MEDIUM:!ADH<br />
SSLProtocol all -SSLv2</p></blockquote>
<p>Once done, save. You now need to restart the Apache service.</p>
<blockquote><p>sudo /etc/init.d/apache2 restart</p></blockquote>
<p>Now go back and run the weak cipher and SSL2 connection tests. If you get connection failed errors the job is done.</p>
<p>That&#8217;s it, all done.</p>
<div class="shr-publisher-1015"></div>]]></content:encoded>
			<wfw:commentRss>http://www.srcnix.com/2011/01/09/pci-compliance-disable-sslv2-and-weak-ciphers-for-apache2-ss/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>PCI compliance &#8211; An overview</title>
		<link>http://www.srcnix.com/2011/01/07/pci-compliance-an-overview/</link>
		<comments>http://www.srcnix.com/2011/01/07/pci-compliance-an-overview/#comments</comments>
		<pubDate>Fri, 07 Jan 2011 18:30:56 +0000</pubDate>
		<dc:creator>srcnix</dc:creator>
				<category><![CDATA[Interesting]]></category>
		<category><![CDATA[PCI]]></category>
		<category><![CDATA[Security]]></category>

		<guid isPermaLink="false">http://www.srcnix.com/?p=1010</guid>
		<description><![CDATA[Recently I have needed to secure and lock down a server to be PCI compliant. While I previously had an overview of what PCI is I didn&#8217;t fully understand the underlying fundamentals. Being rather obsessive and interested I decided to &#8230;]]></description>
			<content:encoded><![CDATA[<p>Recently I have needed to secure and lock down a server to be PCI compliant. While I previously had an overview of what PCI is I didn&#8217;t fully understand the underlying fundamentals.</p>
<p>Being rather obsessive and interested I decided to dig into the world of PCI and what I managed to dig up in a small amount of time is worth sharing, despite several thousand websites detailing the same thing. Think of this post as an overview of PCI compliance for those that just want an understand.<span id="more-1010"></span></p>
<p><strong><br />
What is PCI and why does it exist?<br />
</strong>PCI is short for Payment Card Industry and was launched on the 7th of September, 2006, and is managed by PCI SSC (Payment Card Industry Security Standards Council). PCI SSC was formed by the majority of major credit card brands such as Visa, MasterCard and American Express.</p>
<p>PCI SSC put a series of standards in place to ensure that all companies that process, store and/or transmit credit card information maintain a secure environment for the processing and storage of this data. These standards are known as Payment Card Industry Data Security Standard, or PCI DSS for those that don&#8217;t want to trip over their words.</p>
<p>It&#8217;s important to understand that these standards have been put in place to provide secure trading for everyone.</p>
<p><strong><br />
Do you need to be PCI compliant?<br />
</strong>Knowing whether you need to be PCI compliant is simple: If you take payments directly from a client/customer using a credit or debit card then you need to be PCI compliant. While I am concentrating on the online environment this also applies to over the telephone and in person.</p>
<p><strong><br />
When do you need to become compliant?<br />
</strong>The short and sweet answer is now, however, contact your merchant bank directly and inform them of your processing of credit card data and they will inform you of their process and deadlines.</p>
<p>Each merchant bank quite possibly has their own deadlines but based on what I have read and experienced they are fully aware it will not happen over night and understand becoming compliant could take weeks, sometimes even months.</p>
<p><strong><br />
How do you become PCI compliant?<br />
</strong>The first step is to find out what level of merchant you are. You can find this out from your merchant bank or service provider. Different standards apply to different levels.</p>
<p>Once you know what level of merchant you are your validation level will need to be assessed. You will then need to resolve the majority of problems identified to you. Don&#8217;t let this daunt you, it&#8217;s not too difficult to become compliant. I will say this though, it&#8217;s far better to become compliant as soon as you become aware of PCI, the larger you get the more troublesome it may become.</p>
<p><strong><br />
What happens if you&#8217;re not complaint?<br />
</strong>Yes, oh yes you can. Put simply, merchant banks can be fined an extortionate amount of money (Anywhere between $5,000.00 &#8211; $100,000.00 per month) for violations. The banks, as you have probably figured out yourself would likely pass the entire fee down to the merchant themselves. Yes, that could be you.</p>
<p><strong><br />
More information<br />
</strong>You can find more information about PCI at the <a title="The official PCI SSC website" href="https://www.pcisecuritystandards.org/" target="_blank">official PCI SSC website</a>.</p>
<p><strong><br />
Conclusion<br />
</strong>PCI SSC have enforced a set of standards that ensures security for peoples credit and debit card data. While it does take time to become PCI compliant your merchant bank will do the best they can to help you and there are plenty of companies out their that specialise in helping your business become compliant and stick to the standards.</p>
<p>Following this post I will provide some helpful posts on some of the requirements that I have seen fail on compliancy tests that are not too obvious as to what you need to do.</p>
<div class="shr-publisher-1010"></div>]]></content:encoded>
			<wfw:commentRss>http://www.srcnix.com/2011/01/07/pci-compliance-an-overview/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Happy new years</title>
		<link>http://www.srcnix.com/2011/01/01/happy-new-years/</link>
		<comments>http://www.srcnix.com/2011/01/01/happy-new-years/#comments</comments>
		<pubDate>Sat, 01 Jan 2011 10:33:51 +0000</pubDate>
		<dc:creator>srcnix</dc:creator>
				<category><![CDATA[My world]]></category>
		<category><![CDATA[History]]></category>
		<category><![CDATA[Time]]></category>

		<guid isPermaLink="false">http://www.srcnix.com/?p=1004</guid>
		<description><![CDATA[With 2011 comes a new year and a new start for any life absences and obscurities that has stricken us in 2010. Life is to be taken seriously but live it day by day, year by year, one step at a time. This year &#8230;]]></description>
			<content:encoded><![CDATA[<p>With 2011 comes a new year and a new start for any life absences and obscurities that has stricken us in 2010. Life is to be taken seriously but live it day by day, year by year, one step at a time.</p>
<p>This year will mark something extremely significant for myself and my family. With looking for a new house for my wife and I as well as CarPro taking off (and v2.0 coming end of Q1) things are looking brighter at the end of the time tunnel. A fresh new start marks the era of success, or the beginnings, which ever comes first.</p>
<p>Happy new years to you all and I hope it brings you everything you would like.</p>
<div class="shr-publisher-1004"></div>]]></content:encoded>
			<wfw:commentRss>http://www.srcnix.com/2011/01/01/happy-new-years/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>A follow up to getting your iPhone app expedited by the Apple review team</title>
		<link>http://www.srcnix.com/2010/12/02/a-follow-up-to-getting-your-iphone-app-expedited-by-the-apple-review-team/</link>
		<comments>http://www.srcnix.com/2010/12/02/a-follow-up-to-getting-your-iphone-app-expedited-by-the-apple-review-team/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 18:30:39 +0000</pubDate>
		<dc:creator>srcnix</dc:creator>
				<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[IPhone]]></category>
		<category><![CDATA[Review]]></category>

		<guid isPermaLink="false">http://www.srcnix.com/?p=994</guid>
		<description><![CDATA[A couple of weeks ago I wrote a post about theories on getting your iPhone app review expedited by contacting the Apple review team. Early last week I decided to try my first idea which was putting the app name &#8230;]]></description>
			<content:encoded><![CDATA[<p>A couple of weeks ago I wrote a <a title="Thoughts on how to expedite your iPhone application review" href="ttp://www.srcnix.com/2010/11/20/thoughts-on-how-to-expedite-your-iphone-application-review/" target="_blank">post</a> about theories on getting your iPhone app review expedited by contacting the Apple review team.</p>
<p>Early last week I decided to try my first idea which was putting the app name in the minds of the reviewers by simply asking how long it would take to review &#8220;App name&#8221;. While the review team were exceptionally helpful, putting the app into their minds was not enough to get the app expedited into review.</p>
<p>Sadly, the app I submitted was actually rejected at the end of last week, thankfully the reason was a simple fix and a minor mistake which I wouldn&#8217;t have known about unless noticed by the reviewers themselves. Having said that, I see the rejection as a blessing in disguise as it has allowed me to re-submit the app with a stronger appearance and additional, fundamental features.</p>
<p>I have written press-releases that I have had to put on hold for a large number of blogs, magazines and newspapers. Because of this I thought I&#8217;d be direct with Apple and request for my app to be expedited.</p>
<p>Here is my email:<span id="more-994"></span></p>
<blockquote><p>Hi guys and girls,</p>
<p>Thanks for the details you provided me when rejecting [App name], it was extremely useful and I have now fixed the issue.</p>
<p>I was wondering if I could be cheeky and request that [App name] be reviewed again ASAP. Ideally I was looking at releasing the app by the end of the month (Today at the lastest) but that&#8217;s now out of the question, however the sooner the better as I have quite a few press releases that are now on hold for the release.</p>
<p>I understand I may be pushing my luck here and I&#8217;m certain you get requests like this all the time, however, I&#8217;m happy to give you a good review on http://www.srcnix.com as it seems you guys don&#8217;t get enough praise on the Internet for your hard grafting.</p>
<p>Thank for your time and hard work guys and girls!</p>
<p>Regards,</p>
<p>Steve Clarke</p></blockquote>
<p>The way I see it is the reviewers at Apple are doing their job and likely get emails day in, day out, requesting for apps to be expedited. Because of this I put it plain and simple in my email that it&#8217;s simply a request and that they would be doing me a huge favour. In return I would give them good credit on my blog, which I&#8217;m certain they must have heard numerous times before.</p>
<p>To my surprise I actually got a response from one of the reviewers:</p>
<blockquote><p>Dear Steve,</p>
<p>Thank you for contacting the iPhone Developer Program regarding the review of [App name].  We have made a one-time exception and will proceed with an expedited review of [App name].</p>
<p>We understand that in rare cases, situations arise which require an exceptional response.  We want to remind you that expedited reviews are provided on a limited basis, otherwise the process itself becomes ineffective and we may not be able to accommodate additional requests in the future.</p>
<p>Best Regards,</p>
<p>[Reviewer]<br />
iOS Developer Program</p></blockquote>
<p>As you will have noticed, the reviewer is expediting my app for me due to the circumstances. This is an extremely thoughtful and appreciated gesture that will not be forgotten and as my response to them stated, I&#8217;m not here to aggravate them or push my luck because at the end of the day they have thousands of developers to cater for.</p>
<p>I&#8217;ve said before and I&#8217;m going to say it again: what you don&#8217;t ask for you will not get. Just keep in mind that having a suitable reason behind needing your application expedited is required and on rare occasions they will do the best they can. Being cheeky to those that hold the power of reviewing your app is far from the smartest thing to do and you should treat them with the respect you want in return.</p>
<p>So here&#8217;s to the app review team, thank you very much and keep up the good work!</p>
<div class="shr-publisher-994"></div>]]></content:encoded>
			<wfw:commentRss>http://www.srcnix.com/2010/12/02/a-follow-up-to-getting-your-iphone-app-expedited-by-the-apple-review-team/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>How to find the fattest directories with du (Disk Usage)</title>
		<link>http://www.srcnix.com/2010/11/30/how-to-find-the-fattest-directories-with-du-disk-usage/</link>
		<comments>http://www.srcnix.com/2010/11/30/how-to-find-the-fattest-directories-with-du-disk-usage/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 18:30:59 +0000</pubDate>
		<dc:creator>srcnix</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Disk Usage]]></category>
		<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://www.srcnix.com/?p=990</guid>
		<description><![CDATA[If you happen to be running out of space on your *nix platform or would like to see which directories are consuming the most disk space you can use the disk usage utility. Most Linux distros come with du, disk &#8230;]]></description>
			<content:encoded><![CDATA[<p>If you happen to be running out of space on your *nix platform or would like to see which directories are consuming the most disk space you can use the disk usage utility. Most Linux distros come with du, disk usage, which happens to be an extremely useful command for finding the fattest directories on your file system.</p>
<p><strong><br />
It&#8217;s time to find the culprit directories taking up all your space<br />
</strong>Using du is simple, change to a directory and run du to return a list of all directories, their child directories and their weight (size).<span id="more-990"></span></p>
<blockquote><p>du .</p></blockquote>
<p>By default du scans directories recursively so if you have a large amount of directories this could be running for a while. If this is the case then round about now you will want to hit CTRL+C to cancel the command,</p>
<p>First thing you may have noticed is the size of directories are in kilobytes. To output the size of the directories in a human readable format use the -h argument.</p>
<blockquote><p>du -h</p></blockquote>
<p>You can also limit the depth du outputs. You can do this using the &#8211;max-depth argument with a value of the max depth you&#8217;d like to review. Disk usage will still output the total disk usage for all child directories but only output the max depth you have specified.</p>
<blockquote><p>du -h &#8211;max-depth=1</p></blockquote>
<p>I tend to specify 1 as my max-depth value, however to dig deeper you can of course use a higher value. How you continue from here is down to you.</p>
<div class="shr-publisher-990"></div>]]></content:encoded>
			<wfw:commentRss>http://www.srcnix.com/2010/11/30/how-to-find-the-fattest-directories-with-du-disk-usage/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Howto set date and time from the CLI and keep your time synced with ntpdate</title>
		<link>http://www.srcnix.com/2010/11/23/howto-set-date-and-time-from-the-cli-and-keep-your-time-synced-with-ntpdate/</link>
		<comments>http://www.srcnix.com/2010/11/23/howto-set-date-and-time-from-the-cli-and-keep-your-time-synced-with-ntpdate/#comments</comments>
		<pubDate>Tue, 23 Nov 2010 19:00:10 +0000</pubDate>
		<dc:creator>srcnix</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Command line]]></category>
		<category><![CDATA[Date]]></category>
		<category><![CDATA[Howto]]></category>
		<category><![CDATA[ntpdate]]></category>
		<category><![CDATA[Ubuntu]]></category>

		<guid isPermaLink="false">http://www.srcnix.com/?p=979</guid>
		<description><![CDATA[Being a systems administrator, at some point in your life you&#8217;re more than likely going to need to update the date and time on your linux box. If you only have command line access to a linux server you will &#8230;]]></description>
			<content:encoded><![CDATA[<p>Being a systems administrator, at some point in your life you&#8217;re more than likely going to need to update the date and time on your linux box. If you only have command line access to a linux server you will need to do this via the command line, thankfully it&#8217;s a real easy task.</p>
<p><strong><br />
The date command<br />
</strong>First things first, the command you will need is date. Date not only outputs the current date and time of the box but also allows you to set them too.</p>
<blockquote><p>date<br />
Mon 20 Nov 2010 11:10:38 GMT<span id="more-979"></span></p></blockquote>
<p><strong><br />
Setting the date<br />
</strong>To set a new date and time on the command line you can use the -s parameter.</p>
<p>date -s &#8220;YYYY-MM-DD H:I:S&#8221;<br />
YYYY: Year represent with four digits<br />
MM: Month represented with two digits (01 &#8211; 12)<br />
DD: Day represented with two digits (01 &#8211; 31)<br />
H: Hour of the day represented with two digis (00 &#8211; 23)<br />
I: Minutes represented with two digits (00 &#8211; 59)<br />
S: Seconds represented with two digits (00 &#8211; 59)</p>
<p>If the current date is 20th of November 2010 at 11:20 the following would set the date as required:</p>
<blockquote><p>date -s &#8220;2010-11-20 11:20:00&#8243;</p></blockquote>
<p><strong><br />
Setting the date with string literals<br />
</strong>You can also set the date using string literals instead of digits for the month. For example:</p>
<blockquote><p>date -s &#8220;20 Nov 2010 11:20:00&#8243;</p></blockquote>
<p><strong><br />
Keeping your date/time synced with ntpdate<br />
</strong>If your date/time is regularly becoming unsynced it&#8217;s a good idea to setup a cron to automatically sync with specific servers. In the following example I explain how to setup automatic date/time syncing with ntpdate on Ubuntu. Other distros may require entering the full path to ntpdate which can vary from distro to distro.</p>
<p>First, install ntpdate if it&#8217;s not already installed:</p>
<blockquote><p>sudo apt-get install ntpdate</p></blockquote>
<p>Once installed, test it works by syncing with the ntp pool server(s):</p>
<blockquote><p>sudo ntpdate pool.ntp.org<br />
<span style="font-style: normal;">20 Nov 11:29:45 ntpdate[25933]: adjust time server 129.70.132.33 offset 0.000142 sec</span></p></blockquote>
<p>You can then setup a cron to update your date/time every 12 hours. To do this add the following line to your root cron</p>
<blockquote><p>0 0,12  *  *  * ntpdate pool.ntp.org</p></blockquote>
<p>You can do this by running crontab edit as root</p>
<blockquote><p>sudo crontab -e</p></blockquote>
<p><strong><br />
Importance of keeping your date/time synced correctly<br />
</strong>In the server world it&#8217;s extremely important that you keep a servers time in sync with the current time. Issues arise when your date/time is out of sync, for example having an auction site and the date/time out of sync can result in incorrect displaying of remaining times on said auction.</p>
<p>Or, as another example, if there is a a website on the server pulling feeds from, for example, Twitter and timestamps do not match there is a good chance the API server will drop your requests for data.</p>
<div class="shr-publisher-979"></div>]]></content:encoded>
			<wfw:commentRss>http://www.srcnix.com/2010/11/23/howto-set-date-and-time-from-the-cli-and-keep-your-time-synced-with-ntpdate/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Testing: Users lacking knowledge are the greatest users of them all</title>
		<link>http://www.srcnix.com/2010/11/22/testing-users-lacking-knowledge-are-the-greatest-users-of-them-all/</link>
		<comments>http://www.srcnix.com/2010/11/22/testing-users-lacking-knowledge-are-the-greatest-users-of-them-all/#comments</comments>
		<pubDate>Mon, 22 Nov 2010 18:45:48 +0000</pubDate>
		<dc:creator>srcnix</dc:creator>
				<category><![CDATA[Development]]></category>
		<category><![CDATA[Testing]]></category>
		<category><![CDATA[Usability]]></category>

		<guid isPermaLink="false">http://www.srcnix.com/?p=982</guid>
		<description><![CDATA[Before submitting an app to Apple I decided to hand it over to my wife. Now my wife isn&#8217;t a programmer but is an avid web user, but, putting the app in her hands for 10 minutes identified some seriously &#8230;]]></description>
			<content:encoded><![CDATA[<p><a rel="attachment wp-att-985" href="http://www.srcnix.com/2010/11/22/testing-users-lacking-knowledge-are-the-greatest-users-of-them-all/testing/"><img class="aligncenter size-full wp-image-985" title="Testing" src="http://www.srcnix.com/wp-content/uploads/2010/11/Testing.jpg" alt="" width="576" height="165" /></a>Before submitting an app to Apple I decided to hand it over to my wife. Now my wife isn&#8217;t a programmer but is an avid web user, but, putting the app in her hands for 10 minutes identified some seriously crucial, but lacking usability features.</p>
<p>Programmers write code and they write this code day in, day out. They know how the app should work and test based on how the app should be used. I used to do this myself and the majority of programmers I know do the same thing. I&#8217;m afraid this is wrong and programmers need to learn to step out of the box.</p>
<p>Programmers have something they need to learn and that&#8217;s usability testing. While I&#8217;m certain others may disagree, us programmers have a thing or two to learn from the average joe on the street, whether directly or indirectly.<span id="more-982"></span></p>
<p>The more a programmer writes the more the programmer becomes too familiar with the application (Whether system or web based). This familiarity can shadow your judgment and testing. While your testing may be valid, the system needs to be tested by someone who doesn&#8217;t know how it is supposed to work, but rather how they would expect it to work.</p>
<p>How a user expects an application to work is extremely important and is something the average programmer lacks knowledge off. Of course, by having others test your app you can adopt how they test in future releases and builds.</p>
<p>So, next time you are testing something, give your partner or friend a brief overview and ask them to have a play. Their thoughts may well do wonders for the usability of your app and they&#8217;re likely to notice things you have not. A fresh pair of eyes is a lending hand.</p>
<div class="shr-publisher-982"></div>]]></content:encoded>
			<wfw:commentRss>http://www.srcnix.com/2010/11/22/testing-users-lacking-knowledge-are-the-greatest-users-of-them-all/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Thoughts on how to expedite your iPhone application review</title>
		<link>http://www.srcnix.com/2010/11/20/thoughts-on-how-to-expedite-your-iphone-application-review/</link>
		<comments>http://www.srcnix.com/2010/11/20/thoughts-on-how-to-expedite-your-iphone-application-review/#comments</comments>
		<pubDate>Sat, 20 Nov 2010 10:45:30 +0000</pubDate>
		<dc:creator>srcnix</dc:creator>
				<category><![CDATA[iPhone Development]]></category>
		<category><![CDATA[Apple]]></category>
		<category><![CDATA[IPhone]]></category>
		<category><![CDATA[Review]]></category>

		<guid isPermaLink="false">http://www.srcnix.com/?p=969</guid>
		<description><![CDATA[Browsing the web trying to find a decent explanation to Apples review process I came across a discussion about app review times. Reading the discussion I came across an email address that made me think about how you could possibly expedite &#8230;]]></description>
			<content:encoded><![CDATA[<p>Browsing the web trying to find a decent explanation to Apples review process I came across a <a title="Game Salad - Waiting for app review" href="ttp://gamesalad.com/forums/topic.php?id=7041">discussion</a> about app review times. Reading the discussion I came across an email address that made me think about how you could possibly expedite the review process.</p>
<p>Keep in mind these are just theories, and may not work. However, what you don&#8217;t ask for, you wont get.</p>
<p>While the last thing you want to do is irritate employees at Apple I cannot see any harm in sending a question asking for estimations on when your app will be reviewed. Putting an app in the mind of a reviewer may well entice them to review it sooner than later to see what the fuss is about. Also, sometimes people do good deeds, today may be the day someone does a good deed for you.<span id="more-969"></span></p>
<p>If you happen to request that your app be expedited by the person that reads the email make sure you consider the following when writing it:</p>
<p>There is being cheeky and there is being damn right out of order. The last thing you want to do is annoy the person reading your email. If you can give them crap they sure as hell can give it back. Don&#8217;t give them a reason to review your app quickly just to reject it out of spite.</p>
<p>Sometimes acting naive is more beneficial than one may think. However, you can only get away with this a few times before the reader smells something fishy.</p>
<p>Sometimes just putting the app in the mind of the receiver will help push the app further down the line, however, you may want to try actually asking the receiver to do this for you. If you do this make sure you give some reasons as to why you&#8217;d like the app pushed through, for example, if the app is related to Christmas you would obviously want it reviewed and (hopefully) accepted before Christmas otherwise the app is of little use. This would act as a smart and valid excuse as to why you want the app reviewed sooner.</p>
<p>Having said all that I have, you can contact the app reviewers here: <a href="mailto:appreview@apple.com">appreview@apple.com</a></p>
<p>One last time, in case you didn&#8217;t quite grasp it: what you don&#8217;t ask for, you wont get, so ask as you have nothing to lose.</p>
<div class="shr-publisher-969"></div>]]></content:encoded>
			<wfw:commentRss>http://www.srcnix.com/2010/11/20/thoughts-on-how-to-expedite-your-iphone-application-review/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>symfony swift mailer localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4</title>
		<link>http://www.srcnix.com/2010/11/19/symfony-swift-mailer-localhost-127-0-0-1-did-not-issue-mailexpnvrfyetrn-during-connection-to-mta-v4/</link>
		<comments>http://www.srcnix.com/2010/11/19/symfony-swift-mailer-localhost-127-0-0-1-did-not-issue-mailexpnvrfyetrn-during-connection-to-mta-v4/#comments</comments>
		<pubDate>Fri, 19 Nov 2010 18:45:08 +0000</pubDate>
		<dc:creator>srcnix</dc:creator>
				<category><![CDATA[PHP]]></category>
		<category><![CDATA[Symfony]]></category>
		<category><![CDATA[Tips]]></category>

		<guid isPermaLink="false">http://www.srcnix.com/?p=959</guid>
		<description><![CDATA[A weird problem was put in front of me today. Every symfony site using swift mailer, bar one, on the same server were sending email correctly. Tailing the mail logs the following error was returned: Server xm-mta[19908]: oAJA1IcU019908: localhost [127.0.0.1] &#8230;]]></description>
			<content:encoded><![CDATA[<p>A weird problem was put in front of me today. Every symfony site using swift mailer, bar one, on the same server were sending email correctly. Tailing the mail logs the following error was returned:</p>
<blockquote><p>Server xm-mta[19908]: oAJA1IcU019908: localhost [127.0.0.1] did not issue MAIL/EXPN/VRFY/ETRN during connection to MTA-v4</p></blockquote>
<p>Being that all other sites using swift mailer were sending fine the obvious reasoning behind this problem was configuration. Low and behold, the factories.yml configuration for the swift mailer delivery strategy was set as none.<span id="more-959"></span></p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">dev<span style="color: #339933;">:</span>
  mailer<span style="color: #339933;">:</span>
    param<span style="color: #339933;">:</span>
      delivery_strategy<span style="color: #339933;">:</span> none</pre></div></div>

<p>Swift mailer will not actually send out the email if the delivery strategy is set to &#8216;none&#8217;. To resolve this issue simply change &#8216;none&#8217; to &#8216;realtime&#8217;.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;">dev<span style="color: #339933;">:</span>
  mailer<span style="color: #339933;">:</span>
    param<span style="color: #339933;">:</span>
      delivery_strategy<span style="color: #339933;">:</span> realtime</pre></div></div>

<p>Don&#8217;t forget to ./symfony cc if you&#8217;re working in production.</p>
<div class="shr-publisher-959"></div>]]></content:encoded>
			<wfw:commentRss>http://www.srcnix.com/2010/11/19/symfony-swift-mailer-localhost-127-0-0-1-did-not-issue-mailexpnvrfyetrn-during-connection-to-mta-v4/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>A lesson in bash history</title>
		<link>http://www.srcnix.com/2010/11/18/a-lesson-in-bash-history/</link>
		<comments>http://www.srcnix.com/2010/11/18/a-lesson-in-bash-history/#comments</comments>
		<pubDate>Thu, 18 Nov 2010 18:00:23 +0000</pubDate>
		<dc:creator>srcnix</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Bash]]></category>
		<category><![CDATA[Howto]]></category>

		<guid isPermaLink="false">http://www.srcnix.com/?p=939</guid>
		<description><![CDATA[Have you ever wondered how it is that you can skip back and forwards throughout your history of commands on bash? Well it&#8217;s pretty simple, bash keeps a log of all commands you enter in a file called bash_history in &#8230;]]></description>
			<content:encoded><![CDATA[<p>Have you ever wondered how it is that you can skip back and forwards throughout your history of commands on bash? Well it&#8217;s pretty simple, bash keeps a log of all commands you enter in a file called bash_history in the root of your home directory.</p>
<p>This file is very simple and consists of a list of all previously entered commands, however, before writing to the history file bash stores your history of commands in a buffer and upon logging out of your shell writes that buffer to ~/.bash_history. This is worth noting if you plan on modifying the history, in order to modify the latest commands entered into the bash history you will need to log out and then back in again to see updates to the file.<span id="more-939"></span></p>
<p><strong><span style="font-weight: normal;"><br />
</span> Viewing your history<br />
</strong>There is no need to directly read the contents of ~/.bash_history, you can simply run the history command which output your entire history. If you, for example, only need the last 10 commands stored in your history you can tail the output.</p>
<blockquote><p>history | tail</p></blockquote>
<p><strong><br />
Filter for a specific command<br />
</strong>You can filter for a specific command you previously entered using grep, like so:</p>
<blockquote><p>history | grep -i &#8216;command&#8217;</p></blockquote>
<p><strong><br />
Run the last command<br />
</strong>You can run the last specific command you entered by prepending the beginning of the command with an exclamation mark. For example, if earlier that day you ran a command to look at your history, grepping for any commands relating to MySQL, such as:</p>
<blockquote><p>history | grep -i &#8216;mysql -u root&#8217;</p></blockquote>
<p>You can rerun that history command by simply running:</p>
<blockquote><p>!hist</p></blockquote>
<p>Or, if you know the buffer point of a command you entered you can specify that number after the exclamation mark. For example, here&#8217;s the last three commands in my history:</p>
<blockquote><p>501  clear<br />
502  less ~/.bash_history<br />
503  history | grep -i &#8216;mysql&#8217;</p></blockquote>
<p>If I wanted to re-run item 503 I could simply use:</p>
<blockquote><p>!503</p></blockquote>
<p>Of course you could simply use reverse-i-search but knowing the ins and out of history can save you time.</p>
<p><strong><br />
Be smart, be safe<br />
</strong>If you know other users will be logging on as the same user make sure you clear the history log of all commands you do not wish them to see. For example, connecting to MySQL and specifying a password in the command will be stored in your history, make sure you clear this command in the history or enter the command without a password and only enter when prompted.</p>
<p>You can edit ~/bash_history with your favourite editor.</p>
<div class="shr-publisher-939"></div>]]></content:encoded>
			<wfw:commentRss>http://www.srcnix.com/2010/11/18/a-lesson-in-bash-history/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
	</channel>
</rss>

