<?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>web(cslai) &#187; Maintenance</title>
	<atom:link href="http://cslai.coolsilon.com/category/maintenance/feed/" rel="self" type="application/rss+xml" />
	<link>http://cslai.coolsilon.com</link>
	<description>Findings and Notes in Web Development</description>
	<lastBuildDate>Tue, 06 Sep 2011 08:15:31 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Drafting my first progress report</title>
		<link>http://cslai.coolsilon.com/2011/01/09/drafting-my-first-progress-report/</link>
		<comments>http://cslai.coolsilon.com/2011/01/09/drafting-my-first-progress-report/#comments</comments>
		<pubDate>Sun, 09 Jan 2011 06:32:21 +0000</pubDate>
		<dc:creator>Jeffrey04</dc:creator>
				<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[Semantic Web]]></category>
		<category><![CDATA[JSON]]></category>
		<category><![CDATA[RDF]]></category>

		<guid isPermaLink="false">http://cslai.coolsilon.com/?p=199</guid>
		<description><![CDATA[Just managed to migrate all my blog sites to one centralized multi-site, so no more half-baked solution and hopefully this brings better plugin compatibility. I have not check with other related services (like Google Webmaster Tools) whether this cause any breakage though. Well, the main purpose of this blog post is actually a draft of [...]]]></description>
			<content:encoded><![CDATA[<p>Just managed to <a href="http://www.clausconrad.com/blog/migrating-a-bunch-of-wordpress-blogs-to-a-single-wordpress-3-multi-site-installation">migrate</a> all my blog sites to one centralized multi-site, so no more <del datetime="2011-01-09T05:36:05+00:00">half-baked</del> solution and hopefully this brings better plugin compatibility. I have not check with other related services (like <a href="https://www.google.com/webmasters/tools/">Google Webmaster Tools</a>) whether this cause any breakage though. Well, the main purpose of this blog post is actually a draft of what I did for the past two months for my postgraduate programme. Yea, I should have posted more stuff to this blog (just realized that my last post here is already like half a year ago).</p>
<p><span id="more-199"></span></p>
<p>Long story short, I have been working on my research project two months ago. Throughout the mentioned time period, I basically spent a lot of time trying to read and understand some of the related topics in semantic web, information retrieval as well as machine learning as suggested by my supervisor.</p>
<p>I first started with revisiting <a href="http://cslai.coolsilon.com/2010/06/04/resource-definition-framework/">RDF</a> by putting more emphasis on how it is usually implemented. Yea, I know I did some when I was preparing my research proposal, but I didn&#8217;t go to the detail and skipped the section describing RDF/XML all together. </p>
<p>Recently there have been some debates on whether JSON should be used as  another data serialization format. I personally like JSON for its simplicity (especially comparing it to XML), but I find RDF/XML actually makes sense (read: good enough) because I find RDF is very URI dependent and it would probably be a bit awkward to see a lot of URI popping up in JSON. However, I am still very interested to see how this is sorted out, as <a href="http://www.w3.org/QA/2010/12/new_rdf_working_group_rdfjson.html">W3C initiated a group</a> to work on it. (Some thought-provoking read on this by <a href="http://webr3.org/blog/linked-data/opening-linked-data/">nathan@webr3</a>)</p>
<p>I have also read on RDFS for the first time and the more I read it, the more I find it related to my classes on AI (especially Prolog) in my Bachelor Degree. However, I am also slightly surprised to see how tolerant it is (leaving too much room for error?). Besides RDFS, I also read on OWL and find more similarity with Prolog (I really should post the summary of the readings here, yeah, too much to blog about, but lack of time and motivation).</p>
<p>What really surprised me was that with the combination of these (RDF, RDFS and OWL) technologies, I actually tried re-inventing the same thing for my last task in my previous job (over and over again). Although usage of RDF may not exactly fit the problem, but I feel it is close enough to solve the problem.</p>
<p>While looking for some articles on Linked Data Principle, I came across this <a href="http://www.ted.com/talks/tim_berners_lee_on_the_next_web.html">TED talk</a> by <a href="http://www.w3.org/People/Berners-Lee/">Sir Tim-Berners-Lee</a>. Yeah, I do feel sorry for not publishing enough semantic data online after watching that, the talk was very motivating indeed (but is posting personal info that is machine readable without limit actually a good idea, I don&#8217;t feel like injecting a great portion of my life into social networking site, but that&#8217;s a different story).</p>
<p>I also read the beginner&#8217;s guide to SPARQL, and this is the real wow-factor to me. Although I don&#8217;t really like the SQL-like syntax, but the similarity to Prolog makes everything looks cool now. Yeah, I am pretty new in this, so I keep referring everything to Prolog XD. </p>
<p>Then I started to read on information retrieval, this is when everything suddenly seems not cool anymore. However, it did force me to do a lot of revision on statistics and some basic maths stuff (you will be surprised to see how much I forget after working for 2 years). And it wasn&#8217;t encouraging when I began to watch a video lecture on machine learning hoping to pick up in shorter time span because I find myself not understanding most of the lectures XD.</p>
<p>Yeah, that&#8217;s basically wraps up my progress for the past 2 months, getting myself excited with new stuff for the first month, and getting frustrated in the second month not able to understand the material.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://cslai.coolsilon.com/2011/01/09/drafting-my-first-progress-report/feed/</wfw:commentRss>
		<slash:comments>2</slash:comments>
		</item>
		<item>
		<title>New directory structure</title>
		<link>http://cslai.coolsilon.com/2010/06/27/new-directory-structure/</link>
		<comments>http://cslai.coolsilon.com/2010/06/27/new-directory-structure/#comments</comments>
		<pubDate>Sun, 27 Jun 2010 15:58:31 +0000</pubDate>
		<dc:creator>Jeffrey04</dc:creator>
				<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[Project]]></category>
		<category><![CDATA[base-kite]]></category>
		<category><![CDATA[symlink]]></category>
		<category><![CDATA[theme development]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cslai.coolsilon.com/?p=186</guid>
		<description><![CDATA[While the previous file structure works well, I decided to tune some details before deploying the latest WordPress release. Besides that, I also started a new theme development project after my last theme which was developed more than 2 years ago. Thankfully, everything seems to work so far. The main reason behind the re-organization of [...]]]></description>
			<content:encoded><![CDATA[<p>While the previous file structure works well, I decided to tune some details before deploying the latest WordPress release. Besides that, I also started a new theme development project after my last theme which was developed more than 2 years ago. Thankfully, everything seems to work so far.</p>
<p><span id="more-186"></span></p>
<p>The main reason behind the re-organization of files is to stop putting everything together within wp-content folder. As I am using <acronym title="Subversion">SVN</acronym> to manage my WordPress files, I feel more secured if I have less files changed / modified / added to my working copy. The previous structure was designed to store everything, including things are not meant to be shared among sites (installations) like attachments within wp-content folder.</p>
<p>Besides, although putting in everything within the same wp-content folder sounds like a good idea, but what if I want to create yet another new site (installation) for somebody which I don&#8217;t feel like sharing plugins and themes to this new site? After digging in the codex for some time, I found this <a href="http://codex.wordpress.org/Editing_wp-config.php">guide</a> that guides me how to further customize WordPress folder path very useful.</p>
<p>So the structure for a site now looks like this</p>
<pre>
/
|-scripts/ < - where I store my shared scripts
|-|-wordpress/ <- my wordpress, obviously
|-|-|-www/ <- my wordpress working copy
|-|-|-content/ <- new wp-content folders
|-|-|-|-site-id/ <- new wp-content folders for $site_id
|-|-|-|-|-plugins/
|-|-|-|-|-themes/
|-public_html/ <- my public folder, links to /scripts/wordpress/www
|-|-wp-site/ <- new wp-content folder, links to /scripts/wordpress/content/site-id
</pre>
<p>So now visitors of this blog should not be able to view attachment for my other blogs. </p>
<p>The deployed new theme in development is actually my current weekend project. As you can see, there's no color scheme being applied to it at the moment. I am now focusing on completing the basic features and the basic template files before being able to further customizing the color scheme.</p>
<p>Just in case if anyone is interested in this new theme, it can actually be forked via my bitbucket <a href="http://www.bitbucket.org/jeffrey04/base-kite">repository</a>. I have not actually decide what license to be used, but most probably <acronym title="General Public License">GPL</acronym> as WordPress would probably requires. If there's any problem regarding this new theme, please do not hesitate to post a bug report @ the <a href="http://www.bitbucket.org/jeffrey04/base-kite/issues?status=new&#038;status=open">issue tracker</a>.</pre>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://cslai.coolsilon.com/2010/06/27/new-directory-structure/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Symlinking two Blogs</title>
		<link>http://cslai.coolsilon.com/2008/03/26/symlinking-two-blogs/</link>
		<comments>http://cslai.coolsilon.com/2008/03/26/symlinking-two-blogs/#comments</comments>
		<pubDate>Wed, 26 Mar 2008 09:05:00 +0000</pubDate>
		<dc:creator>Jeffrey04</dc:creator>
				<category><![CDATA[Maintenance]]></category>
		<category><![CDATA[symlink]]></category>
		<category><![CDATA[wordpress]]></category>

		<guid isPermaLink="false">http://cslai.coolsilon.com/?p=20</guid>
		<description><![CDATA[I am currently doing some organization to my blogs. Few weeks ago, after spending months struggling to work in Ubuntu 7.10, I learned about symbolic links. Then I thought this would be good for my project file management. Therefore I started to re-organize my project file structure to utilize symbolic links. One of the projects [...]]]></description>
			<content:encoded><![CDATA[<p>I am currently doing some organization to my blogs. Few weeks ago, after spending months struggling to work in <a href="http://ubuntu.com">Ubuntu</a> 7.10, I learned about symbolic links. Then I thought this would be good for my project file management. Therefore I started to re-organize my project file structure to utilize symbolic links. One of the projects that uses symbolic link is the current <a href="http://wordpress.org/">wordpress</a> theme.</p>
<p><span id="more-20"></span></p>
<p>Because I am writing two blogs in different languages, to reduce my work in maintaining to identical themes but in different languages, I have to make sure these two themes are in sync so that the appearance would not greatly differ (because most of the changes are done in the stylesheet files). But having to copy and paste the styles whenever I make changes to make sure both themes with identical appearance but different language is very tedious. Hence I added a symbolic link so that I do not have to copy and paste the stylesheets time. (however, I made some stupid mistakes while I was editing the theme files through openkomodo hence both themes are now in the same language, fixing)</p>
<p>Then I thought why don&#8217;t I use symbolic links so that I do not have to upload wordpress installation twice whenever there is an update to wordpress. Some may suggest switching to WPMU but I don&#8217;t think my problem needs to be solved using a <a href="http://mu.wordpress.org/">WPMU</a> installation. I have some experience in maintaining a WPMU and I know how troublesome it can be for a small blog like mine.</p>
<p>So now I am having two folders pointing to a single folder and a problem arises. How do I make them share a single wp-config.php file? My solution is to add a switch-case statement in the wp-config.php file to decide what configuration options to load depending on the host name. Another minor problem is with the permalink structure, currently i display post-id instead of post-title in my <a href="http://jeff.coolsilon.com">chinese blog</a>, I have still no idea how to solve it, the worse case would be changing the permalink for this blog into the format used in my chinese blog.</p>
<div style='clear:both'></div>]]></content:encoded>
			<wfw:commentRss>http://cslai.coolsilon.com/2008/03/26/symlinking-two-blogs/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

