<?xml version="1.0" encoding="UTF-8"?>
<?xml-stylesheet type="text/xsl" media="screen" href="/~d/styles/atom10full.xsl"?><?xml-stylesheet type="text/css" media="screen" href="http://feeds.feedburner.com/~d/styles/itemcontent.css"?><feed xmlns="http://www.w3.org/2005/Atom" xmlns:openSearch="http://a9.com/-/spec/opensearch/1.1/" xmlns:blogger="http://schemas.google.com/blogger/2008" xmlns:georss="http://www.georss.org/georss" xmlns:gd="http://schemas.google.com/g/2005" xmlns:thr="http://purl.org/syndication/thread/1.0" xmlns:feedburner="http://rssnamespace.org/feedburner/ext/1.0" gd:etag="W/&quot;DU8BSHw4eyp7ImA9WhBbE08.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748</id><updated>2013-05-12T08:34:19.233+05:30</updated><category term="UNIX" /><category term="PTHREADS" /><category term="High Performance Computing" /><category term="J2ME" /><category term="Visual Studio" /><category term="Exploration Begins" /><category term="LeD" /><category term="Download" /><category term="client" /><category term="Spring Framework" /><category term="LyX" /><category term="Dependency Injection" /><category term="boost" /><category term="Semantics" /><category term="Kernel" /><category term="Fat Jar" /><category term="Windows" /><category term="WMAPI" /><category term="Programming" /><category term="C++" /><category term="KVM" /><category term="TCP" /><category term="CLDC 1.0" /><category term="Research Paper" /><category term="MMAPI" /><category term="LAM" /><category term="Parallel Computing" /><category term="web server" /><category term="Android" /><category term="UCSC" /><category term="Design Patterns" /><category term="MPI" /><category term="MIDP" /><category term="scripting" /><category term="Parse Tree" /><category term="inih" /><category term="MySQL" /><category term="Longest Path" /><category term="sockets" /><category term="CLDC 1.1" /><category term="NS2" /><category term="Alert" /><category term="tcl" /><category term="Network Simulation" /><category term="Java" /><category term="NetBeans" /><category term="Algorithms" /><category term="Latex" /><category term="Google" /><category term="c" /><category term="POSIX" /><category term="System Calls" /><category term="Syntax" /><category term="Maps" /><category term="Graph Theory" /><category term="JDK" /><category term="Programming Languages" /><category term="Mediafire" /><category term="Polymorphism" /><category term="Linux" /><category term="Operating Systems" /><category term="Miktex" /><category term="Eclipse" /><category term="nam" /><category term="CommandListner" /><category term="server" /><category term="Internet Download Manager" /><category term="gcc" /><category term="MIDlet" /><category term="Batch 06" /><category term="Kile" /><category term="Ambiguity" /><category term="Winefish" /><category term="Research Seminar" /><category term="Databse Connection" /><category term="g++" /><category term="Texmaker" /><category term="CDC" /><title>ASK Online</title><subtitle type="html" /><link rel="http://schemas.google.com/g/2005#feed" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/posts/default" /><link rel="alternate" type="text/html" href="http://arunasujith.blogspot.com/" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><generator version="7.00" uri="http://www.blogger.com">Blogger</generator><openSearch:totalResults>24</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="self" type="application/atom+xml" href="http://feeds.feedburner.com/AskOnline" /><feedburner:info uri="askonline" /><atom10:link xmlns:atom10="http://www.w3.org/2005/Atom" rel="hub" href="http://pubsubhubbub.appspot.com/" /><entry gd:etag="W/&quot;AkIGR3g7eSp7ImA9WhBUGEg.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-6971694208904174399</id><published>2013-05-06T22:12:00.000+05:30</published><updated>2013-05-06T22:12:06.601+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-05-06T22:12:06.601+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Maps" /><category scheme="http://www.blogger.com/atom/ns#" term="Android" /><category scheme="http://www.blogger.com/atom/ns#" term="Google" /><title>Enable Offline data in Google Maps for Android</title><summary type="html">Hi guys it's been long time since I wrote a blog post. So now in this post I'm going to explain how to use google maps data for offline usage. This will be very useful for people who is limit with their mobile data budgets.

So first we need ti install the application from the Google Play https://play.google.com/store/apps/details?id=com.google.android.apps.maps&amp;amp;hl=en

