<?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>basvd.com</title>
	<atom:link href="http://basvd.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://basvd.com</link>
	<description>Sketched out programming ;-)</description>
	<lastBuildDate>Fri, 30 Mar 2012 14:00:41 +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>Advanced Excerpt 4.1 released</title>
		<link>http://basvd.com/2011/12/advanced-excerpt-4-1-released/</link>
		<comments>http://basvd.com/2011/12/advanced-excerpt-4-1-released/#comments</comments>
		<pubDate>Tue, 13 Dec 2011 23:34:49 +0000</pubDate>
		<dc:creator>basvd</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://basvd.com/?p=241</guid>
		<description><![CDATA[<p>This is a quick informative post about the recent update for the <a href="http://wordpress.org/extend/plugins/advanced-excerpt/">Advanced Excerpt plugin</a>. The previous version caused quite a bit of trouble, so I promised to release another version soon. Well, here it is: <strong>4.1</strong></p>
<p>Most of the changes are concerned with making the code easier to manage.&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>This is a quick informative post about the recent update for the <a href="http://wordpress.org/extend/plugins/advanced-excerpt/">Advanced Excerpt plugin</a>. The previous version caused quite a bit of trouble, so I promised to release another version soon. Well, here it is: <strong>4.1</strong></p>
<p>Most of the changes are concerned with making the code easier to manage. This is important because it allows me to find bugs faster or avoid them altogether. I&#8217;ve also written a bundle of automated tests that will check every change I make from now on. They are probably not complete yet, but it certainly makes me more confident that there will be no major bugs in future updates.</p>
<p>There were also some bugs that needed to be fixed. Most importantly the template function that <a href="http://wordpress.org/support/topic/plugin-advanced-excerpt-the_advanced_excerpt-no-longer-overrides-options">ignored custom options</a>. Obviously, I&#8217;ve also paid extra attention to avoid making <a href="http://wordpress.org/support/topic/plugin-advanced-excerpt-new-v40-causes-wordpress-cannot-modify-header-information-error">my previous mistake</a> again.</p>
<p>Furthermore, I decided to drop backward compatibility for PHP 4. This means that, officially speaking, the plugin only works on WP 3.2 and up (older versions allow the use of PHP 4). However, if you are using PHP 5 but (for some reason) still an older version of WordPress, the plugin might work just fine. Generally speaking, you should <a href="http://codex.wordpress.org/Switching_to_PHP5">keep up with the latest version if possible</a>.</p>
<p>Any questions can be posted here in the comments, or on the <a href="http://wordpress.org/tags/advanced-excerpt">support forum</a>. If you encounter bugs or errors, please post them to the support forum (not here).</p>
<p>Thanks everyone, for taking an interest in this plugin and giving feedback! Let&#8217;s hope this update goes off without a hitch.</p>
]]></content:encoded>
			<wfw:commentRss>http://basvd.com/2011/12/advanced-excerpt-4-1-released/feed/</wfw:commentRss>
		<slash:comments>16</slash:comments>
		</item>
		<item>
		<title>Advanced Excerpt 4.0 problems</title>
		<link>http://basvd.com/2011/12/advanced-excerpt-4-0-problems/</link>
		<comments>http://basvd.com/2011/12/advanced-excerpt-4-0-problems/#comments</comments>
		<pubDate>Sat, 10 Dec 2011 02:57:00 +0000</pubDate>
		<dc:creator>basvd</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://basvd.com/?p=227</guid>
		<description><![CDATA[<p>A few days ago I published a long-due update for the Advanced Excerpt plugin for WordPress: version 4.0. Much to my embarassment, problems became apparent immediately after the download went online and I had to do an instant update to make 4.0 even remotely usable.&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>A few days ago I published a long-due update for the Advanced Excerpt plugin for WordPress: version 4.0. Much to my embarassment, problems became apparent immediately after the download went online and I had to do an instant update to make 4.0 even remotely usable.</p>
<p>The problem was that I accidentaly saved some whitespace outside the code (right before the first <em>&lt;?php</em>) and then released it without testing. WordPress doesn&#8217;t handle this very well, so this caused some trouble for those who updated early. This was corrected almost immediately, but only by retagging 4.0 to a working revision. A few people complained about this and I understand that it can be confusing.</p>
<p>Does that take care of the problems? Unfortunately it seems it does not. Particularly, the template tag (<em>the_advanced_excerpt</em>) does not apply custom settings anymore. For this reason, people who use the plugin in their themes like this should definitely not upgrade until 4.1. There may be more stupid bugs yet, so I am currently working on testcases to figure that out.</p>
<p>If you haven&#8217;t upgraded already, I would recommend not upgrading at the moment. Version 4.1 should be out soon, with cleaner code and better testing to remedy the current problems.</p>
<p>If you have upgraded already and the plugin is causing you trouble, then first of all I&#8217;m sorry for the inconvenience. You can <a title="Support for Advanced Excerpt" href="http://wordpress.org/tags/advanced-excerpt?forum_id=10">use the support forum</a> to find a solution or ask about the issue you&#8217;re having. I&#8217;ll try to be around often to answer questions.</p>
<p>I hope this takes care of it for now. As I said, 4.1 should be out soon to help us forget this terrible tragedy.</p>
]]></content:encoded>
			<wfw:commentRss>http://basvd.com/2011/12/advanced-excerpt-4-0-problems/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Penumbra: shady backups for Windows</title>
		<link>http://basvd.com/2010/10/penumbra-shadowy-backups-for-windows/</link>
		<comments>http://basvd.com/2010/10/penumbra-shadowy-backups-for-windows/#comments</comments>
		<pubDate>Wed, 13 Oct 2010 22:08:05 +0000</pubDate>
		<dc:creator>basvd</dc:creator>
				<category><![CDATA[Programming]]></category>
		<category><![CDATA[Software]]></category>

		<guid isPermaLink="false">http://basvd.com/?p=217</guid>
		<description><![CDATA[<p>I&#8217;m proud to announce that, today, I am presenting another one of my slowly progressing, yet promising projects: Penumbra! I created this application for myself because I am basically too much of a nitpicker to find backup software to suit my needs.&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>I&#8217;m proud to announce that, today, I am presenting another one of my slowly progressing, yet promising projects: Penumbra! I created this application for myself because I am basically too much of a nitpicker to find backup software to suit my needs. It started as a script of some sorts, but things soon got out of hand and before I knew it, I was building a GUI (even though a command-line interface would have been sufficient for me).</p>
<p>The GUI is fairly complete, but it will remain offline for a while until I&#8217;m satisfied with the back-end code. So for now, Penumbra is a <acronym title="Command Line Interface">CLI</acronym> application.</p>
<h3>How to be picky about backup software</h3>
<p>There are two types of backup software: complicated, enterprise-ready behemoths and dumbed-down, user-friendly eye-candies. Together, they offer everything I need (and more), but I can only use one for each backup. Let the nitpicking begin&#8230;</p>
<p>The concept of making backups is really simple. It involves copying files and that&#8217;s it. In practice, it can be a real pain to get proper copies of files: A file may be in use or locked for some other reason by the operating system; the file has special security settings that do not survive a basic copy operation; the file is a <a href="en.wikipedia.org/wiki/NTFS_junction_point">junction</a> or <a href="http://en.wikipedia.org/wiki/Symbolic_link">symbolic link</a> of some sort; etc.. This is usually not a problem if you&#8217;re backing up your own documents, music and downloads, but files such as application data are often a problem for basic backup methods. Active programs &#8211; most of which run in the background &#8211; often keep a lock on their application data, preventing direct access. Of course one could copy a complete disk image when the operating system isn&#8217;t running (probably using an application from bootable CD or USB), but this is not ideal for most users&#8230; including me.</p>
<h3>Enter the shadow</h3>
<p>Windows XP and upwards provide a way to avoid locked files and thereby solve one of the biggest issues of making a proper backup. It&#8217;s called VSS, or Volume Shadow Copy service, or just <a href="http://en.wikipedia.org/wiki/Shadow_Copy">Shadow Copy</a>. What it does is create a snapshot of the filesystem while allowing applications (i.e., the ones that implement its interface) to bring their data in a consistent state. This snapshot has no locked files; permissions still count, but that&#8217;s what the administrator account is for.</p>
<p>This feature hasn&#8217;t gone unnoticed with many developers of backup software, but unfortunately most implementations are part of complicated applications (enterprise software gets all the goodies first&#8230;) and/or proprietary.</p>
<h3>Shedding a light on Penumbra</h3>
<p>This is where Penumbra comes in to fill the gap. Penumbra wants to be powerful backup application with a simple, yet flexible, interface and an open attitude towards extensibility. Before you mistake that sentence for manager mumbo-jumbo, let me elaborate a little. By &#8216;powerful&#8217; I am not aiming too high; there will be no transaction management, resuming after network errors or anything that would be vital in an enterprise environment. Coorporations have money to buy these features elsewhere, and they probably already do so there is no need to target that group. Penumbra will be &#8216;powerful&#8217; in that it does one thing and does it well, namely copying the files from a home computer that are or may be important to its users and making sure that they can be restored perfectly as if they were never molten/burnt/scratched off the hard disk.</p>
<p>The interface will be &#8216;flexible&#8217; in a way that allows users to easily customize the way backups are made. Skilled users shouldn&#8217;t feel limited and novice users shouldn&#8217;t feel intimidated. That&#8217;s why I also intend to keep Penumbra simple. I hope I don&#8217;t have to clarify &#8216;simple.&#8217; Another goal that fits the keyword &#8216;flexible&#8217; is that backups should be restorable even if Penumbra is somehow not available or preferred. At this moment Penumbra can&#8217;t restore backups, so it&#8217;s a good thing backups can be restored by hand (and a file archiver).</p>
<h3>Open ended</h3>
<p>Because I love experimenting with other APIs even more than the concept of open source, this project will have both. First of all, after careful consideration, the code is available under a GPL license. Secondly, I intend to make certain parts of the backup engine extensible and others even replaceable through a plugin system of some sorts. I first have to figure this all out for C#/.NET, but after that it will be one of the first things I do (a complete GUI is also on that todo-list, by the way).</p>
<h3>On the cutting edge</h3>
<p>I know you can&#8217;t wait to make your next backup with Penumbra. Unfortunately, at the moment, it will require a little effort. You can grab the code from <a href="http://github.com/basvd/Penumbra">Penumbra&#8217;s GitHub repository</a>, fire up Visual Studio (the free Express edition might work), start building and hope I didn&#8217;t forget to commit a critical file. Alternatively, I could provide a compiled binary, but that would take away the thrill of trying development code&#8230; also, it would be irresponsible of me to encourage using it for real backup purposes. Even though you can already make good backups that are probably 100% safe, I shouldn&#8217;t recommend it.</p>
<p>So, some final words on using the program: Check out the <a href="http://github.com/basvd/Penumbra/blob/master/Penumbra/test_backup.json">sample <code>.json</code> file</a> and of course, run <code>penumbra.exe /help</code> before anything else. Next time I will write some more on using Penumbra and its development. Thanks for reading!</p>
]]></content:encoded>
			<wfw:commentRss>http://basvd.com/2010/10/penumbra-shadowy-backups-for-windows/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Renovations completed</title>
		<link>http://basvd.com/2010/09/renovations-completed/</link>
		<comments>http://basvd.com/2010/09/renovations-completed/#comments</comments>
		<pubDate>Sun, 12 Sep 2010 23:17:29 +0000</pubDate>
		<dc:creator>basvd</dc:creator>
				<category><![CDATA[Web]]></category>

		<guid isPermaLink="false">http://basvd.com/?p=203</guid>
		<description><![CDATA[<p>Sometimes I can&#8217;t even believe it myself, but this website has been around for over 5 years. Unfortunately, that doesn&#8217;t mean new content was added on a regular basis. In fact, long periods of radio silence were sometimes only interrupted for a plugin update message.&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Sometimes I can&#8217;t even believe it myself, but this website has been around for over 5 years. Unfortunately, that doesn&#8217;t mean new content was added on a regular basis. In fact, long periods of radio silence were sometimes only interrupted for a plugin update message.</p>
<p>But not anymore!  You see, even though I haven&#8217;t been busy writing about programming doesn&#8217;t mean I haven&#8217;t been busy doing it all this time. This means I have a few interesting projects and ideas in the works, or in other words, more material to publish on this site and blog about.</p>
<h3>WordPress is not what it used to be</h3>
<p>After blowing the dust off the dashboard, I realized how outdated my website had become. My theme and set of plugins for WordPress were no longer compatible or didn&#8217;t take advantage of the cool new features. It was time for a makeover! Having made some themes for newer versions of WordPress recently, I decided to put that experience to good use and start working on a new theme. It got my approval yesterday after which I locked down the site for &#8220;renovations&#8221;.</p>
<p>What you are currently looking at is the result of an afternoon squashing bugs and editing content. The new look is more minimalistic than any of my previous designs. There is more emphasis on typography and the presentation of content. The simplicity of the templates also made it much easier for me to integrate new WordPress features (such as threaded comments, you should <a href="#comments">give them a try</a>!).</p>
<h3>What&#8217;s next?</h3>
<p>I have noticed a lot of visitors come here looking for my <a href="/portfolio/advanced-excerpt">WordPress plugin</a>(s). For them I have good news: I am still actively maintaining the plugin. As a matter of fact, there will be an update soon that should improve the speed and stability of the text filter. I will also start working on a new <em>(commissioned)</em> plugin soon, which will likely be released here as well.</p>
<p>Other things that I will be posting about are <a href="http://github.com/basvd/syme">Syme</a> (my attempt to write an IRC client) and a backup utility for Windows I wrote in C#.</p>
]]></content:encoded>
			<wfw:commentRss>http://basvd.com/2010/09/renovations-completed/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>Advanced Excerpt + PHP 4 problem (solved)</title>
		<link>http://basvd.com/2009/01/advanced-excerpt-php-4-problem-solved/</link>
		<comments>http://basvd.com/2009/01/advanced-excerpt-php-4-problem-solved/#comments</comments>
		<pubDate>Sat, 17 Jan 2009 14:48:42 +0000</pubDate>
		<dc:creator>basvd</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[advanced-excerpt]]></category>
		<category><![CDATA[bugfix]]></category>
		<category><![CDATA[excerpt]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://basvd.com/?p=146</guid>
		<description><![CDATA[<p>Immediately after the release of version 0.2.1, I was made aware of a huge problem. The plugin fails to work on PHP 4, causing a fatal error.</p>
<p>A quick update has been released that fixes this. The new safe release is now 0.2.2, which should be available from <a href="http://wordpress.org/extend/plugins/advanced-excerpt/">the WordPress plugin repository</a> shortly.&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>Immediately after the release of version 0.2.1, I was made aware of a huge problem. The plugin fails to work on PHP 4, causing a fatal error.</p>
<p>A quick update has been released that fixes this. The new safe release is now 0.2.2, which should be available from <a href="http://wordpress.org/extend/plugins/advanced-excerpt/">the WordPress plugin repository</a> shortly.</p>
<p>The cause for this problem is the fact that PHP 4 can have mbstring enabled, but not support all its functions.  Ironically.</p>
<p>By the way, this would be a good time to urge your host to update PHP. The version 4 releases are all historical now.</p>
]]></content:encoded>
			<wfw:commentRss>http://basvd.com/2009/01/advanced-excerpt-php-4-problem-solved/feed/</wfw:commentRss>
		<slash:comments>71</slash:comments>
		</item>
		<item>
		<title>Advanced Excerpt 0.2.1 released</title>
		<link>http://basvd.com/2009/01/advanced-excerpt-021-released/</link>
		<comments>http://basvd.com/2009/01/advanced-excerpt-021-released/#comments</comments>
		<pubDate>Fri, 16 Jan 2009 20:32:25 +0000</pubDate>
		<dc:creator>basvd</dc:creator>
				<category><![CDATA[WordPress]]></category>
		<category><![CDATA[advanced-excerpt]]></category>
		<category><![CDATA[excerpt]]></category>
		<category><![CDATA[plugin]]></category>

		<guid isPermaLink="false">http://basvd.com/?p=143</guid>
		<description><![CDATA[<p>The previous version of the Advanced Excerpt plugin has lasted a long time, but its increasing popularity and several feature requests have finally resulted in a new version.</p>
<p>What new features are included?</p>
<p>Well, most importantly, multi-byte character support. The plugin has received a lot of attention on the Asian side of the world (judging from the pingbacks), but unfortunately it fails with Chinese, Japanese and a whole host of other character sets.&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>The previous version of the Advanced Excerpt plugin has lasted a long time, but its increasing popularity and several feature requests have finally resulted in a new version.</p>
<p>What new features are included?</p>
<p>Well, most importantly, multi-byte character support. The plugin has received a lot of attention on the Asian side of the world (judging from the pingbacks), but unfortunately it fails with Chinese, Japanese and a whole host of other character sets. <a href="http://myfairland.net/">Betty</a> was the first to <a href="http://basvd.com/archives/2007/08/21/advanced-excerpt-plugin-for-wordpress/#comment-5618">report this problem</a> and kindly helped me solve it. The plugin now supports multi-byte character sets.</p>
<p>I should point out, though, that it will only work when the <em>mbstring</em> PHP extension is enabled on the host. Furthermore, using UTF-8 on your blog is the safest way to make everything work.</p>
<p>People who don&#8217;t have the <em>mbstring</em> extension need not worry, the plugin will continue to work but with multi-byte character support disabled.</p>
<p>Another effort to internationalise the plugin includes the support for translations. The plugin now comes with a language file that can be used for translation. The only languages that are currently available are English and Dutch, but additional translations can be made using the PO file. If you want to translate, but don&#8217;t know how: stay tuned, there will be a post on that shortly.</p>
<p>Many people have been complaining about the problematic implementation of the Advanced Excerpt plugin in templates (using <code>$advancedexcerpt-&gt;filter()</code>). Admittedly, this was a confusing method and besides, the plugin FAQ was slightly incorrect. Sorry to all users who have been trying to get this work for so long.</p>
<p>This problem should be solved with the new release, which introduces the_advanced_excerpt() function. Using advanced excerpts in your template is now as easy as using any of WordPress&#8217; default template tags. Usage details can be found in the <a title="How to use the new API" href="http://wordpress.org/extend/plugins/advanced-excerpt/faq/">plugin FAQ</a>.</p>
<p>One final new addition to the feature set is the ability to ignore custom excerpts (you know, the ones you can write manually for every post you publish). The default behaviour is to always use custom excerpts, but for some reason a blogger might change his mind. One setting changes the behaviour.</p>
<p>Other updates include consistency of the options page with the rest of the new WordPress 2.7 admin interface as well as a compatibility check (which was by far the least work).</p>
<p>So, go ahead and update the plugin and enjoy the new features! Also, feel free to inform me of problems or features you would like to see in a next version in the comments section.</p>
]]></content:encoded>
			<wfw:commentRss>http://basvd.com/2009/01/advanced-excerpt-021-released/feed/</wfw:commentRss>
		<slash:comments>58</slash:comments>
		</item>
		<item>
		<title>Smokescreen visualisation using Flash AS 3.0</title>
		<link>http://basvd.com/2008/05/smokescreen-visualisation-using-flash-as-30/</link>
		<comments>http://basvd.com/2008/05/smokescreen-visualisation-using-flash-as-30/#comments</comments>
		<pubDate>Sun, 04 May 2008 15:32:29 +0000</pubDate>
		<dc:creator>basvd</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://basvd.com/?p=123</guid>
		<description><![CDATA[<p>I have been messing around a bit in Flash recently. I actually managed to learn many things about the new version of the ActionScript language (AS 3.0). Codewise, it is a huge improvement over AS 2.0 (one reason why I was never very fond of programming with Flash) but on the other hand quite tricky to understand at first.&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>I have been messing around a bit in Flash recently. I actually managed to learn many things about the new version of the ActionScript language (AS 3.0). Codewise, it is a huge improvement over AS 2.0 (one reason why I was never very fond of programming with Flash) but on the other hand quite tricky to understand at first. I still find it a little bit confusing.  However, I did make something cool, so I am not totally lost.</p>
<p>Thanks to a number of useful tutorials over at <a href="http://gotandlearn.com">gotoAndLearn()</a> I was introduced to <a href="http://gotoandlearn.com/player.php?id=62">sound spectrums</a>, <a href="http://gotoandlearn.com/player.php?id=63">bitmap filters</a> and <a href="http://gotoandlearn.com/player.php?id=72">creating packages/classes</a> in AS3.0. Of course I had to test myself to see if I had actually learned something. A music visualisation was the result!</p>
<p>Here is what it looks like (if the SWF file is buggy, please tell me how much I suck).</p>
<p>[flash http://basvd.com/wp-content/uploads/2008/05/smokescreendemo.swf w=400 h=360]</p>
<p>What it does is actually quite simple (once you&#8217;ve completed the previously mentioned tutorials, that is). Every time a frame is rendered it computes the sound spectrum. Flash has a function that does the comlicated stuff and then returns a set of values which describe how the sound is distributed in the frequency spectrum. Basically the same thing as those &#8216;jumping bars&#8217; in your media player (or stereo). The visualisation plots this data on a bitmap object, which is then blurred and scrolled up depending on the overall volume. The process repeats itself over and over, which results in a smoke effect. Variations in volume usually create nice puffs of smoke.</p>
<p>I thought this was quite an interesting little project, so I created an ActionScript class which makes the visualisation easy to reuse in other Flash applications. Admittedly, this is my first well-structured ActionScript code ever. Please <a href="http://basvd.com/wp-content/uploads/2008/05/smokescreen.as">have a look at it</a> and then proceed to critise my attempt at programming in the comments.</p>
<p>If you happen to like my creation and want to put it to good use, you can <a href="http://basvd.com/wp-content/uploads/2008/05/smokescreen.zip">download the AS3.0 package</a>. You are free to use and modify it without any limitations, but please let me know in case it&#8217;s a public project.</p>
<p>The music in the demo was made by <a href="http://www.ocremix.org/remix/OCR01328/">PriZm at OC ReMix</a>. A great website by the way.</p>
]]></content:encoded>
			<wfw:commentRss>http://basvd.com/2008/05/smokescreen-visualisation-using-flash-as-30/feed/</wfw:commentRss>
		<slash:comments>6</slash:comments>
		</item>
		<item>
		<title>Permission bug resolved in WP 2.5</title>
		<link>http://basvd.com/2008/03/permission-bug-resolved-in-wp-25/</link>
		<comments>http://basvd.com/2008/03/permission-bug-resolved-in-wp-25/#comments</comments>
		<pubDate>Sun, 30 Mar 2008 20:44:27 +0000</pubDate>
		<dc:creator>basvd</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://basvd.com/?p=119</guid>
		<description><![CDATA[<p>With the release of WordPress 2.5, the AJAX verification method seems to have been changed. This means that my <strong>AJAX Referer Fix</strong> plugin which addresses the related permission issue in previous versions is no longer adequate.</p>
<p>But don&#8217;t worry, the good news is that the new verification method doesn&#8217;t <a href="/2007/06/03/wordpress-and-cookies/">conflict</a> with your webhost&#8217;s protection techniques!&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>With the release of WordPress 2.5, the AJAX verification method seems to have been changed. This means that my <strong>AJAX Referer Fix</strong> plugin which addresses the related permission issue in previous versions is no longer adequate.</p>
<p>But don&#8217;t worry, the good news is that the new verification method doesn&#8217;t <a href="/2007/06/03/wordpress-and-cookies/">conflict</a> with your webhost&#8217;s protection techniques!</p>
<p>To everybody who uses this plugin: it will not work in WP 2.5. If it worked for you in previous version, then you will likely not need it in WP 2.5.</p>
]]></content:encoded>
			<wfw:commentRss>http://basvd.com/2008/03/permission-bug-resolved-in-wp-25/feed/</wfw:commentRss>
		<slash:comments>10</slash:comments>
		</item>
		<item>
		<title>&quot;You don&#8217;t have permission&quot; bug revisited</title>
		<link>http://basvd.com/2007/08/you-dont-have-permission-bug-revisited/</link>
		<comments>http://basvd.com/2007/08/you-dont-have-permission-bug-revisited/#comments</comments>
		<pubDate>Wed, 29 Aug 2007 20:25:47 +0000</pubDate>
		<dc:creator>basvd</dc:creator>
				<category><![CDATA[WordPress]]></category>

		<guid isPermaLink="false">http://basvd.com/archives/2007/08/29/you-dont-have-permission-bug-revisited/</guid>
		<description><![CDATA[<p>A few months ago, I wrote <a href="http://basvd.com/2007/06/03/wordpress-and-the-cookies/">an extensive article</a> about a problem that can occur in WordPress due to certain server configurations. This problem causes several issues in the Admininistration Panel, such as <strong>You don&#8217;t have permission to do that</strong> and <strong>Are you sure you want to edit this page: &#8220;&#8221;?</strong>&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>A few months ago, I wrote <a href="http://basvd.com/2007/06/03/wordpress-and-the-cookies/">an extensive article</a> about a problem that can occur in WordPress due to certain server configurations. This problem causes several issues in the Admininistration Panel, such as <strong>You don&#8217;t have permission to do that</strong> and <strong>Are you sure you want to edit this page: &#8220;&#8221;?</strong>.</p>
<p>The solution I offered solves the problem in most cases, but it wasn&#8217;t really good. Main reason: I provided a patch for a <em>pluggable function</em>! Secondly, the solution was less secure than the original.</p>
<p>However, I have returned to this issue to come up with a better solution. Behold, <a href="http://basvd.com/code/ajax-referer-fix/">a plugin to fix the problem</a>! No need to modify any WordPress files, just upload the plugin and activate it.</p>
<p>I have also improved the fix: it is now just as secure as the original one. You should <a href="http://svn.wp-plugins.org/ajax-referer-fix/trunk/ajax-referer-fix.php">check out the code</a> if you want to know why.</p>
]]></content:encoded>
			<wfw:commentRss>http://basvd.com/2007/08/you-dont-have-permission-bug-revisited/feed/</wfw:commentRss>
		<slash:comments>32</slash:comments>
		</item>
		<item>
		<title>Did you know this about PHP?</title>
		<link>http://basvd.com/2007/08/did-you-know-this-about-php/</link>
		<comments>http://basvd.com/2007/08/did-you-know-this-about-php/#comments</comments>
		<pubDate>Sat, 18 Aug 2007 22:43:44 +0000</pubDate>
		<dc:creator>basvd</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://basvd.com/archives/2007/08/18/did-you-know-this-about-php/</guid>
		<description><![CDATA[<p>It occurred to me today that there is actually a difference between using the <code>$GLOBALS</code> array and the <code>global</code> keyword in PHP.</p>
<p>You write:</p>
<pre lang="php">function foo()
{
   global $var;
}</pre>
<p>PHP does:</p>
<pre lang="php">function foo()
{
   $var =&#038; $GLOBALS['var'];
}</pre>
<p>Why does this matter?&#8230;</p>]]></description>
			<content:encoded><![CDATA[<p>It occurred to me today that there is actually a difference between using the <code>$GLOBALS</code> array and the <code>global</code> keyword in PHP.</p>
<p>You write:</p>
<pre lang="php">function foo()
{
   global $var;
}</pre>
<p>PHP does:</p>
<pre lang="php">function foo()
{
   $var =&#038; $GLOBALS['var'];
}</pre>
<p>Why does this matter? The manual <a href="http://php.net/manual/en/language.references.whatdo.php#id2550420">knows the answer</a>.</p>
<p>On another note: I have been working on a new theme for a while now. It&#8217;s probably going to be my best one yet, but I&#8217;ll let you judge about that. I am also developing a WordPress plugin at the moment, it will be released when I launch the theme. <img src='http://basvd.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://basvd.com/2007/08/did-you-know-this-about-php/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
	</channel>
</rss>

