<?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>marcgray.co.uk &#187; Web</title>
	<atom:link href="http://marcgray.co.uk/category/web/feed/" rel="self" type="application/rss+xml" />
	<link>http://marcgray.co.uk</link>
	<description>Technical musings of a self-confessed geek.</description>
	<lastBuildDate>Mon, 28 Nov 2011 22:18:50 +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>Experiment</title>
		<link>http://marcgray.co.uk/2011/04/experiment/</link>
		<comments>http://marcgray.co.uk/2011/04/experiment/#comments</comments>
		<pubDate>Sun, 10 Apr 2011 20:21:03 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://marcgray.co.uk/?p=110</guid>
		<description><![CDATA[I was discussing how quickly Google can pick up some new sites with someone earlier, and I recall it seeing these new blog posts very quickly. This is a test blog post to check. I&#8217;ll post the time taken as a comment. Googlewhack: jeyahnam]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F04%2Fexperiment%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F04%2Fexperiment%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop --><p>I was discussing how quickly Google can pick up some new sites with someone earlier, and I recall it seeing these new blog posts very quickly. This is a test blog post to check. I&#8217;ll post the time taken as a comment.</p>
<p>Googlewhack: jeyahnam</p>
<div class="shr-publisher-110"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F04%2Fexperiment%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F04%2Fexperiment%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://marcgray.co.uk/2011/04/experiment/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Lizamoon: Is every other developer stupid?</title>
		<link>http://marcgray.co.uk/2011/04/lizamoon-is-every-other-developer-stupid/</link>
		<comments>http://marcgray.co.uk/2011/04/lizamoon-is-every-other-developer-stupid/#comments</comments>
		<pubDate>Fri, 01 Apr 2011 14:03:29 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Security]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://marcgray.co.uk/?p=106</guid>
		<description><![CDATA[There&#8217;s been a lot of news today about an &#8220;SQL Injection Attack&#8221; that&#8217;s affected over half a million websites. Oh no! First of all, despite comments to the contrary, I&#8217;m going to sit here and say: It&#8217;s XSS not SQL. The only evidence I&#8217;ve seen so far to contradict me is &#8220;it was stored in [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F04%2Flizamoon-is-every-other-developer-stupid%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F04%2Flizamoon-is-every-other-developer-stupid%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop --><p>There&#8217;s been a lot of news today about an &#8220;SQL Injection Attack&#8221; that&#8217;s affected over half a million websites.</p>
<p>Oh no!</p>
<p>First of all, despite comments to the contrary, I&#8217;m going to sit here and say: It&#8217;s XSS not SQL. The only evidence I&#8217;ve seen so far to contradict me is &#8220;it was stored in the database&#8221;. Well, XSS attacks commonly are. Here&#8217;s the difference:</p>
<p>XSS: Uses Javascript either in the site&#8217;s page name or a comment/feedback section of a website. The results can either be visible immediately or after the data is re-presented on a page. Badly written sites that allow HTML in comment forms are particularly susceptible to this. This also affected Twitter some months ago.</p>
<p>SQL: Uses SQL in a comment/feedback section of a website. The results are usually visible later when the data is re-presented on a page. Any badly written website is susceptible to this. You&#8217;ll notice this a lot if you have an apostrophe in your name and have trouble entering it on a website.</p>
<p>Let me put this simply.</p>
<p><strong>IT IS CALLED SANITISATION.</p>
<p>Sanitisation. Read up about it.</strong></p>
<p>Seriously, how can a collection of developers responsible for over <strong>half a million websites</strong> be so <strong>stupid</strong> as to allow this?</p>
<p>So there we have it. I called potentially thousands of programmers stupid. Would any of you like to defend your position, and explain why a tiny bit of sanitisation was so hard for you?</p>
<p>Dumbasses.</p>
<div class="shr-publisher-106"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F04%2Flizamoon-is-every-other-developer-stupid%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F04%2Flizamoon-is-every-other-developer-stupid%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://marcgray.co.uk/2011/04/lizamoon-is-every-other-developer-stupid/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Internet Explorer 9</title>
		<link>http://marcgray.co.uk/2011/03/internet-explorer-9/</link>
		<comments>http://marcgray.co.uk/2011/03/internet-explorer-9/#comments</comments>
		<pubDate>Tue, 15 Mar 2011 20:09:02 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://marcgray.co.uk/?p=101</guid>
		<description><![CDATA[I remember when I was in college. We were all using Netscape Navigator. It was around the time Microsoft realised &#8220;Whoops, we screwed up, the internet is a big deal after all&#8221; and turned around their huge behemoth to focus on Internet Explorer 3/4. There was a great divide in the friendships then: Some loved [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F03%2Finternet-explorer-9%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F03%2Finternet-explorer-9%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop --><p>I remember when I was in college. We were all using Netscape Navigator. It was around the time Microsoft realised &#8220;Whoops, we screwed up, the internet is a big deal after all&#8221; and turned around their huge behemoth to focus on Internet Explorer 3/4. There was a great divide in the friendships then: Some loved IE4, some loved Netscape 4. Simon, I&#8217;m looking at you&#8230;</p>
<p>These were the days when you expected to hack your sites and put separate font tags in every table cell.</p>
<p>The internet has matured. Netscape Navigator died and resurrected as Firefox. Opera eventually realised they can&#8217;t charge 1% of the population for a browser and remain relevant, so went free (and ironically still only serve about 1%&#8230;).</p>
<p>Eventually the internet matured to such a degree that HTML5 was started, with the excitement and promise of non-Flash video, vector graphics, better input types. Javascript became more than &#8220;Oh look, another Javascript error&#8221;. The world rejoiced and embraced the new technologies.</p>
<p>Unless the user was running Internet Explorer.</p>
<p>Microsoft themselves have admitted that IE6 has become a big embarressment, a thorn in the side that everyone wants rid of. Frankly, they should have included IE7, and to a lesser degree IE8 in that too. Finally though, Microsoft have released their first ever competent and capable browser! Lets not give too much credit here though, they&#8217;ve only done it because they were losing market share rapidly.</p>
<p>Regardless of reasons or history, we&#8217;ve just entered an era of co-operability and compliance. Now, more than ever is the time to upgrade.</p>
<p>If you&#8217;re using Windows, regardless of which browser you currently use (hopefully Firefox, Chrome or Opera), upgrade your Internet Explorer to v9. If you&#8217;re using Windows in your office, push, demand and scream at your IT department until they upgrade.</p>
<p>http://www.beautyoftheweb.com/</p>
<div class="shr-publisher-101"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F03%2Finternet-explorer-9%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F03%2Finternet-explorer-9%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://marcgray.co.uk/2011/03/internet-explorer-9/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Ownership</title>
		<link>http://marcgray.co.uk/2011/01/google-ownership/</link>
		<comments>http://marcgray.co.uk/2011/01/google-ownership/#comments</comments>
		<pubDate>Thu, 20 Jan 2011 23:41:30 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://marcgray.co.uk/?p=92</guid>
		<description><![CDATA[So, I hear Larry Page has taken over management of Google from Eric Schmidt. I can only assume Sergey Brin can see what I see. In my view, Google is an idealistic company. Page and Brin can see what&#8217;s good for humanity, in a vaguely socialist way, and want to push ahead with it. Schmidt [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F01%2Fgoogle-ownership%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F01%2Fgoogle-ownership%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop --><p>So, I hear Larry Page has taken over management of Google from Eric Schmidt. I can only assume Sergey Brin can see what I see.</p>
<p>In my view, Google is an idealistic company. Page and Brin can see what&#8217;s good for humanity, in a vaguely socialist way, and want to push ahead with it. Schmidt has no doubt been the quiet voice in their ear saying &#8220;This isn&#8217;t a good idea&#8230;&#8221;.</p>
<p>You only need to look at PR disasters such as Street View and their privacy issues to see, a little more careful consideration isn&#8217;t a bad thing where Google is concerned. Let&#8217;s get something straight here for you readers thinking &#8220;Hey, they stole my Wi-Fi info&#8221;: If your network wasn&#8217;t encrypted, Google reading your data is the least of your problems.</p>
<p>I have a bad feeling this change in management will cause Google to make more badly informed decisions, and upset the general public even more. I&#8217;ve said before I&#8217;m a big fan of theirs, and believe in their &#8220;Don&#8217;t be Evil&#8221; policy, but this isn&#8217;t a case of &#8220;trust is earnt&#8221;. A company with the size and power of Google will be perceived to have done evil regardless of their intentions.</p>
<p>I can only pray Mr Page will put much more thought into his new product launches than the company as a whole has done until now. Without such consideration, they&#8217;ll end up in the newspapers every other day with some new sensational issue.</p>
<p>I wish you luck Mr Page, but I don&#8217;t have confidence.</p>
<div class="shr-publisher-92"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F01%2Fgoogle-ownership%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2011%2F01%2Fgoogle-ownership%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://marcgray.co.uk/2011/01/google-ownership/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>EU vs Google: Anti-Trust Probe</title>
		<link>http://marcgray.co.uk/2010/11/eu-vs-google-anti-trust-probe/</link>
		<comments>http://marcgray.co.uk/2010/11/eu-vs-google-anti-trust-probe/#comments</comments>
		<pubDate>Tue, 30 Nov 2010 12:25:29 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://marcgray.co.uk/?p=85</guid>
		<description><![CDATA[This post relates to the article found at the BBC website, and doubtlessly thousands of other places. I openly admit, I fall into the Pro-Google group. I believe Brin &#038; Page do ultimately have our best interests at heart, if they are a little naive sometimes. I use Google for search, I use iGoogle for [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F11%2Feu-vs-google-anti-trust-probe%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F11%2Feu-vs-google-anti-trust-probe%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop --><p>This post relates to the article found at <a href="http://www.bbc.co.uk/news/technology-11876443">the BBC website</a>, and doubtlessly thousands of other places.</p>
<p>I openly admit, I fall into the Pro-Google group. I believe Brin &#038; Page do ultimately have our best interests at heart, if they are a little naive sometimes. I use Google for search, I use iGoogle for my homepage and I own a Google Android phone. I use Google for adverts (you know, that thing on the bottom right none of you ever click on). I also appreciate their motto &#8220;Don&#8217;t be Evil&#8221; cannot be an absolute.</p>
<p>The anti-trust investigation focuses on Google&#8217;s search results, and alleges that the results are manipulated in Google&#8217;s favour. I personally think this is unlikely, as it goes against the core principles of Google and their founders. As a point of interest, I searched Google for the term &#8220;search engine&#8221;. Here&#8217;s the results in order:</p>
<ol>
<li>Dogpile Web Search</li>
<li>Wikipedia entry on Search Engines</li>
<li>Microsoft Bing Search Engine</li>
<li>Altavista UK Search Engine</li>
<li>Altavista International Search Engine</li>
<li><strong>Google</strong></li>
<li>Ask Search Engine</li>
<li>Yahoo Search Engine</li>
</ol>
<p>If anything, these results are biased against Google: They have by far the dominant position in worldwide usage, so should be higher up that list?</p>
<p>I&#8217;m going to watch this case with interest, but I strongly suspect the companies complaining will end up looking like sore losers.</p>
<div class="shr-publisher-85"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F11%2Feu-vs-google-anti-trust-probe%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F11%2Feu-vs-google-anti-trust-probe%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://marcgray.co.uk/2010/11/eu-vs-google-anti-trust-probe/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Browser Versions</title>
		<link>http://marcgray.co.uk/2010/10/browser-versions/</link>
		<comments>http://marcgray.co.uk/2010/10/browser-versions/#comments</comments>
		<pubDate>Sat, 23 Oct 2010 10:49:36 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://marcgray.co.uk/?p=80</guid>
		<description><![CDATA[Every couple of months, I have a look at StatCounter&#8217;s Global Stats page, it&#8217;s probably one of the most balanced internet usage statistics services in the world, as their counter widgets are installed on a wide variety of websites. Most statistics services are based on access to specific servers, like the W3C&#8217;s one. I have [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F10%2Fbrowser-versions%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F10%2Fbrowser-versions%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop --><p>Every couple of months, I have a look at <a href="http://gs.statcounter.com">StatCounter&#8217;s Global Stats</a> page, it&#8217;s probably one of the most balanced internet usage statistics services in the world, as their counter widgets are installed on a wide variety of websites. Most statistics services are based on access to specific servers, like the W3C&#8217;s one. I have a great deal of respect for the W3C, but I don&#8217;t believe statistics based on users visiting a technical web developer site is balanced.</p>
<p>As a web developer, browser and operating system usage trends are of great importance to me, though often depressing. I feel I need to know what browsers are most relevant for me to test sites against (if only more people did this, the internet would be a better place&#8230;). This philosophy has brought up a few questions about geography and intended demographics.</p>
<p>If the site is of a technical nature, should I instead focus on statistics from the W3C site? Should this blog be better optimised for those the W3C suggests? If so, perhaps I should consider Linux fonts and some more obscure browsers. </p>
<p>Does a shopping site primarily designed for European delivery really care what browsers the Asian market are using? In Europe, Internet Explorer 6 had 3.32% of the usage share in September 2010, but in Asia it has 16.26%!</p>
<p>The best solution, of course, is to optimise every site for every browser, but there comes a point where hours (or even days) of extra work would be done for a browser no one will ever use. Time is money, and money comes from the clients. I feel it&#8217;s my responsibility to advise clients as best I can to save them money. I guess it comes down to percentages. Do I or my clients care about a browser with 5% usage share? How about 3%? 2%? Where is the line drawn?</p>
<p>The situation is even more complex when you consider your clients needs in more detail. I&#8217;ve recently completed a website for a client who owns an iPad and an iPhone &#8211; these devices occupy a marginal share of browser use, but in this case special care was needed to ensure the site worked flawlessly on both. On a similar note, though most people begrudge fixing websites for Internet Explorer 6 or 7, if the client is a business that still has either of these browsers installed on their workstations, the fixes and optimisations suddenly become a lot more important.</p>
<p>A lot of my musings on this matter are courtesy of Internet Explorer. I desperately want to drop IE6 from my testing cycle, but I can&#8217;t. I kept telling myself &#8220;if it&#8217;s under 5% share, who cares?&#8221;, but such a cavalier attitude doesn&#8217;t make clients happy.</p>
<p>I think it boils down to: Write it for Firefox, fix it for Internet Explorer 8, test it in Chrome, Safari and Opera&#8230; Then apply whatever fixes are necessary for Internet Explorer 6 and 7 in a separate stylesheet. Lately this approach has been working well &#8211; sites work in everything, but don&#8217;t have (as a previous client once put it) &#8220;Razzle Dazzle&#8221; for the lower share browsers.</p>
<div class="shr-publisher-80"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F10%2Fbrowser-versions%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F10%2Fbrowser-versions%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://marcgray.co.uk/2010/10/browser-versions/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Crackers</title>
		<link>http://marcgray.co.uk/2010/10/crackers/</link>
		<comments>http://marcgray.co.uk/2010/10/crackers/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 22:30:44 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Security]]></category>
		<category><![CDATA[VPS]]></category>
		<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://marcgray.co.uk/?p=76</guid>
		<description><![CDATA[Let me define a few terms in the IT world: Hackers: Used to be known as the seedy, dodgy guys in films who break PCs. Nowadays hackers are the elite programmers who can turn Lead into Gold and such. Crackers: Always considered &#8220;bad&#8221;, and now taken on the original definition of hacker. Crackers break things [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F10%2Fcrackers%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F10%2Fcrackers%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop --><p>Let me define a few terms in the IT world:</p>
<p>Hackers: Used to be known as the seedy, dodgy guys in films who break PCs. Nowadays hackers are the elite programmers who can turn Lead into Gold and such.</p>
<p>Crackers: Always considered &#8220;bad&#8221;, and now taken on the original definition of hacker. Crackers break things for their own purposes (spam, taking down servers etc).</p>
<p>I&#8217;ve had a run-in with some crackers lately which is starting to annoy me. As a server administrator, I wish I could do more about it. PCs in Saudi Arabia, Korea and China have been doing their best to take over my server through SSH, and in separate attempts, turn my server into a spam &#8220;bot&#8221;.</p>
<p>The widespread abuse of PCs and servers worldwide is becoming a serious issue. I have enough experience to keep these guys out (though I should have changed my SSH port before today&#8230;) and haven&#8217;t been seriously affected by it, but what about the other guys?</p>
<p>I&#8217;m a strong believer in security above all else, but I&#8217;ve been somewhat upset recently by a large company not using basic security consistently in their own card processing example code.</p>
<p>I think the point I&#8217;m making is twofold:</p>
<p>1. People need to consider security more carefully. You never know what will happen or when. Change default SSH and Remote Desktop ports. Sanitise all your data. Use passwords that no one could possibly ever guess. Use blacklists and blacklist data providers. Implement brute force limitations.</p>
<p>2. Governments need to consider cracking and PC abuse more seriously. If someone breaks into 1000 houses and steals a little money from each, they&#8217;d be in prison. If you steal 1000 bank records and commit minor fraud on each, you stand a fair chance of getting away with it. Hell, if you&#8217;re in the right country, no one will care.</p>
<p>The world needs to sit down and enforce specific laws around cracking, proxy servers without sufficient logging and infact any service that doesn&#8217;t maintain reasonable IP logging. Server owners worldwide need to be held responsible for continuously allowing (willingly or through negligence) cracking, unlawful or illegal activities on their systems. If you&#8217;re not logging it and willing to pass this on to the relevant authorities as required, you should be held partially responsible.</p>
<p>You do something illegal on my server, I&#8217;m rollin&#8217; over on ya.</p>
<div class="shr-publisher-76"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F10%2Fcrackers%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F10%2Fcrackers%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://marcgray.co.uk/2010/10/crackers/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Call to Arms!</title>
		<link>http://marcgray.co.uk/2010/08/call-to-arms/</link>
		<comments>http://marcgray.co.uk/2010/08/call-to-arms/#comments</comments>
		<pubDate>Thu, 12 Aug 2010 23:26:46 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Operating Systems]]></category>
		<category><![CDATA[Web]]></category>
		<category><![CDATA[Windows]]></category>

		<guid isPermaLink="false">http://marcgray.co.uk/?p=69</guid>
		<description><![CDATA[I never thought I&#8217;d type this entry. My previous website portfolio has included code to apply hacks and fixes for IE6, 7 and 8. While I&#8217;m on the topic, this is good advice for all you budding (or some experienced) web developers out there. Why do I only apply fixes to 6, 7, and 8? [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F08%2Fcall-to-arms%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F08%2Fcall-to-arms%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop --><p>I never thought I&#8217;d type this entry.</p>
<p>My previous website portfolio has included code to apply hacks and fixes for IE6, 7 and 8. While I&#8217;m on the topic, this is good advice for all you budding (or some experienced) web developers out there. Why do I only apply fixes to 6, 7, and 8? IE5.5 and lower are basically no longer used, and people using it expect almost every site they use to look bad with it. IE9 isn&#8217;t released yet, and you simply don&#8217;t know how your fixes will look in it. This is the common philosophy: Develop it properly, then hack it for IE. Since every version of IE has substantially different rendering bugs, you can&#8217;t realistically apply the same fixes for IE6-8 in IE9 before you&#8217;ve tested it. You should always be as specific as possible with your hacks and fixes, to save them having unwanted effects in other browsers.</p>
<p>As I was saying. I installed the Internet Explorer 9 beta today. I loaded my most complex sites (with only IE6-8 hacks). I closed my eyes. I&#8217;d have prayed if I wasn&#8217;t atheist.</p>
<p>I spent a moment in the darkness of my mind thinking about the beautiful curved edges. The advanced Javascript applied styles. The HTML5 video. So pretty.</p>
<p>I opened my eyes.</p>
<p>I blinked.</p>
<p>At this stage, I&#8217;m pretty convinced my eyes are still closed, or my mind has stuck on the beautiful imaginings of the Firefox, Chrome, Safari and Opera view of my portfolio. I called my wife over and asked her: &#8220;What do you see?&#8221;</p>
<p>Internet Explorer 9 actually displayed the site properly. HTML5 video, inline-block li tags with styled block div child elements, curved borders &#8211; the lot.</p>
<p>It actually worked. All of it!</p>
<p>It actually worked.</p>
<p>This brings me to the title of this post. Call to Arms:</p>
<p>Now that Microsoft is showing some care towards standards, we all need to upgrade. Lets stop this trend of IE 6 and 7 (plus 8 to a lesser extent) usage NOW. Petition your IT manager, bully your friends and colleagues. No really, bully them.</p>
<p>If a genie appeared before me now and granted me one wish: It would be to instantly upgrade the whole world to IE9.</p>
<p>Thank you Microsoft. It&#8217;s been 18 years coming, but thank you.</p>
<div class="shr-publisher-69"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F08%2Fcall-to-arms%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F08%2Fcall-to-arms%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://marcgray.co.uk/2010/08/call-to-arms/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Domain Sale</title>
		<link>http://marcgray.co.uk/2010/08/domain-sale/</link>
		<comments>http://marcgray.co.uk/2010/08/domain-sale/#comments</comments>
		<pubDate>Sun, 01 Aug 2010 22:52:33 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://marcgray.co.uk/?p=65</guid>
		<description><![CDATA[A while ago I had an idea. Since that time, it&#8217;s been pushed further and further back as more important projects have started. Finally, I realise I&#8217;m never going to develop the idea, and it&#8217;s time to let go and sell the domains. I&#8217;ve created a little sedo account and popped two domains up: localtakeawaymenu.co.uk [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F08%2Fdomain-sale%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F08%2Fdomain-sale%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop --><p>A while ago I had an idea. Since that time, it&#8217;s been pushed further and further back as more important projects have started. Finally, I realise I&#8217;m never going to develop the idea, and it&#8217;s time to let go and sell the domains. I&#8217;ve created a little sedo account and popped two domains up:</p>
<p><a href="http://localtakeawaymenu.co.uk">localtakeawaymenu.co.uk</a><br />
<a href="http://localrestaurantmenu.co.uk">localrestaurantmenu.co.uk</a></p>
<p>If you&#8217;re interested, there should be links to register and buy from the sedo holding page.</p>
<div class="shr-publisher-65"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F08%2Fdomain-sale%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F08%2Fdomain-sale%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://marcgray.co.uk/2010/08/domain-sale/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Centered LI in UL without Float</title>
		<link>http://marcgray.co.uk/2010/06/centered-li-in-ul-without-float/</link>
		<comments>http://marcgray.co.uk/2010/06/centered-li-in-ul-without-float/#comments</comments>
		<pubDate>Mon, 07 Jun 2010 09:56:47 +0000</pubDate>
		<dc:creator>Marc</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://marcgray.co.uk/?p=62</guid>
		<description><![CDATA[It&#8217;s so simple. You want to use UL elements for your menus. You want to style them with CSS. You want all the LI items centered. Until now I&#8217;ve been using &#8220;float: left;&#8221;, which then leaves you to manually center the whole UL with specific margins. I&#8217;ve developed a simple CMS system which generates all the [...]]]></description>
			<content:encoded><![CDATA[<!-- Start Shareaholic LikeButtonSetTop --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F06%2Fcentered-li-in-ul-without-float%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F06%2Fcentered-li-in-ul-without-float%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetTop --><p>It&#8217;s so simple. You want to use UL elements for your menus. You want to style them with CSS. You want all the LI items centered.</p>
<p>Until now I&#8217;ve been using &#8220;float: left;&#8221;, which then leaves you to manually center the whole UL with specific margins. I&#8217;ve developed a simple CMS system which generates all the menus with LI entries, and this obviously poses a big problem with template design. I&#8217;d mostly ignored the issue until my latest client, who wants the CMS <strong>and</strong> lots of centered menus.</p>
<p>I had a quick look online, and most of the sites out there suggest this feature is some kind of black magic, requiring the sacrifice of some poor capra family mammal. Obviously, any simple solution would require decades of tweaking to work in Internet Explorer 6 (from this point forward to be known as &#8220;The I Hate Microsoft Browser&#8221;).</p>
<p>Nope. In the inimitable and immortal words of &#8220;The Meerkat&#8221;: Simples.</p>
<p>Here&#8217;s whatcha do:</p>
<p>Step 1: It puts the &#8220;text-align: center;&#8221; in the UL.</p>
<p>Step 2: It puts the &#8220;display: inline;&#8221; in the LI.</p>
<p>Step 3: It doesn&#8217;t put the float in either.</p>
<p>(Don&#8217;t worry, this doesn&#8217;t involve Buffalo Bill or ointment)</p>
<p>This appears to even work in IE6. (Yes, I know. Shocking isn&#8217;t it?)</p>
<div class="shr-publisher-62"></div><!-- Start Shareaholic LikeButtonSetBottom --><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><div class='shareaholic-like-buttonset' style='float:none;height:30px;'><a class='shareaholic-fblike' shr_layout='button_count' shr_showfaces='false' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F06%2Fcentered-li-in-ul-without-float%2F'></a><a class='shareaholic-googleplusone' shr_size='medium' shr_count='true' shr_href='http%3A%2F%2Fmarcgray.co.uk%2F2010%2F06%2Fcentered-li-in-ul-without-float%2F'></a></div><div style="clear: both; min-height: 1px; height: 3px; width: 100%;"></div><!-- End Shareaholic LikeButtonSetBottom -->]]></content:encoded>
			<wfw:commentRss>http://marcgray.co.uk/2010/06/centered-li-in-ul-without-float/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