Then enable your wifi &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/SIz7IRquMq4" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/6971694208904174399/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2013/05/enable-offline-data-in-google-maps-for.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/6971694208904174399?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/6971694208904174399?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/SIz7IRquMq4/enable-offline-data-in-google-maps-for.html" title="Enable Offline data in Google Maps for Android" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-XfJmZ-AzeTE/UYfc1RWbxgI/AAAAAAAAAOg/AbJ0H3MnW2I/s72-c/Screenshot_2013-05-06-22-06-26.png" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2013/05/enable-offline-data-in-google-maps-for.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CEQHSXY4fSp7ImA9WhBTFE8.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-5409480038706029000</id><published>2013-02-09T20:35:00.001+05:30</published><updated>2013-02-09T20:35:38.835+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-02-09T20:35:38.835+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="server" /><category scheme="http://www.blogger.com/atom/ns#" term="PTHREADS" /><category scheme="http://www.blogger.com/atom/ns#" term="g++" /><category scheme="http://www.blogger.com/atom/ns#" term="gcc" /><category scheme="http://www.blogger.com/atom/ns#" term="sockets" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="c" /><category scheme="http://www.blogger.com/atom/ns#" term="C++" /><category scheme="http://www.blogger.com/atom/ns#" term="client" /><title>Non Blocking I/O using SELECT System Call in Linux</title><summary type="html">
Today we are going to explore a very important system call in Linux, The Select system call. Select System call is use 
when we need non blocking executions. The use of the select can be explained via an example code. Lets assume that we use a socket program with a server and few client programs. To accept and read from clients what will be your normal approach?..
Probably you are checking for &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/Hjo1v7Ys2pE" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/5409480038706029000/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2013/02/non-blocking-io-using-select-system.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/5409480038706029000?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/5409480038706029000?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/Hjo1v7Ys2pE/non-blocking-io-using-select-system.html" title="Non Blocking I/O using SELECT System Call in Linux" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><thr:total>1</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2013/02/non-blocking-io-using-select-system.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEcCRHg4cSp7ImA9WhNbGUg.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-3553992887059746367</id><published>2013-01-23T21:17:00.000+05:30</published><updated>2013-01-23T21:17:45.639+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-23T21:17:45.639+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="UNIX" /><category scheme="http://www.blogger.com/atom/ns#" term="PTHREADS" /><category scheme="http://www.blogger.com/atom/ns#" term="Programming" /><category scheme="http://www.blogger.com/atom/ns#" term="g++" /><category scheme="http://www.blogger.com/atom/ns#" term="gcc" /><category scheme="http://www.blogger.com/atom/ns#" term="POSIX" /><category scheme="http://www.blogger.com/atom/ns#" term="Algorithms" /><title>Producer Consumer Problem in C++</title><summary type="html">
Today I'm going to solve a most common problem which is known as the consumer producer problem. In this context we have a shared buffer which the producers produce and the consumers consume. The consumers and producers are threads which will simultaneously produce and consume. There are some conditions to be met where consumers have to wait until producers produce, and another thing is that when&lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/NJwvxHW_8rA" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/3553992887059746367/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2013/01/producer-consumer-problem-in-c.html#comment-form" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/3553992887059746367?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/3553992887059746367?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/NJwvxHW_8rA/producer-consumer-problem-in-c.html" title="Producer Consumer Problem in C++" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><thr:total>5</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2013/01/producer-consumer-problem-in-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUMMRHY8eyp7ImA9WhNbFU8.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-7629971450368442262</id><published>2013-01-18T21:08:00.000+05:30</published><updated>2013-01-18T21:08:05.873+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2013-01-18T21:08:05.873+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TCP" /><category scheme="http://www.blogger.com/atom/ns#" term="server" /><category scheme="http://www.blogger.com/atom/ns#" term="Programming" /><category scheme="http://www.blogger.com/atom/ns#" term="g++" /><category scheme="http://www.blogger.com/atom/ns#" term="gcc" /><category scheme="http://www.blogger.com/atom/ns#" term="sockets" /><category scheme="http://www.blogger.com/atom/ns#" term="UCSC" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="boost" /><category scheme="http://www.blogger.com/atom/ns#" term="C++" /><category scheme="http://www.blogger.com/atom/ns#" term="Programming Languages" /><category scheme="http://www.blogger.com/atom/ns#" term="client" /><title>How to send Complex Data Structures in a Socket Program</title><summary type="html">
Hi all, Hope you guys are doing well. I was busy with my work last few days. Today I'm going to write a post about sending Complex data structures using a socket program. In this post I assume that you are somewhat familiar with the socket programming basics.



In the following example we are creating a Object type in the server program and send that to the client program. This is a simple &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/yzVJjuAXkpk" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/7629971450368442262/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2013/01/how-to-send-complex-data-structures-in.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/7629971450368442262?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/7629971450368442262?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/yzVJjuAXkpk/how-to-send-complex-data-structures-in.html" title="How to send Complex Data Structures in a Socket Program" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2013/01/how-to-send-complex-data-structures-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;A0IDQHg_eCp7ImA9WhNVE0g.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-7802882843355875219</id><published>2012-12-24T20:01:00.004+05:30</published><updated>2012-12-24T20:02:51.640+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-12-24T20:02:51.640+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Programming" /><category scheme="http://www.blogger.com/atom/ns#" term="Windows" /><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio" /><category scheme="http://www.blogger.com/atom/ns#" term="C++" /><title>fatal error LNK1168: cannot open 'filename.exe' for writing</title><summary type="html">
Hi guys how you all doing?.. I have just finished my University work and having a free week before joining the Industry. Recently I was trying to do some projects using Microsoft Visual C++ 2010 Express  in Windows 8 Operating System environment. When I tried to build few solutions I came with the Error called



