<?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/"
	>

<channel>
	<title>Phenotypic</title>
	<atom:link href="http://www.phenotypic.co.uk/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.phenotypic.co.uk</link>
	<description>Thirteen billion parsecs from reality</description>
	<pubDate>Sat, 27 Feb 2010 02:04:05 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Dear web developers</title>
		<link>http://www.phenotypic.co.uk/dear-web-developers/</link>
		<comments>http://www.phenotypic.co.uk/dear-web-developers/#comments</comments>
		<pubDate>Tue, 02 Feb 2010 22:31:05 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.phenotypic.co.uk/?p=162</guid>
		<description><![CDATA[As any good rant does this one starts with a disclaimer, lest you leave this page thinking I&#8217;m just having a good moan (I am).
I will state now that I&#8217;m all for experimentation with new web technologies - it&#8217;s done us pretty well so far - It&#8217;s just that, recently, I&#8217;ve been seeing more and [...]]]></description>
			<content:encoded><![CDATA[<p>As any good rant does this one starts with a disclaimer, lest you leave this page thinking I&#8217;m just having a good moan (I am).</p>
<p>I will state now that I&#8217;m all for experimentation with new web technologies - it&#8217;s done us pretty well so far - It&#8217;s just that, recently, I&#8217;ve been seeing more and more of these &#8220;CSS3&#8243; showcases&#8230;<span id="more-162"></span></p>
<p>A couple of examples:</p>
<p><a href="http://www.romancortes.com/blog/pure-css-coke-can/">http://www.romancortes.com/blog/pure-css-coke-can/</a><br />
<a href="http://anthonycalzadilla.com/css3-ATAT/index.html">http://anthonycalzadilla.com/css3-ATAT/index.html</a></p>
<p>Wow, amazing, they did that only using CSS? Well, yes, sort of (with a dash of propriety browser technologies in certain cases), but this is no more than e-<a href="http://en.wikipedia.org/wiki/Stone_soup">stone soup</a>. </p>
<p>While harmless enough shared around your fellow web geeks, these sorts of things can push budding developers in entirely the wrong direction, remember the massive hype around &#8220;tableless layouts&#8221;? A brilliant idea that due to a few loud-mouthed - misguided - individuals, saw a large number of web of developers in the early 2000s missing the point entirely.</p>
<p>Let&#8217;s use CSS3 and HTML5 as it was intended to be used. Let&#8217;s show the world what we have to say in an interesting, gripping, accessible and ascetic manner.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phenotypic.co.uk/dear-web-developers/feed/</wfw:commentRss>
		</item>
		<item>
		<title>There is a right way.. and a wrong way</title>
		<link>http://www.phenotypic.co.uk/web-development-there-is-a-right-way-and-a-wrong-way/</link>
		<comments>http://www.phenotypic.co.uk/web-development-there-is-a-right-way-and-a-wrong-way/#comments</comments>
		<pubDate>Wed, 28 Oct 2009 21:56:41 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Coding]]></category>

		<category><![CDATA[Plasticity]]></category>

		<guid isPermaLink="false">http://www.phenotypic.co.uk/?p=132</guid>
		<description><![CDATA[We can learn a lot from the scientific community. There can be no doubt that without a complete understanding a problem entirely conflicting solutions can present themselves.
Take the public perception of climate change: Due to any, and all, crackpot theories being heavily publicised people have started to form opinions based on only a subset of [...]]]></description>
			<content:encoded><![CDATA[<p>We can learn a lot from the scientific community. There can be no doubt that without a complete understanding a problem entirely conflicting solutions can present themselves.</p>
<p>Take the public perception of climate change: Due to any, and all, crackpot theories being heavily publicised people have started to form opinions based on only a subset of the available data. Widespread ignorance ensues. <span id="more-132"></span></p>
<p>As geeks we know to question what we&#8217;re told and, if we&#8217;re not happy with the answer, we&#8217;ll attempt to find a new solution. However - unlike the scientific community - we&#8217;re too proud to accept a valid negative result as we do a positive. This is all the more pertinent as, in the field of web development, unlike many scientific disciplines, there <strong><em>is</em></strong> a definitive right answer.</p>
<p><em>Example time. </em></p>
<p><a href="http://www.sitepoint.com/forums/showthread.php?t=642149&#038;page=2#36">http://www.sitepoint.com/forums/showthread.php?t=642149&#038;page=2#36</a></p>
<p>This is a problem that is constantly rearing its damn ugly head. We all hate <a href="http://www.mezzoblue.com/tests/revised-image-replacement/#gilderlevin">the solution</a> which ticks the <a href="http://levinalex.net/files/20031203/ir.html">majority of boxes</a> but we all know it meets the most important criteria:</p>
<ul>
<li>It works with images disabled</li>
<li>It works with css disabled</li>
<li>It works with javascript disabled</li>
<li>It works with plugins disabled</li>
<li>It works with any combination of the above</li>
<li>It works in all browsers (yes, IE6 is still important, live with it)</li>
</ul>
<p>The only downside is that it does not work with images that require transparent backgrounds (due to complex parent backgrounds) and it will not render an image when printed.</p>
<p>In the first case I suggest that using a img tag with a semantic alt attribute is a perfectly valid and acceptable fall-back solution. In the second I&#8217;d argue that if you need a text-replaced image to be printed then the design aspects of this image, the very thing that sets it apart from plain text, is content in itself and should be rendered to all media.</p>
<p><em>End example.</em></p>
<p>I&#8217;m ranting about this now, but it&#8217;s a lesson I learned not a year ago: We need to learn to stand on the shoulders of giants. We need to recognise when a problem has been debated, solved and the solution honed by the best minds in our field. Then we need to just fucking accept it. </p>
<p>Sure, strive to understand the solution, but please; don&#8217;t waste your time publishing your brilliant new find when it has already been considered, and subsequently rejected through years of testing.</p>
<p>There are still problems out there that don&#8217;t have answers. Work on these, and stop trying to best one another.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phenotypic.co.uk/web-development-there-is-a-right-way-and-a-wrong-way/feed/</wfw:commentRss>
		</item>
		<item>
		<title>UnitPNG and Lightview</title>
		<link>http://www.phenotypic.co.uk/unitpng-and-lightview/</link>
		<comments>http://www.phenotypic.co.uk/unitpng-and-lightview/#comments</comments>
		<pubDate>Mon, 25 May 2009 19:43:08 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Plasticity]]></category>

		<guid isPermaLink="false">http://www.phenotypic.co.uk/?p=117</guid>
		<description><![CDATA[I&#8217;m not usually one to post helpful hints online, but no one seems to of documented this one as yet, so, In the spirit of sharing my misery with the rest of the web development community, here&#8217;s a tip&#8230;
If you&#8217;re going to use the lovely UnitPNG script alongside Lightview, make sure you exclude the Lightview [...]]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m not usually one to post helpful hints online, but no one seems to of documented this one as yet, so, In the spirit of sharing my misery with the rest of the web development community, here&#8217;s a tip&#8230;</p>
<p>If you&#8217;re going to use the lovely UnitPNG script alongside Lightview, make sure you exclude the Lightview generated mess from UnitPNG&#8217;s node list&#8230;Otherwise you may wind up with some random error claiming that <em>attribute only valid on v:image</em>.<span id="more-117"></span> </p>
<p>If anyone cares to explore this further and find out why, please <a href="javascript:void(things_z=document.body.appendChild(document.createElement('script')));void(things_z.language='javascript');void(things_z.type='text/javascript');void(things_z.src='http://noodler.net/scripts/framer.js');void(things_z.id='things');">noodle</a> me and let me know, I&#8217;m only in the business of solutions these days.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phenotypic.co.uk/unitpng-and-lightview/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Check out them datums</title>
		<link>http://www.phenotypic.co.uk/ok-maths-is-quite-cool/</link>
		<comments>http://www.phenotypic.co.uk/ok-maths-is-quite-cool/#comments</comments>
		<pubDate>Tue, 10 Mar 2009 21:18:44 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Plasticity]]></category>

		<guid isPermaLink="false">http://www.phenotypic.co.uk/?p=104</guid>
		<description><![CDATA[While scanning through my usual feeds today I stumbled across an interesting event that was taking place in Edinburgh this very evening.
Sadly I missed the chance to pop in and experience an Introduction to Astrophotography tonight but it did get me poking around the astroweb a bit more than usual, good thing too; I chanced [...]]]></description>
			<content:encoded><![CDATA[<p>While scanning through my usual feeds today I stumbled across an interesting event that was taking place in Edinburgh this very evening.</p>
<p>Sadly I missed the chance to pop in and experience an <a href="http://www.roe.ac.uk/vc/events/">Introduction to Astrophotography</a> tonight but it did get me poking around the astroweb a bit more than usual, good thing too; I chanced upon this fantastic <a href="http://spaceflight1.nasa.gov/realdata/sightings/cities/view.cgi?country=United_Kingdom&amp;region=Scotland&amp;city=Edinburgh">example of what the internet means to me</a>. Look at it, in all it&#8217;s texty glory. It&#8217;s pure, unadulterated data.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phenotypic.co.uk/ok-maths-is-quite-cool/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Stop bitching and grab your fucking calculator</title>
		<link>http://www.phenotypic.co.uk/stop-bitching-and-grab-your-fucking-calculator/</link>
		<comments>http://www.phenotypic.co.uk/stop-bitching-and-grab-your-fucking-calculator/#comments</comments>
		<pubDate>Sat, 28 Feb 2009 00:05:13 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://www.phenotypic.co.uk/?p=71</guid>
		<description><![CDATA[Something that&#8217;s been bugging me for quite a while is the way that my beautifully (yep, that&#8217;s right; beautifully) crafted websites seem to suffer from the occasional - seemingly inexplicable - hiccup in every common web browser but Firefox.
Odd, I say.
Of course I&#8217;m referring only to pure EM based layouts, any monkey can slap together [...]]]></description>
			<content:encoded><![CDATA[<p>Something that&#8217;s been bugging me for quite a while is the way that my beautifully (yep, that&#8217;s right; beautifully) crafted websites seem to suffer from the occasional - seemingly inexplicable - hiccup in every common web browser but Firefox.</p>
<p>Odd, I say.<span id="more-71"></span></p>
<p>Of course I&#8217;m referring only to pure EM based layouts, any monkey can slap together a pixel perfect site using whole numbers, throw some decimal places into the mix and you&#8217;ve got yourself some real web development.</p>
<p>If, at this point, the number 62.5 pops into your head; fuck off, you&#8217;re not welcome here.</p>
<p>Right, so let&#8217;s set the scene. You have a parent node, its font size is 16px, this is a constant. This element has a child, it&#8217;s 12.785em wide.</p>
<p>Here comes the science…   <em><strong>12.785*16 = 204.56</strong></em></p>
<p>Ah, so, we all remember from school that anything greater than point five is rounded up to the nearest whole number, and of course we can hardly expect our browsers to render .56 of a pixel, so the child is 205px wide?</p>
<p>Ha.</p>
<p>Browser developers obviously didn&#8217;t attend the same school as I did. They take my careful calculations and carelessly throw away the .56; the resulting element is 204px wide.</p>
<p>I know I take things a little too personally, but this seems really quite patronising, as if the browser is mocking my silly pixel precision madness&#8230; <em><strong>&#8220;did you really mean .56 of a pixel, surely not?!&#8221;</strong></em>.</p>
<p>Yes, I sodding well did, round the fucking thing up, or at least store the values with as much precision as modern computing will allow, then, once you&#8217;re done traversing the DOM, add them together and round the result to the nearest whole number.</p>
<p>So, is Firefox correct while everyone else is wrong? Not exactly. The clever chaps at Mozilla have come up with their own way of handling pixel precision. Take the example above, add two further child elements with the same width as the first, check the result in Internet Explorer, Safari or Opera and you&#8217;ll end up with three elements that are 204px wide (that&#8217;s 612px… I know, stick with me here). View the same page in Firefox and you&#8217;ll see a 205px element followed by a 204px element followed by another 205px element.</p>
<p>That&#8217;s some crazy-ass normalisation.</p>
<p>Anyway, I suppose I should come up with <strong>some sort of conclusion</strong>…</p>
<ol>
<li>For the love of god, don&#8217;t use 62.5%, you&#8217;re just creating unreconcilable rounding inconsistencies</li>
<li>Do your calculations before you start coding, don&#8217;t just jump in swapping pixels for ems willy-fucking-nilly</li>
<li>Try to keep your font sizes to <a href="http://jontangerine.com/silo/css/pixels-to-ems/">whole-pixel equivalents</a></li>
<li>If you still foresee rounding issues, try to squeeze in some hidden overflow</li>
<li>No? Designer bitching about your extra pixel? Have no eye for design yourself? Sit down and explain the problem, I&#8217;m sure you can work something out</li>
<li>Still stuck? There&#8217;s no hope for you. Luckily web development is inherently pointless anyway. Be thankful that you suck at it, go enjoy your life.</li>
</ol>
]]></content:encoded>
			<wfw:commentRss>http://www.phenotypic.co.uk/stop-bitching-and-grab-your-fucking-calculator/feed/</wfw:commentRss>
		</item>
		<item>
		<title>There&#8217;s always a better way</title>
		<link>http://www.phenotypic.co.uk/theres-always-a-better-way/</link>
		<comments>http://www.phenotypic.co.uk/theres-always-a-better-way/#comments</comments>
		<pubDate>Wed, 18 Feb 2009 22:56:40 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Plasticity]]></category>

		<guid isPermaLink="false">http://www.phenotypic.co.uk/?p=61</guid>
		<description><![CDATA[&#8230;it&#8217;s knowing when to stop that&#8217;s tricky.
Recently, while fulfilling a challenge (actually I think it was a joke, but I couldn&#8217;t help myself) I had to solve, what I suspected would be, a fairly simple programming problem; get the number of seconds from any arbitrary time and date until the next again Friday.
So I go [...]]]></description>
			<content:encoded><![CDATA[<p>&#8230;it&#8217;s knowing when to stop that&#8217;s tricky.</p>
<p>Recently, while fulfilling a challenge (actually I think it was a joke, but I couldn&#8217;t help myself) I had to solve, what I suspected would be, a fairly simple programming problem; get the number of seconds from any arbitrary time and date until the next again Friday.</p>
<p>So I go ahead and Google it.<span id="more-61"></span></p>
<p>Turns out a few other people had tried the same thing (I was using PHP), there were numerous messy and processor-hungry solutions out there. I read a few, got the general idea, then wrote my own. So, here&#8217;s the end product: <a href="http://www.whyisitnotfriday.com/">http://www.whyisitnotfriday.com/</a></p>
<p>Feeling quite happy with the result I decide to dive into the PHP manual and start digging a bit deeper into its Date/Time functions, just out of curiosity &#8230;. turns out I could of saved myself quite a bit of time with a little PHP function; strtotime(&#8221;friday&#8221;).</p>
<p>Anyway, the point of my rambling is this; why do people always assume the first solution they stumble upon is the best one? I see it everywhere, from religion to programming.</p>
<p>I really wish people would start asking more fucking questions.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phenotypic.co.uk/theres-always-a-better-way/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Wordpress hackery</title>
		<link>http://www.phenotypic.co.uk/wordpress-hackery/</link>
		<comments>http://www.phenotypic.co.uk/wordpress-hackery/#comments</comments>
		<pubDate>Tue, 13 Jan 2009 00:07:04 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Coding]]></category>

		<guid isPermaLink="false">http://phenotypic.co.uk/?p=9</guid>
		<description><![CDATA[For years I&#8217;ve stubbornly refused to use content management systems. This is mostly due to the almost uncontrollable urge I have to code everything myself, from scratch. So, in a pathetic attempt to avoid admitting that I was wrong, I&#8217;ve decided to redefine &#8220;scratch&#8221;.
Good thing too. It&#8217;s refreshing. 
I can actually get t&#8217;interweb related things [...]]]></description>
			<content:encoded><![CDATA[<p>For years I&#8217;ve stubbornly refused to use content management systems. This is mostly due to the almost uncontrollable urge I have to code everything myself, from scratch. So, in a pathetic attempt to avoid admitting that I was wrong, I&#8217;ve decided to redefine &#8220;scratch&#8221;.</p>
<p>Good thing too. It&#8217;s refreshing. <span id="more-9"></span></p>
<p>I can actually get t&#8217;interweb related things done without the guilt associated with accepting help from others. After all; I didn&#8217;t create PHP, I didn&#8217;t single-handedly invent the myriad of other lower level programming languages upon which it relies, I wasn&#8217;t the first to think of using transistors (or even valves) to express binary logic, I wasn&#8217;t even responsible for the big-bang (I know, this shocked me too).</p>
<p>I think I&#8217;ll make a habit of re-defining &#8220;scratch&#8221; and re-assessing exactly which giants I chose to stand on the shoulders of.</p>
<p>Anyhoo, on that note I thought I&#8217;d share (in the spirit of blogging and such) a little Wordpress Plugin I wrote during this site&#8217;s development. I call it textualise, and it does just that - perfect for those who don&#8217;t wish to show up their lack of design skill by attempting icons and such. </p>
<p>Post dates, after some craziness, become something like <em>&#8220;monday, january the twelfth, two thousand and nine&#8221;</em>. Similarly, it will consume your comment counters and adventually pass <em>&#8220;three others helped&#8221; </em>or <em>&#8220;no one has helped&#8221;</em>. Feel free to <a href='http://www.phenotypic.co.uk/wp-content/uploads/2009/01/textual.zip'>download it</a> and do with it as you please. If you do happen to tidy up the code let me know, I&#8217;ll be more than happy to accept your help.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phenotypic.co.uk/wordpress-hackery/feed/</wfw:commentRss>
		</item>
		<item>
		<title>What&#8217;s in a title?</title>
		<link>http://www.phenotypic.co.uk/whats-in-a-title/</link>
		<comments>http://www.phenotypic.co.uk/whats-in-a-title/#comments</comments>
		<pubDate>Mon, 12 Jan 2009 21:31:45 +0000</pubDate>
		<dc:creator>Andrew</dc:creator>
		
		<category><![CDATA[Plasticity]]></category>

		<guid isPermaLink="false">http://phenotypic.co.uk/?p=4</guid>
		<description><![CDATA[To mark the ten (ok, eleven now) year anniversary of my first real foray into web development I’ve decided to launch my second ever website, a bit strange for someone who does this for a living, I’ll grant you, but here it is.
Welcome to Phenotypic.
You may notice that the site is somewhat flawed (you know [...]]]></description>
			<content:encoded><![CDATA[<p>To mark the ten (ok, eleven now) year anniversary of my first real foray into web development I’ve decided to launch my second ever website, a bit strange for someone who does this for a living, I’ll grant you, but here it is.</p>
<p>Welcome to Phenotypic.<span id="more-4"></span></p>
<p>You may notice that the site is somewhat flawed (you know who you are). For example; the link styles aren&#8217;t consistent, the text contrast is a little low, the comments form is nonexistent and, amongst other things, the entire site has no purpose. You may think that this a deliberate attempt to rebel, a mistake or simply a lack of talent. I just enjoy not caring.</p>
<p>So, I have a blog. What next, Twitter? Never. No one cares that much about my to-ings and fro-ings.</p>
<p>Do they?</p>
<p>No.</p>
<p>They don&#8217;t.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.phenotypic.co.uk/whats-in-a-title/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
