<?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:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>Exceptions Handled</title>
	<atom:link href="http://bpraves.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://bpraves.wordpress.com</link>
	<description>Oh yeahhh.....</description>
	<lastBuildDate>Thu, 02 Apr 2009 13:37:11 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='bpraves.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>Exceptions Handled</title>
		<link>http://bpraves.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://bpraves.wordpress.com/osd.xml" title="Exceptions Handled" />
	<atom:link rel='hub' href='http://bpraves.wordpress.com/?pushpress=hub'/>
		<item>
		<title>EVENT HANDLING IN EQUATION EDITOR</title>
		<link>http://bpraves.wordpress.com/2009/04/02/event-handling-in-equation-editor/</link>
		<comments>http://bpraves.wordpress.com/2009/04/02/event-handling-in-equation-editor/#comments</comments>
		<pubDate>Thu, 02 Apr 2009 13:32:25 +0000</pubDate>
		<dc:creator>beepee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bpraves.wordpress.com/?p=35</guid>
		<description><![CDATA[It refers to the process of handling user actions when he goes through the process of creating equations . It also involves guiding the user through the process of creating mathematical expressions. To generate MathML when the user is done with equation creation, the list of user actions needs to be tracked for dynamic MathML [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bpraves.wordpress.com&amp;blog=3984156&amp;post=35&amp;subd=bpraves&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><!--[if gte mso 9]&gt;  Normal 0   false false false        MicrosoftInternetExplorer4  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]--><!--  /* Font Definitions */  @font-face 	{font-family:Wingdings; 	panose-1:5 0 0 0 0 0 0 0 0 0; 	mso-font-charset:2; 	mso-generic-font-family:auto; 	mso-font-pitch:variable; 	mso-font-signature:0 268435456 0 0 -2147483648 0;} @font-face 	{font-family:Calibri; 	mso-font-alt:"Century Gothic"; 	mso-font-charset:0; 	mso-generic-font-family:swiss; 	mso-font-pitch:variable; 	mso-font-signature:-1610611985 1073750139 0 0 159 0;}  /* Style Definitions */  p.MsoNormal, li.MsoNormal, div.MsoNormal 	{mso-style-parent:""; 	margin:0in; 	margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:12.0pt; 	font-family:"Times New Roman"; 	mso-fareast-font-family:"Times New Roman";} @page Section1 	{size:8.5in 11.0in; 	margin:1.0in 1.25in 1.0in 1.25in; 	mso-header-margin:.5in; 	mso-footer-margin:.5in; 	mso-paper-source:0;} div.Section1 	{page:Section1;}  /* List Definitions */  @list l0 	{mso-list-id:117140045; 	mso-list-type:hybrid; 	mso-list-template-ids:-1606789230 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;} @list l0:level1 	{mso-level-number-format:bullet; 	mso-level-text:; 	mso-level-tab-stop:.75in; 	mso-level-number-position:left; 	margin-left:.75in; 	text-indent:-.25in; 	font-family:Symbol;} @list l1 	{mso-list-id:213087086; 	mso-list-template-ids:-804996584;} @list l1:level1 	{mso-level-start-at:4; 	mso-level-text:%1; 	mso-level-tab-stop:.25in; 	mso-level-number-position:left; 	margin-left:.25in; 	text-indent:-.25in; 	mso-ansi-font-weight:bold;} @list l1:level2 	{mso-level-text:"%1\.%2"; 	mso-level-tab-stop:.25in; 	mso-level-number-position:left; 	margin-left:.25in; 	text-indent:-.25in; 	font-family:"Times New Roman"; 	mso-ansi-font-weight:bold;} @list l1:level3 	{mso-level-text:"%1\.%2\.%3"; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	margin-left:.5in; 	text-indent:-.5in; 	font-family:"Times New Roman"; 	mso-ansi-font-weight:bold;} @list l1:level4 	{mso-level-text:"%1\.%2\.%3\.%4"; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	margin-left:.5in; 	text-indent:-.5in; 	mso-ansi-font-weight:bold;} @list l1:level5 	{mso-level-text:"%1\.%2\.%3\.%4\.%5"; 	mso-level-tab-stop:.75in; 	mso-level-number-position:left; 	margin-left:.75in; 	text-indent:-.75in; 	mso-ansi-font-weight:bold;} @list l1:level6 	{mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6"; 	mso-level-tab-stop:.75in; 	mso-level-number-position:left; 	margin-left:.75in; 	text-indent:-.75in; 	mso-ansi-font-weight:bold;} @list l1:level7 	{mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7"; 	mso-level-tab-stop:1.0in; 	mso-level-number-position:left; 	margin-left:1.0in; 	text-indent:-1.0in; 	mso-ansi-font-weight:bold;} @list l1:level8 	{mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8"; 	mso-level-tab-stop:1.0in; 	mso-level-number-position:left; 	margin-left:1.0in; 	text-indent:-1.0in; 	mso-ansi-font-weight:bold;} @list l1:level9 	{mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9"; 	mso-level-tab-stop:1.25in; 	mso-level-number-position:left; 	margin-left:1.25in; 	text-indent:-1.25in; 	mso-ansi-font-weight:bold;} @list l2 	{mso-list-id:762919291; 	mso-list-template-ids:-1160753956;} @list l2:level1 	{mso-level-start-at:4; 	mso-level-text:%1; 	mso-level-tab-stop:.25in; 	mso-level-number-position:left; 	margin-left:.25in; 	text-indent:-.25in; 	mso-ansi-font-weight:bold;} @list l2:level2 	{mso-level-text:"%1\.%2"; 	mso-level-tab-stop:.25in; 	mso-level-number-position:left; 	margin-left:.25in; 	text-indent:-.25in; 	mso-ansi-font-weight:bold;} @list l2:level3 	{mso-level-text:"%1\.%2\.%3"; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	margin-left:.5in; 	text-indent:-.5in; 	mso-ansi-font-weight:bold;} @list l2:level4 	{mso-level-text:"%1\.%2\.%3\.%4"; 	mso-level-tab-stop:.5in; 	mso-level-number-position:left; 	margin-left:.5in; 	text-indent:-.5in; 	mso-ansi-font-weight:bold;} @list l2:level5 	{mso-level-text:"%1\.%2\.%3\.%4\.%5"; 	mso-level-tab-stop:.75in; 	mso-level-number-position:left; 	margin-left:.75in; 	text-indent:-.75in; 	mso-ansi-font-weight:bold;} @list l2:level6 	{mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6"; 	mso-level-tab-stop:.75in; 	mso-level-number-position:left; 	margin-left:.75in; 	text-indent:-.75in; 	mso-ansi-font-weight:bold;} @list l2:level7 	{mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7"; 	mso-level-tab-stop:1.0in; 	mso-level-number-position:left; 	margin-left:1.0in; 	text-indent:-1.0in; 	mso-ansi-font-weight:bold;} @list l2:level8 	{mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8"; 	mso-level-tab-stop:1.0in; 	mso-level-number-position:left; 	margin-left:1.0in; 	text-indent:-1.0in; 	mso-ansi-font-weight:bold;} @list l2:level9 	{mso-level-text:"%1\.%2\.%3\.%4\.%5\.%6\.%7\.%8\.%9"; 	mso-level-tab-stop:1.25in; 	mso-level-number-position:left; 	margin-left:1.25in; 	text-indent:-1.25in; 	mso-ansi-font-weight:bold;} ol 	{margin-bottom:0in;} ul 	{margin-bottom:0in;} --><!--[if gte mso 10]&gt; &lt;!   /* Style Definitions */  table.MsoNormalTable 	{mso-style-name:"Table Normal"; 	mso-tstyle-rowband-size:0; 	mso-tstyle-colband-size:0; 	mso-style-noshow:yes; 	mso-style-parent:""; 	mso-padding-alt:0in 5.4pt 0in 5.4pt; 	mso-para-margin:0in; 	mso-para-margin-bottom:.0001pt; 	mso-pagination:widow-orphan; 	font-size:10.0pt; 	font-family:"Times New Roman"; 	mso-ansi-language:#0400; 	mso-fareast-language:#0400; 	mso-bidi-language:#0400;} --> <!--[endif]--></p>
<p class="MsoNormal" style="margin-left:.5in;text-align:justify;text-indent:-.5in;line-height:150%;"><!--[if !supportLists]--><strong><span><span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></strong><strong></strong></p>
<p class="MsoNormal" style="margin-left:.25in;text-align:justify;">
<p class="MsoNormal" style="line-height:150%;vertical-align:baseline;"><span> </span>It refers to the process of handling user actions when he goes through the process of creating equations . It also involves guiding <span> </span>the user through the process of<span> </span>creating mathematical expressions. To generate MathML when the user is done with equation creation, the list of user actions needs to be tracked for dynamic MathML generation.</p>
<p class="MsoNormal" style="vertical-align:baseline;"><span> </span></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:-.5in;line-height:150%;vertical-align:baseline;"><!--[if !supportLists]--><strong><span><span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></strong><!--[endif]--><strong>Equation elements </strong></p>
<p class="MsoNormal" style="vertical-align:baseline;">
<p class="MsoNormal" style="margin-right:-8.25pt;text-indent:.5in;line-height:150%;">Operators , operands, superscripts, subscripts, special math <span> </span>symbols(Square root,integral,limits),underover,matrix,fence(brackets.)</p>
<p class="MsoNormal" style="margin-right:-8.25pt;text-indent:.5in;">
<p class="MsoNormal" style="margin-left:.5in;text-indent:-.5in;line-height:150%;"><!--[if !supportLists]--><strong><span><span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></strong><!--[endif]--><strong>Pre-requisites</strong><span> </span></p>
<p class="MsoNormal"><span> </span><span> </span></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:-.5in;line-height:150%;"><!--[if !supportLists]--><span style="font-family:Symbol;"><span>·<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><strong>Current Container</strong><strong></strong></p>
<p class="MsoNormal" style="text-align:justify;text-indent:.5in;line-height:150%;">Refers to the current display object which has focus.(i.e. The user has clicked on a particular display object to which the equation is going to be added).The current container acts as a pre parent to the math equation that the user might<span> </span>type. Before equation creation the current container holds the super parent container which is<span> </span>the parent to all math expressions.</p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:-.5in;line-height:150%;"><!--[if !supportLists]--><span style="font-family:Symbol;"><span>·<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><strong>Counter Id <span> </span><span> </span><span> </span></strong></p>
<p class="MsoNormal" style="text-indent:.5in;line-height:150%;">As and when the user adds math elements into the drawing<span> </span>board, an ID is assigned to the particular math element .Global data<span> </span>keeps a counter of the entire Id&#8217;s assigned at any point in the equation<span> </span>creation.</p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:-.5in;line-height:150%;"><!--[if !supportLists]--><span style="font-family:Symbol;"><span>·<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><strong>Math Table </strong></p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>An array of user defined objects called math node.<strong></strong></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:-.5in;line-height:150%;"><!--[if !supportLists]--><span style="font-family:Symbol;"><span>·<span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></span><!--[endif]--><strong>Math Node <span> </span></strong></p>
<p class="MsoNormal" style="line-height:150%;"><span> </span>An object which uniquely defines a math object in the equation.</p>
<p class="MsoNormal" style="line-height:150%;">
<p class="MsoNormal" style="text-indent:.5in;line-height:150%;"><strong>Attributes of Math Node</strong></p>
<p class="MsoNormal" style="margin-left:.5in;text-align:justify;line-height:150%;"><em><span style="text-decoration:underline;">Nodeid<span> </span></span><strong><span> </span></strong></em><span> </span><span> </span>:<span> </span>The globally assigned identifier <span> </span></p>
<p class="MsoNormal" style="margin-left:.5in;text-align:justify;line-height:150%;"><em><span style="text-decoration:underline;">ParentId</span></em><strong> </strong><span> </span><span> </span>:<span> </span>The identifier of the parent math node<span> </span>which<span> </span>holds<span> </span>this node.</p>
<p class="MsoNormal" style="margin-left:.5in;line-height:150%;"><em><span style="text-decoration:underline;">Node Name</span> </em><span> </span>:<span> </span>The name which specifies what type of <span> </span><span> </span>math<span> </span>node it is. <span> </span>The</p>
<p class="MsoNormal" style="margin-left:1.5in;line-height:150%;"><span> </span>name corresponds to <span> </span>the MathML tag<span> </span>which describes .</p>
<p class="MsoNormal" style="margin-left:1.5in;line-height:150%;"><span> </span>For e.g.: mo for operators ,</p>
<p class="MsoNormal" style="margin-left:1.5in;text-indent:.5in;line-height:150%;"><span> </span><span> </span>mi for<span> </span>operands,</p>
<p class="MsoNormal" style="margin-left:.5in;line-height:150%;"><span> </span><span> </span><span> </span><span> </span>mn for constants,</p>
<p class="MsoNormal" style="margin-left:.5in;line-height:150%;"><span> </span><span> </span><span> </span><span> </span>msup for superscripts</p>
<p class="MsoNormal" style="margin-left:.5in;line-height:150%;"><em><span style="text-decoration:underline;">Node Text</span></em><span style="text-decoration:underline;"> </span><span> </span><span> </span><span> </span><span> </span>:<span> </span>The text of the node. Applicable only for <em>mn, mo,mi</em>.</p>
<p class="MsoNormal" style="margin-left:.5in;line-height:150%;"><em><span style="text-decoration:underline;">Attributes</span></em><span> </span><span> </span><span> </span><span> </span>:<span> </span>Properties of math elements like <em>fontsize, style, thickness</em> etc.</p>
<p class="MsoNormal" style="margin-left:.5in;line-height:150%;">
<p class="MsoNormal" style="margin-left:.5in;line-height:150%;"><!--[if !mso]&gt;--></p>
<p><!--[if gte mso 9]&gt;  &lt;![endif]--><!--[if gte mso 9]&gt;   &lt;![endif]--></p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:-.5in;line-height:150%;"><!--[if !supportLists]--><strong><span><span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></strong><!--[endif]--><strong> EVENT<span> </span>HANDLING FOR SUPERSCRIPTS<span> </span>AND SUBSCRIPTS </strong></p>
<p class="MsoNormal" style="margin-left:0;text-indent:0;line-height:150%;">
<p class="MsoNormal" style="margin-left:0;text-indent:0;line-height:150%;"><strong> <span><span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></strong><!--[endif]--><strong><span> </span>Description :</strong></p>
<p class="MsoNormal" style="text-align:justify;text-indent:.5in;line-height:150%;"><span> </span>Superscript in MathML takes two <span> </span>mathnodes <span> </span>as <span> </span>their <span> </span>children. <span> </span>The<span> </span>base and the exponent. The global data assigns identifier to the superscript node which is an <span> </span>imaginary node, which exists just to hold the two children but has no <span> </span>physical rendering.</p>
<p class="MsoNormal" style="margin-left:.5in;text-indent:-.5in;line-height:150%;"><!--[if !supportLists]--><strong><span><span style="font-family:&quot;font-style:normal;font-variant:normal;font-weight:normal;font-size:7pt;line-height:normal;"> </span></span></strong><!--[endif]--><strong>MathNode<span> </span>: </strong></p>
<p class="MsoNormal" style="line-height:150%;"><!--[if gte vml 1]&gt;  &lt;![endif]--><!--[if !vml]--><span style="position:absolute;z-index:-1;margin-left:119px;margin-top:16px;width:388px;height:39px;"><img src="/DOCUME~1/ADMINI~1/LOCALS~1/Temp/msohtml1/01/clip_image001.gif" alt="" width="388" height="39" /></span><!--[endif]--><strong></strong></p>
<p class="MsoNormal" style="line-height:150%;"><span> </span><em>&lt;msup&gt;&lt;Id&gt;&lt;ParentID of Current Container&gt;&lt;null&gt;</em></p>
<p class="MsoNormal" style="line-height:150%;"><em></em></p>
<p><em></em></p>
<p class="MsoNormal" style="line-height:150%;">Implementation in Flex:</p>
<p class="MsoNormal" style="line-height:150%;">
<p class="MsoNormal" style="line-height:150%;">A mathematical component is drawn on the Canvas Container</p>
<p class="MsoNormal" style="line-height:150%;">that Flex offers.here are two alternatives to this.</p>
<p class="MsoNormal" style="line-height:150%;">1) Draw using a UIComponent and its graphics method.</p>
<p class="MsoNormal" style="line-height:150%;">&lt;shape&gt;.&lt;uicomponent&gt;.&lt;graphics&gt;.drawline(//)</p>
<p class="MsoNormal" style="line-height:150%;">How ever this method is tedious when it involves the calculation of appropriate coordinates(For Eg.In superscript,The x cood is increment by the width of the base ..and the Y coor is incremented by the height of base.and then decremented again to lie on the axis of the equation line.</p>
<p class="MsoNormal" style="line-height:150%;">Usage of lex components like HBox and VBox takes care of all these.(Esp Layout).</p>
<p class="MsoNormal" style="line-height:150%;">
<a href='http://bpraves.wordpress.com/2009/04/02/event-handling-in-equation-editor/forblog/' title='forblog'><img data-attachment-id='36' data-orig-size='439,199' data-liked='0'width="150" height="67" src="http://bpraves.files.wordpress.com/2009/04/forblog.jpg?w=150&#038;h=67" class="attachment-thumbnail" alt="Superscript Box Structure :WYSIWYG EDITOR" title="forblog" /></a>
<a href='http://bpraves.wordpress.com/2009/04/02/event-handling-in-equation-editor/forblog2/' title='forblog2'><img data-attachment-id='37' data-orig-size='504,200' data-liked='0'width="150" height="59" src="http://bpraves.files.wordpress.com/2009/04/forblog2.jpg?w=150&#038;h=59" class="attachment-thumbnail" alt="Superscript in Flex" title="forblog2" /></a>
</p>
<p class="MsoNormal" style="line-height:150%;">
<p class="MsoNormal" style="line-height:150%;">
<p class="MsoNormal" style="line-height:150%;">
<p class="MsoNormal" style="line-height:150%;">
<p class="MsoNormal" style="line-height:150%;">
<p class="MsoNormal" style="line-height:150%;"><em><br />
</em></p>
<p class="MsoNormal" style="line-height:150%;"><span> </span></p>
<p class="MsoNormal" style="margin-left:.5in;line-height:150%;">
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bpraves.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bpraves.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bpraves.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bpraves.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bpraves.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bpraves.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bpraves.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bpraves.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bpraves.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bpraves.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bpraves.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bpraves.wordpress.com/35/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bpraves.wordpress.com/35/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bpraves.wordpress.com/35/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bpraves.wordpress.com&amp;blog=3984156&amp;post=35&amp;subd=bpraves&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bpraves.wordpress.com/2009/04/02/event-handling-in-equation-editor/feed/</wfw:commentRss>
		<slash:comments>31</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ac8dc60f5b0ca07be2a5d7c70113f6a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bpraves</media:title>
		</media:content>

		<media:content url="http://bpraves.files.wordpress.com/2009/04/forblog.jpg?w=150" medium="image">
			<media:title type="html">forblog</media:title>
		</media:content>

		<media:content url="http://bpraves.files.wordpress.com/2009/04/forblog2.jpg?w=150" medium="image">
			<media:title type="html">forblog2</media:title>
		</media:content>
	</item>
		<item>
		<title>Tech Episode 3: Flex makes MathML possible</title>
		<link>http://bpraves.wordpress.com/2008/11/29/tech-episode-3-flex-makes-mathml-possible/</link>
		<comments>http://bpraves.wordpress.com/2008/11/29/tech-episode-3-flex-makes-mathml-possible/#comments</comments>
		<pubDate>Sat, 29 Nov 2008 04:35:17 +0000</pubDate>
		<dc:creator>beepee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>

		<guid isPermaLink="false">http://bpraves.wordpress.com/?p=32</guid>
		<description><![CDATA[Mathamatics mark up language is an XML standard that describes mathematics and has been proposed by th e W3C with an aim to put mathematics on the web. Well The above should give an idea of my main project @ Heymath. It was as simple as this&#8230;Develop an intuitive and predictive math equation editor basede [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bpraves.wordpress.com&amp;blog=3984156&amp;post=32&amp;subd=bpraves&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Mathamatics mark up language is an XML standard that describes mathematics and has been proposed by th e W3C with an aim to put mathematics on the web.</p>
<p>Well The above should give an idea of my main project @ Heymath.</p>
<p>It was as simple as this&#8230;Develop an intuitive and predictive math equation editor basede on mathml in flex.</p>
<p>Three months into the development phase an wht we see is a prototype of an editor (first of its kind.)FLEX &amp; MathML.</p>
<p>The first month started with developing a mathml parser&#8230;.Like&#8230;basically an XML parser which takes the mathml code and parses for math elements and renders them graphically.</p>
<p>Then came the equation renderer ,,A WYSIWYG editor which gives the user a math palette of over 300 math symbols and generates amth ml at de end&#8230;.</p>
<p>The renderer was coupled with an editor&#8230;.</p>
<p>Well am sure&#8230;Not many(y many??Only sum or very few read this blog) of u&#8230; would have got an idea about the editor&#8230;.</p>
<p>So I better write detailed episodes of each./&#8230;in the coming posts</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bpraves.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bpraves.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bpraves.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bpraves.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bpraves.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bpraves.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bpraves.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bpraves.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bpraves.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bpraves.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bpraves.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bpraves.wordpress.com/32/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bpraves.wordpress.com/32/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bpraves.wordpress.com/32/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bpraves.wordpress.com&amp;blog=3984156&amp;post=32&amp;subd=bpraves&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bpraves.wordpress.com/2008/11/29/tech-episode-3-flex-makes-mathml-possible/feed/</wfw:commentRss>
		<slash:comments>13</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ac8dc60f5b0ca07be2a5d7c70113f6a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bpraves</media:title>
		</media:content>
	</item>
		<item>
		<title>Tech Episode 2: Priority Queues</title>
		<link>http://bpraves.wordpress.com/2008/09/26/tech-episode-2-priority-queues/</link>
		<comments>http://bpraves.wordpress.com/2008/09/26/tech-episode-2-priority-queues/#comments</comments>
		<pubDate>Fri, 26 Sep 2008 13:35:24 +0000</pubDate>
		<dc:creator>beepee</dc:creator>
				<category><![CDATA[data structures]]></category>
		<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[Binary Trees]]></category>
		<category><![CDATA[Priority Queues]]></category>

		<guid isPermaLink="false">http://bpraves.wordpress.com/?p=16</guid>
		<description><![CDATA[Hi, Recently we had a discussion @ Heymath on Priority Queues&#8230; Like,,, What is a Priority queue? How does a Priority Queue differ froma normal queue? Utility of Priority Queues in Real life? Implementation of Priority Queues? Then we also talked about the representation of binary trees as arrays,,,, The discussion went fine. There was [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bpraves.wordpress.com&amp;blog=3984156&amp;post=16&amp;subd=bpraves&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Hi,</p>
<p>Recently we had a discussion @ Heymath on Priority Queues&#8230;</p>
<p>Like,,,</p>
<p>What is a Priority queue?</p>
<p>How does a Priority Queue differ froma normal queue?</p>
<p>Utility of Priority Queues in Real life?</p>
<p>Implementation of  Priority Queues?</p>
<p>Then we also talked about the representation of binary trees as arrays,,,,</p>
<p>The discussion went fine.</p>
<p>There was also a Problem solving session where there were some three problems centred on Priority Queues and binary trees,</p>
<p>Two outta them were short and simple&#8230;Am posting them for interested ppl who have a knack for such probs&#8230;</p>
<p><span style="font-size:medium;font-family:Times New Roman;"><strong># 1</strong> Given  the indices of two nodes ‘p’ and ‘q’ in a binary tree, devise  an algorithm which returns the Index of their nearest common ancestor.</span></p>
<p><span style="font-size:medium;font-family:Times New Roman;"><strong># 2 </strong>You are given <strong>n</strong> events  where each takes one unit of time. Event <strong><em>i</em> </strong> will provide a profit of <strong>G</strong><sub><strong>i</strong></sub><strong> </strong> dollars (G<sub>i</sub> &gt; 0) if started at or before time <strong>T</strong><sub><strong>i</strong></sub> where <strong>T</strong><sub><strong>i</strong></sub><strong> </strong> is an arbitrary real number.</span></p>
<p><span style="font-size:medium;font-family:Times New Roman;">(Note: If an event is not started  by T<sub>i</sub> then there is no benefit in scheduling it at all. All  events can start as early as time 0.)</span></p>
<p><span style="font-size:medium;font-family:Times New Roman;">Give an algorithm to find a  schedule that maximizes the profit.</span><br />
I hope to post the solutions(If at all I find one) in the next post&#8230;</p>
<br />  <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bpraves.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bpraves.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bpraves.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bpraves.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bpraves.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bpraves.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bpraves.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bpraves.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bpraves.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bpraves.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bpraves.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bpraves.wordpress.com/16/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bpraves.wordpress.com/16/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bpraves.wordpress.com/16/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bpraves.wordpress.com&amp;blog=3984156&amp;post=16&amp;subd=bpraves&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bpraves.wordpress.com/2008/09/26/tech-episode-2-priority-queues/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ac8dc60f5b0ca07be2a5d7c70113f6a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bpraves</media:title>
		</media:content>
	</item>
		<item>
		<title>Tech Episode 1</title>
		<link>http://bpraves.wordpress.com/2008/09/17/tech-episode-1/</link>
		<comments>http://bpraves.wordpress.com/2008/09/17/tech-episode-1/#comments</comments>
		<pubDate>Wed, 17 Sep 2008 14:33:50 +0000</pubDate>
		<dc:creator>beepee</dc:creator>
				<category><![CDATA[Uncategorized]]></category>
		<category><![CDATA[MiniProj]]></category>
		<category><![CDATA[Tree]]></category>

		<guid isPermaLink="false">http://bpraves.wordpress.com/?p=7</guid>
		<description><![CDATA[Tree Listing of Hierarchical Data&#8230;. Gettin any Clue?,&#8230; This was a mini project given to us which approximately took around 2 weeks to the final App. The Project Scenario : Give a visual representation of hierarchical data..(All those which carry Parent-child relationships&#8230;.) in the form of  a Tree.,.. A Typical example of hierarchical data would [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bpraves.wordpress.com&amp;blog=3984156&amp;post=7&amp;subd=bpraves&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Tree Listing of Hierarchical Data&#8230;.</p>
<p>Gettin any Clue?,&#8230;</p>
<p>This was a mini project given to us which approximately took around 2 weeks to the final App.</p>
<p><strong>The Project Scenario :</strong></p>
<p>Give a visual representation of hierarchical data..(All those which carry Parent-child relationships&#8230;.) in the form of  a Tree.,..</p>
<p>A Typical example of hierarchical data would be the windows explorer Toolbar in Windows(:)</p>
<p>Blink???? (Click MyComputer-&gt;View-&gt;ExplorerBar-&gt;Folders)..</p>
<p>Now we just had to imitate the same thing except that your tree shud carry drag drop</p>
<p>options,add,delete,rename nodes&#8230;And All these changes have to be reflected in the database&#8230;.</p>
<p>Ah Ha&#8230;Here comes the database&#8230;.An Along comes trouble&#8230;.</p>
<p>Googleeeee&#8230;&#8230;&#8230;</p>
<p>How to store Hierarchical data in the Database..?</p>
<p>Joe celko&#8217;s book top lists the searches&#8230;(Take my word &#8230;Do not cross check..)&#8230;An there are lotta</p>
<p>results which give you a wide plethora of info on this&#8230;..Simple Search.,&#8230;I &#8216;d say..</p>
<p>Two main DB structure for storing hierarchical data&#8230;.</p>
<p><strong>1</strong>) Adjacency List Model</p>
<p><strong>2</strong>) Nested Set Model&#8230;.</p>
<p>There comes another problem&#8230;.More than one&#8230;?What to choose??</p>
<p>I can write one whole week&#8217;s episode just on discussing the pros an cons of the two Models&#8230;.Least of all</p>
<p>two episodes to explain Wht they are????But Too many episodes spoil the read&#8230;.Rite???</p>
<p>Short Gist:</p>
<p>Adjacency model:(One variation of it&#8230;)</p>
<p>There are five columns nodename,nodeid,parentid,Depth,Lineage.</p>
<ul>
<li> Depth gives the level of the node in the tree.</li>
</ul>
<ul>
<li> Lineage is a field of nodeid&#8217;s demarcated by &#8216;/&#8217; which actually indicates the path need to be travelled to reach tht node.</li>
</ul>
<p>Nested Set model:</p>
<ul>
<li> nodeid: Uniquely defines the node.</li>
</ul>
<ul>
<li> right Pointer:</li>
</ul>
<ul>
<li> Left pointer.</li>
</ul>
<p>The right and left denote the position of tht node when you traverse the tree by the</p>
<p>preorder tree traversal algorithm.</p>
<p>I might give a teaser here&#8230;..</p>
<p>One of the model&#8230;.Is sooo convenient..,,,The other very tedious in terms of DB operations&#8230;.</p>
<p>Three of us Chose the convenient one an started workin on them..(We don wanna spend futile nights on the</p>
<p>the tedious one&#8230;Coz it looks simple but takes lotta things to be taken care&#8230;.like&#8230;recursive queries nned</p>
<p>be fired off to just to get a node&#8217;s children&#8230;.</p>
<p>But Five of us ended up doing the Convenient one&#8230;.</p>
<p>Which One???</p>
<p>The oNE&gt;&gt;???</p>
<p>Ciaoooooooooo&#8230;..Later&#8230;With The One&#8230;&#8230;&#8230;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bpraves.wordpress.com/7/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bpraves.wordpress.com/7/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bpraves.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bpraves.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bpraves.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bpraves.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bpraves.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bpraves.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bpraves.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bpraves.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bpraves.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bpraves.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bpraves.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bpraves.wordpress.com/7/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bpraves.wordpress.com/7/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bpraves.wordpress.com/7/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bpraves.wordpress.com&amp;blog=3984156&amp;post=7&amp;subd=bpraves&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bpraves.wordpress.com/2008/09/17/tech-episode-1/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ac8dc60f5b0ca07be2a5d7c70113f6a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bpraves</media:title>
		</media:content>
	</item>
		<item>
		<title>My First Attempt</title>
		<link>http://bpraves.wordpress.com/2008/06/15/hello-world/</link>
		<comments>http://bpraves.wordpress.com/2008/06/15/hello-world/#comments</comments>
		<pubDate>Sun, 15 Jun 2008 12:34:27 +0000</pubDate>
		<dc:creator>beepee</dc:creator>
				<category><![CDATA[My Scribblings]]></category>
		<category><![CDATA[heymath]]></category>
		<category><![CDATA[intro]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[First Attempt at WrITING a Tech Blog&#8230;Hoping to do jus the wRITE thin&#8230;I have in my mind to post all those tech stuff whick had me amazed,transfixed&#8230;and dumbed tooo while at work here at HeyMath&#8230; An Here It startss&#8230;&#8230;&#8230;..My Blog &#8230;.TechhhhhSAVVYYYYYYY<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bpraves.wordpress.com&amp;blog=3984156&amp;post=1&amp;subd=bpraves&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>First Attempt at WrITING a Tech Blog&#8230;Hoping to do jus the wRITE thin&#8230;I have in my mind to post all those tech stuff whick had me amazed,transfixed&#8230;and dumbed tooo while at work here at HeyMath&#8230;</p>
<p>An Here It startss&#8230;&#8230;&#8230;..My Blog &#8230;.TechhhhhSAVVYYYYYYY</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/bpraves.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/bpraves.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/bpraves.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/bpraves.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/bpraves.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/bpraves.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/bpraves.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/bpraves.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/bpraves.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/bpraves.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/bpraves.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/bpraves.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/bpraves.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/bpraves.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/bpraves.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/bpraves.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=bpraves.wordpress.com&amp;blog=3984156&amp;post=1&amp;subd=bpraves&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://bpraves.wordpress.com/2008/06/15/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://0.gravatar.com/avatar/4ac8dc60f5b0ca07be2a5d7c70113f6a?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">bpraves</media:title>
		</media:content>
	</item>
	</channel>
</rss>