fatal error LNK1168: cannot open 'filename.exe' for writing



Recently I have &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/eTmouE3PP1M" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/7802882843355875219/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2012/12/fatal-error-lnk1168-cannot-open.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/7802882843355875219?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/7802882843355875219?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/eTmouE3PP1M/fatal-error-lnk1168-cannot-open.html" title="fatal error LNK1168: cannot open 'filename.exe' for writing" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2012/12/fatal-error-lnk1168-cannot-open.html</feedburner:origLink></entry><entry gd:etag="W/&quot;Dk4HRXw7fyp7ImA9WhNXEks.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-5679523264335022365</id><published>2012-11-30T10:19:00.000+05:30</published><updated>2012-11-30T14:12:14.207+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-11-30T14:12:14.207+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="server" /><category scheme="http://www.blogger.com/atom/ns#" term="web server" /><category scheme="http://www.blogger.com/atom/ns#" term="Programming" /><category scheme="http://www.blogger.com/atom/ns#" term="inih" /><category scheme="http://www.blogger.com/atom/ns#" term="gcc" /><category scheme="http://www.blogger.com/atom/ns#" term="sockets" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="c" /><title>How to write a  Simple Web Server using C</title><summary type="html">In this post I'm going to explain how to write a simple but functional web server using sockets. First we have to set configuration for our web server and most common way of doing is to put the configurations into a .ini file. I used inih which is a simple .ini parser written in C. source 

Below is a sample .ini file

&amp;lt;!-- HTML generated using hilite.me --&amp;gt;; Config file for ASK server

