<?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/"
xmlns:series="http://organizeseries.com/"
> <channel><title>VanDragt.com</title> <atom:link href="http://vandragt.com/feed/" rel="self" type="application/rss+xml" /><link>http://vandragt.com</link> <description>Commentary on Digital Media and Usability.</description> <lastBuildDate>Tue, 05 Feb 2013 15:14:17 +0000</lastBuildDate> <language>en-US</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=</generator> <item><title>The iPad Effect</title><link>http://vandragt.com/2012/12/the-ipad-effect/</link> <comments>http://vandragt.com/2012/12/the-ipad-effect/#comments</comments> <pubDate>Wed, 26 Dec 2012 12:01:11 +0000</pubDate> <dc:creator>Sander</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[apple]]></category> <category><![CDATA[ipad]]></category> <category><![CDATA[itv]]></category> <guid
isPermaLink="false">http://vandragt.com/?p=743</guid> <description><![CDATA[After using the iPad mini for a day now, I have noticed it already has affected how I see my iPhone 4 and a hypothetical iTV. I find that this is very much like any other experience in life; the best way to form an opinion about something is to contrast it with something else. [...]]]></description> <content:encoded><![CDATA[<p>After using the iPad mini for a day now, I have noticed it already has affected how I see my iPhone 4 and a hypothetical iTV. I find that this is very much like any other experience in life; the best way to form an opinion about something is to contrast it with something else. This is true from cultures to operating systems, and is also one of the reasons why I encourage people to travel.</p><h2>The iPad experience</h2><p>So even though I&#8217;ve had the pleasure of using an iPhone 4 for several years now, only now do I notice immediately after switching from the iPad mini how heavy it is! It&#8217;s actually heavier than the much bigger iPad mini, and feels uncomfortably heavy initially. Up until now, the solidness of the iPhone 4 has always been a positive to me. The iPad mini is almost (but not quite) too light and this changes the expectation of a smaller device.</p><p>After using the the mini for a while, I’m also painfully aware when launching Safari how short the phone&#8217;s screen is. So I am not surprised that Apple responded to its iPad advances by adjusting the expectations of how an iPhone should look and feel. I just wasn&#8217;t prepared for it!</p><p>As I currently don’t have a cover, I’m wondering how to take the iPad with me to work. I already much prefer it in terms of speed, easy of use, and screen estate, to the iPhone. Typing feels a lot easier as well making it much more suitable for articles like this one.</p><h2>On first use</h2><p>Oh, and how annoying is it to restore from an iPhone backup as your first iPad experience only to find out that half your apps have been miniaturised? Personally, I think iPhone apps shouldn&#8217;t restore to iPad at all, and instead if and when iPad versions are available one should see a list of apps to upgrade to.</p><p>Also Instacast, why no iPad version? Perhaps it&#8217;s makers agree the iPad is not optimal for enjoying podcasts. I wish we had the option to try it.</p><p>So far, it seems I have successfully post-predicted the iPhone 5, the podcasts app and Smart Cover! That makes me think Apple has been using the iPad mini internally for one or two years prior to the iPhone 5, and concluded similarly.</p><h2>On the TV experience</h2><p>Later that night as I lay awake and watched BBC News two more things hit me:</p><ol><li>How suitable the iPad mini is for watching TV and using apps like Netflix; not just in terms of screen size and crisp visuals but also in terms of content browsing.</li><li>How any future Apple TV has to group content apps within a dedicated interface as you don&#8217;t want to intersperse these with regular apps on the springboard.</li><li>There really should be a way to rest an iPad like how laptops are held up by their bodies, so I can lie back and watch.</li></ol><p>So I wouldn&#8217;t be surprised to see some kind of devices bundle where a small iPad acts as the content guide for an apps enabled Apple TV. Maybe add a content browser app with the content apps inside. The tv itself is then just a bigger output of the content already viewable on your tablet.</p><p>Plus In the future I would hope to see some sort of evolution of the Smart Cover that can support a device in a 90 degree angle like the iMac stand.</p> ]]></content:encoded> <wfw:commentRss>http://vandragt.com/2012/12/the-ipad-effect/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Creating a WordPress redirection page</title><link>http://vandragt.com/2012/12/creating-a-wordpress-redirection-page/</link> <comments>http://vandragt.com/2012/12/creating-a-wordpress-redirection-page/#comments</comments> <pubDate>Mon, 03 Dec 2012 16:38:17 +0000</pubDate> <dc:creator>Sander</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[wordpress]]></category> <guid
isPermaLink="false">http://vandragt.com/?p=732</guid> <description><![CDATA[This is the simplest way to add a page redirection feature to your WordPress theme. First, create a new theme file called redirect.php with the following contents: &#60;?php /* Template Name: Redirect */ the_post(); header('Location: ' . get_the_content()); die(); To create a new redirection page: New page, change the template to &#8216;Redirect&#8217; Switch to HTML [...]]]></description> <content:encoded><![CDATA[<p>This is the simplest way to add a page redirection feature to your WordPress theme.</p><p>First, create a new theme file called redirect.php with the following contents:</p><p><code> &lt;?php<br
/> /*<br
/> Template Name: Redirect<br
/> */<br
/> the_post();<br
/> header('Location: ' . get_the_content());<br
/> die();</code></p><p>To create a new redirection page:</p><ol><li>New page, change the template to &#8216;Redirect&#8217;</li><li>Switch to HTML editing mode and put the url in the content area.</li></ol> ]]></content:encoded> <wfw:commentRss>http://vandragt.com/2012/12/creating-a-wordpress-redirection-page/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Release 1.1 &#8211; wordpress-basetheme</title><link>http://vandragt.com/2012/11/release-1-1-wordpress-basetheme/</link> <comments>http://vandragt.com/2012/11/release-1-1-wordpress-basetheme/#comments</comments> <pubDate>Thu, 29 Nov 2012 12:26:51 +0000</pubDate> <dc:creator>Sander</dc:creator> <category><![CDATA[Uncategorized]]></category> <guid
isPermaLink="false">http://vandragt.com/?p=729</guid> <description><![CDATA[The aim for wordpress-basetheme is  a bare bones, well structured, easily customisable WordPress base theme. DRY (don&#8217;t repeat yourself) KISS (keep it simple stupid) Easily customisable WordPress base theme. Uses post formats (standard and link have been implemented) You can build on it to speed up your own theme development. It&#8217;s so minimal that I wouldn&#8217;t recommend [...]]]></description> <content:encoded><![CDATA[<p>The aim for wordpress-basetheme is  a bare bones, well structured, easily customisable WordPress base theme.</p><ul><li>DRY (<a
href="https://en.wikipedia.org/wiki/Don't_repeat_yourself" target="_blank">don&#8217;t repeat yourself</a>)</li><li>KISS (<a
href="https://en.wikipedia.org/wiki/KISS_principle" target="_blank">keep it simple stupid</a>)</li><li>Easily customisable WordPress base theme.</li><li>Uses <a
href="http://codex.wordpress.org/Post_Formats" target="_blank">post formats</a> (standard and link have been implemented)</li></ul><p>You can build on it to speed up your own theme development. It&#8217;s so minimal that I wouldn&#8217;t recommend it as your final site theme. Instead it makes it trivial to apply your design to a WordPress blog, or to build out from this starting point. This site is build on top of the project for example.</p><p><strong>Version 1.1 is now available</strong><br
/> <a
href="https://github.com/svandragt/wordpress-basetheme/archive/1.1.zip" target="_blank">Download</a> | <a
href="https://github.com/svandragt/wordpress-basetheme" target="_blank">View on GitHub</a></p><p>Changes:</p><ul><li>updated styling and version</li><li>previous next buttons on singles</li><li>ie style targeting (unused), remove admin bar until supported, top nav</li><li>archives added and accessibility improvement</li><li>date permalinks</li><li>consistent titling</li><li>edit link in footer, no home</li><li>moved comments into its own template file</li><li>padding issue</li></ul><p>Your feedback is welcome.</p> ]]></content:encoded> <wfw:commentRss>http://vandragt.com/2012/11/release-1-1-wordpress-basetheme/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>WordPress Base Theme</title><link>http://vandragt.com/2012/11/wordpress-base-theme/</link> <comments>http://vandragt.com/2012/11/wordpress-base-theme/#comments</comments> <pubDate>Fri, 23 Nov 2012 13:48:41 +0000</pubDate> <dc:creator>Sander</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[theme]]></category> <category><![CDATA[wordpress]]></category> <category><![CDATA[wordpress-basetheme]]></category> <guid
isPermaLink="false">http://vandragt.com/?p=691</guid> <description><![CDATA[I&#8217;ve released a first look at &#8220;WordPress Base Theme&#8220;, a bare bones base for your own themes: DRY KISS easily customisable WordPress base theme. You can build on this to speed up your own theme development.]]></description> <content:encoded><![CDATA[<p>I&#8217;ve released a first look at &#8220;<a
href="https://github.com/svandragt/wordpress-basetheme">WordPress Base Theme</a>&#8220;, a bare bones base for your own themes:</p><ul><li>DRY</li><li>KISS</li><li>easily customisable WordPress base theme.</li></ul><p>You can build on this to speed up your own theme development.</p> ]]></content:encoded> <wfw:commentRss>http://vandragt.com/2012/11/wordpress-base-theme/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>DisplayAnything3</title><link>http://vandragt.com/2012/11/displayanything3/</link> <comments>http://vandragt.com/2012/11/displayanything3/#comments</comments> <pubDate>Wed, 14 Nov 2012 11:29:27 +0000</pubDate> <dc:creator>Sander</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[silverstripe]]></category> <guid
isPermaLink="false">http://wp.vandragt.com/?p=628</guid> <description><![CDATA[DisplayAnything3 is a file and image gallery module for SilverStripe 3.0 with a big list of features. I&#8217;m looking forward to trying the module on a future project.]]></description> <content:encoded><![CDATA[<p><a
href="https://github.com/codem/DisplayAnything3">DisplayAnything3</a> is a file and image gallery module for SilverStripe 3.0 with a big list of features. I&#8217;m looking forward to trying the module on a future project.</p> ]]></content:encoded> <wfw:commentRss>http://vandragt.com/2012/11/displayanything3/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Clear writing</title><link>http://vandragt.com/2012/11/clear-writing/</link> <comments>http://vandragt.com/2012/11/clear-writing/#comments</comments> <pubDate>Tue, 13 Nov 2012 16:28:48 +0000</pubDate> <dc:creator>Sander</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[writing]]></category> <guid
isPermaLink="false">http://wp.vandragt.com/?p=626</guid> <description><![CDATA[The best way to write a clear blog post is to paste your draft into a text-to-speech engine such as tts-api.com and listen to the output. If you can&#8217;t easily understand what is said then that will most likely indicate problems with your sentence structure.]]></description> <content:encoded><![CDATA[<p>The best way to write a clear blog post is to paste your draft into a text-to-speech engine such as <a
href="http://tts-api.com/">tts-api.com</a> and listen to the output. If you can&#8217;t easily understand what is said then that will most likely indicate problems with your sentence structure.</p> ]]></content:encoded> <wfw:commentRss>http://vandragt.com/2012/11/clear-writing/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>When Get-ADUser does not return the complete user</title><link>http://vandragt.com/2012/11/when-get-aduser-does-not-return-the-complete-user/</link> <comments>http://vandragt.com/2012/11/when-get-aduser-does-not-return-the-complete-user/#comments</comments> <pubDate>Tue, 13 Nov 2012 16:27:56 +0000</pubDate> <dc:creator>Sander</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[activedirectory]]></category> <category><![CDATA[powershell]]></category> <guid
isPermaLink="false">http://wp.vandragt.com/?p=624</guid> <description><![CDATA[When writing a Powershell script that checks for changes to Active Directory users, you may find that all users change every time you run the script. One explanation for seeing this behaviour is because Get-ADUser does not return all the fields. A field that is not returned can never be equal to a string value. [...]]]></description> <content:encoded><![CDATA[<p>When writing a Powershell script that checks for changes to Active Directory users, you may find that all users change every time you run the script. One explanation for seeing this behaviour is because Get-ADUser does not return all the fields. A field that is not returned can never be equal to a string value.</p><p>For example, let&#8217;s consider the following code:</p><pre><code>$csv_file  = "users.csv"
Import-Csv $csv_file | ForEach-Object {
    $username = $_.USERNAME
    $ad_user = (Get-ADUser -filter {sAMAccountName -eq $username})
    if (!$ad_user) {
        # create account, it does not exist
    }
    else {
        $filter_accountchanged = { $ad_user.DisplayName -cne $displayname }
        if ($ad_user | Where $filter_accountchanged) {
            # update existing accounts with changes
        }
        else {
            # account exists and has not changed
        }
    }
}
</code></pre><p>You will find that all existing accounts come up as having changed. This is because <code>$user.DisplayName</code> is not returned by <code>Get-ADUser</code>.</p><p>The issue is resolved by asking Get-ADUser to return all properties:</p><pre><code>$ad_user = (Get-ADUser -filter {sAMAccountName -eq $username} -Properties * )
</code></pre><p>Now all properties are returned, and the &#8220;account change&#8221; filter works as expected.</p> ]]></content:encoded> <wfw:commentRss>http://vandragt.com/2012/11/when-get-aduser-does-not-return-the-complete-user/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>SilverStripe Gists</title><link>http://vandragt.com/2012/11/silverstripe-gists/</link> <comments>http://vandragt.com/2012/11/silverstripe-gists/#comments</comments> <pubDate>Mon, 12 Nov 2012 09:27:07 +0000</pubDate> <dc:creator>Sander</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[project]]></category> <category><![CDATA[silverstripe]]></category> <guid
isPermaLink="false">http://wp.vandragt.com/?p=622</guid> <description><![CDATA[I&#8217;ve released the following data extensions (might pack them up as modules): HiddenFields DataExtension: Takes form fields specified through $hidden_fields and hides them from edit form. View code Description DataExtension: Specify a $db_descriptions array to DataObjects to attach formfield descriptions. View code]]></description> <content:encoded><![CDATA[<p>I&#8217;ve released the following data extensions (might pack them up as modules):</p><ul><li><strong>HiddenFields DataExtension</strong>: Takes form fields specified through <code>$hidden_fields</code> and hides them from edit form. <a
href="https://gist.github.com/4046600">View code</a></li><li><strong>Description DataExtension</strong>: Specify a <code>$db_descriptions</code> array to DataObjects to attach formfield descriptions. <a
href="https://gist.github.com/4045237">View code</a></li></ul> ]]></content:encoded> <wfw:commentRss>http://vandragt.com/2012/11/silverstripe-gists/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Windows 8 a catastrophe for Games?</title><link>http://vandragt.com/2012/11/windows-8-a-catastrophe-for-games/</link> <comments>http://vandragt.com/2012/11/windows-8-a-catastrophe-for-games/#comments</comments> <pubDate>Thu, 08 Nov 2012 14:26:05 +0000</pubDate> <dc:creator>Sander</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[games]]></category> <category><![CDATA[windows]]></category> <guid
isPermaLink="false">http://wp.vandragt.com/?p=620</guid> <description><![CDATA[Interesting article by Tom Phillips interviewing developers about Windows 8 and it&#8217;s closed Windows Store, with this gem of a quote from Introversions&#8217; Chris Delay: &#8220;I really don&#8217;t want to see the PC becoming a closed platform. Microsoft is not a company that&#8217;s able to benignly oversee that process. They will f*** it up. We&#8217;ll [...]]]></description> <content:encoded><![CDATA[<p><a
href="http://www.eurogamer.net/articles/2012-11-06-gabe-newell-right-declare-windows-8-a-catastrophe">Interesting article by Tom Phillips</a> interviewing developers about Windows 8 and it&#8217;s closed Windows Store, with this gem of a quote from Introversions&#8217; Chris Delay:</p><blockquote><p> &#8220;I really don&#8217;t want to see the PC becoming a closed platform. Microsoft is not a company that&#8217;s able to benignly oversee that process. They will f*** it up. We&#8217;ll all be doing Kinect support and 16 language versions, we&#8217;ll all be supporting a Microsoft Office plug-in. It&#8217;s my own worst nightmare.</p><p> [...] “The PC continues to be as relevant as it was ten years ago, despite consoles coming and going, because it is an open platform. If that changed it would be terrible.”</p></blockquote><p>It&#8217;s interesting times for the gaming industry, indeed.</p> ]]></content:encoded> <wfw:commentRss>http://vandragt.com/2012/11/windows-8-a-catastrophe-for-games/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>OptimisticLocking SilverStripe Module Release</title><link>http://vandragt.com/2012/11/optimisticlocking-silverstripe-module-release/</link> <comments>http://vandragt.com/2012/11/optimisticlocking-silverstripe-module-release/#comments</comments> <pubDate>Thu, 08 Nov 2012 13:25:04 +0000</pubDate> <dc:creator>Sander</dc:creator> <category><![CDATA[Uncategorized]]></category> <category><![CDATA[module]]></category> <category><![CDATA[optimisticlocking]]></category> <category><![CDATA[silverstripe]]></category> <guid
isPermaLink="false">http://wp.vandragt.com/?p=618</guid> <description><![CDATA[Some of you might be interested in my first ss module: silverstripe-optimisticlocking This is a very simple module that prevents your site users from losing data. It works by by blocking the save process if the record changed since it was retrieved, preventing accidental overwrites. (user1 starts editing, user 2 starts editing, user1 saves, now [...]]]></description> <content:encoded><![CDATA[<p>Some of you might be interested in my first ss module: <a
href="https://github.com/svandragt/silverstripe-optimisticlocking">silverstripe-optimisticlocking</a></p><p>This is a very simple module that prevents your site users from losing data. It works by by blocking the save process if the record changed since it was retrieved, preventing accidental overwrites. (user1 starts editing, user 2 starts editing, user1 saves, now user2 can&#8217;t overwrite user1&#8242;s changes). By default, Silverstripe lets you lose data by overwriting the record on save.</p><p>You might know that Pages benefit from versioning (so you can restore to a previous version), however by default DataObjects don&#8217;t have versioning enabled so this module will come in handy then (AFAIK it&#8217;s not trivial to enable either).</p><p>If feedback is good, I will try to add it to the SilverStripe modules list.</p> ]]></content:encoded> <wfw:commentRss>http://vandragt.com/2012/11/optimisticlocking-silverstripe-module-release/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>