<?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>Timeshifting Interactive &#187; Information Technology</title>
	<atom:link href="http://www.timeshifting.com/blog/category/information-technology/feed" rel="self" type="application/rss+xml" />
	<link>http://www.timeshifting.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Mon, 07 Feb 2011 01:54:21 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.1.2</generator>
		<item>
		<title>Customising iTunes as a Media Server</title>
		<link>http://www.timeshifting.com/blog/customising-itunes-as-media-server?utm_source=RSS+Feed&#038;utm_medium=feed&#038;utm_campaign=Timeshifting+Interactive+Blog</link>
		<comments>http://www.timeshifting.com/blog/customising-itunes-as-media-server#comments</comments>
		<pubDate>Thu, 30 Sep 2010 21:26:08 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Information Technology]]></category>

		<guid isPermaLink="false">http://www.timeshifting.com/?p=119</guid>
		<description><![CDATA[One of the great things about digital formats is being able to easily group and find all of your music and video. iTunes combined with Remote.app on iOS devices (iPhone/iPad/iPod Touch) works really well for selecting and playing music around the home or office. Music playback doesn&#8217;t need much processing power, so any old PC [...]]]></description>
			<content:encoded><![CDATA[<p>One of the great things about digital formats is being able to easily group and find all of your music and video.  iTunes combined with Remote.app on iOS devices (iPhone/iPad/iPod Touch) works really well for selecting and playing music around the home or office.  Music playback doesn&#8217;t need much processing power, so any old PC or laptop can be repurposed for the task, or it can be added to a pre-existing server.</p>
<p>Add a couple of AirPort Express base stations for <a href="http://www.apple.com/airportexpress/features/airtunes.html">AirTunes</a> and you can control both music selection and multiple sets of speakers from the iPhone.  AirPorts can just be setup to join an existing network, rather than creating their own, to provide an additional set of speakers to send music to.</p>
<p><span id="more-119"></span>The main problem with iTunes is it’s not really designed to run as a server application.  For example you must log in and run the app after every restart, a necessity for Windows Update.  Admittedly you could set the computer in question to auto-login and add iTunes to the startup group, nor is it even practical if the computer in question is an office server as well.</p>
<p>It is, however, possible to successfully run iTunes as a service.  The trick is to use a service wrapper utility called SrvAny from the Windows 2003 Resource Kit.  This runs when the computer starts up and starts iTunes as a service in the background.  We set up a separate user account for iTunes and SrvAny to run under, and set permissions on this account to lock it down so it could only access the music files.   To set up iTunes as a Service, copy ‘srvany.exe’ to c:\windows\system32, add the following to the registry (customising for your system as necessary), and then in the Service to login as &#8216;iTunesServer&#8217;:</p>
<pre style="width: 100%; overflow-x: auto">
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\itunesservice]
"Type"=dword:00000010
"Start"=dword:00000002
"ErrorControl"=dword:00000001
"ImagePath"="C:\\Windows\\System32\\Srvany.exe"
"DisplayName"="iTunes (Media Server)"
"ObjectName"="NT Authority\\LocalService"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\itunesservice\Parameters]
"Application"="C:\\Program Files\\iTunes\\iTunes.exe"

[HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Services\itunesservice\Enum]
"0"="Root\\LEGACY_ITUNESSERVICE\\0000"
"Count"=dword:00000001
"NextInstance"=dword:00000001
</pre>
<p>This has been tested on a Windows 2008 Server here, but should work fine on any version of Windows, desktop or server.  If you need to access the iTunes UI for any reason, stop the service and run the app interactively from the ‘iTunesServer’ user account.</p>
<p>The other minor annoyance of iTunes is the speaker list that comes up in Remote.app.  You can specify a name for AirTunes speakers, but the ones attached the computer iTunes is running on are always called ‘My Computer’.  Fortunately this can be customised too by editing the iTunes localisation file.  Locate the file below (selecting the correct .lproj folder for your language):</p>
<pre style="width: 100%; overflow-x: auto">
<strong>Windows:</strong>
c:\Program Files\iTunes\iTunes.Resources\en.lproj\Localizable.strings

<strong>MacOS:</strong>
/Applications/iTunes.app/Contents/Resources/English.lproj/Localizable.strings
</pre>
<p>And search for string ‘163.035’ (without quotes)&#8212;that is the name for the built-in speakers.  Change it to whatever you want. In iTunes 10 and newer the localisation files are commented, so it’s easier to find and edit these text strings.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.timeshifting.com/blog/customising-itunes-as-media-server/feed</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
		<item>
		<title>Browser Plug-ins</title>
		<link>http://www.timeshifting.com/blog/browser-plug-ins?utm_source=RSS+Feed&#038;utm_medium=feed&#038;utm_campaign=Timeshifting+Interactive+Blog</link>
		<comments>http://www.timeshifting.com/blog/browser-plug-ins#comments</comments>
		<pubDate>Mon, 17 May 2010 04:42:16 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Information Technology]]></category>

		<guid isPermaLink="false">http://www.timeshifting.com/?p=110</guid>
		<description><![CDATA[Browser plug-ins are a mixed blessing. They add useful functionality, but at the same time heighten your risk of viruses and other malicious code by increasing the browser attack surface. This is always a trade-off and sometimes the inconvenience of making sure the latest security updates are installed is worth the hassle. Google Analytics and [...]]]></description>
			<content:encoded><![CDATA[<p>Browser plug-ins are a mixed blessing.  They add useful functionality, but at the same time heighten your risk of viruses and other malicious code by increasing the browser attack surface. This is always a trade-off and sometimes the inconvenience of making sure the latest security updates are installed is worth the hassle.  Google Analytics and Xero without Flash, for example, would loose their interactive graphs greatly reducing the functionality of both applications.</p>
<p>However, there&#8217;s a difference between a plug-in you&#8217;ve chosen to install, and one that just installs itself along with another piece of software. Worse still are those plug-ins that you just can&#8217;t uninstall.  iTunes is particularly annoying in this regard, there&#8217;s no uninstall and deleting the plug-in files causes iTunes to reinstall itself (and the plug-in) on next run.  Sure you can disable the plug-in in the browser, but I&#8217;d prefer it not to be there in the first place.</p>
<p><span id="more-110"></span>After looking into this further, there is a way to permanently block unwanted plug-ins without deleting the files (which just causes iTunes, the .NET Framework Firefox plug-in, and many others to reinstall themselves).  The trick is to create another Administrator user account on your machine, and use that account set file permissions on the plug-in to block access from your normal user account.  Without &#8216;read&#8217; rights to the plug-in file, there&#8217;s no way it can load into your browser disabled or not.</p>
<p>Locating the plug-in files to block is pretty straight forward if you know where to look.  In Internet Explorer it&#8217;s under: Tools > Internet Options > Programs > Manage Add-ons.  Once in the &#8216;Manage Add-ons&#8217; dialog you&#8217;ll see a &#8216;File&#8217; column with the plug-in&#8217;s filename, right clicking on the column heading and checking &#8216;In Folder&#8217; will also show you the paths to these files.  In Firefox the plug-in list is displayed by typing &#8220;about:plugins&#8221; in the address bar. Unfortunately you&#8217;ll need to figure out the file paths yourself, as Firefox doesn&#8217;t tell you this.</p>
<p>Once blocked, your browser plugins list will be reduced to just those that you need and want, in doing so making your browser more stable and secure.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.timeshifting.com/blog/browser-plug-ins/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Outlook to iPhone/iPod Touch Calendar: 2 Way Wireless Sync without iTunes</title>
		<link>http://www.timeshifting.com/blog/outlook-to-iphoneipod-touch-calendar-2-way-wireless-sync-without-itunes?utm_source=RSS+Feed&#038;utm_medium=feed&#038;utm_campaign=Timeshifting+Interactive+Blog</link>
		<comments>http://www.timeshifting.com/blog/outlook-to-iphoneipod-touch-calendar-2-way-wireless-sync-without-itunes#comments</comments>
		<pubDate>Mon, 12 Apr 2010 08:25:17 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Information Technology]]></category>

		<guid isPermaLink="false">http://www.timeshifting.com/?p=102</guid>
		<description><![CDATA[The calendaring on the iPhone is great; unlike Outlook you don’t have to be at your desk to get reminders of appointments and meetings.  However entering calendar items on the iPhone keyboard is a pain, and the UI doesn’t expose a full range of reminder options, e.g. ‘1 week before’. Of course one can sync [...]]]></description>
			<content:encoded><![CDATA[<p>The calendaring on the iPhone is great; unlike Outlook you don’t have to be at your desk to get reminders of appointments and meetings.  However entering calendar items on the iPhone keyboard is a pain, and the UI doesn’t expose a full range of reminder options, e.g. ‘1 week before’.</p>
<p>Of course one can sync between the two using iTunes, but this is tedious to say the least and not exactly practical if you use your Calendar and To Dos a lot.  The iPhone OS 3.0 introduced Exchange ActiveSync, allowing medium- to enterprise-sized businesses with an Exchange Server installation to do 2-way wireless sync.  For smaller enterprises this may not be an option, even if they have Exchange, due to the increased security concerns of making their mail server internet facing.</p>
<p>It is possible to have 2-way sync without Exchange, by using a Google Calendar as intermediate store and synching both the iPhone and Outlook against that.  Internally we use ‘Google Apps for Business’ for our e-mail, mainly due to the excellent spam filtering, and that also provides calendar accounts.  However any Google calendar account will do.</p>
<p><span id="more-102"></span>The process is as follows; as with anything, make sure you have a full backup before you start and that you have synched with iTunes first so both calendars are in sync:</p>
<ol>
<li>Setup a Google Calendar Account</li>
<li>Use Google Calendar Sync to synchronize between Outlook 2003 (or newer) and your Google Calendar.†</li>
<li>Setup Exchange ActiveSync on your iPhone to sync between the iPhone/iPod Touch and Google calendar</li>
</ol>
<p class="sectionEnd"><i>† At the time of writing Google Calendar Sync doesn’t work with Outlook 2010 beta, however it is expected that this will be resolved by the time Office 2010 is released.</i></p>
<p><strong style="font-size: 14px">Google Calendar Sync</strong></p>
<p>This can be downloaded from the URL below.  The configuration is very simple, just enter the username and password of the Google Calendar you wish to sync to and save.  The program is automatically added to your ‘Startup’ group and will run in the background, synching your calendar every 2 hours by default (this can be changed to any timeframe that suits).  The only caveat is it will only sync your primary calendar, so if you have multiple calendars in Outlook you may wish to consider consolidating those and using Category labels if possible.</p>
<p class="sectionEnd"><a title="Google Calendar Sync" href="http://www.google.com/support/calendar/bin/answer.py?hl=en&amp;answer=89955" target="_blank">http://www.google.com/support/calendar/bin/answer.py?hl=en&amp;answer=89955</a></p>
<p><strong style="font-size: 14px">Exchange ActiveSync for Calendar</strong></p>
<p>Google’s servers now support Exchange ActiveSync communication, which unlike previous calDAV setups support data ‘Push’.  This means that, when Google Calendar Sync updates the Google Calendar online from Outlook, Google’s servers will push the updates down to your device immediately (even if it’s asleep) so reminders work straight away.</p>
<ol>
<li>Open the Settings from the home screen.</li>
<li>Open Mail, Contacts, Calendars.</li>
<li>Tap Add Account…</li>
<li>Select Microsoft Exchange.</li>
</ol>
<p><strong>Account Info</strong></p>
<ul>
<li>Email: your Google account address (usually somebody@gmail.com) or Google apps email address</li>
<li>Domain: leave blank</li>
<li>Username: same as the email field, your Google account address</li>
<li>Password: your Google account password</li>
<li>Server: m.google.com</li>
<li><em>Choose Accept if the Unable to Verify Certificate dialog appears.</em></li>
</ul>
<p><strong>Sync</strong></p>
<ul>
<li>Mail: no</li>
<li>Contacts: no</li>
<li>Calendars: yes</li>
</ul>
<p>If you’re just synching calendars as described, the Mail sync options can be ignored and left as the defaults.</p>
<p>Once Exchange ActiveSync is set up your iPhone/iPod Touch and Outlook calendars should automatically stay in sync without intervention on your part.  And best of all, without having to use iTunes.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.timeshifting.com/blog/outlook-to-iphoneipod-touch-calendar-2-way-wireless-sync-without-itunes/feed</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>SSD Performance without ATA Trim</title>
		<link>http://www.timeshifting.com/blog/ssd-performance-without-ata-trim?utm_source=RSS+Feed&#038;utm_medium=feed&#038;utm_campaign=Timeshifting+Interactive+Blog</link>
		<comments>http://www.timeshifting.com/blog/ssd-performance-without-ata-trim#comments</comments>
		<pubDate>Thu, 19 Nov 2009 21:30:14 +0000</pubDate>
		<dc:creator>Matt</dc:creator>
				<category><![CDATA[Information Technology]]></category>

		<guid isPermaLink="false">http://www.timeshifting.com/?p=36</guid>
		<description><![CDATA[Solid State Disks (or SSDs) using flash memory chips instead of a rotating plater/head assembly like traditional hard drives are great. All of my systems here have one as the primary disk. Especially in a laptop situation the extra reliability and a computer that is completely silent are very welcome, as is the speed. They [...]]]></description>
			<content:encoded><![CDATA[<p>Solid State Disks (or <a href="http://en.wikipedia.org/wiki/Solid-state_drive">SSDs</a>) using flash memory chips instead of a rotating plater/head assembly like traditional hard drives are great. All of my systems here have one as the primary disk.  Especially in a laptop situation the extra reliability and a computer that is completely silent are very welcome, as is the speed.  They are fast, really fast when reading data of the disk—Windows starts in few seconds and applications near instantly.</p>
<p>The problem is the write performance, and it gets worse with time.  Writing data to a SSD* first involves first clearing a whole block and then writing data to it, and this block clearing is slow.  To compound the issue, the filler/more used the disk the less likely there will be an already clear block.  To the end user this clear/write cycle is worst with small random writes (e.g. a web browser writing to its cache, or version control software updating meta data—yes Subversion I&#8217;m looking at you!), and causes the whole machine lock-up for as much as 10 seconds at a time.</p>
<p><span id="more-36"></span>Windows 7 having been designed with SSDs in mind, includes support for the <a title="TRIM (SSD command)" href="http://en.wikipedia.org/wiki/TRIM_%28SSD_command%29">ATA Trim</a> command.  This allows Windows to tell the disk <em>&#8216;the data here isn&#8217;t needed anymore&#8217;</em> and the disk can clear the block during idle time, providing available clear blocks for write operations.  The catch is the SSD must support Trim, and none of mine do.  Annoyingly I have one of the first generation 50nm Intel SSDs, which they have [apparently] have no intention of supporting Trim on; the newer 34nm drives released about 9 months later do support Trim.</p>
<p>So what can you do if you don&#8217;t have Windows 7 and/or a drive that supports Trim?  On the face of it nothing, however then I got thinking&#8230; if you erased the whole disk with a tool that cleared all the blocks (a secure erase) that would get the drive back to factory and full performance.  You&#8217;d then need to reinstall Windows and your applications, buying you about 3 or 4 months before the performance nose dived again.  And after a reinstall there&#8217;d still be logical fragmentation on the disk, sure SSDs have no seek time, but if Windows thinks the file is fragmented it&#8217;s still going to issue 2 or more read operations, wait for 2 or more responses and reassemble the file.</p>
<p>I was reading about the image based backup and restore in the business/ultimate editions of Vista and 7.  This takes your existing Windows install, with apps, data and all, and backs it up as a disk image to an external hard drive or dvd(s).  The premise being if your disk fails or data gets corrupted you can restore from this image to exactly where you were before.  And that was the solution I&#8217;d been looking for, a why of maintaining the disk without the major hassle, <em>and without trim or Windows 7</em>.</p>
<p><strong>The SSD Optimistion Process</strong> †</p>
<ol>
<li>Delete unneeded temporary files and junk</li>
<li>Defragment your SSD to remove any logical fragmentation</li>
<li>Do a complete image based backup to an external usb drive (Control Panel &gt; Backup and Restore Center &gt; Windows Complete PC Backup)</li>
<li>Boot off a MS-DOS CD</li>
<li>Run a Secure Erase tool on the drive (like <a href="http://cmrr.ucsd.edu/people/Hughes/SecureErase.shtml">Secure HDDErase</a>—<a href="http://www.google.com/search?q=hdderase+3.3">v3.3</a> is required for Intel SSDs)</li>
<li>Restart with the external drive attached</li>
<li>Boot off your Vista or 7 Ultimate DVD</li>
<li>Select the restore image backup option</li>
</ol>
<p>Obviously this isn&#8217;t an instant process, but every few months it&#8217;s relatively painless especially compared with how annoying the lock-ups are.</p>
<p><span class="note"><br/>* For those that are interested I have both SLC and MLC drives, and the lock-up issue seems to occur with both.  The performance did degrade faster with the MLC unit though.  And yes, I&#8217;ve done all the SSD related system and registry tweaks.</span></p>
<p><span class="note">† Disclaimer: while this process worked fine for us, we take no responsibility for you trying it, and Timeshifting Interactive will not be held liable for any data loss or damaged drives resulting from your use of the above information. Always back up your data before trying something like this.</span></p>
]]></content:encoded>
			<wfw:commentRss>http://www.timeshifting.com/blog/ssd-performance-without-ata-trim/feed</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
	</channel>
</rss>