[Protocol&lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/qvHLLTkeCUY" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/5679523264335022365/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2012/11/how-to-write-simple-web-server-using-c.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/5679523264335022365?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/5679523264335022365?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/qvHLLTkeCUY/how-to-write-simple-web-server-using-c.html" title="How to write a  Simple Web Server using C" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2012/11/how-to-write-simple-web-server-using-c.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0UDQXwzfCp7ImA9WhNXEks.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-2720192719902775327</id><published>2012-10-24T11:41:00.000+05:30</published><updated>2012-11-30T14:17:50.284+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-11-30T14:17:50.284+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="TCP" /><category scheme="http://www.blogger.com/atom/ns#" term="NS2" /><category scheme="http://www.blogger.com/atom/ns#" term="nam" /><category scheme="http://www.blogger.com/atom/ns#" term="gcc" /><category scheme="http://www.blogger.com/atom/ns#" term="Network Simulation" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="tcl" /><category scheme="http://www.blogger.com/atom/ns#" term="scripting" /><title>Network Simulation using NS2</title><summary type="html">

Before deploying a network it is necessary to check how the network would behave after the deployment. After deploying the network sometime it may not function/behave as expected. So it is better to get some idea before the real deployment. 


There are commercial simulators of course,  but the problem is that they are very expensive. So NS2 come in handy, since it's free and opensource. The &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/jTAAtHADL0k" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/2720192719902775327/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2012/10/network-simulation-using-ns2.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/2720192719902775327?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/2720192719902775327?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/jTAAtHADL0k/network-simulation-using-ns2.html" title="Network Simulation using NS2" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-WX3mtn6H8tE/UIeFJCsFLVI/AAAAAAAAANw/WaW6ABtyH1Y/s72-c/untitled.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2012/10/network-simulation-using-ns2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0IHRHk7fip7ImA9WhNXEks.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-3957880604956798351</id><published>2012-08-26T12:53:00.000+05:30</published><updated>2012-11-30T14:22:15.706+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-11-30T14:22:15.706+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Programming" /><category scheme="http://www.blogger.com/atom/ns#" term="Graph Theory" /><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="Longest Path" /><category scheme="http://www.blogger.com/atom/ns#" term="Algorithms" /><title>Longest Path Algorithm (Java Code)</title><summary type="html">
The longest path algorithm is used to find the maximum length of a given graph. The maximum length may be measured by the maximum number of edges or the sum of the weights in a weighted graph. Following is a sample java code to find the Longest Path. It has two classes. CreateMatrix.java class to create the matrix and LongestPath.java to find the Longest Path to the created matrix. 



Download &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/7KdG8_z9tfc" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/3957880604956798351/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2012/08/longest-path-algorithm-java-code.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/3957880604956798351?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/3957880604956798351?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/7KdG8_z9tfc/longest-path-algorithm-java-code.html" title="Longest Path Algorithm (Java Code)" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2012/08/longest-path-algorithm-java-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEYGQns8cCp7ImA9WhNXEks.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-4647484695163522738</id><published>2012-05-14T14:30:00.000+05:30</published><updated>2012-11-30T14:32:03.578+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-11-30T14:32:03.578+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Programming" /><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="Windows" /><category scheme="http://www.blogger.com/atom/ns#" term="JDK" /><category scheme="http://www.blogger.com/atom/ns#" term="Algorithms" /><title>Dijkstra Algorithm (Shortest Path Algorithm ) Java Code</title><summary type="html">Dijkstra Algorithm is used find the shortest path in a directed graphs. Following is a java implementation of the Dijkstra Algorithm.


&amp;lt;!-- HTML generated using hilite.me --&amp;gt;class Dijkstra {

    public static void main(String[] args) {
        int length = 300;//length of the 2-D array
        int adjMatrix[][] = new int[length][length];
        CreateMatrix cm = new CreateMatrix();
        &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/Lbb_YpGw9I8" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/4647484695163522738/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2012/05/dijkstra-algorithm-shortest-path.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/4647484695163522738?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/4647484695163522738?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/Lbb_YpGw9I8/dijkstra-algorithm-shortest-path.html" title="Dijkstra Algorithm (Shortest Path Algorithm ) Java Code" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2012/05/dijkstra-algorithm-shortest-path.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0QDR34zeyp7ImA9WhVTFko.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-4873977933163203493</id><published>2012-03-02T12:26:00.000+05:30</published><updated>2012-03-02T12:26:16.083+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-03-02T12:26:16.083+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Internet Download Manager" /><category scheme="http://www.blogger.com/atom/ns#" term="Download" /><category scheme="http://www.blogger.com/atom/ns#" term="Mediafire" /><title>How to Resume Broken Downloads in Internet Download Manager</title><summary type="html">
We all download movies music every day. Among all other download sites mediafire is the most famous hosting site. Internet Download Manager is the download accelerator most of the windows users are used to. So when we are downloading something using  a regular account what happens if a download is being interrupted. We have to download it from all the beginning. :(  So I'm going to explain a &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/QofXvF_bCj4" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/4873977933163203493/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2012/03/how-to-resume-broken-downloads-in.html#comment-form" title="4 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/4873977933163203493?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/4873977933163203493?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/QofXvF_bCj4/how-to-resume-broken-downloads-in.html" title="How to Resume Broken Downloads in Internet Download Manager" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-bp13fHcP1u8/T1Bq07aGqFI/AAAAAAAAAK8/IN2GgLIsOPM/s72-c/e.png" height="72" width="72" /><thr:total>4</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2012/03/how-to-resume-broken-downloads-in.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cFSXs5eCp7ImA9WhRaEk0.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-3868615990274274944</id><published>2012-02-14T13:05:00.000+05:30</published><updated>2012-02-14T13:06:58.520+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-14T13:06:58.520+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="UCSC" /><category scheme="http://www.blogger.com/atom/ns#" term="Batch 06" /><title>UCSC Going Down 2012</title><summary type="html">
I am very proud to say that I am a  member of the Batch 06 or the Batch 2007/2008 of UCSC. The things we did for our UCSC was unique and many would not implausible. (I would rather say as the best batch in the history of the UCSC and our seniors would agree with me too of course .. :) ) There were many occasions and functions we did, UCSC Going Down is the tribute to our seniors who have given &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/zd-1D3pivH8" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/3868615990274274944/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2012/02/ucsc-going-down-2012.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/3868615990274274944?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/3868615990274274944?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/zd-1D3pivH8/ucsc-going-down-2012.html" title="UCSC Going Down 2012" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://4.bp.blogspot.com/-d5tZSG0LLqw/TzoLWGQUrFI/AAAAAAAAAII/JlXZ9qL8Rro/s72-c/going+down+2012+arunasujith.blogspot.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2012/02/ucsc-going-down-2012.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0EDQ3kzfSp7ImA9WhNXEks.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-601603863709423346</id><published>2012-02-10T14:00:00.000+05:30</published><updated>2012-11-30T14:24:32.785+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-11-30T14:24:32.785+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MySQL" /><category scheme="http://www.blogger.com/atom/ns#" term="Programming" /><category scheme="http://www.blogger.com/atom/ns#" term="Databse Connection" /><category scheme="http://www.blogger.com/atom/ns#" term="boost" /><category scheme="http://www.blogger.com/atom/ns#" term="Visual Studio" /><category scheme="http://www.blogger.com/atom/ns#" term="C++" /><title>MySQL C++ Connection Example in Visual Studio</title><summary type="html">
Creating a MySQL database connection using C++ is  really easy. But for a beginner it can be really hard to find the correct procedure cause it will gave really troubles. At the first time when I'm doing it it took me quite some time to make it work. So I'm going to explain how to make a connection to the MySQL database using C++ code. We use the library called boost to make the connection. 



&lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/Lw_VhxTeg_g" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/601603863709423346/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2012/02/mysql-c-connection-example-in-visual_10.html#comment-form" title="11 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/601603863709423346?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/601603863709423346?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/Lw_VhxTeg_g/mysql-c-connection-example-in-visual_10.html" title="MySQL C++ Connection Example in Visual Studio" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-6zKlMs7NSX4/TzP6JJ84DBI/AAAAAAAAAIA/lRg-SqB5MYU/s72-c/mysql+c+++connection.PNG" height="72" width="72" /><thr:total>11</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2012/02/mysql-c-connection-example-in-visual_10.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0cEQXY8eSp7ImA9WhRbGE0.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-4103606208973726123</id><published>2012-02-09T22:00:00.000+05:30</published><updated>2012-02-09T22:00:00.871+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-09T22:00:00.871+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="UNIX" /><category scheme="http://www.blogger.com/atom/ns#" term="Operating Systems" /><category scheme="http://www.blogger.com/atom/ns#" term="System Calls" /><category scheme="http://www.blogger.com/atom/ns#" term="Linux" /><category scheme="http://www.blogger.com/atom/ns#" term="Kernel" /><category scheme="http://www.blogger.com/atom/ns#" term="Windows" /><category scheme="http://www.blogger.com/atom/ns#" term="POSIX" /><title>What are these System Calls?</title><summary type="html">
What are these System calls with respect to Operating Systems?. More simple definition I could give you is that System Calls is the interface between the Operating System and the User Programs. These functions may be vary with respect to the Operating System Type. Systems calls are machine dependent and in Unix Systems System Calls are written in assembly language and there is a library &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/YFceoKhM7mk" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/4103606208973726123/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2012/02/what-are-these-system-calls.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/4103606208973726123?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/4103606208973726123?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/YFceoKhM7mk/what-are-these-system-calls.html" title="What are these System Calls?" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-O_4Z942QdVg/TzKIYR7LwMI/AAAAAAAAAH4/Gwruv8Yob2o/s72-c/system+call+example.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2012/02/what-are-these-system-calls.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CUINQ3k_cSp7ImA9WhRbF0s.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-788355248473510249</id><published>2012-02-09T10:20:00.000+05:30</published><updated>2012-02-09T10:29:52.749+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-09T10:29:52.749+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Java" /><category scheme="http://www.blogger.com/atom/ns#" term="Dependency Injection" /><category scheme="http://www.blogger.com/atom/ns#" term="Spring Framework" /><category scheme="http://www.blogger.com/atom/ns#" term="Design Patterns" /><category scheme="http://www.blogger.com/atom/ns#" term="Polymorphism" /><title>Dependency Injection Simplified</title><summary type="html">
Dependency Injection or Dependency Inversion is a design pattern to decouple objects to overcome the dependency relation in objects. Say there are objects tied to each other for example there is a Drawing application.  


 


Lets say there are two Circle and Triangle Classes which has a draw method in both classes. So when ever I want to use the draw method in my application I have to call the &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/2yQGW4kckQE" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/788355248473510249/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2012/02/dependency-injection-simplified.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/788355248473510249?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/788355248473510249?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/2yQGW4kckQE/dependency-injection-simplified.html" title="Dependency Injection Simplified" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-tibDr2yA2Ik/TzFQS7mVonI/AAAAAAAAAHg/n5_veuK6d1g/s72-c/polymorphism.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2012/02/dependency-injection-simplified.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYBR3k4cCp7ImA9WhRbF0Q.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-4200743923880357520</id><published>2012-02-07T12:43:00.000+05:30</published><updated>2012-02-09T19:49:16.738+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-09T19:49:16.738+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="UCSC" /><category scheme="http://www.blogger.com/atom/ns#" term="Research Seminar" /><category scheme="http://www.blogger.com/atom/ns#" term="Research Paper" /><title>UCSC Research Seminars for 4th Year Undergraduates</title><summary type="html">






UCSC Research Seminar is actually a compulsory subject for 4th year Computer Science undergraduates. Every undergraduate has to prepare a presentation on a research paper, and two undergraduates will present  per week. The objective of this Research Seminar is to wider the knowledge of the students and improve their dexterity in presentation skills.



W. G. D. M. Watugala Sir is the &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/xQ-MYiSMWPs" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/4200743923880357520/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2012/02/ucsc-research-seminars-for-4th-year_07.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/4200743923880357520?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/4200743923880357520?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/xQ-MYiSMWPs/ucsc-research-seminars-for-4th-year_07.html" title="UCSC Research Seminars for 4th Year Undergraduates" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-b-GTSUA16zQ/TzDHYfR3g4I/AAAAAAAAAHY/AfIsFLZ-SzU/s72-c/161974_159553990827560_1571241823_n.jpg" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2012/02/ucsc-research-seminars-for-4th-year_07.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0YBRXk-eSp7ImA9WhRbF0s.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-2133017917106034366</id><published>2012-02-07T09:43:00.002+05:30</published><updated>2012-02-09T09:49:14.751+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-09T09:49:14.751+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Winefish" /><category scheme="http://www.blogger.com/atom/ns#" term="Miktex" /><category scheme="http://www.blogger.com/atom/ns#" term="Kile" /><category scheme="http://www.blogger.com/atom/ns#" term="LeD" /><category scheme="http://www.blogger.com/atom/ns#" term="Latex" /><category scheme="http://www.blogger.com/atom/ns#" term="Texmaker" /><category scheme="http://www.blogger.com/atom/ns#" term="LyX" /><title>Latex for Total Beginners</title><summary type="html">


According to wikipedia  LaTeX  is a document markup language and document preparation system for the TeX typesetting program. 

After Searching the internet I was not able to find a proper way to prepare the working environment for work with late, Though there are enough tutorials on how to use latex.  So lets see how to prepare the working environment for latex.



Step 1

Download Miktex &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/vKb_WUqDNlI" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/2133017917106034366/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2012/02/latex-for-total-beginners.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/2133017917106034366?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/2133017917106034366?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/vKb_WUqDNlI/latex-for-total-beginners.html" title="Latex for Total Beginners" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/-dyuSK8dkMh0/TzCsxvmH7fI/AAAAAAAAAHQ/O-5JVqhxwQM/s72-c/arunasujith_blogspot3.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2012/02/latex-for-total-beginners.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DEAERHc4eCp7ImA9WhRbFUU.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-1546684271856450414</id><published>2012-02-07T09:21:00.000+05:30</published><updated>2012-02-07T09:21:45.930+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-07T09:21:45.930+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Ambiguity" /><category scheme="http://www.blogger.com/atom/ns#" term="Syntax" /><category scheme="http://www.blogger.com/atom/ns#" term="Parse Tree" /><category scheme="http://www.blogger.com/atom/ns#" term="Semantics" /><category scheme="http://www.blogger.com/atom/ns#" term="Programming Languages" /><title>Syntax and Semantics of a Programming Language</title><summary type="html">
Syntax of a Programming Language
The  Syntax  of  a  Programming  Language  is  the  set  of  rules  that  defined  in  that programming language in order to express how the combinations of symbols are formed.Syntax is differed into two main categories.Abstract Syntax  --&amp;gt;     Provide definition for the constructs
Concrete Syntax  --&amp;gt;       Provide definitions of the form of the constructs
E.g. &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/ousyseK4dYA" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/1546684271856450414/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2012/02/syntax-and-semantics-of-programming.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/1546684271856450414?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/1546684271856450414?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/ousyseK4dYA/syntax-and-semantics-of-programming.html" title="Syntax and Semantics of a Programming Language" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/-LX7vsj6-lyc/TzAcAR8Z1HI/AAAAAAAAAGg/Hsd627aC_EE/s72-c/Capture.PNG" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2012/02/syntax-and-semantics-of-programming.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D0EEQng5cCp7ImA9WhRbFUk.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-7847961695691044069</id><published>2012-01-31T17:46:00.006+05:30</published><updated>2012-02-06T21:56:43.628+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-06T21:56:43.628+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="LAM" /><category scheme="http://www.blogger.com/atom/ns#" term="High Performance Computing" /><category scheme="http://www.blogger.com/atom/ns#" term="MPI" /><category scheme="http://www.blogger.com/atom/ns#" term="Parallel Computing" /><title>MPI Matrix Multiplication (C Code)</title><summary type="html">Message Passing interface is largely used for work done in parallel computers. Other than using a Serial program, using MPI will increase the processing speed. 

In the given example two N * N matrix will be multiplied and given the output matrix.

You can Download Code From HERE

Execute the code using following commands

To Compile 
[aruna@ubuntu]~$ mpicc -o matrix matrix.c

To Run the Code
[&lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/_T22xm1x1Gs" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/7847961695691044069/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2012/01/mpi-matrix-multiplication-c-code.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/7847961695691044069?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/7847961695691044069?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/_T22xm1x1Gs/mpi-matrix-multiplication-c-code.html" title="MPI Matrix Multiplication (C Code)" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><thr:total>0</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2012/01/mpi-matrix-multiplication-c-code.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DUYFRHgyeSp7ImA9WhRbF0Q.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-9160709611101468360</id><published>2011-08-16T10:52:00.001+05:30</published><updated>2012-02-09T19:48:35.691+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-09T19:48:35.691+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="Eclipse" /><category scheme="http://www.blogger.com/atom/ns#" term="Fat Jar" /><category scheme="http://www.blogger.com/atom/ns#" term="NetBeans" /><title>How to build a fat jar using Netbeans</title><summary type="html">
Hmm after long time with out blogging. Finally decided to add some posts to my blog. So in this post I would like to describe how to build a fat jar using NetBeans. Of course you can simply do it using Eclipse. But in Netbeans you can't actually directly build a fat jar. The jar which is build using NetBeans is not adding the libraries you've used for the project. The libraries are added to a &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/ZBLqIJmx0Ls" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/9160709611101468360/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2011/08/how-to-build-fat-jar-using-netbeans.html#comment-form" title="6 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/9160709611101468360?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/9160709611101468360?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/ZBLqIJmx0Ls/how-to-build-fat-jar-using-netbeans.html" title="How to build a fat jar using Netbeans" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://1.bp.blogspot.com/-1UJR5iQbHg0/TknyfsurrZI/AAAAAAAAAFc/eedq1rgB4JA/s72-c/Untitled.png" height="72" width="72" /><thr:total>6</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2011/08/how-to-build-fat-jar-using-netbeans.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkENQ3o_cSp7ImA9WhRbGE0.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-5229873525328919755</id><published>2010-08-10T19:07:00.001+05:30</published><updated>2012-02-09T20:48:12.449+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-09T20:48:12.449+05:30</app:edited><title>J2ME Low Level GUI</title><summary type="html">
Sorry for the late update since I was down with flu for several days. So lets get back to Java Mobile Programming :). 

As in the last post I gave some clue what are we going to learn in upcoming posts.I think last drawing example did work for everyone. In this chapter we are going to learn J2ME Low Level GUI in detail.



J2ME Low Level GUI... Hmm when you hear this heading there is something &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/7ZfCJyZwwAQ" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/5229873525328919755/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2010/08/j2me-low-level-gui.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/5229873525328919755?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/5229873525328919755?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/7ZfCJyZwwAQ/j2me-low-level-gui.html" title="J2ME Low Level GUI" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_j1ZkBFxOx5U/TGFRg8VgdHI/AAAAAAAAADI/IOKN2j0N6vE/s72-c/coordinate+system.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2010/08/j2me-low-level-gui.html</feedburner:origLink></entry><entry gd:etag="W/&quot;CkAHRnw4eCp7ImA9WhRbGE0.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-3958508020872915315</id><published>2010-07-31T10:42:00.003+05:30</published><updated>2012-02-09T20:48:57.230+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2012-02-09T20:48:57.230+05:30</app:edited><title>Hello World Part  2</title><summary type="html">I think that everyone got the Hello World program running. Now, from this chapter I'm going to explain the coding part of the Hello World Program.

What is a MIDlet ?

MIDlet is the connection between the java application and the operating system in the MIDP(Mobile Information Device Profile) device. When you are creating a j2me application you are extending this MIDlet class ( &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/u9HilJHaqQY" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/3958508020872915315/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2010/07/hello-world-part-2.html#comment-form" title="0 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/3958508020872915315?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/3958508020872915315?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/u9HilJHaqQY/hello-world-part-2.html" title="Hello World Part  2" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_j1ZkBFxOx5U/TFOsL2_yLCI/AAAAAAAAAC4/3E0brJdh6q0/s72-c/Midlet_Life_Cycle.gif" height="72" width="72" /><thr:total>0</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2010/07/hello-world-part-2.html</feedburner:origLink></entry><entry gd:etag="W/&quot;D08NR3c9cSp7ImA9WxFaGUs.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-5495588543000849205</id><published>2010-07-24T13:08:00.001+05:30</published><updated>2010-07-24T15:34:56.969+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-24T15:34:56.969+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="CommandListner" /><category scheme="http://www.blogger.com/atom/ns#" term="J2ME" /><category scheme="http://www.blogger.com/atom/ns#" term="MIDlet" /><category scheme="http://www.blogger.com/atom/ns#" term="Alert" /><category scheme="http://www.blogger.com/atom/ns#" term="NetBeans" /><title>Hello World  part 1</title><summary type="html">So here we are going to do our first program in J2ME Hello World...

First We need to install an IDE to code, debug and run our mobile applications. There are several IDE's available NetBeans, Eclipse, Borland JBuilder.. etc. I personally go for the NetBeans IDE though it takes huge amount of your RAM :) . I'm using NetBeans 6.1 it's a bit older version. I found that there is a bug in newer &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/AXivxLuOHE4" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/5495588543000849205/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2010/07/hello-world-part-1.html#comment-form" title="2 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/5495588543000849205?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/5495588543000849205?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/AXivxLuOHE4/hello-world-part-1.html" title="Hello World  part 1" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_j1ZkBFxOx5U/TEqAo9pHJWI/AAAAAAAAAB0/sOd8TgC9iZs/s72-c/hello_step_01.png" height="72" width="72" /><thr:total>2</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2010/07/hello-world-part-1.html</feedburner:origLink></entry><entry gd:etag="W/&quot;DkYNQ30_cCp7ImA9WxFaF08.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-5234235299403933159</id><published>2010-07-21T08:35:00.018+05:30</published><updated>2010-07-21T20:26:32.348+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-21T20:26:32.348+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="MIDP" /><category scheme="http://www.blogger.com/atom/ns#" term="CLDC 1.0" /><category scheme="http://www.blogger.com/atom/ns#" term="KVM" /><category scheme="http://www.blogger.com/atom/ns#" term="MMAPI" /><category scheme="http://www.blogger.com/atom/ns#" term="J2ME" /><category scheme="http://www.blogger.com/atom/ns#" term="CLDC 1.1" /><category scheme="http://www.blogger.com/atom/ns#" term="WMAPI" /><category scheme="http://www.blogger.com/atom/ns#" term="CDC" /><title>Introduction to Java 2 Micro Edition</title><summary type="html">Before start programming using J2ME technology I think it's better explaining what is J2ME and why it is so popular. Actually what is java J2ME? Is it only for java enabled mobile phones?... The answer is NO." Java ME is designed to provide portability of applications between  platforms " this is what java officail website says about J2ME.In late 1998 Sun Microsystems (now a subsidiary of Oracle &lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/W1jC9mwobEA" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/5234235299403933159/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2010/07/introduction-to-java-2-micro-edition.html#comment-form" title="1 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/5234235299403933159?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/5234235299403933159?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/W1jC9mwobEA/introduction-to-java-2-micro-edition.html" title="Introduction to Java 2 Micro Edition" /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://2.bp.blogspot.com/_j1ZkBFxOx5U/TEPoCifKjkI/AAAAAAAAABs/NKO4p00Qt5M/s72-c/java_technology_stack.jpg" height="72" width="72" /><thr:total>1</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2010/07/introduction-to-java-2-micro-edition.html</feedburner:origLink></entry><entry gd:etag="W/&quot;C0MMSX8zcSp7ImA9WxFaFE8.&quot;"><id>tag:blogger.com,1999:blog-9157571775745956748.post-6012871243951469113</id><published>2010-07-18T08:20:00.000+05:30</published><updated>2010-07-18T08:21:28.189+05:30</updated><app:edited xmlns:app="http://www.w3.org/2007/app">2010-07-18T08:21:28.189+05:30</app:edited><category scheme="http://www.blogger.com/atom/ns#" term="J2ME" /><category scheme="http://www.blogger.com/atom/ns#" term="Exploration Begins" /><title>Exploration Begins...</title><summary type="html">We all search for something.. Is it Something which we need to satisfy our selves? ore is it to satisfy others? or it may be the something to satisfy both. Someone can ask the question that what the hell is this guy talking about is he crazy or something.. No.. I'm talking about the unsatisfied us..We all are knowledge hunters. But are we really keen on hunting?.. I think it depends..

So this is&lt;img src="http://feeds.feedburner.com/~r/AskOnline/~4/VjVI_B1YSG4" height="1" width="1"/&gt;</summary><link rel="replies" type="application/atom+xml" href="http://arunasujith.blogspot.com/feeds/6012871243951469113/comments/default" title="Post Comments" /><link rel="replies" type="text/html" href="http://arunasujith.blogspot.com/2010/07/exploration-begins.html#comment-form" title="5 Comments" /><link rel="edit" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/6012871243951469113?v=2" /><link rel="self" type="application/atom+xml" href="http://www.blogger.com/feeds/9157571775745956748/posts/default/6012871243951469113?v=2" /><link rel="alternate" type="text/html" href="http://feedproxy.google.com/~r/AskOnline/~3/VjVI_B1YSG4/exploration-begins.html" title="Exploration Begins..." /><author><name>Aruna Karunarathna</name><uri>https://plus.google.com/106666566584519488900</uri><email>noreply@blogger.com</email><gd:image rel="http://schemas.google.com/g/2005#thumbnail" width="32" height="32" src="//lh5.googleusercontent.com/-mVPs0i8a_KA/AAAAAAAAAAI/AAAAAAAAAOQ/D2opRMhaiQ4/s512-c/photo.jpg" /></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="http://3.bp.blogspot.com/_j1ZkBFxOx5U/TEJrz78TxrI/AAAAAAAAABc/LTmcZdZfKfo/s72-c/j2me1.png" height="72" width="72" /><thr:total>5</thr:total><feedburner:origLink>http://arunasujith.blogspot.com/2010/07/exploration-begins.html</feedburner:origLink></entry></feed>
