<?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/"
	>

<channel>
	<title>Ganeshnomicks</title>
	<atom:link href="http://ganeshiyer.net/blog/feed/" rel="self" type="application/rss+xml" />
	<link>http://ganeshiyer.net/blog</link>
	<description>Ganesh Iyer's Blog on Web Designing, Development, Programming, Philosophy and more</description>
	<pubDate>Sat, 21 Apr 2012 05:21:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.7.1</generator>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Bread, Butter and Code Jam for breakfast!</title>
		<link>http://ganeshiyer.net/blog/2012/04/15/bread-butter-and-code-jam-for-breakfast/</link>
		<comments>http://ganeshiyer.net/blog/2012/04/15/bread-butter-and-code-jam-for-breakfast/#comments</comments>
		<pubDate>Sun, 15 Apr 2012 19:29:40 +0000</pubDate>
		<dc:creator>lastlegion</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://ganeshiyer.net/blog/?p=233</guid>
		<description><![CDATA[Yesterday was the Google Code Jam 2012 Qualifying round. My first codejam  and it was fun! I managed to qualify for the first round by solving the first two questions. The third question was easy too and I would have solved it but I didnt have much time. Looking forward to round one!
]]></description>
			<content:encoded><![CDATA[<p>Yesterday was the <a href="http://code.google.com/codejam">Google Code Jam 2012</a> Qualifying round. My first codejam <img src='http://ganeshiyer.net/wp-includes/images/smilies/icon_surprised.gif' alt=':o' class='wp-smiley' /> and it was fun! I managed to qualify for the first round by solving the first two questions. The third question was easy too and I would have solved it but I didnt have much time. Looking forward to round one!</p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshiyer.net/blog/2012/04/15/bread-butter-and-code-jam-for-breakfast/feed/</wfw:commentRss>
		</item>
		<item>
		<title>PHP and MySQL primer</title>
		<link>http://ganeshiyer.net/blog/2012/01/14/working-with-php-and-mysql/</link>
		<comments>http://ganeshiyer.net/blog/2012/01/14/working-with-php-and-mysql/#comments</comments>
		<pubDate>Sat, 14 Jan 2012 06:02:40 +0000</pubDate>
		<dc:creator>lastlegion</dc:creator>
		
		<category><![CDATA[PHP]]></category>

		<guid isPermaLink="false">http://ganeshiyer.net/blog/?p=225</guid>
		<description><![CDATA[This article is for InCTF&#8217;12. 
Update: My team Eulerians made it to the finals!   
Howdy! This is a PHP and MySQL primer. It assumes that you have installed Apache, PHP and MySQL.
PHP
PHP is a general-purpose server-side scripting language originally designed for web development to produce dynamic web pages.
A simple hello world program in [...]]]></description>
			<content:encoded><![CDATA[<p><em>This article is for <a href="http://inctf.in/">InCTF&#8217;12</a>. </em><br />
<em><strong>Update</strong>: My team Eulerians made it to the finals! <img src='http://ganeshiyer.net/wp-includes/images/smilies/icon_biggrin.gif' alt=':D' class='wp-smiley' /> </em> </p>
<p>Howdy! This is a PHP and MySQL primer. It assumes that you have installed Apache, PHP and MySQL.</p>
<p><strong>PHP</strong></p>
<blockquote><p><strong>PHP</strong><span> is a general-purpose </span><a title="Server-side" href="http://en.wikipedia.org/wiki/Server-side">server-side</a><span> </span><a title="Scripting language" href="http://en.wikipedia.org/wiki/Scripting_language">scripting language</a><span> originally designed for </span><a title="Web development" href="http://en.wikipedia.org/wiki/Web_development">web development</a><span> to produce </span><a title="Dynamic web page" href="http://en.wikipedia.org/wiki/Dynamic_web_page">dynamic web pages</a><span>.</span></p></blockquote>
<p>A simple hello world program in PHP:</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Hello World!&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p><strong>Using PHP with MySQL</strong></p>
<p>PHP is a great scripting language but for developing scalable projects you&#8217;ll need a database. In this case I am going to show you how to connect and use PHP with a MySQL database.</p>
<p>Connect to a database</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">mysql_connect</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;localhost&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;username&quot;</span><span style="color: #339933;">,</span> <span style="color: #0000ff;">&quot;password&quot;</span><span style="color: #009900;">&#41;</span> or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">mysql_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Connection to MySQL successful!&quot;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Selecting a database</p>
<p>Once we are connected to MySQL we need to connect with the database we are going to be working on.</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">mysql_select_db</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;databasename&quot;</span><span style="color: #009900;">&#41;</span> or <span style="color: #990000;">die</span><span style="color: #009900;">&#40;</span><span style="color: #990000;">mysql_error</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #b1b100;">echo</span> <span style="color: #0000ff;">&quot;Connected to database!&quot;</span></pre></div></div>

<p>Executing SQL queries</p>
<p>Okay great! We have connected to MySQL and we are connected to our database! Now what? Well now you can execute SQL queries to interact with the database.</p>
<p>For execution of a SQL query on the active database PHP provides a function</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"> <span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>The function accepts an SQL statement as its parameter</p>
<p>For example here is a code that executes SQL code for creating a table</p>

<div class="wp_syntax"><div class="code"><pre class="php" style="font-family:monospace;"><span style="color: #990000;">mysql_query</span><span style="color: #009900;">&#40;</span><span style="color: #0000ff;">&quot;
     CREATE TABLE test(
         id INT NOT NULL AUTO_INCREMENT,
         name VARCHAR(45),
         PRIMARY KEY(id)
        )&quot;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span></pre></div></div>

<p>Well so thats a wrap!</p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshiyer.net/blog/2012/01/14/working-with-php-and-mysql/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Star Wars Crawl</title>
		<link>http://ganeshiyer.net/blog/2011/06/18/star-wars-crawl/</link>
		<comments>http://ganeshiyer.net/blog/2011/06/18/star-wars-crawl/#comments</comments>
		<pubDate>Sat, 18 Jun 2011 11:34:22 +0000</pubDate>
		<dc:creator>lastlegion</dc:creator>
		
		<category><![CDATA[Labs]]></category>

		<category><![CDATA[3D]]></category>

		<category><![CDATA[CSS3]]></category>

		<guid isPermaLink="false">http://ganeshiyer.net/blog/?p=222</guid>
		<description><![CDATA[CSS 3D transforms are cool! I just stumbled upon them recently and came to know that they&#8217;ve been there for almost an year now. Few browsers support the 3D transforms, Chrome does it and that makes me happy :). So I started playing with it and made a &#8217;star wars opening crawl&#8217;. Check it out&#8230;I&#8217;m [...]]]></description>
			<content:encoded><![CDATA[<p>CSS 3D transforms are cool! I just stumbled upon them recently and came to know that they&#8217;ve been there for almost an year now. Few browsers support the 3D transforms, Chrome does it and that makes me happy :). So I started playing with it and made a &#8217;star wars opening crawl&#8217;. Check it out&#8230;I&#8217;m looking forward to dive deeper into it and hopefully will come up with something good. Here is the &#8216;<a title="CSS 3D transforms star wars opening crawl" href="http://ganeshiyer.net/labs/starWars/" target="_blank">Star Wars Crawl</a>&#8216;</p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshiyer.net/blog/2011/06/18/star-wars-crawl/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Happy Holi</title>
		<link>http://ganeshiyer.net/blog/2011/03/19/happy-holi/</link>
		<comments>http://ganeshiyer.net/blog/2011/03/19/happy-holi/#comments</comments>
		<pubDate>Sat, 19 Mar 2011 18:20:09 +0000</pubDate>
		<dc:creator>lastlegion</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ganeshiyer.net/blog/?p=219</guid>
		<description><![CDATA[Wishing everyone a very happy and prosperous holi! For those not playing outside this year, check out this (even those playing can check out 
Uses jQuery and RaphaelJS. More on that coming soon.
]]></description>
			<content:encoded><![CDATA[<p>Wishing everyone a very happy and prosperous holi! For those not playing outside this year, <a href="http://ganeshiyer.net/labs/holi/">check out this</a> (even those playing can check out <img src='http://ganeshiyer.net/wp-includes/images/smilies/icon_wink.gif' alt=';)' class='wp-smiley' /><br />
Uses <a href="http://jquery.com/">jQuery</a> and <a href="http://raphaeljs.com/">RaphaelJS</a>. More on that coming soon.</p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshiyer.net/blog/2011/03/19/happy-holi/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Logo Turtle Interpreter</title>
		<link>http://ganeshiyer.net/blog/2011/03/18/logo-turtle-interpreter/</link>
		<comments>http://ganeshiyer.net/blog/2011/03/18/logo-turtle-interpreter/#comments</comments>
		<pubDate>Fri, 18 Mar 2011 18:51:01 +0000</pubDate>
		<dc:creator>lastlegion</dc:creator>
		
		<category><![CDATA[Labs]]></category>

		<category><![CDATA[Javascript]]></category>

		<category><![CDATA[Project]]></category>

		<category><![CDATA[SVG]]></category>

		<guid isPermaLink="false">http://ganeshiyer.net/blog/?p=202</guid>
		<description><![CDATA[For the past couple of days I&#8217;ve been trying to finish what I had started off a while back but had abandoned midway - a logo turtle interpreter.
For those who dont know what logo turtle is: 
Turtle graphics is a term in computer graphics for a method of programming vector graphics using a relative cursor [...]]]></description>
			<content:encoded><![CDATA[<p>For the past couple of days I&#8217;ve been trying to finish what I had started off a while back but had abandoned midway - a logo turtle interpreter.<br />
For those who dont know what logo turtle is: </p>
<blockquote><p>Turtle graphics is a term in computer graphics for a method of programming vector graphics using a relative cursor (the &#8220;turtle&#8221;) upon a Cartesian plane</p></blockquote>
<p>It was basically used in schools to familiarize 7-8 year old kids to computers. And I was always interested in making one because it was small little logo turtle that introduced me to the world of computers. Yeah we had logo turtle in first grade(good ol&#8217; days ;). So this is kinda my tribute to the wonderful language.</p>
<p>I&#8217;ve been playing with javascript lately so I thought I&#8217;d try it out. Basically its a lot of javascript code that basically moves the triangle(which is a svg polygon). The js changes the position attributes of the triangle according to the command. And also a path(svg line) is created accordingly. A lil knowledge of coordinate geometry also helped.</p>
<p>Here is a documented code for the &#8216;fd&#8217; command.</p>

<div class="wp_syntax"><table><tr><td class="line_numbers"><pre>1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
</pre></td><td class="code"><pre class="javascript" style="font-family:monospace;"><span style="color: #000066; font-weight: bold;">if</span><span style="color: #009900;">&#40;</span>cmd <span style="color: #339933;">==</span> <span style="color: #3366CC;">&quot;fd&quot;</span><span style="color: #009900;">&#41;</span>
<span style="color: #009900;">&#123;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">//Create the path</span>
<span style="color: #006600; font-style: italic;">//x1 and y1 are set to the current position of the turtle</span>
path.<span style="color: #660066;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;x1&quot;</span><span style="color: #339933;">,</span> currx<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
path.<span style="color: #660066;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;y1&quot;</span><span style="color: #339933;">,</span> curry<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">//x2 and y2 are calculated x = mov*sin(angle) where angle is chaged on each lt/rt command</span>
path.<span style="color: #660066;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;x2&quot;</span><span style="color: #339933;">,</span> currx <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>move<span style="color: #339933;">*</span>sin1<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
path.<span style="color: #660066;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;y2&quot;</span><span style="color: #339933;">,</span> curry <span style="color: #339933;">-</span> <span style="color: #009900;">&#40;</span>move<span style="color: #339933;">*</span>cos1<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
path.<span style="color: #660066;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;class&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'line1'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">//Generates a new path </span>
document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;svg_main&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">appendChild</span><span style="color: #009900;">&#40;</span>path<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
TransX <span style="color: #339933;">=</span> TransX <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>move<span style="color: #339933;">*</span>sin1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
TransY <span style="color: #339933;">=</span> TransY <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #339933;">*</span><span style="color: #009900;">&#40;</span>move<span style="color: #339933;">*</span>cos1<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
currx <span style="color: #339933;">=</span> TransX<span style="color: #339933;">;</span>
curry <span style="color: #339933;">=</span> TransY<span style="color: #339933;">;</span>
&nbsp;
<span style="color: #006600; font-style: italic;">//Calculate the change in position</span>
ptx <span style="color: #339933;">=</span> ptx <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span>move<span style="color: #339933;">*</span>sin1<span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
pty <span style="color: #339933;">=</span> pty <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span><span style="color: #339933;">-</span><span style="color: #CC0000;">1</span><span style="color: #339933;">*</span><span style="color: #009900;">&#40;</span>move<span style="color: #339933;">*</span>cos1<span style="color: #009900;">&#41;</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span>
<span style="color: #006600; font-style: italic;">//Moves the turtle</span>
document.<span style="color: #660066;">getElementById</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;triangle&quot;</span><span style="color: #009900;">&#41;</span>.<span style="color: #660066;">setAttribute</span><span style="color: #009900;">&#40;</span><span style="color: #3366CC;">&quot;transform&quot;</span><span style="color: #339933;">,</span> <span style="color: #3366CC;">'rotate('</span> <span style="color: #339933;">+</span> myangle <span style="color: #339933;">+</span> <span style="color: #3366CC;">','</span> <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span><span style="color: #CC0000;">210</span><span style="color: #339933;">+</span>ptx<span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">','</span> <span style="color: #339933;">+</span> <span style="color: #009900;">&#40;</span><span style="color: #CC0000;">196</span><span style="color: #339933;">+</span>pty<span style="color: #009900;">&#41;</span> <span style="color: #339933;">+</span> <span style="color: #3366CC;">') translate('</span><span style="color: #339933;">+</span> ptx <span style="color: #339933;">+</span> <span style="color: #3366CC;">','</span> <span style="color: #339933;">+</span> pty <span style="color: #339933;">+</span> <span style="color: #3366CC;">')'</span><span style="color: #009900;">&#41;</span><span style="color: #339933;">;</span> 
&nbsp;
<span style="color: #009900;">&#125;</span></pre></td></tr></table></div>

<p>Check out the whole code on the live page.</p>
<p>I have to continue playing with javascript and svg&#8230;its pretty fun. And yea hopefully next time I&#8217;d try out jquery and the canvas element&#8230;they seem interesting.</p>
<p><a href="http://ganeshiyer.net/logo/">Check it out in action here</a><br />
PS: And ping me if you find any bug and its open source so feel free to play with the code.<br />
PPS: Yea I know there is a severe lack in the functionality but I guess additional commands can be added easily later&#8230;am just too lazy to add them right now<br />
And yea <strong><a href="http://www.google.com/chrome">Chrome only!</a></strong></p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshiyer.net/blog/2011/03/18/logo-turtle-interpreter/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Semantic Web</title>
		<link>http://ganeshiyer.net/blog/2010/10/03/semantic-web/</link>
		<comments>http://ganeshiyer.net/blog/2010/10/03/semantic-web/#comments</comments>
		<pubDate>Sun, 03 Oct 2010 16:10:20 +0000</pubDate>
		<dc:creator>lastlegion</dc:creator>
		
		<category><![CDATA[Semantic Web]]></category>

		<guid isPermaLink="false">http://ganeshiyer.net/blog/?p=195</guid>
		<description><![CDATA[This is the paper I presented in a paper presentation competition in Quest, an event organised by the ACM chapter of SVNIT.

The Current Scenario
Before beginning, lets first understand why there is a need for semantic web. Basically the Internet has grown exponentially since its inception. The amount of information being stored in the Internet is [...]]]></description>
			<content:encoded><![CDATA[<p><span style="color: #999999;"><span style="color: #808080;">This is the paper I presented in a paper presentation competition in Quest, an event organised by the <a title="ACM surat chapter" href="http://svnit.ac.in/acm/">ACM chapter</a> of <a title="SVNIT" href="http://svnit.ac.in/">SVNIT</a>.</span><br />
</span></p>
<h3><strong>The Current Scenario</strong></h3>
<p>Before beginning, lets first understand why there is a need for semantic web. Basically the Internet has grown exponentially since its inception. The amount of information being stored in the Internet is tremendous. But with such tremendous amount of information, its processing has become a tedious process. The main reason for this problem is the way pages are being rendered.</p>
<p><strong>External Agents cant Access Information Easily</strong><br />
The way information is represented makes it difficult for an external agent to be able to analyze it and thus obtain any conclusion about it.</p>
<p><strong>Inefficient Searching </strong><br />
The search engines that we use have algorithms that search the web pages based on some keywords. This approach produces quantitative results but the quality of the results is poor. Since keywords are matched, the semantics of the search query is usually not considered in the results.</p>
<p><strong>HTML’s Limitations</strong><br />
HTML, i.e. Hypertext Markup Language is the language being used by millions of web pages to render web pages. Now, HTML, is a wonderful language to describe how a webpage should look. But it gives little information about the page and the various elements of the page. Thus it is very difficult for the machine</p>
<h3><strong>ENTER SEMANTIC WEB</strong></h3>
<p><strong></strong></p>
<p>With semantic web it is possible for machines(agents) to understand the information contained in web resources. Agents can interpret, analyze and understand the information and hence can be useful in decision making.</p>
<p>Once the Semantic Web exists it can describe what each piece of information is about and give semantic meaning to the content item. What this means is that searching would become easier, also it would encourage resources formed by a combination of multiple other resources. Thus users can find exactly what they are looking for. Organizations that provide web applications can clearly describe their application to the machine; using Web-based software agents, one can dynamically find these services and use them to  one’s benefit or in collaboration with other services.</p>
<p><strong><br />
</strong></p>
<h3><strong>The Approaches Towards Semantic Web</strong></h3>
<p><strong></strong></p>
<ul>
<li>Super Intelligent Agents</li>
<li>Semantic Publishing</li>
<li>Intelligent Agents + Semantic Publishing</li>
</ul>
<p><strong>Super Intelligent Agents</strong></p>
<p>The first approach towards a semantic web would be the use of super intelligent agents, i.e Agents that can read huge chunks of non-semantically published data, analyze the data, and also, understand it. Various Artificial Intelligence scientists have been trying to develop such agents with successes. But the problem remains, that the results obtained after information processing by these super intelligent agents remains are highly unreliable. Several complex AI techniques are used for the development of these super agents. A super intelligent AI must be able to do:</p>
<ul>
<li> Natural Language Processing<br />
o Sentiment Analysis<br />
o Interpreting vagueness using fuzzy logic.</li>
<li>Image Processing</li>
<li>Pattern Recognition</li>
<li>Relation Identification</li>
</ul>
<p>The development of such a super intelligent agent, and then expecting it to produce reliable results, is  a task that is not impossible but definitely very tedious. The feasibility of such an agent is also a question.<br />
Examples : Wolfram computational engine</p>
<p><strong>Semantic Publishing</strong></p>
<p>As was discussed earlier, web pages are rendered using a language called HTML. HTML is great for describing how an element should be displayed but is very poor in describing meta information about that element.</p>
<p>By semantic Publishing it is meant that the creator/publisher of the information would use standardized means to publish the data. These standardized means provide a way for computers to understand the structure and even the meaning of the published information, making information search and data integration more efficient.</p>
<p>For facilitation of communication between different agents and resources on the web semantic interoperability is required. Syntactic interoperability is all about parsing data correctly. It requires mapping between terms, which in turn requires content analysis. It also involves identifying and defining relationships amongst resources.</p>
<p><strong>Metadata</strong><br />
For semantic publishing it is crucial to have meta data(data about data). What it means is that there should be some data describing what the data is, its relations with other data etc. This makes it easy for an agent to detect patterns among data.</p>
<p><strong>XML</strong></p>
<p>(eXtensible Markup Language)<br />
XML is a metalanguage for markup: it doesnot have a fixed set of tags but allows user created tags.<br />
With XML it is possible to create structured web documents. It renders human readable an understandable documents but it doesnt explicitly describe elements making it difficult for agents to understand. It is still a better option than HTML.</p>
<p><strong>RDF</strong></p>
<p>(Resource Descriptive Framework)<br />
RDF is basically a data model. It is used as a general method for description or modeling of information that is implemented in web resources, usually using an XML based syntax.</p>
<p><strong>OWL</strong><br />
Web Ontology Language<br />
“An ontology is an explicit specification of a conceptualization.”</p>
<p>—Tom Gruber,  A Translation Approach to Portable Ontology Specifications</p>
<p>The analysis of information requires formal and explicit specifications of domain models, which define the terms used and their relationships. Such formal domain models are sometimes called ontologies. Ontologies define data models in terms of classes, subclasses, and properties.</p>
<p>OWL facilitates greater machine interpretability and understandability of Web content than that supported by XML, RDF, and RDF Schema by providing additional vocabulary along with formal semantics</p>
<p><strong>A layered approach</strong></p>
<p><strong>Downward compatibility:</strong> An agent that understands a particular layer must understand the layers below it.<br />
<strong>Partial upward understandability:</strong> An agent should try and understand try and take partial advantage of higher levels by interpreting understandable knowledge and neglecting elements beyond its schema.</p>
<p>The advantage of semantic publishing is that it is a standard, and thus is universally acceptable. So we can have agents extracting data out semantically published pages with relative ease. Also there are standard query languages like SPARQL that can be used to query semantically generated pages.</p>
<p><strong>Semantic Publishing + Intelligent Agents</strong></p>
<p>The ideal solution for a semantic web is to ensure that the content published is semantically generated. Also the agents should not only be intelligent enough to analyze and understand semantically published web pages, but they should also try and interpret pages that are published non-semantically.</p>
<p>Basically with semantically published data agents will be able to make use of:</p>
<ul>
<li>Metadata: To extract information from web resources and  identify them.</li>
<li> Ontologies: Will be used to interpret information and communicate with other agents</li>
<li>Logic: For drawing conclusions from the analysis.</li>
</ul>
<p>The conclusions obtained can be used for a variety of purposes like searching, decision making etc.<br />
Also, the combination of Semantic Publishing and intelligent agent enables the extraction of information from various resources and then in turn forming a new web resource out of it.</p>
<p><strong><br />
</strong></p>
<h3><strong>Phenotropic Approach</strong></h3>
<p><strong></strong></p>
<p><strong>Phenotropic Programming</strong><br />
Phenotropic programming is a very abstract concept of programming, its still in very initial stages and is yet to be fully conceived. Jaron Lanier, a famous computer scientist, known for his pioneering work in the field of virtual reality, is known for incepting the idea of Phenotropic programming.<br />
The word Phenotropic loosely translates to “surfaces relating to each other”. So basically various modules or independent programs interact with each other and learn about each other through these interactions.</p>
<p><strong>For Semantic Web</strong></p>
<p>Concepts of phenotropic programming can be used to develop super intelligent agents capable of analyzing and understanding non semantically rendered information.</p>
<p>Also phenotropic programs are designed in such a way that pattern recognition is used to render the program instead of syntactic parsing. Hence the advantage of phenotropic approach over a protocol based approach is that approximate matching is possible, i.e. exact matching is not necessary.</p>
<p>So basically we can have layers of web pages/applications that work seamlessly with each other i.e. There is a parallel communication by a way of surfaces. Thus various web pages develop insights, understand and communicate with each other. This type of interaction can help in achieving semantic-ism over web.</p>
<p>If phenotropic programming is developed, we might see applications and web resources interacting with each other at an User interface level instead of using APIs to facilitate communication.</p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshiyer.net/blog/2010/10/03/semantic-web/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Open source facebook launching soon</title>
		<link>http://ganeshiyer.net/blog/2010/08/31/open-source-facebook-launching-soon/</link>
		<comments>http://ganeshiyer.net/blog/2010/08/31/open-source-facebook-launching-soon/#comments</comments>
		<pubDate>Tue, 31 Aug 2010 18:25:35 +0000</pubDate>
		<dc:creator>lastlegion</dc:creator>
		
		<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://ganeshiyer.net/blog/?p=185</guid>
		<description><![CDATA[Diaspora is a sort of open source version of facebook. Yeah I am sure it sounds cool&#8230;I mean its gotta be cool&#8230;its OPEN SOURCE! Well nah! I am not that excited. Its time the open source community started encouraging more innovative and interesting ideas instead of building polished clones of same old ideas.
PS: I am [...]]]></description>
			<content:encoded><![CDATA[<p><a title="Diaspora" href="http://www.bbc.co.uk/news/technology-11108891" target="_blank">Diaspora</a> is a sort of open source version of facebook. Yeah I am sure it sounds cool&#8230;I mean its gotta be cool&#8230;its OPEN SOURCE! Well nah! I am not that excited. Its time the open source community started encouraging more innovative and interesting ideas instead of building polished clones of same old ideas.</p>
<p>PS: I am open source enthusiast. I publish <a title="Designs" href="http://ganeshiyer.net/blog/category/web-designing/" target="_self">open source designs</a> and <a title="Codes" href="http://ganeshiyer.net/blog/2010/01/05/gcmsmy-blogging-system-01-is-here/" target="_self">codes</a> <img src='http://ganeshiyer.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshiyer.net/blog/2010/08/31/open-source-facebook-launching-soon/feed/</wfw:commentRss>
		</item>
		<item>
		<title>New Design: Eclipse</title>
		<link>http://ganeshiyer.net/blog/2010/07/20/new-design-eclipse/</link>
		<comments>http://ganeshiyer.net/blog/2010/07/20/new-design-eclipse/#comments</comments>
		<pubDate>Tue, 20 Jul 2010 10:28:45 +0000</pubDate>
		<dc:creator>lastlegion</dc:creator>
		
		<category><![CDATA[Web Designing]]></category>

		<guid isPermaLink="false">http://ganeshiyer.net/blog/?p=168</guid>
		<description><![CDATA[The design I had been using for this blog is now out. Its free and open source you can download it from Opendesigns. It is third in the Ganesh## series B)

Preview &#124; Download
The wordpress theme will be up soon  
]]></description>
			<content:encoded><![CDATA[<p>The design I had been using for this blog is now out. Its free and open source you can download it from <a title="Download eclipse" href="http://www.opendesigns.org/design/ganesh03-eclipse/" target="_blank">Opendesigns</a>. It is third in the Ganesh## series B)</p>
<p><img class="alignnone size-medium wp-image-170" title="thumbnail1" src="http://ganeshiyer.net/wp-content/uploads/2010/07/thumbnail1-300x225.jpg" alt="thumbnail1" width="234" height="176" /></p>
<p><a title="Preview of Ganesh03 - Eclipse" href="http://www.opendesigns.org/design/ganesh03-eclipse/" target="_blank">Preview</a> | <a title="Download eclipse" href="http://www.opendesigns.org/design/ganesh03-eclipse/download/" target="_blank">Download</a></p>
<p>The wordpress theme will be up soon <img src='http://ganeshiyer.net/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshiyer.net/blog/2010/07/20/new-design-eclipse/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Programming using a language? Think again!</title>
		<link>http://ganeshiyer.net/blog/2010/07/16/programming-using-a-language-think-again/</link>
		<comments>http://ganeshiyer.net/blog/2010/07/16/programming-using-a-language-think-again/#comments</comments>
		<pubDate>Fri, 16 Jul 2010 16:57:16 +0000</pubDate>
		<dc:creator>lastlegion</dc:creator>
		
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://ganeshiyer.net/blog/?p=153</guid>
		<description><![CDATA[I want to concentrate the things I do, not the magical rules of the  language, like starting with public void  something something something to say, &#8220;print hello  world.&#8221; I just want to say, &#8220;print this!&#8221; I don&#8217;t want all the surrounding magic keywords. I  just want to concentrate on the task. [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p><em>I want to concentrate the things I do, not the magical rules of the  language, like starting with <code>public</code> <code>void</code> <code> something</code> <code>something</code> <code>something</code> to say, &#8220;print hello  world.&#8221; I just want to say, &#8220;print this!&#8221; I don&#8217;t want all the surrounding magic keywords. I  just want to concentrate on the task. That&#8217;s the basic idea.</em></p></blockquote>
<p>- Yukihiro Matsumoto (Matz)<em> </em>founder of Ruby<em><br />
</em></p>
<p>We have all been part of programming language debates: Ruby vs Python, PHP vs Perl, C vs C++ and so on&#8230; but I guess one thing thats common is that all these are <strong>programming languages</strong>. Sure they differ in paradigm, in syntax and in lot of other things. But one thing remains common: we are expressing the algorithm in the form of a written code. That remains same in all the languages.</p>
<p>When we write code in a programming language&#8230;what we do is write simplified code, abiding by certain principles, that in turn is converted into complex code(machine language code) by the compiler. So instead of writing this supposedly simple code I was thinking about other simpler and efficient alternatives available.</p>
<p>Basically there must be an alternative to writing code. I mean another way execute and express an algorithm.</p>
<p>One of them is Visual Programming. In visual programming, programming is done by using a graphical approach. Lets see what <a title="Wikipedia article on Visual Programming" href="http://en.wikipedia.org/wiki/Visual_programming_languages" target="_blank">wikipedia</a> has to say:</p>
<blockquote><p>A <strong>visual programming language</strong> (<strong>VPL</strong>) is any <a title="Programming language" href="http://en.wikipedia.org/wiki/Programming_language">programming language</a> that lets users create <a title="Computer program" href="http://en.wikipedia.org/wiki/Computer_program">programs</a> by manipulating program elements graphically rather than by specifying them textually&#8230; Many VPLs are based on the idea of &#8220;boxes and arrows,&#8221; where boxes or other screen objects are treated as entities, connected by arrows, lines or arcs which represent relations.</p></blockquote>
<p>I was first introduced to Visual programming three years ago in the form of <a title="Mindscript" href="http://mindscript.familjemarknaden.se/" target="_blank">Mindscript</a>. Thinking about an alternative to programming languages I recently started experimenting with it(with little success). It seems to be in an abandoned state right now, considering the last update was four years ago. There is clearly a lack of documentation and support for this project else it could have flourished(could have had wings and flown&#8230;OMG!)</p>
<p><img class="alignnone size-full wp-image-164" title="mindscript" src="http://ganeshiyer.net/wp-content/uploads/2010/07/mind.jpg" alt="mindscript" width="500" height="331" /></p>
<p>Its like a flowchart being executable. Wouldnt that be awesome(:P)? I know lot of people(including me) prefer code over flowcharts but that might be because we havent made many flowcharts whereas we&#8217;ve written thousands of lines of code.</p>
<p>Sure I dont see visual programming replacing programming languages anytime soon but I do believe that we should give them a shot. Also we should look for other means of programming. And yeah I&#8217;d love to hear from you(cliched?) so please comment!</p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshiyer.net/blog/2010/07/16/programming-using-a-language-think-again/feed/</wfw:commentRss>
		</item>
		<item>
		<title>Revamped!</title>
		<link>http://ganeshiyer.net/blog/2010/06/11/revamped/</link>
		<comments>http://ganeshiyer.net/blog/2010/06/11/revamped/#comments</comments>
		<pubDate>Fri, 11 Jun 2010 09:25:09 +0000</pubDate>
		<dc:creator>lastlegion</dc:creator>
		
		<category><![CDATA[Site News]]></category>

		<guid isPermaLink="false">http://ganeshiyer.net/blog/?p=145</guid>
		<description><![CDATA[Its been more than an year for Ganeshnomicks and so I decided to change the design of the blog. The new design exhibits my taste for minimalism. The previous design had been in use almost since the beginning. Hopefully I&#8217;ll release the previous design - Eclispse(yeah thats the name :P) as an open source wordpress [...]]]></description>
			<content:encoded><![CDATA[<p>Its been more than an year for Ganeshnomicks and so I decided to change the design of the blog. The new design exhibits my taste for minimalism. The <a href="http://ganeshiyer.net/blog/2009/07/25/site-redesigned-finally/">previous design</a> had been in use almost since the beginning. Hopefully I&#8217;ll release the previous design - Eclispse(yeah thats the name :P) as an open source wordpress theme. And I plan to release many of my previous designs as well.</p>
<p>How do you like the new design?</p>
]]></content:encoded>
			<wfw:commentRss>http://ganeshiyer.net/blog/2010/06/11/revamped/feed/</wfw:commentRss>
		</item>
	</channel>
</rss>
<script type="text/javascript">
var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
</script>
<script type="text/javascript">
try {
var pageTracker = _gat._getTracker("UA-12322564-1");
pageTracker._trackPageview();
} catch(err) {}</script>
