<?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>Christopher Joice</title>
	<atom:link href="http://chrisjoice.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://chrisjoice.co.uk</link>
	<description>The website of the above</description>
	<lastBuildDate>Sun, 18 Sep 2011 21:20:20 +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>Pure CSS Segmented Buttons</title>
		<link>http://chrisjoice.co.uk/2011/09/pure-css-segmented-buttons/</link>
		<comments>http://chrisjoice.co.uk/2011/09/pure-css-segmented-buttons/#comments</comments>
		<pubDate>Sun, 18 Sep 2011 21:18:00 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://christopher.c25.eu/?p=150</guid>
		<description><![CDATA[So, I was playing around with some CSS the other day, and was challenged to make some buttons &#8220;look like a mac&#8221;, specifically, the segmented ones shown on Wikimedia (I don&#8217;t have a mac!) What I managed to get working are some buttons, which are actually radio buttons, so standard HTML form elements, which look [...]]]></description>
			<content:encoded><![CDATA[So, I was playing around with some CSS the other day, and was challenged to make some buttons &#8220;look like a mac&#8221;, specifically, the segmented ones <a href="https://secure.wikimedia.org/wikipedia/en/wiki/File:AquaControlsIB.png" target="_blank">shown on Wikimedia</a> (I don&#8217;t have a mac!)
What I managed to get working are some buttons, which are actually radio buttons, so standard HTML form elements, which look like this:
<span id="more-150"></span>
<br/>
<code>
<form><input id="male" type="radio" name="sex" value="male" checked="checked" /><label class="leftend" for="male">Male</label><input id="female" type="radio" name="sex" value="female" /><label for="female">Female</label><input id="ostrich" type="radio" name="sex" value="ostrich" /><label class="rightend" for="ostrich">Ostrich</label></form>
</code>

<br/>
It should work on Firefox, Chromium, and other css3 browsers.

The HTML is pretty simple, and nothing special. Notice the labels attached to the input elements. The edge labels have a class defined to allow rounded corners.

<div class="bwp-syntax-block clearfix">
<div class="bwp-syntax-toolbar"><div class="bwp-syntax-control"><a href="javascript:;" class="bwp-syntax-source-switch" title="View Source Code"></a></div></div>
<div class="bwp-syntax-wrapper clearfix bwp-syntax-simple"><table class="html4strict"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
2
3
4
5
6
7
</pre></td><td class="de1"><pre class="de1"><span class="sc2">&lt;<span class="kw2">form</span>&gt;</span>
<span class="sc2">&lt;<span class="kw2">input</span> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;male&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;radio&quot;</span> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;sex&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;male&quot;</span> <span class="kw3">checked</span><span class="sy0">=</span><span class="st0">&quot;checked&quot;</span> <span class="sy0">/</span>&gt;</span>
&nbsp; &nbsp; <span class="sc2">&lt;<span class="kw2">label</span> <span class="kw3">for</span><span class="sy0">=</span><span class="st0">&quot;male&quot;</span>&gt;</span>Male<span class="sc2">&lt;<span class="sy0">/</span><span class="kw2">label</span>&gt;</span>
<span class="sc2">&lt;<span class="kw2">input</span> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;female&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;radio&quot;</span> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;sex&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;female&quot;</span> <span class="sy0">/</span>&gt;</span>
&nbsp; &nbsp; <span class="sc2">&lt;<span class="kw2">label</span> <span class="kw3">for</span><span class="sy0">=</span><span class="st0">&quot;female&quot;</span>&gt;</span>Female<span class="sc2">&lt;<span class="sy0">/</span><span class="kw2">label</span>&gt;</span>
<span class="sc2">&lt;<span class="kw2">input</span> <span class="kw3">id</span><span class="sy0">=</span><span class="st0">&quot;ostrich&quot;</span> <span class="kw3">type</span><span class="sy0">=</span><span class="st0">&quot;radio&quot;</span> <span class="kw3">name</span><span class="sy0">=</span><span class="st0">&quot;sex&quot;</span> <span class="kw3">value</span><span class="sy0">=</span><span class="st0">&quot;ostrich&quot;</span> <span class="sy0">/</span>&gt;</span>
&nbsp; &nbsp; <span class="sc2">&lt;<span class="kw2">label</span> <span class="kw3">for</span><span class="sy0">=</span><span class="st0">&quot;ostrich&quot;</span>&gt;</span>Ostrich<span class="sc2">&lt;<span class="sy0">/</span><span class="kw2">label</span>&gt;&lt;<span class="sy0">/</span><span class="kw2">form</span>&gt;</span></pre></td></tr></tbody></table></div>
<div class="bwp-syntax-source"><pre class="no-parse">&lt;form&gt;
&lt;input id="male" type="radio" name="sex" value="male" checked="checked" /&gt;
	&lt;label for="male"&gt;Male&lt;/label&gt;
&lt;input id="female" type="radio" name="sex" value="female" /&gt;
	&lt;label for="female"&gt;Female&lt;/label&gt;
&lt;input id="ostrich" type="radio" name="sex" value="ostrich" /&gt;
	&lt;label for="ostrich"&gt;Ostrich&lt;/label&gt;&lt;/form&gt;</pre></div></div>


The CSS is a little more complex&#8230;


<div class="bwp-syntax-block clearfix">
<div class="bwp-syntax-toolbar" style="right: 15px;" ><div class="bwp-syntax-control"><a href="javascript:;" class="bwp-syntax-source-switch" title="View Source Code"></a></div></div>
<div class="bwp-syntax-wrapper clearfix bwp-syntax-simple"style=" height: 252px;"><table class="css"><tbody><tr class="li1"><td class="ln"><pre class="de1">1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
</pre></td><td class="de1"><pre class="de1"><span class="coMULTI">/* Hide the Radio button itself */</span>
input<span class="br0">&#91;</span>type<span class="sy0">=</span><span class="st0">&quot;radio&quot;</span><span class="br0">&#93;</span> <span class="br0">&#123;</span>
<span class="kw1">display</span><span class="sy0">:</span>&nbsp; &nbsp; <span class="kw2">none</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
&nbsp;
label <span class="br0">&#123;</span>
&nbsp; &nbsp; <span class="kw1">font-family</span><span class="sy0">:</span> <span class="st0">'Bentham'</span><span class="sy0">,</span> arial<span class="sy0">,</span> <span class="kw2">serif</span><span class="sy0">;</span>
&nbsp; &nbsp; <span class="kw1">font-size</span><span class="sy0">:</span>&nbsp; <span class="re3">1.2em</span><span class="sy0">;</span>
&nbsp;
<span class="coMULTI">/* force the elements to line up alongside one another */</span>
&nbsp; &nbsp; <span class="kw1">display</span><span class="sy0">:</span>&nbsp; &nbsp; inline-<span class="kw2">block</span><span class="sy0">;</span>
&nbsp;
<span class="coMULTI">/* A little border */</span>
&nbsp;
&nbsp; &nbsp; <span class="kw1">border</span><span class="sy0">:</span> <span class="kw2">solid</span> <span class="re3">1px</span> <span class="kw1">black</span><span class="sy0">;</span>
&nbsp;
<span class="coMULTI">/* give it some space */</span>
&nbsp; &nbsp; <span class="kw1">padding</span><span class="sy0">:</span>&nbsp; &nbsp; <span class="re3">0.2em</span><span class="sy0">;</span>
&nbsp;
<span class="coMULTI">/* Nice gradient background */</span>
<span class="coMULTI">/* Both default and selected are taken from http://ux5.co/2011/useful-css3-gradients-apple-osx-colors/ */</span>
&nbsp;
<span class="kw1">background</span><span class="sy0">:</span> <span class="re0">#bdc6cd</span><span class="sy0">;</span> <span class="coMULTI">/* Old browsers */</span>
<span class="kw1">background</span><span class="sy0">:</span> -moz-linear-gradient<span class="br0">&#40;</span><span class="kw1">top</span><span class="sy0">,</span> <span class="re0">#eef6f9</span> <span class="re3">0%</span><span class="sy0">,</span> <span class="re0">#bdc6cd</span> <span class="re3">100%</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="coMULTI">/* FF3.6+ */</span>
<span class="kw1">background</span><span class="sy0">:</span> -webkit-gradient<span class="br0">&#40;</span>linear<span class="sy0">,</span> <span class="kw1">left</span> <span class="kw1">top</span><span class="sy0">,</span> <span class="kw1">left</span> <span class="kw1">bottom</span><span class="sy0">,</span> color-stop<span class="br0">&#40;</span><span class="re3">0%</span><span class="sy0">,</span><span class="re0">#eef6f9</span><span class="br0">&#41;</span><span class="sy0">,</span>
color-stop<span class="br0">&#40;</span><span class="re3">100%</span><span class="sy0">,</span><span class="re0">#bdc6cd</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="coMULTI">/* Chrome,Safari4+ */</span>
<span class="kw1">background</span><span class="sy0">:</span> -webkit-linear-gradient<span class="br0">&#40;</span><span class="kw1">top</span><span class="sy0">,</span> <span class="re0">#eef6f9</span> <span class="re3">0%</span><span class="sy0">,</span><span class="re0">#bdc6cd</span> <span class="re3">100%</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="coMULTI">/* Chrome10+,Safari5.1+ */</span>
<span class="kw1">background</span><span class="sy0">:</span> -o-linear-gradient<span class="br0">&#40;</span><span class="kw1">top</span><span class="sy0">,</span> <span class="re0">#eef6f9</span> <span class="re3">0%</span><span class="sy0">,</span><span class="re0">#bdc6cd</span> <span class="re3">100%</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="coMULTI">/* Opera11.10+ */</span>
<span class="kw1">background</span><span class="sy0">:</span> -ms-linear-gradient<span class="br0">&#40;</span><span class="kw1">top</span><span class="sy0">,</span> <span class="re0">#eef6f9</span> <span class="re3">0%</span><span class="sy0">,</span><span class="re0">#bdc6cd</span> <span class="re3">100%</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="coMULTI">/* IE10+ */</span>
filter<span class="sy0">:</span> progid<span class="re2">:DXImageTransform</span><span class="re1">.Microsoft</span>.gradient<span class="br0">&#40;</span> startColorstr<span class="sy0">=</span><span class="st0">'#eef6f9'</span><span class="sy0">,</span>
endColorstr<span class="sy0">=</span><span class="st0">'#bdc6cd'</span><span class="sy0">,</span>GradientType<span class="sy0">=</span><span class="nu0">0</span> <span class="br0">&#41;</span><span class="sy0">;</span> <span class="coMULTI">/* IE6-9 */</span>
<span class="kw1">background</span><span class="sy0">:</span> linear-gradient<span class="br0">&#40;</span><span class="kw1">top</span><span class="sy0">,</span> <span class="re0">#eef6f9</span> <span class="re3">0%</span><span class="sy0">,</span><span class="re0">#bdc6cd</span> <span class="re3">100%</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="coMULTI">/* W3C */</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&nbsp; 
&nbsp;
<span class="coMULTI">/* Small bit of shadow */</span>
&nbsp; -webkit-box-shadow<span class="sy0">:</span> <span class="re3">2px</span> <span class="re3">2px</span> <span class="re3">4px</span> <span class="re0">#000</span><span class="sy0">;</span> 
&nbsp; &nbsp; &nbsp;-moz-box-shadow<span class="sy0">:</span> <span class="re3">2px</span> <span class="re3">2px</span> <span class="re3">4px</span> <span class="re0">#000</span><span class="sy0">;</span> 
&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; box-shadow<span class="sy0">:</span> <span class="re3">2px</span> <span class="re3">2px</span> <span class="re3">4px</span> <span class="re0">#000</span><span class="sy0">;</span> 
<span class="br0">&#125;</span>
&nbsp;
<span class="coMULTI">/* Apply this style to a label which is linked to an input box, which is checked or slected */</span>
input<span class="re2">:checked </span><span class="sy0">+</span> label <span class="br0">&#123;</span>
&nbsp;
<span class="kw1">color</span><span class="sy0">:</span>&nbsp; &nbsp; &nbsp; <span class="kw2">white</span><span class="sy0">;</span>
&nbsp;
<span class="coMULTI">/* change the background to &nbsp;a nice blue gradient */</span>
<span class="kw1">background</span><span class="sy0">:</span> -moz-linear-gradient<span class="br0">&#40;</span><span class="kw1">top</span><span class="sy0">,</span> <span class="re0">#5792d1</span> <span class="re3">0%</span><span class="sy0">,</span> <span class="re0">#2f5e9e</span> <span class="re3">100%</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="coMULTI">/* FF3.6+ */</span>
<span class="kw1">background</span><span class="sy0">:</span> -webkit-gradient<span class="br0">&#40;</span>linear<span class="sy0">,</span> <span class="kw1">left</span> <span class="kw1">top</span><span class="sy0">,</span> <span class="kw1">left</span> <span class="kw1">bottom</span><span class="sy0">,</span> color-stop<span class="br0">&#40;</span><span class="re3">0%</span><span class="sy0">,</span><span class="re0">#5792d1</span><span class="br0">&#41;</span><span class="sy0">,</span>color-stop<span class="br0">&#40;</span><span class="re3">100%</span><span class="sy0">,</span><span class="re0">#2f5e9e</span><span class="br0">&#41;</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="coMULTI">/* Chrome,Safari4+ */</span>
<span class="kw1">background</span><span class="sy0">:</span> -webkit-linear-gradient<span class="br0">&#40;</span><span class="kw1">top</span><span class="sy0">,</span> <span class="re0">#5792d1</span> <span class="re3">0%</span><span class="sy0">,</span><span class="re0">#2f5e9e</span> <span class="re3">100%</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="coMULTI">/* Chrome10+,Safari5.1+ */</span>
<span class="kw1">background</span><span class="sy0">:</span> -o-linear-gradient<span class="br0">&#40;</span><span class="kw1">top</span><span class="sy0">,</span> <span class="re0">#5792d1</span> <span class="re3">0%</span><span class="sy0">,</span><span class="re0">#2f5e9e</span> <span class="re3">100%</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="coMULTI">/* Opera11.10+ */</span>
<span class="kw1">background</span><span class="sy0">:</span> -ms-linear-gradient<span class="br0">&#40;</span><span class="kw1">top</span><span class="sy0">,</span> <span class="re0">#5792d1</span> <span class="re3">0%</span><span class="sy0">,</span><span class="re0">#2f5e9e</span> <span class="re3">100%</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="coMULTI">/* IE10+ */</span>
filter<span class="sy0">:</span> progid<span class="re2">:DXImageTransform</span><span class="re1">.Microsoft</span>.gradient<span class="br0">&#40;</span> startColorstr<span class="sy0">=</span><span class="st0">'#5792d1'</span><span class="sy0">,</span>endColorstr<span class="sy0">=</span><span class="st0">'#2f5e9e'</span><span class="sy0">,</span>GradientType<span class="sy0">=</span><span class="nu0">0</span> <span class="br0">&#41;</span><span class="sy0">;</span> <span class="coMULTI">/* IE6-9 */</span>
<span class="kw1">background</span><span class="sy0">:</span> linear-gradient<span class="br0">&#40;</span><span class="kw1">top</span><span class="sy0">,</span> <span class="re0">#5792d1</span> <span class="re3">0%</span><span class="sy0">,</span><span class="re0">#2f5e9e</span> <span class="re3">100%</span><span class="br0">&#41;</span><span class="sy0">;</span> <span class="coMULTI">/* W3C */</span>
<span class="br0">&#125;</span>
&nbsp;
<span class="coMULTI">/* round the corners of each end */</span>
label<span class="re1">.leftend</span> <span class="br0">&#123;</span>
border-top-left-radius<span class="sy0">:</span> &nbsp; &nbsp; &nbsp; &nbsp; <span class="re3">5px</span><span class="sy0">;</span>
-moz-border-radius-topleft<span class="sy0">:</span> &nbsp; &nbsp; <span class="re3">5px</span><span class="sy0">;</span>
&nbsp;
border-bottom-left-radius<span class="sy0">:</span>&nbsp; &nbsp; &nbsp; <span class="re3">5px</span><span class="sy0">;</span>
-moz-border-radius-bottomleft<span class="sy0">:</span>&nbsp; <span class="re3">5px</span><span class="sy0">;</span>
&nbsp;
<span class="kw1">border-right</span><span class="sy0">:</span> &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">none</span><span class="sy0">;</span>
<span class="br0">&#125;</span>
label<span class="re1">.rightend</span> <span class="br0">&#123;</span>
border-top-right-radius<span class="sy0">:</span>&nbsp; &nbsp; &nbsp; &nbsp; <span class="re3">5px</span><span class="sy0">;</span>
-moz-border-radius-topright<span class="sy0">:</span>&nbsp; &nbsp; <span class="re3">5px</span><span class="sy0">;</span>
&nbsp;
border-bottom-right-radius<span class="sy0">:</span> &nbsp; &nbsp; <span class="re3">5px</span><span class="sy0">;</span>
-moz-border-radius-bottomright<span class="sy0">:</span> <span class="re3">5px</span><span class="sy0">;</span>
&nbsp;
<span class="kw1">border-left</span><span class="sy0">:</span>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; <span class="kw2">none</span><span class="sy0">;</span>
<span class="br0">&#125;</span></pre></td></tr></tbody></table></div>
<div class="bwp-syntax-source"><pre class="no-parse">/* Hide the Radio button itself */
input[type="radio"] {
display:	none;
}

label {
	font-family: 'Bentham', arial, serif;
	font-size:	1.2em;

/* force the elements to line up alongside one another */
	display:	inline-block;

/* A little border */

	border:	solid 1px black;

/* give it some space */
	padding:	0.2em;

/* Nice gradient background */
/* Both default and selected are taken from http://ux5.co/2011/useful-css3-gradients-apple-osx-colors/ */

background: #bdc6cd; /* Old browsers */
background: -moz-linear-gradient(top, #eef6f9 0%, #bdc6cd 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#eef6f9),
color-stop(100%,#bdc6cd)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #eef6f9 0%,#bdc6cd 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #eef6f9 0%,#bdc6cd 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #eef6f9 0%,#bdc6cd 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#eef6f9',
endColorstr='#bdc6cd',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #eef6f9 0%,#bdc6cd 100%); /* W3C */                          	

/* Small bit of shadow */
  -webkit-box-shadow: 2px 2px 4px #000; 
     -moz-box-shadow: 2px 2px 4px #000; 
          box-shadow: 2px 2px 4px #000; 
}

/* Apply this style to a label which is linked to an input box, which is checked or slected */
input:checked + label {

color:		white;

/* change the background to  a nice blue gradient */
background: -moz-linear-gradient(top, #5792d1 0%, #2f5e9e 100%); /* FF3.6+ */
background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5792d1),color-stop(100%,#2f5e9e)); /* Chrome,Safari4+ */
background: -webkit-linear-gradient(top, #5792d1 0%,#2f5e9e 100%); /* Chrome10+,Safari5.1+ */
background: -o-linear-gradient(top, #5792d1 0%,#2f5e9e 100%); /* Opera11.10+ */
background: -ms-linear-gradient(top, #5792d1 0%,#2f5e9e 100%); /* IE10+ */
filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5792d1',endColorstr='#2f5e9e',GradientType=0 ); /* IE6-9 */
background: linear-gradient(top, #5792d1 0%,#2f5e9e 100%); /* W3C */
}

/* round the corners of each end */
label.leftend {
border-top-left-radius:			5px;
-moz-border-radius-topleft: 	5px;

border-bottom-left-radius:		5px;
-moz-border-radius-bottomleft:	5px;

border-right:					none;
}
label.rightend {
border-top-right-radius:		5px;
-moz-border-radius-topright:	5px;

border-bottom-right-radius:		5px;
-moz-border-radius-bottomright: 5px;

border-left:					none;
}</pre></div></div>
]]></content:encoded>
			<wfw:commentRss>http://chrisjoice.co.uk/2011/09/pure-css-segmented-buttons/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>VirtualBox and Harddrives</title>
		<link>http://chrisjoice.co.uk/2011/04/virtualbox-and-harddrives/</link>
		<comments>http://chrisjoice.co.uk/2011/04/virtualbox-and-harddrives/#comments</comments>
		<pubDate>Thu, 21 Apr 2011 10:02:24 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://christopher.c25.eu/?p=141</guid>
		<description><![CDATA[Whilst playing with VirtualBox I came across a recurring error, which failed almost silently. I was installing XP and Fedora on one virtual drive, which was given ample space to accommodate both, but Fedora repeatedly failed to find enough space to automatically partition. Upon investigation I found the drive had enough space, yet still no [...]]]></description>
			<content:encoded><![CDATA[Whilst playing with <a title="VirtualBox" href="http://www.virtualbox.org/" target="_blank">VirtualBox</a> I came across a recurring error, which failed almost silently.

I was installing XP and <a title="Fedora Project" href="http://fedoraproject.org/" target="_blank">Fedora</a> on one virtual drive, which was given ample space to accommodate both, but Fedora repeatedly failed to find enough space to automatically partition. Upon investigation I found the drive had enough space, yet still no luck. So I increased the size of the virtual drive, still no luck, increased it again, no luck.

It turns out that the issue wasn&#8217;t the virtual drive that was too small, but my real hard drive that didn&#8217;t have enough space to fit the virtual drive on! I thought it interesting that the error would show up within the virtual machine, rather than being highlighted on the host as the issue was on the host side.

Yet another example of errors which don’t always mean what they say…]]></content:encoded>
			<wfw:commentRss>http://chrisjoice.co.uk/2011/04/virtualbox-and-harddrives/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Most of a day</title>
		<link>http://chrisjoice.co.uk/2011/03/most-of-a-da/</link>
		<comments>http://chrisjoice.co.uk/2011/03/most-of-a-da/#comments</comments>
		<pubDate>Fri, 25 Mar 2011 22:16:42 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Photographic Fun]]></category>

		<guid isPermaLink="false">http://christopher.c25.eu/?p=135</guid>
		<description><![CDATA[23 hours in the life of my camera. Most of a Day]]></description>
			<content:encoded><![CDATA[23 hours in the life of my camera.

<a href="http://chrisjoice.co.uk/files/2011/03/mostofaday.avi">Most of a Day</a>]]></content:encoded>
			<wfw:commentRss>http://chrisjoice.co.uk/2011/03/most-of-a-da/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
<enclosure url="http://christopher.c25.eu/files/2011/03/mostofaday.avi" length="2518276" type="video/avi" />
		</item>
		<item>
		<title>Self Signed Certificates</title>
		<link>http://chrisjoice.co.uk/2011/02/self-signed-certificates/</link>
		<comments>http://chrisjoice.co.uk/2011/02/self-signed-certificates/#comments</comments>
		<pubDate>Sun, 13 Feb 2011 00:37:10 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Technology]]></category>

		<guid isPermaLink="false">http://christopher.c25.eu/?p=124</guid>
		<description><![CDATA[I recently set up self signed HTTPS for my sites, and I have to say it was very easy and it got me wondering about the issues of &#8220;trust&#8221; in security and networking. Certificates in this context provide two main things: end to end (ish) encryption, and trust. The first is simple, data is encrypted [...]]]></description>
			<content:encoded><![CDATA[I recently set up self signed HTTPS for my sites, and I have to say it was very easy and it got me wondering about the issues of &#8220;trust&#8221; in security and networking.

Certificates in this context provide two main things: end to end (ish) encryption, and trust. The first is simple, data is encrypted at the application level and passed over the network to the server, where it is decrypted. All very nice, especially if passwords etc. are involved. Trust however is somewhat more complex. My self signed certificate provides me, or anyone using it, with endless warnings from my browser, because the identity cannot be verified. Who said it can&#8217;t?

Trust is complex. Certificates work on a chain of trust, and at some point we have to just decide to trust (for no better reason than &#8220;because we do&#8221;), the root of the chain. This leads to issues. Over the years there have been many root nodes, and most of them are now not trusted, but how does this affect me?

I can pay for a certificate, in which case somebody decides I am me and I can be trusted. i.e. they verify my identity. But why should I trust them? Because I paid them? My self signed certificate provides the same level of encryption as any paid for offering, so why is it less trusted? Mostly, because I didn&#8217;t pay.

However, consider this. I trust me. I signed my own certificate. No one else has ever touched it.  My thought is that a self signed certificate, for me, is more secure than a paid for one.]]></content:encoded>
			<wfw:commentRss>http://chrisjoice.co.uk/2011/02/self-signed-certificates/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Snow</title>
		<link>http://chrisjoice.co.uk/2010/12/snow/</link>
		<comments>http://chrisjoice.co.uk/2010/12/snow/#comments</comments>
		<pubDate>Thu, 02 Dec 2010 18:27:00 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Photographic Fun]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://christopher.c25.eu/?p=115</guid>
		<description><![CDATA[Well it would seem that once again we are all going to die from a little frozen water. However, it makes for some nice photos without even leaving the house! This photo was processed with Vignette for android. It&#8217;s much more feature rich than RetroCamera, but the demo is limited in it&#8217;s output resolution.]]></description>
			<content:encoded><![CDATA[Well it would seem that once again we are all going to die from a little frozen water.

However, it makes for some nice photos without even leaving the house!


<div id="attachment_116" class="wp-caption alignnone" style="width: 310px"><a href="http://chrisjoice.co.uk/files/2010/12/2010-12-01-10-48-24-226.jpg"><img class="size-medium wp-image-116 " title="2010-12-01-10-48-24-226" src="http://chrisjoice.co.uk/files/2010/12/2010-12-01-10-48-24-226-300x300.jpg" alt="Snowy bins" width="300" height="300" /></a><p class="wp-caption-text">Snow covered bins</p></div>

This photo was processed with <a href="http://neilandtheresa.co.uk/Android/Vignette/">Vignette</a> for android. It&#8217;s much more feature rich than <a title="RetroCamera" href="http://chrisjoice.co.uk/2010/10/retrocamera/">RetroCamera</a>, but the demo is limited in it&#8217;s output resolution.]]></content:encoded>
			<wfw:commentRss>http://chrisjoice.co.uk/2010/12/snow/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Mist</title>
		<link>http://chrisjoice.co.uk/2010/11/mist/</link>
		<comments>http://chrisjoice.co.uk/2010/11/mist/#comments</comments>
		<pubDate>Sat, 20 Nov 2010 09:22:54 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Photographic Fun]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://chrisjoice.co.uk/?p=68</guid>
		<description><![CDATA[There are times when I wish I carried a proper camera with me all the time &#8230;]]></description>
			<content:encoded><![CDATA[There are times when I wish I carried a proper camera with me all the time &#8230;

<div id="attachment_79" class="wp-caption alignleft" style="width: 310px"><a href="http://chrisjoice.co.uk/files/2010/11/IMG_20101119_205441.jpg"><img class="size-medium wp-image-79" title="IMG_20101119_205441" src="http://chrisjoice.co.uk/files/2010/11/IMG_20101119_205441-300x225.jpg" alt="Misty factory" width="300" height="225" /></a><p class="wp-caption-text">A misty factory by night.</p></div>]]></content:encoded>
			<wfw:commentRss>http://chrisjoice.co.uk/2010/11/mist/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>RetroCamera</title>
		<link>http://chrisjoice.co.uk/2010/10/retrocamera/</link>
		<comments>http://chrisjoice.co.uk/2010/10/retrocamera/#comments</comments>
		<pubDate>Wed, 20 Oct 2010 12:21:32 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Photographic Fun]]></category>
		<category><![CDATA[Android]]></category>
		<category><![CDATA[Nottingham]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://chrisjoice.co.uk/retrocamera/</guid>
		<description><![CDATA[I&#8217;ve been playing with retroCamera for android, and I&#8217;m impressed. Although I think it could have more advanced settings for each camera, it has a very nice interface which is both intuitive and elegant. I also like the old school photography being brought to modern technology, obviously better isn&#8217;t always better! As a side note, [...]]]></description>
			<content:encoded><![CDATA[I&#8217;ve been playing with <a href="http://www.urbian.biz/apps/retrocam/">retroCamera</a> for android, and I&#8217;m impressed.

Although I think it could have more advanced settings for each camera, it has a very nice interface which is both intuitive and elegant.

I also like the old school photography being brought to modern technology, obviously better isn&#8217;t always better!

As a side note, these photos were taken in the same place as the other photo of Green&#8217;s Windmill, but the wind was from a different direction, hence the sails are a different way around.

<div class="wp-caption alignleft" style="width: 310px"><img src="http://chrisjoice.co.uk/files/2010/10/wpid-shot_1287572567804.jpg" alt="" width="300" height="301" /><p class="wp-caption-text">Pinhole Camera shot of Green&#039;s Windmill</p></div>

<div class="wp-caption alignleft" style="width: 310px"><img src="http://chrisjoice.co.uk/files/2010/10/wpid-shot_1287572600804.jpg" alt="" width="300" height="301" /><p class="wp-caption-text">Little Orange Box shot of Green&#039;s Windmill</p></div>

<div class="wp-caption alignleft" style="width: 310px"><img src="http://chrisjoice.co.uk/files/2010/10/wpid-shot_1287572632571.jpg" alt="" width="300" height="301" /><p class="wp-caption-text">Green&#039;s Windmill, shot with The Bärbel camera</p></div>]]></content:encoded>
			<wfw:commentRss>http://chrisjoice.co.uk/2010/10/retrocamera/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Green’s mill</title>
		<link>http://chrisjoice.co.uk/2010/10/greens-mill/</link>
		<comments>http://chrisjoice.co.uk/2010/10/greens-mill/#comments</comments>
		<pubDate>Mon, 18 Oct 2010 22:14:33 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Photographic Fun]]></category>
		<category><![CDATA[Nottingham]]></category>
		<category><![CDATA[Photography]]></category>

		<guid isPermaLink="false">http://chrisjoice.co.uk/greens-mill/</guid>
		<description><![CDATA[This is Green&#8217;s windmill in Nottingham. I thought it looked pretty good in the evening light, and the play park there has a really good slide! The Mill is a working science centre with lots of interesting things to play with, worth a visit if you are in the area]]></description>
			<content:encoded><![CDATA[<div class="wp-caption alignright" style="width: 360px"><img src="http://chrisjoice.co.uk/files/2010/10/wpid-IMAG0006-1.jpg" alt="Green's Windmill" width="350" height="427" /><p class="wp-caption-text">Green&#039;s Windmill, Nottingham</p></div>

This is Green&#8217;s windmill in Nottingham. I thought it looked pretty good in the evening light, and the play park there has a really good slide!
The Mill is a working science centre with lots of interesting things to play with, worth a visit if you are in the area <img src='http://chrisjoice.co.uk/wp-includes/images/smilies/icon_smile.gif' alt=':-)' class='wp-smiley' /> ]]></content:encoded>
			<wfw:commentRss>http://chrisjoice.co.uk/2010/10/greens-mill/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Test!</title>
		<link>http://chrisjoice.co.uk/2010/10/test/</link>
		<comments>http://chrisjoice.co.uk/2010/10/test/#comments</comments>
		<pubDate>Sat, 09 Oct 2010 16:32:30 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://chrisjoice.co.uk/test/</guid>
		<description><![CDATA[This is a test post from my mobile phone. I&#8217;m currently in the car listening to classic fm. Here is a photo to prove it!]]></description>
			<content:encoded><![CDATA[<img class="alignright" style="margin-right: auto;margin-left: auto" src="http://chrisjoice.co.uk/files/2010/10/wpid-wp-1286641877944.jpg" alt="ClassicFM in my car!" width="300" height="225" />

This is a test post from my mobile phone.

I&#8217;m currently in the car listening to <a href="http://www.classicfm.co.uk/">classic fm.</a>

Here is a photo to prove it!]]></content:encoded>
			<wfw:commentRss>http://chrisjoice.co.uk/2010/10/test/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>New site</title>
		<link>http://chrisjoice.co.uk/2010/10/new-site/</link>
		<comments>http://chrisjoice.co.uk/2010/10/new-site/#comments</comments>
		<pubDate>Fri, 01 Oct 2010 20:05:52 +0000</pubDate>
		<dc:creator>Christopher</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://chrisjoice.co.uk/?p=21</guid>
		<description><![CDATA[New site, new server, lots going on! I now have a VPS with is proving very useful, and has ended up in a new website. However, I don&#8217;t plan to do much with it&#8230;]]></description>
			<content:encoded><![CDATA[New site, new server, lots going on!

I now have a VPS with is proving very useful, and has ended up in a new website.

However, I don&#8217;t plan to do much with it&#8230;]]></content:encoded>
			<wfw:commentRss>http://chrisjoice.co.uk/2010/10/new-site/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

