tag:blogger.com,1999:blog-34047492833253352392009-06-26T10:06:46.469+04:00Oman DevelopersTechnical, computer related articles and projects.Ali Hassan Al Lawatihttp://www.blogger.com/profile/09288347048236299519noreply@blogger.comBlogger45125tag:blogger.com,1999:blog-3404749283325335239.post-80133348493668299042009-05-15T11:07:00.010+04:002009-05-21T20:09:34.411+04:00SharePoint List data with SQL Server Reporting Services<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.sharepointmn.com/User%20Group%20Presentations/SharePoint%20Wheel.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 155px; height: 152px;" src="http://www.sharepointmn.com/User%20Group%20Presentations/SharePoint%20Wheel.jpg" alt="" border="0" /></a><br />SharePoint is becoming more populler every day, companies from around the world are starting using it as main intranet site of their headoffice.<div><br /></div><div>since sharepoint provide (as promissed by microsoft) the highest compatibility with Microsoft Office , exchange server, active directory and combine them all into a intranet portal.</div><div><br /></div><div>many companies started using this software either publishing site ( where anouncements &amp; news could be easily shared with employees) , or team sites ( to manage work of small teams and assigning tasks to them) , or document center, or other many things.<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://powerofthought.files.wordpress.com/2008/12/sql_server_2005.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 128px; height: 164px;" src="http://powerofthought.files.wordpress.com/2008/12/sql_server_2005.jpg" alt="" border="0" /></a></div><div><br /></div><div>Having huge amount of requirments of bespoke (custom) softwares that fullfill working enviroments needs developer having access to shareponit started using the lists &amp; content types capabilities to create small &amp; medium custom applications based on sharepoint lists </div><div>(well if that is good or bad is another issue but i think these two links clearify them <a href="http://stackoverflow.com/questions/250992/sharepoint-should-i-use-lists-or-a-database">link1 </a>, <a href="http://stackoverflow.com/questions/184653/sharepoint-lists-vs-database-tables-performance#184816">link2 </a>).</div><div><br /></div><div>Any how having these applications raise the need for reporting tool to genirated reports depending on the data entered in sharepoint lists/conent types, <span class="Apple-style-span" style="font-weight: bold;">and for my suprise </span> Microsoft's <span class="Apple-style-span" style="font-weight: bold;">best reporting tool SSRS (SQL Server Reporting Services) </span><span class="Apple-style-span" style="font-weight: bold;"> don't have a nice way to provide this functionality. </span>This thing made me search for ways of doing this and here are my findings:</div><div><br /></div><div>eventhough SSRS do not connect in a straigh forward way to SQL server we can have workarounds :</div><br /><div>1- C<span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;font-family:Arial;font-size:14;" >onnecting to SharePoint web service out put XML, the problem here is it sometimes work and sometimes don't, and also i couldn't do inner join between different lists may be it is there but it will be trouble to do it.</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;font-family:Arial;font-size:14;" ><br /></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;font-family:Arial;font-size:14;" >2- <span style="font-weight: bold;"></span></span>C<span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;font-family:Arial;font-size:14;" ><span style="font-weight: bold;"></span>reating a link table in MS Access 2007 that links to sharepoint lists (<span class="Apple-style-span" style="font-weight: bold;">amazingly this is very easy </span>), and then connect to the MS ACCESS link tables from SSRS 2005 : this will work but i am kind of scared of having ACCESS in the middle i always want to avoid using access (do you suggest this way please write comments)</span><br /></div><div><span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;font-family:Arial;font-size:14;" ><br /></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;font-family:Arial;font-size:14;" >3- </span>C<span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;font-family:Arial;font-size:14;" >onnecting to the views provided in the sharepoints backend database (there is a view for all lists and another view for all list items) : here column names will be troublsome to create the query the clounm names are like (float1,float2,...,date1,date2,date3,....) , also i am not sure if it is good thing to make SSRS talk directly to sharepoints backend database views</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;font-family:Arial;font-size:14;" ><br /></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;font-family:Arial;font-size:14;" >well these are the work arounds i could find for using SSRS as a reporting tool for SharePoint , but if you are willing to invest a bit to make this thing possible there are some plug-ins that provide this functionality such as <span class="Apple-style-span" style="border-collapse: separate; line-height: 17px;font-family:Helvetica;font-size:13;" > <a href="http://www.enesyssoftware.com/" rel="nofollow" style="color: rgb(0, 51, 102);">Enesys RS Data Extension </a><span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;font-family:Arial;font-size:14;" > but again not sure how good they are in performance and other stuff.</span></span></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;font-family:Arial;font-size:14;" ><br /></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;font-family:Arial;font-size:14;" >hope this post will help you if you are dealing with SharePoint , feel free to discuss any thing and leave comments.</span></div><div><span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;font-family:Arial;font-size:14;" ><br /><span style="font-size:100%;"><span style="font-weight: bold;">update 16/5/2009<br /></span>4- the fourth way is to map the list directly to a database (Well i didn't wrote that because two things first it is redundancy, second it is hard to keep updating both the database and sharepoint lists when-ever any change happens to any record, but Mr. Allan seems to have a great solution for that in the comments which is "SLAM<span style="font-weight: bold;"><span style="font-weight: bold;"><span style="font-weight: bold;"> </span>" </span></span></span></span> (http://slam.codeplex.com)<br /><br />SLAM allows you to easily maintain SharePoint data by hooking up against lists (or content types!) and having the data automatically synchronized with SQL server in real time. Best of all, it converts SharePoint look-ups to associations (with any multiplicity, one to one, one to many, many to many) that you can easily built queries against.<br /><br />Thanks a for letting us know about this tool<br /><span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;font-family:Arial;font-size:14;" ><span style="font-size:100%;"><span style="font-weight: bold;"><span style="font-weight: bold;">update 21/5/2009 :<br /></span></span><span><span>Well this time i tried the 2nd way on production (it works very well while it is on my machine in visual studio) but if we need to add it to the reporting services server it didn't work on my enviroment not sure if it works on other enviroments<br /></span></span></span></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;font-family:Arial;font-size:14;" ><br /></span></div><div><span class="Apple-style-span" style="border-collapse: collapse; line-height: 18px;font-family:Arial;font-size:14;" ><br /></span></div><div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-8013334849366829904?l=www.omandev.net'/></div>Ali Hassan Al Lawatihttp://www.blogger.com/profile/09288347048236299519noreply@blogger.com4tag:blogger.com,1999:blog-3404749283325335239.post-17743513399210313122009-01-14T23:51:00.001+04:002009-01-14T23:53:01.024+04:00popular posts of OmanDevWell this post should had came on the new year 1st Jan, but I am too lazy to do this kind of things in their time :), just now i felt like i am too late so lets do it.<br /><br />In this post i will list the most popular posts of Omandev (based on google analytics most visited posts) not only for 2008, but also for its entire life cause Omandev started few months before 2008 specificlly in jul 2007. so this time i am covering all the period from jul 2007 til today.<br /><br />Since the blog still don't have a lot of posts, it has around 55 posts in english, and 24 posts in arabic, the top posts i will list will be 5 from the english posts and 2 arabic posts, so here we go.<br /><br /><ul><li><a href="http://www.omandev.net/2007/08/quick-find-algorithm.html">Quick find Algorithm</a> : this post explains a quck find algorithm as was given to us in SQU Algorithm lectures</li><li><a href="http://www.omandev.net/2007/08/assembly-language-shift-instructions.html">Assembly Language - Shift Instructions</a> :a very nice explanation by arkan of shift instructions in assembly language</li><li><a href="http://www.omandev.net/2007/07/good-programmer.html">A Good Programmer</a> : a greate piece of writting by saud on a very worthy topic about how should a good programmer be. this post has got the longest reading time from our visitors<br /></li><li><a href="http://www.omandev.net/2007/07/java-gui-builder-ve-matisse-jigloo.html">java GUI builder VE Matisse, Jigloo</a> : the very first blog on omandev by me, it compares between the best three GUI editors of Java</li><li><a href="http://www.omandev.net/2007/08/sqltip2-how-to-display-rows-as-columns.html">SQLTip2: how to display rows as columns</a> : a simple tutorial on how to get cross table or pivot table kind of results in MYSQL using sql queries</li></ul>in arabic blog<br /><br /><ul><li><a title="Introduction to windows 7 features" href="http://arabic.omandev.net/2008/11/7.html" id="rkdu">Introduction to windows 7 features</a> : simply listing few features of windows 7<br /></li><li><a title="Technology future with organic light emitted diode" href="http://arabic.omandev.net/2008/04/blog-post.html" id="pwyh">Technology future with organic light emitted diode</a> : the most visited arabic post, it is by hassan on the future of organic light emitted diode applications.</li></ul><div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-1774351339921031312?l=www.omandev.net'/></div>Ali Hassan Al Lawatihttp://www.blogger.com/profile/09288347048236299519noreply@blogger.com1tag:blogger.com,1999:blog-3404749283325335239.post-11209476466631425052009-01-14T02:11:00.006+04:002009-01-14T14:10:43.099+04:00New FeedHello all,<br /><br />We have just changed the way rss feeds are made for Omandev. Until know we had two feeds Arabic feed and an English feed, we noticed people do subscribe to only one of them and expect to get both, well the problem is that omandev was initially two blogs :)<br /><br />Now i have created a feedburner feed which is taking from yahoo pipes that combine both Arabic and English feed. the feed is on <a href="http://feeds.feedburner.com/OmanDevelopers">http://feeds.feedburner.com/OmanDevelopers</a><br />currently trying it out (using this post ) and hope it will provide you better feeds, i think the option of having only english or only arabic posts should be still available thats why i am not cancelling them, but updated them to feedburner too<br />English at <a href="http://feeds.feedburner.com/omandevEn">http://feeds.feedburner.com/omandevEn<br /></a>Arabic at <a href="http://feeds.feedburner.com/omandevAr" target="_blank" class="popup">http://feeds.feedburner.com/omandevAr</a><div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-1120947646663142505?l=www.omandev.net'/></div>Ali Hassan Al Lawatihttp://www.blogger.com/profile/09288347048236299519noreply@blogger.com0tag:blogger.com,1999:blog-3404749283325335239.post-30686562856489725032009-01-06T11:33:00.001+04:002009-01-06T11:35:50.495+04:00Why Python<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://gndx.org/wp-content/uploads/2008/06/280px-python_logo.png"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 280px; height: 280px;" src="http://gndx.org/wp-content/uploads/2008/06/280px-python_logo.png" alt="" border="0" /></a><br /> Why Python<br /><br />I am used to programe in Java at home and on almost all my personal projects , in my work place i am a C# guy (well in work place they only use .NET :( ) and this is because in college days all we have been exposed to were OO languages like C++, Java, .NET and that what we are using till now.<br /><br />As scripting languages, developers around here are far away from them, may be the only scripting language used heavily in this side of the world is PHP, and the most powerfull JavaScript and thats it. I decieded that i want to learn a new programming language and it has to be a scripting language this time, i was looking for Ruby,pearl &amp; python to learn one of them. Finally my choice was python and thats why i hope i will be able to put small tips and tricks of what ever i learn in python here on this blog.<br /><br /><br />In this blog i am just talking about why i am intrested in learning python , well first since i am used to java and C# and they are statically typed languages I don't experiance a lot the beauty of dynamically typed language where i dont have to declare variables or specify its type, also in dynamically typed language i will be able to use a variable as integer and after few lines i will use it as string , then again i can use it as an object of my class called money, or what ever else very easily.Another benifit of dynamic typing is that i can have a set, an array that contain compeletly different types of variable that while retriving them i dont have to cast them to their types which really simplifies a lot of rutine work<br /><br />Other than being dynamically typed language python is very compact compared to java &amp; C#, so typing is less, what ever you type in python will be used to solve your problem not the language problems as in the big OO languages<br /><br />lets say i want to create a class constractor that meight take a variable or two variable, or three variables.<br /><br /><div><table class="zeroBorder" id="hn53" border="0" cellpadding="3" cellspacing="0" width="100%"><tbody><tr><td width="50%">do that in java<br /></td><td width="50%">do that in python<br /></td></tr><tr><td width="50%"> <pre>public class MyclassName<br />{<br /><br />public MyclassName(String var1)<br /> {<br /> this(var1, 1);<br /> }<br /><br /> //--------- constructor #2 -------------<br /> public MyclassName(String var1, int var2)<br /> {<br /> this(var1, var2, "single");<br /> }<br /><br /> //--------- constructor #3 -------------<br /> public MyclassName(String var1,<br /> int var2,<br /> String var3)<br /> {<br /> this.att1= var1;<br /> this.att2= var2;<br /> this.att3= var3;<br /> }<br /></pre> </td><td width="50%"> <pre>class MyclassName():<br /><br /> def __init__(self,<br /> var1, var2=1, var3="single"):<br /> <br /> self.att1= var1<br /><span> </span><span> </span>self.att2= var2<br /> self.att3= var3<br /></pre> </td></tr></tbody></table></div><br /><br /><br /><div><table class="zeroBorder" id="gp17" border="0" cellpadding="3" cellspacing="0" width="100%"><tbody><tr><td width="50%">to open file in java</td><td width="50%"><pre>to open file in python </pre> </td></tr><tr><td width="50%"><pre>BufferedReader br=<br /> new BufferedReader(<br /> new FileReader(filename));</pre> </td><td width="50%"><pre>fileName = open(filename)</pre> </td></tr></tbody></table></div><br />so i think if i master python or any similler language (Ruby, pearl) i will have to type less and be able to concentrate more on solving the problems i am working on.<br /><br />Another new thing in this kind of language is they support functions as first class entity in the language, so functions could be stored in data structured and passed as arguments to other functions (not as pointers like in C++) Also functions could be created dynamically while the programe is running which i am sure will be very usefull, i have never though of using a dynamically created functions since none of my programe worlds supported that before. if you are new to this like me and need example check <a title="this" href="http://www.joelonsoftware.com/items/2006/08/01.html" id="jw_y">this</a><br /><br /><pre>well i guess after all of these reasons it still didnt come to python, cause these reasons just show i want to learn an scripting language with the mentioned properties that could be any of <a href="http://en.wikipedia.org/wiki/Perl" title="Perl">Perl</a>, <a href="http://en.wikipedia.org/wiki/Python_%28programming_language%29" title="Python (programming language)">Python</a>, <a href="http://en.wikipedia.org/wiki/PHP" title="PHP">PHP</a>, <a href="http://en.wikipedia.org/wiki/Lua_programming_language" title="Lua programming language" class="mw-redirect">Lua</a>, <a href="http://en.wikipedia.org/wiki/Tcl" title="Tcl">Tcl/Tk</a>, <a href="http://en.wikipedia.org/wiki/ECMAScript" title="ECMAScript">ECMAScript</a> (<a href="http://en.wikipedia.org/wiki/JavaScript" title="JavaScript">JavaScript</a>, <a href="http://en.wikipedia.org/wiki/ActionScript" title="ActionScript">ActionScript</a>), <a href="http://en.wikipedia.org/wiki/Ruby_programming_language" title="Ruby programming language" class="mw-redirect">Ruby</a>, <a href="http://en.wikipedia.org/wiki/Io_programming_language" title="Io programming language" class="mw-redirect">Io</a>, <a href="http://en.wikipedia.org/wiki/Scala_programming_language" title="Scala programming language" class="mw-redirect">Scala</a>, or <a href="http://en.wikipedia.org/wiki/Nemerle" title="Nemerle">Nemerle</a>. I guess then it is true i wanted to learn python just because it is python :)<br />may be another reason is it is very known, supported heavily by Google, in their app engine !<br /><br />to be honest i was thinking about ruby too. but after some search i found some information that made me like python more that are many blogs says the error messages in ruby compiler are not very much informative compared to python. Another reason is there is a lot of ways of doing the same thing in ruby which is good but can make a new language somewhat confusing. Also the fact that GUI libraries for Ruby they are very limited and in python there are a lot of libraries + default librari that comes with python itself<br /><br />so i prefered python .<br />so hope fully i will be able to put some small python tips or tutorials as soon as possible.<br /><br /><br /><br /><br /></pre><div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-3068656285648972503?l=www.omandev.net'/></div>Ali Hassan Al Lawatihttp://www.blogger.com/profile/09288347048236299519noreply@blogger.com4tag:blogger.com,1999:blog-3404749283325335239.post-60060260775251495182009-01-05T00:13:00.004+04:002009-01-05T00:48:11.411+04:00sql Tip 3: getting DB schema in MYSQLlong time since my last post here, well i was bit busy , hopefully i will not stop bloging for long times again.<br /><br />for this blog the title actually shouldn't be SQL tip 3 , it should be MYSQL tip 3, since <a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www.yusoft.net/yu-graph/main/logo-mysql.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 99px; height: 71px;" src="http://www.yusoft.net/yu-graph/main/logo-mysql.jpg" alt="" border="0" /></a>it is talking about something specific to MYSQL, but since i had two (very old) posts about sql tips <a href="http://www.omandev.net/2007/07/sqltip1-search-database-faster-without.html">SQL tip1</a> <a href="http://www.omandev.net/2007/08/sqltip2-how-to-display-rows-as-columns.html">SQL tip2</a> ,well they were geniral but were demonistrated in MYSQL too.<br /><br />back to the topic. i needed to know how to get the database schema for a MYSQL DB in one of my projects and knowing the how was not stright forward so thats why i think it will be good and usefull tip.<br /><br />A very usefull information in this topic is that information on database tables is stored in a system table called "<span style="font-weight: bold;">information_schema.tables </span>".However a better information is writting the query "<span style="font-weight: bold;">select * FROM information_schema.tables </span>" will get you some of the tables that you never had created (system tables) + your tables. to exclude system tables you have to add a where condition<br /><br />"<span style="font-weight: bold;">select * FROM information_schema.tables where version='10'</span>"<span style="font-weight: bold;"> </span>this will show only the tables you have created. version is not related to the version of your MYSQL, but older versions of MYSQL you have to write "<span style="font-weight: bold;">select * FROM information_schema.tables where version='9'</span>".Another simpller way you can know the table information without taking care of table version is to query based on the database name "<span style="font-weight: bold;">select * FROM information_schema.tables where table_schema ='DB_Name'</span>"<br /><br />ok we have the table information but still we will need column information of these tables. These information could be extracted from another system table called <span style="font-weight: bold;">information_schema.`COLUMNS` </span><br /><br />a very simple query could give the most important information of your table's columns is<br />"<span style="font-weight: bold;">SELECT column_name,data_type,column_key FROM information_schema.`COLUMNS` WHERE table_schema='</span><span style="font-weight: bold;">DB_Name</span><span style="font-weight: bold;">' and table_name = 'your_table_name';</span>"<br /><br />hope this very simple tip will be helpful to the readers as an extra knowledge or for those who come to this page searching through google hope this information will aid you<div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-6006026077525149518?l=www.omandev.net'/></div>Ali Hassan Al Lawatihttp://www.blogger.com/profile/09288347048236299519noreply@blogger.com1tag:blogger.com,1999:blog-3404749283325335239.post-50878649698079400772008-11-14T23:38:00.004+04:002008-11-14T23:46:07.945+04:00Texture Image retrieval<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_emLBvfBccUg/SR3UiPrO2OI/AAAAAAAAAJM/YrNn1WtrYL4/s1600-h/33_15_10---Fire-Flame-Texture_web.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 298px; height: 181px;" src="http://2.bp.blogspot.com/_emLBvfBccUg/SR3UiPrO2OI/AAAAAAAAAJM/YrNn1WtrYL4/s320/33_15_10---Fire-Flame-Texture_web.jpg" alt="" id="BLOGGER_PHOTO_ID_5268600823881849058" border="0" /></a>Texture retrieval is the process of retrieving image content based on texture similarity. This may not seem very useful, since we are not using color content. On the other hand, the ability to match on texture similarity can often be useful in distinguishing between areas of images with similar color (such as sky and the sea). Several techniques have been used to measure texture similarity, well known techniques rely on comparing values calculated from query and stored images. From the values, it is possible to calculate measures of image texture such as the degree of contrast,coarseness, dir<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_emLBvfBccUg/SR3U0XF9vMI/AAAAAAAAAJU/JRR2MhYkA5o/s1600-h/dg15024055.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 109px; height: 114px;" src="http://2.bp.blogspot.com/_emLBvfBccUg/SR3U0XF9vMI/AAAAAAAAAJU/JRR2MhYkA5o/s320/dg15024055.jpg" alt="" id="BLOGGER_PHOTO_ID_5268601135110667458" border="0" /></a>ectionality and regularity or periodicity, directionality and randomness.<br />Different filters such as prewitt, Sobel, Roberts. We use the Sobel filter which is discussed later in the report. Texture queries can be formulated in a similar manner to color queries, by selecting examples of desired textures from a palette, or by supplying an example query image. The system then retrieves images with texture measures most similar in value to the query.<div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-5087864969807940077?l=www.omandev.net'/></div>Saud Said Al-Zakwanihttp://www.blogger.com/profile/02710201214109881739noreply@blogger.com1tag:blogger.com,1999:blog-3404749283325335239.post-71627865278261490882008-11-14T23:36:00.000+04:002008-11-14T23:38:01.737+04:00How to change the Size of a Legend in Crystal Report and MS Access<span style="font-style: italic;">Steps on how to change a legend font size on Crystal Reports and text on MS ACCESS pivot charts.</span><br /><br />Well as easy as it may seem, this sometimes proves to be a tedious task to look for. Simply because the legends functionality are not provided on the legend display area. Well enough talk and lets learn how to do that in a few steps<br /><br />Obviously you are creating a graph (chart of some kind),<br /> * Right click on the Chart Area,<br /> * Chart Expert<br /> * Text Tab<br /> * On the Format Area choose Legend,<br /> * Click the Font button<br /> * Change the font to the your desired display<br /><br /><span style="font-weight: bold;">For MS ACCESS</span><br />changing the legend size does not seem to be a problem but the legend caption is.<br /><br />The Simplest way to change/remove the "Sum of..." text, or any text, in a LEGEND PivotChart.<br /><br /> * Switch from PivotChart View to PivotTable View<br /> * Click once to highlight the field name that reads "Sum of..."<br /> * Go to properties<br /> * Select the "caption" tab<br /> * On the title "caption" type in the new text you would like<br /> * Change the view to pivot chart<div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-7162786527826149088?l=www.omandev.net'/></div>Saud Said Al-Zakwanihttp://www.blogger.com/profile/02710201214109881739noreply@blogger.com0tag:blogger.com,1999:blog-3404749283325335239.post-21325723025255216832008-11-14T21:47:00.005+04:002008-11-14T22:02:55.962+04:00Wavelet and its applications<!--[if gte mso 9]><xml> <w:worddocument> <w:view>Normal</w:View> <w:zoom>0</w:Zoom> <w:trackmoves/> <w:trackformatting/> <w:punctuationkerning/> <w:validateagainstschemas/> <w:saveifxmlinvalid>false</w:SaveIfXMLInvalid> <w:ignoremixedcontent>false</w:IgnoreMixedContent> <w:alwaysshowplaceholdertext>false</w:AlwaysShowPlaceholderText> <w:donotpromoteqf/> <w:lidthemeother>EN-GB</w:LidThemeOther> <w:lidthemeasian>X-NONE</w:LidThemeAsian> <w:lidthemecomplexscript>AR-SA</w:LidThemeComplexScript> <w:compatibility> <w:breakwrappedtables/> <w:snaptogridincell/> <w:wraptextwithpunct/> <w:useasianbreakrules/> <w:dontgrowautofit/> <w:splitpgbreakandparamark/> <w:dontvertaligncellwithsp/> <w:dontbreakconstrainedforcedtables/> <w:dontvertalignintxbx/> <w:word11kerningpairs/> <w:cachedcolbalance/> </w:Compatibility> <w:browserlevel>MicrosoftInternetExplorer4</w:BrowserLevel> <m:mathpr> <m:mathfont val="Cambria Math"> <m:brkbin val="before"> <m:brkbinsub val="&#45;-"> <m:smallfrac val="off"> <m:dispdef/> <m:lmargin val="0"> <m:rmargin val="0"> <m:defjc val="centerGroup"> <m:wrapindent val="1440"> <m:intlim val="subSup"> <m:narylim val="undOvr"> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"> <w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"> <w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"> <w:lsdexception locked="false" priority="39" name="toc 1"> <w:lsdexception locked="false" priority="39" name="toc 2"> <w:lsdexception locked="false" priority="39" name="toc 3"> <w:lsdexception locked="false" priority="39" name="toc 4"> <w:lsdexception locked="false" priority="39" name="toc 5"> <w:lsdexception locked="false" priority="39" name="toc 6"> <w:lsdexception locked="false" priority="39" name="toc 7"> <w:lsdexception locked="false" priority="39" name="toc 8"> <w:lsdexception locked="false" priority="39" name="toc 9"> <w:lsdexception locked="false" priority="35" qformat="true" name="caption"> <w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"> <w:lsdexception locked="false" priority="1" name="Default Paragraph Font"> <w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"> <w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"> <w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"> <w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"> <w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"> <w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"> <w:lsdexception locked="false" unhidewhenused="false" name="Revision"> <w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"> <w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"> <w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"> <w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"> <w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"> <w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"> <w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"> <w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"> <w:lsdexception locked="false" priority="37" name="Bibliography"> <w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"> </w:LatentStyles> </xml><![endif]--><style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; 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-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:Arial; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:Arial; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 10]> <style> /* 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-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;} </style> <![endif]--> <p class="MsoNormal" style="line-height: normal;"><span style=";font-family:&quot;;font-size:12;" >Comparing images is impractical and inefficient </span><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_emLBvfBccUg/SR28QU3mZII/AAAAAAAAAJE/BOkRLQT9UrY/s1600-h/2862778494_05492d1a90.jpg"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 320px; height: 219px;" src="http://3.bp.blogspot.com/_emLBvfBccUg/SR28QU3mZII/AAAAAAAAAJE/BOkRLQT9UrY/s320/2862778494_05492d1a90.jpg" alt="" id="BLOGGER_PHOTO_ID_5268574127759189122" border="0" /></a><span style=";font-family:&quot;;font-size:12;" >for large scale image retrieval. Wavelet transformation is a toll for processing images at multiple resolutions. In this project we use the discrete wavelet transform (DWT). The wavelet toll is an efficient, highly intuitive frame work for representation and storage of images. This tool provides insights into the image's spatial and frequency characteristics.<o:p></o:p></span></p> <p class="MsoNormal" style="line-height: normal;"><span style=";font-family:&quot;;font-size:12;" >The wavelet transform is a tool is used for analyzing functions at different levels of detail. The DWT has a property of analyzing images at multiple resolutions. It is similar to the Fourier transform, but encodes both frequency and spatial information.<o:p></o:p></span></p> <p class="MsoNormal" style="line-height: normal;"><span style=";font-family:&quot;;font-size:12;" >Wavelet tools can be used in a wide range of research on images such as in identifying pure frequency, de-noising, and image compression naming a few. In the project, wavelet transformation is used for decomposing images for retrieval of signature content (CSGV).<o:p></o:p></span></p> <p class="MsoNormal" style="line-height: normal;"><span style=";font-family:&quot;;font-size:12;" >By saving the few largest wavelet coefficients for an image, it is possible to recover a fairly accurate representation of the image.</span></p><center> <h2> The Wavelet Transform </h2> </center> <table><tbody><tr> <td> <img src="http://grail.cs.washington.edu/projects/query/images/mona.20.jpg" width="128" height="128" /> </td> <td> <img src="http://grail.cs.washington.edu/projects/query/images/mona.100.jpg" width="128" height="128" /> </td> <td> <img src="http://grail.cs.washington.edu/projects/query/images/mona.400.jpg" width="128" height="128" /> </td> <td> <img src="http://grail.cs.washington.edu/projects/query/images/mona.jpg" width="128" height="128" /> </td> </tr> <tr align="center"> <td>20 coeffs</td> <td>100 coeffs</td> <td>400 coeffs</td> <td>Original (16,000 coeffs)</td></tr></tbody></table><p class="MsoNormal" style="line-height: normal;"><span style=";font-family:&quot;;font-size:12;" ><o:p></o:p></span></p> <p class="MsoNormal" style="line-height: normal;"><span style=";font-family:&quot;;font-size:12;" ><a href="http://grail.cs.washington.edu/projects/query/" target="_blank"><span style="color:blue;">image source</span></a><o:p></o:p></span></p> <p class="MsoNormal" style="line-height: normal;"><span style=";font-family:&quot;;font-size:12;" >The example shown above is used for image compression the third image from the left would require 3% of the of disk space as compared to the original image. In our project, we decompose upto 3 levels which results in a significant “signature content” and because the content is small enough, it allows a higher higher on searching for images in a large scale image database.<o:p></o:p></span></p> <p class="MsoNormal" style="line-height: normal;"><span style=";font-family:&quot;;font-size:12;" >The Wavelet Toolbox (a collection of Math Works function of wavelet analysis) which is used in the implementation phase to decompose images to the user desired level.<o:p></o:p></span></p><div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-2132572302525521683?l=www.omandev.net'/></div>Saud Said Al-Zakwanihttp://www.blogger.com/profile/02710201214109881739noreply@blogger.com0tag:blogger.com,1999:blog-3404749283325335239.post-62515358078809277812008-11-07T00:04:00.005+04:002008-11-07T00:35:59.515+04:00Ipv4 vs. Ipv6Although the Internet Protocol version 4 (Ipv4) is the fourth revision in the development of the Internet Protocol, it was the only one which was deployed successfully to be used. The IPv4 is at the foundation of standards-based inter-networking methods of the Internet, and is still by far the most widely deployed Internet Layer protocol. Most the currently used internet communication uses IPv4. It is almost 20 years old.<br /><br />IPv4 addresses are written in dot-decimal notation, which consists of the four octets of the address expressed in decimal and separated by periods. Example of an IPv4 address 192.0.2.10. The IPv4 uses a 32 bit addressing that is 4 octects 8+8+8+8 = 32 and 2^32 (4,294,967,296 unique addresses) .<br /><br />Ipv4 has four different class types, the class types are A, B, C, and D. The ipv4 uses a subnet mask due to the larger growing number of computers. The subnet mask could also represent a way in understanding the network address and the number of hosts that can be allowed in the network minus two for the network address and the broadcast address.<br /><br /><!--[if gte mso 9]><xml> <w:worddocument> <w:view>Normal</w:View> <w:zoom>0</w:Zoom> <w:trackmoves/> <w:trackformatting/> <w:punctuationkerning/> <w:validateagainstschemas/> <w:saveifxmlinvalid>false</w:SaveIfXMLInvalid> <w:ignoremixedcontent>false</w:IgnoreMixedContent> <w:alwaysshowplaceholdertext>false</w:AlwaysShowPlaceholderText> <w:donotpromoteqf/> <w:lidthemeother>EN-GB</w:LidThemeOther> <w:lidthemeasian>X-NONE</w:LidThemeAsian> <w:lidthemecomplexscript>AR-SA</w:LidThemeComplexScript> <w:compatibility> <w:breakwrappedtables/> <w:snaptogridincell/> <w:wraptextwithpunct/> <w:useasianbreakrules/> <w:dontgrowautofit/> <w:splitpgbreakandparamark/> <w:dontvertaligncellwithsp/> <w:dontbreakconstrainedforcedtables/> <w:dontvertalignintxbx/> <w:word11kerningpairs/> <w:cachedcolbalance/> </w:Compatibility> <w:browserlevel>MicrosoftInternetExplorer4</w:BrowserLevel> <m:mathpr> <m:mathfont val="Cambria Math"> <m:brkbin val="before"> <m:brkbinsub val="&#45;-"> <m:smallfrac val="off"> <m:dispdef/> <m:lmargin val="0"> <m:rmargin val="0"> <m:defjc val="centerGroup"> <m:wrapindent val="1440"> <m:intlim val="subSup"> <m:narylim val="undOvr"> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"> <w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"> <w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"> <w:lsdexception locked="false" priority="39" name="toc 1"> <w:lsdexception locked="false" priority="39" name="toc 2"> <w:lsdexception locked="false" priority="39" name="toc 3"> <w:lsdexception locked="false" priority="39" name="toc 4"> <w:lsdexception locked="false" priority="39" name="toc 5"> <w:lsdexception locked="false" priority="39" name="toc 6"> <w:lsdexception locked="false" priority="39" name="toc 7"> <w:lsdexception locked="false" priority="39" name="toc 8"> <w:lsdexception locked="false" priority="39" name="toc 9"> <w:lsdexception locked="false" priority="35" qformat="true" name="caption"> <w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"> <w:lsdexception locked="false" priority="1" name="Default Paragraph Font"> <w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"> <w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"> <w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"> <w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"> <w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"> <w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"> <w:lsdexception locked="false" unhidewhenused="false" name="Revision"> <w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"> <w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"> <w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"> <w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"> <w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"> <w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"> <w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"> <w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"> <w:lsdexception locked="false" priority="37" name="Bibliography"> <w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"> </w:LatentStyles> </xml><![endif]--><style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; 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-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:Arial; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:Arial; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 10]> <style> /* 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-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;} table.MsoTableGrid {mso-style-name:"Table Grid"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-priority:59; mso-style-unhide:no; border:solid black 1.0pt; mso-border-themecolor:text1; mso-border-alt:solid black .5pt; mso-border-themecolor:text1; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-border-insideh:.5pt solid black; mso-border-insideh-themecolor:text1; mso-border-insidev:.5pt solid black; mso-border-insidev-themecolor:text1; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-fareast-language:EN-US;} </style> <![endif]--> <p class="MsoNormal" style="line-height: normal;"><b><span style=";font-family:&quot;;font-size:13;" >IPv4 Header<o:p></o:p></span></b></p> <table class="MsoTableGrid" style="border: medium none ; width: 100%; border-collapse: collapse;" width="100%" border="1" cellpadding="0" cellspacing="0"> <tbody><tr style=""> <td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 8.36%;" valign="top" width="8%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >+<o:p></o:p></span></b></p> </td> <td style="border-style: solid solid solid none; padding: 0cm 5.4pt; width: 11.46%;" valign="top" width="11%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >Bits 0–3<o:p></o:p></span></b></p> </td> <td style="border-style: solid solid solid none; padding: 0cm 5.4pt; width: 10.8%;" valign="top" width="10%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >4–7<o:p></o:p></span></b></p> </td> <td style="border-style: solid solid solid none; padding: 0cm 5.4pt; width: 23.12%;" valign="top" width="23%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >8–15<o:p></o:p></span></b></p> </td> <td style="border-style: solid solid solid none; padding: 0cm 5.4pt; width: 8.64%;" valign="top" width="8%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >16–18<o:p></o:p></span></b></p> </td> <td style="border-style: solid solid solid none; padding: 0cm 5.4pt; width: 37.62%;" valign="top" width="37%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >19–31<o:p></o:p></span></b></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >0<o:p></o:p></span></b></p> </td> <td style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Version<o:p></o:p></span></p> </td> <td style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Header length<o:p></o:p></span></p> </td> <td style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Type of Service<br /><o:p></o:p></span></p> </td> <td colspan="2" style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Total Length<o:p></o:p></span></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >32<o:p></o:p></span></b></p> </td> <td colspan="3" style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Identification<o:p></o:p></span></p> </td> <td style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Flags<o:p></o:p></span></p> </td> <td style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Fragment Offset<o:p></o:p></span></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >64<o:p></o:p></span></b></p> </td> <td colspan="2" style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Time to Live<o:p></o:p></span></p> </td> <td style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Protocol<o:p></o:p></span></p> </td> <td colspan="2" style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Header Checksum<o:p></o:p></span></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >96<o:p></o:p></span></b></p> </td> <td colspan="5" style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Source Address<o:p></o:p></span></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >128<o:p></o:p></span></b></p> </td> <td colspan="5" style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Destination Address<o:p></o:p></span></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >160<o:p></o:p></span></b></p> </td> <td colspan="5" style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Options<o:p></o:p></span></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >160<br />or<br />192+<o:p></o:p></span></b></p> </td> <td colspan="5" style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" ><br />Data<br /><o:p></o:p></span></p> </td> </tr> </tbody></table><br /><br />Ipv6 is the next Internet Protocol, an advancement to the currently existing Ipv4. Pv6 is short for "Internet Protocol Version 6". IPv6 is the "next generation" protocol designed by the IETF to replace the current version Internet Protocol, IP Version 4 ("IPv4").<br /><br />IPv6 has a large number of rooms available for the internet users. Compared to the Ipv4 which allows for only 4,294,967,296 unique addresses, the Ipv6 that uses a 128-bit system will hold 340-undecillion (thats 340 with 11 more zeros) this number is so vast that when one is born and starts counting continuously, he/she would need approximately 1105389096962130669995 millenniums to reach that number(or lets just say the number is really huge).<br /><br />An example of Ipv6 is:<br />212. 121. 231. 235. 207. 242. 131. 235. 207. 127. 131. 235. 200. 142. 131. 215.<br /><br />IPv6 is expected to gradually replace IPv4, with the two coexisting for a number of years during a transition period.<br /><br /><!--[if gte mso 9]><xml> <w:worddocument> <w:view>Normal</w:View> <w:zoom>0</w:Zoom> <w:trackmoves/> <w:trackformatting/> <w:punctuationkerning/> <w:validateagainstschemas/> <w:saveifxmlinvalid>false</w:SaveIfXMLInvalid> <w:ignoremixedcontent>false</w:IgnoreMixedContent> <w:alwaysshowplaceholdertext>false</w:AlwaysShowPlaceholderText> <w:donotpromoteqf/> <w:lidthemeother>EN-GB</w:LidThemeOther> <w:lidthemeasian>X-NONE</w:LidThemeAsian> <w:lidthemecomplexscript>AR-SA</w:LidThemeComplexScript> <w:compatibility> <w:breakwrappedtables/> <w:snaptogridincell/> <w:wraptextwithpunct/> <w:useasianbreakrules/> <w:dontgrowautofit/> <w:splitpgbreakandparamark/> <w:dontvertaligncellwithsp/> <w:dontbreakconstrainedforcedtables/> <w:dontvertalignintxbx/> <w:word11kerningpairs/> <w:cachedcolbalance/> </w:Compatibility> <w:browserlevel>MicrosoftInternetExplorer4</w:BrowserLevel> <m:mathpr> <m:mathfont val="Cambria Math"> <m:brkbin val="before"> <m:brkbinsub val="&#45;-"> <m:smallfrac val="off"> <m:dispdef/> <m:lmargin val="0"> <m:rmargin val="0"> <m:defjc val="centerGroup"> <m:wrapindent val="1440"> <m:intlim val="subSup"> <m:narylim val="undOvr"> </m:mathPr></w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:latentstyles deflockedstate="false" defunhidewhenused="true" defsemihidden="true" defqformat="false" defpriority="99" latentstylecount="267"> <w:lsdexception locked="false" priority="0" semihidden="false" unhidewhenused="false" qformat="true" name="Normal"> <w:lsdexception locked="false" priority="9" semihidden="false" unhidewhenused="false" qformat="true" name="heading 1"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 2"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 3"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 4"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 5"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 6"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 7"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 8"> <w:lsdexception locked="false" priority="9" qformat="true" name="heading 9"> <w:lsdexception locked="false" priority="39" name="toc 1"> <w:lsdexception locked="false" priority="39" name="toc 2"> <w:lsdexception locked="false" priority="39" name="toc 3"> <w:lsdexception locked="false" priority="39" name="toc 4"> <w:lsdexception locked="false" priority="39" name="toc 5"> <w:lsdexception locked="false" priority="39" name="toc 6"> <w:lsdexception locked="false" priority="39" name="toc 7"> <w:lsdexception locked="false" priority="39" name="toc 8"> <w:lsdexception locked="false" priority="39" name="toc 9"> <w:lsdexception locked="false" priority="35" qformat="true" name="caption"> <w:lsdexception locked="false" priority="10" semihidden="false" unhidewhenused="false" qformat="true" name="Title"> <w:lsdexception locked="false" priority="1" name="Default Paragraph Font"> <w:lsdexception locked="false" priority="11" semihidden="false" unhidewhenused="false" qformat="true" name="Subtitle"> <w:lsdexception locked="false" priority="22" semihidden="false" unhidewhenused="false" qformat="true" name="Strong"> <w:lsdexception locked="false" priority="20" semihidden="false" unhidewhenused="false" qformat="true" name="Emphasis"> <w:lsdexception locked="false" priority="59" semihidden="false" unhidewhenused="false" name="Table Grid"> <w:lsdexception locked="false" unhidewhenused="false" name="Placeholder Text"> <w:lsdexception locked="false" priority="1" semihidden="false" unhidewhenused="false" qformat="true" name="No Spacing"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 1"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 1"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 1"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 1"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 1"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 1"> <w:lsdexception locked="false" unhidewhenused="false" name="Revision"> <w:lsdexception locked="false" priority="34" semihidden="false" unhidewhenused="false" qformat="true" name="List Paragraph"> <w:lsdexception locked="false" priority="29" semihidden="false" unhidewhenused="false" qformat="true" name="Quote"> <w:lsdexception locked="false" priority="30" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Quote"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 1"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 1"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 1"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 1"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 1"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 1"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 1"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 1"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 2"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 2"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 2"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 2"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 2"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 2"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 2"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 2"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 2"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 2"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 2"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 2"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 2"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 2"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 3"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 3"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 3"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 3"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 3"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 3"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 3"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 3"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 3"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 3"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 3"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 3"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 3"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 3"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 4"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 4"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 4"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 4"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 4"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 4"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 4"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 4"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 4"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 4"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 4"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 4"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 4"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 4"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 5"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 5"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 5"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 5"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 5"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 5"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 5"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 5"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 5"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 5"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 5"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 5"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 5"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 5"> <w:lsdexception locked="false" priority="60" semihidden="false" unhidewhenused="false" name="Light Shading Accent 6"> <w:lsdexception locked="false" priority="61" semihidden="false" unhidewhenused="false" name="Light List Accent 6"> <w:lsdexception locked="false" priority="62" semihidden="false" unhidewhenused="false" name="Light Grid Accent 6"> <w:lsdexception locked="false" priority="63" semihidden="false" unhidewhenused="false" name="Medium Shading 1 Accent 6"> <w:lsdexception locked="false" priority="64" semihidden="false" unhidewhenused="false" name="Medium Shading 2 Accent 6"> <w:lsdexception locked="false" priority="65" semihidden="false" unhidewhenused="false" name="Medium List 1 Accent 6"> <w:lsdexception locked="false" priority="66" semihidden="false" unhidewhenused="false" name="Medium List 2 Accent 6"> <w:lsdexception locked="false" priority="67" semihidden="false" unhidewhenused="false" name="Medium Grid 1 Accent 6"> <w:lsdexception locked="false" priority="68" semihidden="false" unhidewhenused="false" name="Medium Grid 2 Accent 6"> <w:lsdexception locked="false" priority="69" semihidden="false" unhidewhenused="false" name="Medium Grid 3 Accent 6"> <w:lsdexception locked="false" priority="70" semihidden="false" unhidewhenused="false" name="Dark List Accent 6"> <w:lsdexception locked="false" priority="71" semihidden="false" unhidewhenused="false" name="Colorful Shading Accent 6"> <w:lsdexception locked="false" priority="72" semihidden="false" unhidewhenused="false" name="Colorful List Accent 6"> <w:lsdexception locked="false" priority="73" semihidden="false" unhidewhenused="false" name="Colorful Grid Accent 6"> <w:lsdexception locked="false" priority="19" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Emphasis"> <w:lsdexception locked="false" priority="21" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Emphasis"> <w:lsdexception locked="false" priority="31" semihidden="false" unhidewhenused="false" qformat="true" name="Subtle Reference"> <w:lsdexception locked="false" priority="32" semihidden="false" unhidewhenused="false" qformat="true" name="Intense Reference"> <w:lsdexception locked="false" priority="33" semihidden="false" unhidewhenused="false" qformat="true" name="Book Title"> <w:lsdexception locked="false" priority="37" name="Bibliography"> <w:lsdexception locked="false" priority="39" qformat="true" name="TOC Heading"> </w:LatentStyles> </xml><![endif]--><style> <!-- /* Font Definitions */ @font-face {font-family:"Cambria Math"; panose-1:2 4 5 3 5 4 6 3 2 4; mso-font-charset:1; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:variable; mso-font-signature:0 0 0 0 0 0;} @font-face {font-family:Calibri; panose-1:2 15 5 2 2 2 4 3 2 4; 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-unhide:no; mso-style-qformat:yes; mso-style-parent:""; margin-top:0cm; margin-right:0cm; margin-bottom:10.0pt; margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:Arial; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoChpDefault {mso-style-type:export-only; mso-default-props:yes; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:Calibri; mso-fareast-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-bidi-font-family:Arial; mso-bidi-theme-font:minor-bidi; mso-fareast-language:EN-US;} .MsoPapDefault {mso-style-type:export-only; margin-bottom:10.0pt; line-height:115%;} @page Section1 {size:612.0pt 792.0pt; margin:72.0pt 90.0pt 72.0pt 90.0pt; mso-header-margin:36.0pt; mso-footer-margin:36.0pt; mso-paper-source:0;} div.Section1 {page:Section1;} --> </style><!--[if gte mso 10]> <style> /* 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-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-fareast-font-family:"Times New Roman"; mso-fareast-theme-font:minor-fareast; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin;} table.MsoTableGrid {mso-style-name:"Table Grid"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-priority:59; mso-style-unhide:no; border:solid black 1.0pt; mso-border-themecolor:text1; mso-border-alt:solid black .5pt; mso-border-themecolor:text1; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-border-insideh:.5pt solid black; mso-border-insideh-themecolor:text1; mso-border-insidev:.5pt solid black; mso-border-insidev-themecolor:text1; mso-para-margin:0cm; mso-para-margin-bottom:.0001pt; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans-serif"; mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-latin; mso-hansi-font-family:Calibri; mso-hansi-theme-font:minor-latin; mso-fareast-language:EN-US;} </style> <![endif]--> <p class="MsoNormal" style="line-height: normal;"><b><span style=";font-family:&quot;;font-size:13;" >IPv6 Header<o:p></o:p></span></b></p> <table class="MsoTableGrid" style="border: medium none ; border-collapse: collapse;" border="1" cellpadding="0" cellspacing="0"> <tbody><tr style=""> <td style="border: 1pt solid black; padding: 0cm 5.4pt; width: 4%;" valign="top" width="4%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >+<o:p></o:p></span></b></p> </td> <td style="border-style: solid solid solid none; padding: 0cm 5.4pt; width: 12%;" valign="top" width="12%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >Bits 0–3<o:p></o:p></span></b></p> </td> <td style="border-style: solid solid solid none; padding: 0cm 5.4pt; width: 12%;" valign="top" width="12%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >4–7<o:p></o:p></span></b></p> </td> <td style="border-style: solid solid solid none; padding: 0cm 5.4pt; width: 12%;" valign="top" width="12%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >8–11<o:p></o:p></span></b></p> </td> <td style="border-style: solid solid solid none; padding: 0cm 5.4pt; width: 12%;" valign="top" width="12%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >12-15<o:p></o:p></span></b></p> </td> <td style="border-style: solid solid solid none; padding: 0cm 5.4pt; width: 24%;" valign="top" width="24%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >16–23<o:p></o:p></span></b></p> </td> <td style="border-style: solid solid solid none; padding: 0cm 5.4pt; width: 24%;" valign="top" width="24%"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >24–31<o:p></o:p></span></b></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >0<o:p></o:p></span></b></p> </td> <td style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Version<o:p></o:p></span></p> </td> <td colspan="2" style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Traffic Class<o:p></o:p></span></p> </td> <td colspan="3" style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Flow Label<o:p></o:p></span></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >32<o:p></o:p></span></b></p> </td> <td colspan="4" style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Payload Length<o:p></o:p></span></p> </td> <td style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Next Header<o:p></o:p></span></p> </td> <td style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Hop Limit<o:p></o:p></span></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >64<o:p></o:p></span></b></p> </td> <td colspan="6" rowspan="4" style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Source Address<o:p></o:p></span></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >96<o:p></o:p></span></b></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >128<o:p></o:p></span></b></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >160<o:p></o:p></span></b></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >192<o:p></o:p></span></b></p> </td> <td colspan="6" rowspan="4" style="border-style: none solid solid none; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><span style=";font-family:&quot;;font-size:12;" >Destination Address<o:p></o:p></span></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >224<o:p></o:p></span></b></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >256<o:p></o:p></span></b></p> </td> </tr> <tr style=""> <td style="border-style: none solid solid; padding: 0cm 5.4pt;" valign="top"> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-align: center; line-height: normal;" align="center"><b><span style=";font-family:&quot;;font-size:12;" >288<o:p></o:p></span></b></p> </td> </tr> </tbody></table><br /><ul><li>Version - version 6 (4-bit IP version).</li><li>Traffic class - packet priority (8-bits). Priority values subdivide into ranges: traffic where the source provides congestion control and non-congestion control traffic.</li><li>Flow label - QoS management (20 bits). Originally created for giving real-time applications special service, but currently unused.</li><li>Payload length - payload length in bytes (16 bits). When cleared to zero, the option is a "Jumbo payload" (hop-by-hop).</li><li>Next header - Specifies the next encapsulated protocol. The values are compatible with those specified for the IPv4 protocol field (8 bits).</li><li>Hop limit - replaces the time to live field of IPv4 (8 bits) routing hop count.</li><li>Source and destination addresses - 128 bits each.</li></ul><br /><span style="font-weight: bold;font-size:130%;" >Why use IPv6?</span><br /><ol><li><span style="font-weight: bold;">Larger Address Space</span>: address filed in IPv6 are 16 bytes long while the address filed of IPv4 is only 4 bytes in length. Due to the current development of hand gadgets and "everything connected" there is a need for a large number of unique addresses which in a while IPv4 will not be able to withhold.<br /></li><li><span style="font-weight: bold;">Better header format</span>: IPv6 header is lighter. the header is designed to speed up the routing process. In header of IPv6 options are separated from the base header. Options are inserted into base header only when required by the upper-layer data.</li><li><span style="font-weight: bold;">Provision for extension</span>: IPv6 has been designed in a way that a protocol can be extended easily to meet the requirements of emerging technologies or new applications.</li><li><span style="font-weight: bold;">Resource Allocation support in IPv6</span>: IPv6 provides a mechanism called Flow Label for resource allocation. Flow label enables source to send request for the special handling of a packet. This mechanism is really helpful in real-time audio and video transmission.</li></ol><div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-6251535807880927781?l=www.omandev.net'/></div>Saud Said Al-Zakwanihttp://www.blogger.com/profile/02710201214109881739noreply@blogger.com2tag:blogger.com,1999:blog-3404749283325335239.post-43018076093592590122008-11-06T12:15:00.009+04:002008-11-08T06:44:04.431+04:00sharepoint SPListItemShareponit SPListItem<br /><br />Hello there, well to be honest I am not a fan of Microsoft technologies well any how I cannot live without my XP these days (one of the best things the big M have done), but SharePoint is completely different story. It has a lot of potentials and abilities and once I saw the first time I said to myself this will finish all of my working place's problems. But I had a feeling something will be wrong in it. To be honest I have faced a lot of challenges many times I was surprised with what SharePoint provides and many many more times I was disappointed with its limitations. But thanks to friends and fellow bloggers who helped a lot out of the problems.<br /><br />This time I was facing a very strange problem that I am even not sure if it is SharePoint problems or it is just our environment, I was not able to find any similar problem on the net so thought I could document it here.<br /><br />SharePoint API provides a great API to access list items , search them, add, delete, and update them that save you the effort of reading list information from SharePoint’s database directly, and it is provided in a very nice way. But the updating I have had some strange issue with that I have solved now, but I couldn’t understand why I got it in the first place.<br /><br />Here I will give you the basics of accessing items from SharePoint Lists and show the issue<br /><br />To access a list is very simple make a variable and assign it the url where you see the list in the sharepoint<br /><br /><span style="color: rgb(51, 204, 0); font-style: italic;">string </span><span style="font-style: italic;">strDashListRoot = "</span><span style="color: rgb(255, 0, 0); font-style: italic;">http://[Servername]/[subsite/subsite]/Lists/[list name]/AllItems.aspx</span><span style="font-style: italic;">";</span><span style="color: rgb(153, 255, 153); font-style: italic;">// just copy past the link form your browser</span><br /><br />Then from the link you can get the site and website and the list easily<br /><br /><span style="color: rgb(51, 102, 255); font-style: italic;">using </span><span style="font-style: italic;">(</span><span style="color: rgb(51, 204, 0); font-style: italic;">SPSite </span><span style="font-style: italic;">site = </span><span style="color: rgb(51, 102, 255); font-style: italic;">new </span><span style="font-style: italic;">SPSite(strDashListRoot))</span><br /><span style="font-style: italic;">{</span><br /><br /><span style="color: rgb(51, 102, 255); font-style: italic;">using </span><span style="font-style: italic;">(</span><span style="color: rgb(51, 204, 0); font-style: italic;">SPWeb </span><span style="font-style: italic;">web = site.OpenWeb())</span><br /><span style="font-style: italic;">{</span><br /><span style="color: rgb(51, 204, 0); font-style: italic;">SPList list </span><span style="font-style: italic;">= web.Lists["</span><span style="color: rgb(255, 0, 0); font-style: italic;">listname</span><span style="font-style: italic;">"]; </span><span style="color: rgb(153, 255, 153); font-style: italic;">// do not forget to close the brakets after your code is done } }</span><br /><br /><br />Now here you can access the list items easily<br /><br /><span style="font-style: italic;"><span style="color: rgb(51, 204, 0);">String </span>information=Lists.items[<span style="color: rgb(51, 102, 255);">2</span>][“<span style="color: rgb(255, 0, 0);">fieldname</span>”].toString(); </span><span style="color: rgb(51, 255, 51); font-style: italic;">// simply put the index of the item you need and then the field name that you want to show</span><br /><br />Now the main thing here is when we want to change field of the list item we could do easily this<br /><br /><br /><span style="font-style: italic;">Lists.items[<span style="color: rgb(51, 102, 255);">2</span>][“<span style="color: rgb(255, 0, 0);">fieldname</span>”]= “<span style="color: rgb(255, 0, 0);">myvalues</span>”;</span><br /><br /><span style="font-style: italic;">Lists.items[<span style="color: rgb(51, 102, 255);">2</span>].Update();</span><br /><br /><br />but that didn’t worked in our environment while doing the folling code worked !!!<br /><br /><span style="color: rgb(51, 204, 0); font-style: italic;">SPListItem</span><span style="font-style: italic;"> item = Lists.items[</span><span style="color: rgb(51, 102, 255); font-style: italic;">2</span><span style="font-style: italic;">];</span><br /><br /><br /><span style="font-style: italic;">item[“<span style="color: rgb(255, 0, 0);">fieldname</span>”]= “<span style="color: rgb(255, 102, 102);">myvalues</span>”;</span><br /><br /><span style="font-style: italic;">item.Update();</span><br /><br />Well may be that is something related to our environment but hope through this simple blog you know how to access and edit SPList items.<div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-4301807609359259012?l=www.omandev.net'/></div>Ali Hassan Al Lawatihttp://www.blogger.com/profile/09288347048236299519noreply@blogger.com6tag:blogger.com,1999:blog-3404749283325335239.post-66438726195196382812008-10-31T01:11:00.004+04:002008-10-31T01:50:33.279+04:00Ubuntu 8.10 is now available for download<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_emLBvfBccUg/SQomx9l_ZxI/AAAAAAAAAIk/peMQY6quODo/s1600-h/ubuntu3.JPG"><img style="margin: 0pt 0pt 10px 10px; float: right; cursor: pointer; width: 320px; height: 199px;" src="http://3.bp.blogspot.com/_emLBvfBccUg/SQomx9l_ZxI/AAAAAAAAAIk/peMQY6quODo/s320/ubuntu3.JPG" alt="" id="BLOGGER_PHOTO_ID_5263061754325198610" border="0" /></a><b>Ubuntu</b> is a free<span style="text-decoration: underline;"></span> operating system based on linux. <span style="text-decoration: underline;"></span>Ubuntu's goals include providing an up-to-date, stable operating system for the average user, with a strong focus on usability and ease of installation and here is there latest version.<br /><br />Linux fans, Ubuntu 8.10 is now available for download. The operating system is right on schedule. Has promises on its peformances gains, a new connection manager with 3G support and the ability to install from USB devices. This latest release brings the open source together on a single platform with better features and promises free updates up to 18 months.<br /><br />Some of the features<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_emLBvfBccUg/SQomtLEsTJI/AAAAAAAAAIU/Sy3JRwlJIZQ/s1600-h/ubuntu1.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 320px; height: 198px;" src="http://1.bp.blogspot.com/_emLBvfBccUg/SQomtLEsTJI/AAAAAAAAAIU/Sy3JRwlJIZQ/s320/ubuntu1.JPG" alt="" id="BLOGGER_PHOTO_ID_5263061672044285074" border="0" /></a><br /><br />Ubuntu comes with Mozilla's Firefox 3 as the default browser. Faster, safer and themed browsing for users.<br /><br /><span style="font-weight: bold;">Word Processing</span><br /><span style="font-weight: bold;">Spreadsheets</span> and<br /><span style="font-weight: bold;">presentations</span> can all be delivered through Open Office and they completely integrate with the proprietary office applications out there. The big difference is that they are <span style="color: rgb(0, 0, 102);">free</span> :)<br /><br /><a href="http://www.ubuntu.com/getubuntu/download">Download Ubuntu</a><div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-6643872619519638281?l=www.omandev.net'/></div>Saud Said Al-Zakwanihttp://www.blogger.com/profile/02710201214109881739noreply@blogger.com0tag:blogger.com,1999:blog-3404749283325335239.post-15815235276390806012008-10-28T23:36:00.012+04:002008-10-29T18:44:54.024+04:00Optical Character RecognisitionOptical character recognition (OCR) is a process of translating images by obtaining or capturing its content and translating them to corresponding alphanumeric or other characters.. The main characteristic of OCR are patterns. From patterns, a picture can be translated to a digital content.<br /><br />On the 20 century, this technology boomed because of the necessity factor. There were so many files stored where making use of the content was very difficult due to the time consumed on searching for the needed content. The ability to scan a page and transform it to digital characters as ASCII was regarded as a powerful technique. These files could then be stored in databases where gigabytes could represent rooms of papers stored.<br /><br />The OCR technique has evolved and so many researches have been made on the subject improving the conversion in matters of accuracy and performance.<br /><br />OCR does not take the technique for transforming office paper work to digital information only, there are so many other uses of the technique like radar systems transforming car plate numbers to meaningful digital information, exam correction method, signature recognition and so on.<br /><br />Well the drawbacks of OCR technology is that it can not recognize everything for example the image<br /><br /><br /><div style="text-align: left;"><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_emLBvfBccUg/SQh08rLnkzI/AAAAAAAAAIE/JugTfC6ALU4/s1600-h/ocr.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 176px; height: 192px;" src="http://4.bp.blogspot.com/_emLBvfBccUg/SQh08rLnkzI/AAAAAAAAAIE/JugTfC6ALU4/s320/ocr.jpg" alt="" id="BLOGGER_PHOTO_ID_5262584750314853170" border="0" /></a><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://4.bp.blogspot.com/_emLBvfBccUg/SQh1UHbFIII/AAAAAAAAAIM/PfICTE_DZYk/s1600-h/ocr_output.gif"><img style="margin: 0pt 0pt 10px 10px; float: left; cursor: pointer; width: 184px; height: 185px;" src="http://4.bp.blogspot.com/_emLBvfBccUg/SQh1UHbFIII/AAAAAAAAAIM/PfICTE_DZYk/s320/ocr_output.gif" alt="" id="BLOGGER_PHOTO_ID_5262585153032888450" border="0" /></a><br /></div><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />One of an example where such technology is being used and researched is The windows 7 tablet PC. Windows 7 tablet PC uses this technology and with the help of GottaBeMobile.com more improvements are being done to the tablet.<br /><br /><br /><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_emLBvfBccUg/SQhw22HnfJI/AAAAAAAAAHs/eMoHybSDFdM/s1600-h/2983447527_0bd909b8a1.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 136px;" src="http://1.bp.blogspot.com/_emLBvfBccUg/SQhw22HnfJI/AAAAAAAAAHs/eMoHybSDFdM/s320/2983447527_0bd909b8a1.jpg" alt="" id="BLOGGER_PHOTO_ID_5262580252125133970" border="0" /></a><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_emLBvfBccUg/SQhxU6WZjWI/AAAAAAAAAH8/epj3P2RnH4E/s1600-h/10-29-08-tablet-windows-7.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 148px;" src="http://3.bp.blogspot.com/_emLBvfBccUg/SQhxU6WZjWI/AAAAAAAAAH8/epj3P2RnH4E/s320/10-29-08-tablet-windows-7.jpg" alt="" id="BLOGGER_PHOTO_ID_5262580768656952674" border="0" /></a><br /><br /><br /><br /><br /><br /><br /><img src="file:///C:/DOCUME%7E1/Saud.PC1/LOCALS%7E1/Temp/moz-screenshot.jpg" alt="" /><div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-1581523527639080601?l=www.omandev.net'/></div>Saud Said Al-Zakwanihttp://www.blogger.com/profile/02710201214109881739noreply@blogger.com6tag:blogger.com,1999:blog-3404749283325335239.post-10023407239281726572008-10-24T18:21:00.003+04:002008-10-30T00:36:03.539+04:00Ericsson Volvo Ocean race<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://1.bp.blogspot.com/_emLBvfBccUg/SQHbIbfQ7uI/AAAAAAAAAHk/wwG2eY8KaX0/s1600-h/DSC_0146.JPG"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer; width: 320px; height: 213px;" src="http://1.bp.blogspot.com/_emLBvfBccUg/SQHbIbfQ7uI/AAAAAAAAAHk/wwG2eY8KaX0/s320/DSC_0146.JPG" alt="" id="BLOGGER_PHOTO_ID_5260726777609776866" border="0" /></a><br />This is one of the interesting things got to see on GTEX Dubai. A boat Controlled By a remote seems such a normal idea. Well Let me be more specific<br /><br />The boat is controlled by a remote which any human can use. The remote does not control the boat directly but controlls the fans on the board which blows the boat in different directions which one would desire.<br /><br />This is actually an idea of application development, have enough modules to do the dirty work.<div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-1002340723928172657?l=www.omandev.net'/></div>Saud Said Al-Zakwanihttp://www.blogger.com/profile/02710201214109881739noreply@blogger.com2tag:blogger.com,1999:blog-3404749283325335239.post-36758042755900633872008-09-06T18:16:00.000+04:002008-09-06T18:17:29.401+04:00Funny computer Acronyms<span style="font-weight: bold;">Funny computer Acronyms</span><br /><br /> Sometimes computer geeks have time for fun. Those are some of funny acronyms about computer world. In fact those acronyms are expressing the original feelings of their founders. They could be considered as a result of some companies policies. I hope you enjoy them.<br /><br /><span style="font-weight: bold;">Here we go:</span><br /><br />-Acronym <br />Annoying Copy Resemble Original Yankee Methods<br /><br />-APPLE <br />Arrogance Produces Profit-Losing Entity<br /><br />-CA <br />Constant Acquisition<br /><br />-CD-ROM <br />Consumer Device, Rendered Obsolete in Months<br /><br />-COBOL <br />Completely Obsolete Business Oriented Language<br /><br />-DEC <br />Do Expect Cuts<br /><br />-DOS <br />Defunct Operating System<br /><br />-IBM <br />I Blame Microsoft<br /><br />-ISDN <br />It Still Does Nothing<br /><br />-LISP <br />Lots of Insipid and Stupid Parentheses<br /><br />-MACINTOSH <br />Most Applications Crash, If Not, the Operating System Hangs<br /><br /><br />-MICROSOFT <br />Most Intelligent Customers Realize Our Software Only Fools Teenagers<br /><br />-MIPS <br />Meaningless Indication of Processor Speed<br /><br />-OS/2 <br />Obsolete Soon, Too<br /><br />-PCMCIA <br />People Can't Memorize Computer Industry Acronyms<br /><br />-PnP <br />Plug and Pray<br /><br />-SCSI <br />System Can't See It<br /><br />-VISTA <br />Very Inconsistent System Try Another<br /><br />-Windows <br />Will Install Needless Data on Whole System<br /><br /><br />-WYSIWYMGIYRRLAAGW <br />What You See Is What You Might Get If You're Really, Really Lucky and All Goes Well<div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-3675804275590063387?l=www.omandev.net'/></div>AL-YAMANInoreply@blogger.com0tag:blogger.com,1999:blog-3404749283325335239.post-22487516684280260412008-09-06T18:01:00.001+04:002008-09-06T18:11:15.337+04:00My favorite plug-in for Firefox<span style="font-weight: bold;">My favorite plug-in for Firefox</span><br /><br /> Firefox is one of best browsers used by human being. In the third version, it is more and more elegant and powerful. Today Firefox has more than 19% of the browser users. It is not just that Firefox is stable, fast, free, secure, elegant, light, portable, powerful, etc, what make it this famous. But it is also the plug-in features that can be added to the browser in easy way.<br /><br />I am here not to advertise Firefox, since nobody pays me for such thing. I am here to share with all of you what I believe to be best experience of plug-in for normal users like me.<br /><br /><span style="font-weight: bold;">1. DownThemAll!</span><br />It is one of the most powerful download mangers you may encounter. It will speed your downloading rate. Since it is embedded in the browser itself, it will make you feel more comfortable than using an external downloading manger. Adding to that it can (sometimes) trick site that prevent downloading using download managers.<br /><br /><span style="font-weight: bold;">2. Fast Video Download</span><br />Very good tool for downloading embedded video. It is simple as a click.<br /><br /><span style="font-weight: bold;">3. Undo Closed Tabs Button</span><br />Users always close the wrong tab in the wrong time. Sometimes this lead for losing a link forever and sometime it does not. This tool memorizes the closed tabs in case you want to undo your close action. You must use install it before you need it.<br /><br /><span style="font-weight: bold;">4. FoxyProxy</span><br />It is the best tool for managing your proxy list. Just give it the list and leave the rest for it.<br /><br /><span style="font-weight: bold;">5. Simple RSS Reader</span><br />It is as simple as the name says. It is simple, fast and small. Just a small toolbar and you have the world news on it. It is a good solution for who attracted to the titles more than the topic itself.<br /><br /> Finally I hope all of you nice surfing on the net.<div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-2248751668428026041?l=www.omandev.net'/></div>AL-YAMANInoreply@blogger.com0tag:blogger.com,1999:blog-3404749283325335239.post-34151408889924748532008-09-04T11:13:00.001+04:002008-09-04T11:15:25.726+04:00JavaScript, the language for them all!! (Jquery with gridview in asp.net 2.0)<p class="western" style="margin-bottom: 0.14in" id="m99k"><span class="Apple-style-span" style="font-weight: bold;"><br /></span></p> <p class="western" style="margin-bottom: 0.14in" id="m99k0">Once a long time ago (in 80s) I think Assembly was considered the savior for when ever some one need to do some dirty work with their C or whatever language code and its not clear for him how to do it there or few things are not supported assembly comes to give you control on the tiniest transistor on the PC so you can do what ever in your mind (this is not just 80s it is applicable for all times <span id="m99k1" style="font-family:Wingdings;"></span> )</p> <p class="western" style="margin-bottom: 0.14in" id="m99k2">In 90s the days of C++, Visual Basic 6.0, JAVA, PHP,… etc I think the savior was the C language, really when ever there was something you cannot do in any of these languages that you are working on, you would just connect it to a c DLL or any c library file!!, using JNI for Java or active or DLL library for visual basic and similarly for others.</p> <p class="western" style="margin-bottom: 0.14in" id="m99k3">These days (WEB 2.0 days) all of the applications are moving to web using PHP J2EE, .NET 2005/2008, R on R and others. The common factor between them is they all need JavaScript to do the dirty work for them (working on client machines) so as in old days when all programmers needed to know assembly or as in 90s when all programmers needed to know C to do wonders with their softwares, these days developers must know JavaScript; cause it is the language for them all (applicable to any JavaScript framework (jquery, mootool, prototype))!!!</p> <p class="western" style="margin-bottom: 0.14in" id="m99k4">Ok that’s enough chit chat, now why I am talking all about this?? Because jquery enabled me to do something fun with asp.net 2.0’s gridview </p> <p class="western" style="margin-bottom: 0.14in" id="m99k5"> </p> <p class="western" style="margin-bottom: 0.14in" id="m99k8">I will show you</p> <p class="western" style="margin-bottom: 0.14in" id="m99k9">I have added a jscript folder to my project and in it I have added the jquery and one of its plug-in: datepicker which will show a date picker calendar</p> <p class="western" style="margin-bottom: 0.14in" id="m99k10"><img src="http://docs.google.com/File?id=dhxndmq_1065drm38jqs_b" name="Object1" align="BOTTOM" width="194" height="97" id="m99k11" /></p> <p class="western" style="margin-bottom: 0.14in" id="m99k12">Added jquery to my master page code so it will be available to all of my pages in the application that uses this master page</p> <p class="western" style="margin-bottom: 0.14in" id="m99k13"><span id="m99k14" style="font-size:85%;"><span id="m99k15" style="font-family:Courier New, monospace;"><span id="m99k16" style="color:#0000ff;">&lt;</span><span id="m99k17" style="color:#800000;">script</span> <span id="m99k18" style="color:#ff0000;">type</span><span id="m99k19" style="color:#0000ff;">="text/javascript"</span> <span id="m99k20" style="color:#ff0000;">src</span><span id="m99k21" style="color:#0000ff;">="Jscript/jquery-1.2.1.min.js">&lt;/</span><span id="m99k22" style="color:#800000;">script</span><span id="m99k23" style="color:#0000ff;">></span></span></span></p> <p class="western" style="margin-bottom: 0.14in; page-break-before: always" id="m99k24"> </p> <p class="western" style="margin-bottom: 0.14in" id="m99k27">Now I have a gridview (well for my application need I have a very complex 3 level nested gridview)</p> <p class="western" style="margin-bottom: 0.14in" id="m99k28"><img src="http://docs.google.com/File?id=dhxndmq_1066hcmg4qqq_b" name="Object2" align="BOTTOM" width="387" height="290" id="m99k29" /></p> <p class="western" style="margin-bottom: 0.14in" id="m99k30">Now close date is a template column where I have a textbox <img src="http://docs.google.com/File?id=dhxndmq_1067f3jbsfgz_b" name="Object3" align="BOTTOM" width="194" height="194" id="m99k32" /> I made the cssclass of the text box equals to “datepickerz” <span id="m99k35" style="font-size:85%;"><span id="m99k36" style="font-family:Courier New, monospace;"><span id="m99k37" style="color:#0000ff;">&lt;</span><span id="m99k38" style="color:#800000;">asp</span><span id="m99k39" style="color:#0000ff;">:</span><span id="m99k40" style="color:#800000;">TextBox</span> <span id="m99k41" style="color:#ff0000;">ID</span><span id="m99k42" style="color:#0000ff;">="TextBox1"</span> <span id="m99k43" style="color:#ff0000;">runat</span><span id="m99k44" style="color:#0000ff;">="server"</span> <span id="m99k45" style="color:#ff0000;">Text</span><span id="m99k46" style="color:#0000ff;">='</span><span style="background: #ffff00" id="m99k47">&lt;%</span># Bind("close_date") <span style="background: #ffff00" id="m99k48">%></span><span id="m99k49" style="color:#0000ff;">'</span> <span id="m99k50" style="color:#ff0000;">CssClass</span><span id="m99k51" style="color:#0000ff;">="datepickerz"</span> <span id="m99k52" style="color:#ff0000;">Width</span><span id="m99k53" style="color:#0000ff;">="89px">&lt;/</span><span id="m99k54" style="color:#800000;">asp</span><span id="m99k55" style="color:#0000ff;">:</span><span id="m99k56" style="color:#800000;">TextBox</span><span id="m99k57" style="color:#0000ff;">></span></span></span></p> <p class="western" style="margin-bottom: 0.14in" id="m99k58">Now I need for each row in this complex gridview the textbox to be a datepicker so simply I wrote the following jquery script</p> <p class="western" style="margin-bottom: 0in; line-height: 100%" id="m99k59"> <span id="m99k60" style="font-size:85%;"><span id="m99k61" style="font-family:Courier New, monospace;"><span id="m99k62" style="color:#0000ff;">&lt;</span><span id="m99k63" style="color:#800000;">script</span> <span id="m99k64" style="color:#ff0000;">type</span><span id="m99k65" style="color:#0000ff;">="text/javascript"</span> <span id="m99k66" style="color:#ff0000;">src</span><span id="m99k67" style="color:#0000ff;">="Jscript/ui.datepicker.js">&lt;/</span><span id="m99k68" style="color:#800000;">script</span><span id="m99k69" style="color:#0000ff;">></span></span></span></p> <p class="western" style="margin-bottom: 0in; line-height: 100%" id="m99k70"> <span id="m99k71" style="font-size:85%;"><span id="m99k72" style="font-family:Courier New, monospace;"><span id="m99k73" style="color:#0000ff;">&lt;</span><span id="m99k74" style="color:#800000;">script</span> <span id="m99k75" style="color:#ff0000;">type</span><span id="m99k76" style="color:#0000ff;">="text/javascript"</span> <span id="m99k77" style="color:#0000ff;">></span> </span></span> </p> <p class="western" style="margin-bottom: 0in; line-height: 100%" id="m99k78"> </p> <p class="western" style="margin-bottom: 0in; line-height: 100%" id="m99k79"> </p> <p class="western" style="margin-bottom: 0in; line-height: 100%" id="m99k80"> <span id="m99k81" style="font-size:85%;"><span id="m99k82" style="font-family:Courier New, monospace;">$(document).ready(<span id="m99k83" style="color:#0000ff;">function</span>() {</span></span></p> <p class="western" style="margin-bottom: 0in; line-height: 100%" id="m99k84"> <span id="m99k85" style="font-size:85%;"><span id="m99k86" style="font-family:Courier New, monospace;">$(<span id="m99k87" style="color:#800000;">'.datepickerz'</span>).each( <span id="m99k88" style="color:#0000ff;">function</span> () {</span></span></p> <p class="western" style="margin-bottom: 0in; line-height: 100%" id="m99k89"> <span id="m99k90" style="font-size:85%;"><span id="m99k91" style="font-family:Courier New, monospace;">$(<span id="m99k92" style="color:#0000ff;">this</span>).attachDatepicker();</span></span></p> <p class="western" style="margin-bottom: 0in; line-height: 100%" id="m99k93"> <span id="m99k94" style="font-family:Courier New, monospace;"><span id="m99k95" style="font-size:85%;">});</span></span></p> <p class="western" style="margin-bottom: 0in; line-height: 100%" id="m99k96"> <span id="m99k97" style="font-family:Courier New, monospace;"><span id="m99k98" style="font-size:85%;">}); </span></span> </p> <p class="western" style="margin-bottom: 0.14in" id="m99k99"> <span id="m99k100" style="font-size:85%;"><span id="m99k101" style="font-family:Courier New, monospace;"><span id="m99k102" style="color:#0000ff;">&lt;/</span><span id="m99k103" style="color:#800000;">script</span><span id="m99k104" style="color:#0000ff;">></span></span></span></p> <p class="western" style="margin-bottom: 0.14in" id="m99k105">Which is one of the beautiful magic of jquery it allows to pick all controls that have been assigned the class <span id="m99k106" style="font-size:85%;"><span id="m99k107" style="font-family:Courier New, monospace;"><span id="m99k108" style="color:#800000;">datepickerz </span></span></span>and then for each control I just attach it with the datepicker.</p> <p class="western" style="margin-bottom: 0.14in" id="m99k109">The result whenever I click on the textbox in any editable row in the complex gridview I will get a floating calendar to select a date that will be stored in the textbox.</p> <p class="western" style="margin-bottom: 0.14in" id="m99k110">I know I have not discovered the atoms by doing this simple activity, but I wanted to mention it because as I see around me (in Oman) most of .NET developers are not aware of Jquery and other JavaScript frameworks and their features.</p><div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-3415140888992474853?l=www.omandev.net'/></div>Ali Hassan Al Lawatihttp://www.blogger.com/profile/09288347048236299519noreply@blogger.com2tag:blogger.com,1999:blog-3404749283325335239.post-23450528951794968052008-08-25T19:15:00.010+04:002009-04-01T13:57:08.072+04:00Adding a friendly splash (waiting screen) while the code is being executed in ASPNowadays, most websites are connected to databases. the larger the data in the database, the longer it takes for the browser (or the code) to fetch/retrieve the required data for the user. and ofcourse, that's where the developers' skills comes handy, where developing an efficient code and using the minimum queries as possible is a must. i would like to add that having a little data in the database is not an excuse for not developing an efficient code for retrieving information from databases.<br /><br />now, i assume that you "developers" did the most efficient way to retrieve the data, but above that there is still a considerable "fetching" time to wait inorder to fully display the records queried, here comes the benefit of adding a splash screen for the user, so he/she doesn't panic and think that the page is stuck or something.<br /><br />easy steps to follow inorder to get an attractive waiting screen (see below) while the code is processing and the user is waiting:<br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_6WykegKtLic/SLLRKCYamgI/AAAAAAAAAAo/30HH_MyYk0s/s1600-h/screen.JPG"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_6WykegKtLic/SLLRKCYamgI/AAAAAAAAAAo/30HH_MyYk0s/s320/screen.JPG" alt="" id="BLOGGER_PHOTO_ID_5238479286953482754" border="0" /></a><br /><br />first of all you need to add one important line of code to the top of your ASP page, that line is:<br /><br /><b><%Response.Buffer = True%></b><br /><br />This line tells the server not to send anything to the client until the page is finished processing or you use "Response.Flush" code in part of your ASP page to send everything fully loaded so far.<br /><br />now just add the following to javascript functions to your code between "script" tags, those functions are used to "show" and "hide" the splash screen when needed:<br /><br /><br /><pre><code><br /><br />function showObj(obj)<br />{<br />obj.style.visibility = "visible";<br />}<br /><br />function hideObj(obj)<br /><br />{<br />obj.style.visibility = "hidden";<br />}<br /></code></pre><br /><br />now after we created the functions we create the part that gonna show as "splash" screen, i created it as "div" as it can contain more then one element inside it not just an animated image or text.. <br><br /><pre><code><br /> &lt;div id="splashScreen" style="position:absolute;z-index:5;align:center;"&gt;<br /> Searching, please wait .. &lt;br&gt;<br /> &lt;img src="loada.gif"/&gt;<br /><br /> &lt;/div&gt;<br /><br /><br /></code></pre><br /><br />its strongly recommended to put this div as close as possible to the nearest element after you invoke a "search" button or a "submit" button so the div would show as soon as the "fetching" face starts<br /><br />you can put any animated "gif" pic in the img src, i choose to put a loading indicator, you can find a very nice collection of activity indicators from http://www.ajaxload.info/<br /><br />after you put the div in the right position, you should put the "Response.Flush" code so you tell the browser to show to the user everything loaded so far "including the splash screen" and then do the processing, code executing and searching. after that you do "Response.Flush" again to show the information fetched, and finally you hide the "splash screen" .. so to make it simple, your code would be like the following:<br /><br /><pre><code><%<br />.<br />.<br />Response.Flush 'this will show everything loaded so far including the splash screen<br />.<br />'... put the searching/fetching code here and show the results ...<br />'... remember that your results wont show until you flush again ..<br />.<br />.<br />Response.Flush 'this will show everything so far including splash screen AND results<br /><br />%><br /></code></pre><br /><br />and after we finished from everything we hide the "splash" screen with the following command (put the command in javascript script tag)<br /><pre><code><br />var splash<br />splash = document.getElementById("splashScreen");<br />hideObj(splash);<br /></code></pre><br /><br />remember that you can customize the splash to your liking, after all its a div and can be pretty flexible.<div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-2345052895179496805?l=www.omandev.net'/></div>Arkan Hadihttp://www.blogger.com/profile/08958845742761544226noreply@blogger.com4tag:blogger.com,1999:blog-3404749283325335239.post-24460343477304737832008-08-21T17:24:00.008+04:002008-08-25T19:14:17.531+04:00Increasing performance and adding flexibility using arrays instead of recordsets in ASP with databases<link rel="File-List" href="file:///C:%5CDOCUME%7E1%5Cuser%5CLOCALS%7E1%5CTemp%5Cmsohtml1%5C01%5Cclip_filelist.xml"><!--[if gte mso 9]><xml> <w:worddocument> <w:view>Normal</w:View> <w:zoom>0</w:Zoom> <w:punctuationkerning/> <w:validateagainstschemas/> <w:saveifxmlinvalid>false</w:SaveIfXMLInvalid> <w:ignoremixedcontent>false</w:IgnoreMixedContent> <w:alwaysshowplaceholdertext>false</w:AlwaysShowPlaceholderText> <w:compatibility> <w:breakwrappedtables/> <w:snaptogridincell/> <w:wraptextwithpunct/> <w:useasianbreakrules/> <w:dontgrowautofit/> </w:Compatibility> <w:browserlevel>MicrosoftInternetExplorer4</w:BrowserLevel> </w:WordDocument> </xml><![endif]--><!--[if gte mso 9]><xml> <w:latentstyles deflockedstate="false" latentstylecount="156"> </w:LatentStyles> </xml><![endif]--><style> <!-- /* Font Definitions */ @font-face {font-family:serif; panose-1:0 0 0 0 0 0 0 0 0 0; mso-font-alt:"Times New Roman"; mso-font-charset:0; mso-generic-font-family:roman; mso-font-format:other; mso-font-pitch:auto; mso-font-signature:0 0 0 0 0 0;} /* Style Definitions */ p.MsoNormal, li.MsoNormal, div.MsoNormal {mso-style-parent:""; margin:4.3pt; mso-pagination:none; mso-hyphenate:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman"; mso-fareast-language:#00FF;} p.MsoBodyText, li.MsoBodyText, div.MsoBodyText {margin-top:4.3pt; margin-right:4.3pt; margin-bottom:6.0pt; margin-left:4.3pt; mso-pagination:none; mso-hyphenate:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman"; mso-fareast-language:#00FF;} p.TableContents, li.TableContents, div.TableContents {mso-style-name:"Table Contents"; mso-style-parent:"Body Text"; margin:0cm; margin-bottom:.0001pt; mso-pagination:none; mso-hyphenate:none; font-size:12.0pt; font-family:"Times New Roman"; mso-fareast-font-family:"Times New Roman"; mso-fareast-language:#00FF;} @page Section1 {size:612.0pt 792.0pt; margin:1.0cm 1.0cm 1.0cm 2.0cm; mso-header-margin:1.0cm; mso-footer-margin:1.0cm; mso-paper-source:0;} div.Section1 {page:Section1; mso-footnote-position:beneath-text;} --> </style><!--[if gte mso 10]> <style> /* 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:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; 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;} </style> <![endif]--> <p class="MsoNormal" style="margin: 0cm 0cm 12pt;"><span style="">Those days</span><span style="border: 1pt none windowtext; padding: 0cm;font-family:serif;" >, inord</span><span style="">er to increase the websites/intranets features and interactivity it is essential to have a connectivity to a database wither its an oracle database or MS access or other types of databases, .. and with databases comes the issue of performance, so in this article i would like to share some of the things that a developer can do t</span><span style="border: 1pt none windowtext; padding: 0cm;font-family:serif;" >o maint</span><span style="">ain a reasonable performance and even adding mor</span><span style="border: 1pt none windowtext; padding: 0cm;font-family:serif;" >e flexibil</span><span style="">ity to the ASP code dealing with databases that has huge data that needs to be fetched. <br /> <br />in this article am usin</span><span style="border: 1pt none windowtext; padding: 0cm;font-family:serif;" >g vbscri</span><span style="">pt as a server-side script. <br /> <br />for convenience i will show the steps on how to connect to MS access database first and after that i will start on the tweaks that developers can do in the coding to enhance performance and adding flexibility <o:p></o:p></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><b><span style=";font-family:&quot;;font-size:10;" ><% <o:p></o:p></span></b></p> <p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><b><span style=";font-family:&quot;;font-size:10;" >dim conn <br />set conn=Server.CreateObject("ADODB.Connection") <br />conn.Provider="Microsoft.Jet.OLEDB.4.0" <br />conn.Open "c:YOUR_DATABASENAME.mdb" <o:p></o:p></span></b></p> <p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><b><span style=";font-family:&quot;;font-size:10;" >%><o:p></o:p></span></b></p> <p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><span style=""> <br />first of all, after you set up </span><span style="border: 1pt none windowtext; padding: 0cm;font-family:serif;" >a connectivity</span><span style=""> to th</span><span style="border: 1pt none windowtext; padding: 0cm;font-family:serif;" >e databa</span><span style="">se, you create a query, for example: <br /> <br /><b><% <o:p></o:p></b></span></p> <p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><b><span style="">dim rs 'recored set <o:p></o:p></span></b></p> <p class="MsoNormal" style="margin: 0cm 0cm 0.0001pt;"><b><span style=";font-family:&quot;;font-size:10;" >set rs=Server.CreateObject("ADODB.recordset") <br />rs.Open "Select * from TABLE_NAME", conn<o:p></o:p></span></b></p> <p class="TableContents" style="margin-bottom: 0.75pt;"><b><span style="">%></span></b><span style=""> <br /> <br /> <br />at this point not much can be done, connecting to the database and querying to get data is pretty much fixed.</span></p><p class="TableContents" style="margin-bottom: 0.75pt;"><span style="">the thing start when manipulating the data we just fetched, most of the people do is manipulating the data like the following code <br /> <br /><b><% <o:p></o:p></b></span></p> <p class="TableContents" style="margin-bottom: 0.75pt;"><b><span style="">do while not rs.EOF <br />' manipulate data here, go through the query exucuted, movenext, movelast move previous, etc <br /> <br />response.write(rs("FIELD_NAME")) <br />rs.MoveNext <br />loop <br />rs.Close <br />conn.Close <br />set rs=nothing <br />set conn=nothing<o:p></o:p></span></b></p> <p class="TableContents" style="margin-bottom: 0.75pt;"><b><span style=""><span style=""> </span>%> <br /></span></b><span style=""> <br /> <br />the above code would work perfectly if you have to deal with one query, relatively small data set in the query, and only small code is used to manipulate the recordset, and as long as you want to deal with the data (in the above code) th</span><span style="border: 1pt none windowtext; padding: 0cm;font-family:serif;" >e records</span><span style="">et should stay open</span><span style="border: 1pt none windowtext; padding: 0cm;font-family:serif;" ></span><span style=""> .. what if we wanted to do a new query while we are dealing with the existing one while it is still not closed? .. we would have to create another record set and set it and open connection to it, and this would make a nightmare interms of performance if we have a larg data and multiple quieries to deal with. to avoid this we can copy the query information to a multi-dimensional array and close th</span><span style="border: 1pt none windowtext; padding: 0cm;font-family:serif;" >e records</span><span style="">et so we can use it again while we are working with the existing data. instead of doing the previous code we can do the following code: <br /> <br /><b><% <o:p></o:p></b></span></p> <p class="TableContents" style="margin-bottom: 0.75pt;"><b><span style="">dim rsArray <br /> <br />rsArray=rs.getrows() <br />rs.close <br />for i=0 to UBound(rsArray,2)-1 <br />' .... work with the data here using a multi-dim array, its easier and faster, we can even <br />'use another query with the same recordset, .. <br />' we can work with the old data and with the new query data without creating new record set <br /> <br />next <br />conn.Close <br />set rs=nothing <br />set conn=nothing <o:p></o:p></span></b></p> <p class="TableContents" style="margin-bottom: 0.75pt;"><b><span style="">%></span></b><span style=""> <br /> <br /> <br />after we fetched the information we needed into "rsArray" we finished from the record set and we closed it "rs.close" so we can use it later while dealing with the existing data without having to create a new recordset. now while we have </span><span style="border: 1pt none windowtext; padding: 0cm;font-family:serif;" >a multi dimensio</span><span style="">nal array in our hand, we can take advantage of that to ou</span><span style="border: 1pt none windowtext; padding: 0cm;font-family:serif;" >r bene</span><span style="">fit, even we ca</span><span style="border: 1pt none windowtext; padding: 0cm;font-family:serif;" >n red</span><span style="">im it if we want to add ne</span><span style="border: 1pt none windowtext; padding: 0cm;font-family:serif;" >w colum</span><span style="">ns or rows, but whe</span><span style="border: 1pt none windowtext; padding: 0cm;font-family:serif;" >n redim-i</span><span style="">ng the data is lost, so we have to use "preserve" keyword to preserve the data after rediming, for example if we have number of rows and we want to add a new one we do the following code <br /><b> <br /><%</b></span></p><p class="TableContents" style="margin-bottom: 0.75pt;">.</p><p class="TableContents" style="margin-bottom: 0.75pt;">.</p><p class="TableContents" style="margin-bottom: 0.75pt;">. <br /><span style=""><b><o:p></o:p></b></span></p> <p class="TableContents" style="margin-bottom: 0.75pt;"><b><span style="">dim cols <br /> <br />dim rows <br /> <br />cols = UBound(rsArray,1) +1 <br /> <br />rows = UBound(rsArray,2) +1 <br /> <br />redim preserve rsArray(cols,rows+1) ' we have extra row <br />%> <br /></span></b><span style=""> <br /> <br />notice the preserve keyword only works whe</span><span style="border: 1pt none windowtext; padding: 0cm;font-family:serif;" >n redim-i</span><span style="">ng the las</span><span style="border: 1pt none windowtext; padding: 0cm;font-family:serif;" >t dimension</span><span style="">, if we want to redim the first one (or the second one or third if we have more then 2) we have to go around it, copying the array to another array and put the dimension we want to change in the last place, and then we can use the "redim preserve" and work with the temp. array. <br /> <br />As a conclusion, </span><span style="">using the actual record sets while manipulating data and creating new ones whenever we need is not efficient, on the other hand </span><span style="">knowing the features of the arrays we can use it to our advantage so dealing with arrays is more flexible and more efficient then the actual record set.</span><span style="font-family:Arial;"><o:p></o:p></span></p> <div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-2446034347730473783?l=www.omandev.net'/></div>Arkan Hadihttp://www.blogger.com/profile/08958845742761544226noreply@blogger.com0tag:blogger.com,1999:blog-3404749283325335239.post-83728895747042570632008-08-08T00:49:00.002+04:002008-08-08T00:54:04.725+04:00Calling ASP Functions from java scriptUmm i think some may get confused that isn't it that <a href="http://en.wikipedia.org/wiki/Ajax_%28programming%29" title="Ajax (programming)" rel="wikipedia" target="_blank" class="zem_slink">Ajax</a> can call server side functions from JavaScript ?? ! well thats write but i want to talk about those people who are still using <a href="http://www.microsoft.com/" title="Microsoft" rel="homepage" target="_blank" class="zem_slink">Microsoft</a> .NET 2005 and not lucky enough to get gaya or other ajax plug-in from Microsoft, or those who are still not ready to deal with Ajax and other Ajax/<a href="http://en.wikipedia.org/wiki/JavaScript" title="JavaScript" rel="wikipedia" target="_blank" class="zem_slink">JavaScript</a> plug ins such as jquery .<br /><br /><br />Most of the old .NET developer are used to have their <a href="http://en.wikipedia.org/wiki/Web_application" title="Web application" rel="wikipedia" target="_blank" class="zem_slink">web applications</a> deal with post-backs but very few of them really knows how these post-backs do work. well most of the things in .NET application are done depending on client side script (JavaScript).<br /><br />For that when you have a good amount of JavaScript controlling your application you need to know how to make that JavaScript call an asp function.<br /><br />Before explaining how to do this first lets see why do we need it ? Well may be you will need to do something with JavaScript before calling server side codes, like validating entered data ( well i know that is a very bad example since in .NET there is a ready validating controles) a better example lets say you have created a web page that allow users to draw for example mind maps, or charts, or mouse gestures so that when user drag his mouse in a specific way there will be a specific response from your web application.<br /><br />well in all of these examples JavaScript or JavaScript frameworks like jquery will be doing most of the things in the application here the decision to make a server side function call should be given to java script code.<br /><br />Calling asp.NET function by JavaScript you need to do a simple trick,<br /><br />Well as i found from some of my tries to get there, that you can not do it having normal form buttons you will need at least one "link button" (sure you can hide it, but NEVER make visible = false because it will be removed from the HTML code; instead apply <a href="http://en.wikipedia.org/wiki/Cascading_Style_Sheets" title="Cascading Style Sheets" rel="wikipedia" target="_blank" class="zem_slink">CSS</a> style on it that make it hidden)<br /><br /><span style="color: rgb(255, 0, 0);">visibility</span>:<span style="color: rgb(51, 102, 255);">hidden</span>;<br /><br />then you need to call the post back function that usually is called if you really do click that link_button and in the asp.NET code do call your asp function in the link_button event handler function.<br /><br />well thats a lot of blah blah, theoretical talks, well then lets get into action then.<br /><br />here i will show a very simple example (sorry i am out of creativity by now so the example will be very simple) i created a very simple page with a text box an a link button<br /><br /><textarea rows="10" cols="40"><form id="form1" runat="server">> <div> <asp:textbox id="TextBox1" runat="server"></asp:textbox> </div> <p> <asp:linkbutton style="font-weight: bold;">CssClass="hdn" ID="LinkButton1" runat="server" onclick="LinkButton1_Click">LinkButton</asp:linkbutton> </p> </form></textarea><br /><br />i added a very simple response code to the link button click event in C#<br /><textarea rows="5" cols="40"> protected void LinkButton1_Click(object sender, EventArgs e) { Response.Write("yooohooo"); }</textarea><br />well yeah this is our server side function (i told you this week i am out of creativity).<br /><br /><br /><br />and then i added they style to hide the link button<br /><textarea rows="4" cols="40"> <style> .hdn{ visibility:hidden; } </style></textarea><br />now even in the IDE you just cannot see the link button<br /><br />now the real thing is in the java script i have done a very simple and a very boring thing witch is on each button press it makes the text in the text box uppercase and if the length of text reaches to 6 it will call the server side function<br /><br />i have added it just before the end of form tag<br /><br /><textarea rows="20" cols="40"> <script type="text/javascript"> var t =document.getElementById("TextBox1"); // well you can imagen this function is any thing else may be figuring out how did you made your mouse gesture document.getElementById("TextBox1").onkeydown = function ss(){ t.value= t.value.toUpperCase(); // may be here there is a condition to know if it should call the server side function if(t.value.length >5) { __doPostBack('LinkButton1',''); } } </script></textarea><br />well you can see the real point is in the function __doPostBack('','')<br />which is created by Visual Studio it self you do not have to program it and it can call server side functions by its own way (well what you do not know that there are a lot of hidden fields in your page that are getting created by visual studio and are used for these kind of stuff)<br /><br />and the reason i say that we must have a link button is that i found Visual studio do not create this JavaScript function __doPostBack('','') if we dont have link button<br /><br />well thats all for today i think hope this thing (which i had to search and try a lot of things to be able to do) will help you in your projects<div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-8372889574704257063?l=www.omandev.net'/></div>Ali Hassan Al Lawatihttp://www.blogger.com/profile/09288347048236299519noreply@blogger.com2tag:blogger.com,1999:blog-3404749283325335239.post-16573436513504218762008-07-07T14:41:00.004+04:002008-07-08T14:06:26.587+04:00How to change the size of a legend in Crystal ReportWell as easy as it may seem, this sometimes prooves to be a tidious task to look for. Simply because the legends functionality are not provided on the legend display area. Well enough talk and lets learn how to do that in a few steps<br /><br />Obviously you are creating a graph (chart of some kind),<br /><br /><ul><li>Right click on the Chart Area, </li><li>Chart Expert </li><li>Text Tab </li><li>On the Format Area choose Legend, </li><li>Click the Font button </li><li>Change the font to the your desired display.</li></ul><p>For MS ACCESS changing the legend size does not seem to be a problem but the legend caption is. I found a solution posted on <a href="http://www.tek-tips.com/faqs.cfm?fid=5491">http://www.tek-tips.com/faqs.cfm?fid=5491</a></p><p>Simple way to change/remove the "Sum of..." text, or any text, in a PivotChart LEGEND. </p><p>To change the text in a PivotChart LEGEND, switch from PivotChart View to PivotTable View. Then click once to highlight the field name that reads "Sum of...", then go to properties, when the properties dialog box displays select the "caption" tab, now go to the item titled "caption" and simply type in the new text you would like reflected in your Legend. Switch back to PivotChart View and you will see the Legend has changed.</p><div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-1657343651350421876?l=www.omandev.net'/></div>Saud Said Al-Zakwanihttp://www.blogger.com/profile/02710201214109881739noreply@blogger.com1tag:blogger.com,1999:blog-3404749283325335239.post-20471618472760116042008-05-26T22:18:00.006+04:002008-06-27T09:55:47.738+04:00How-to get a job (for graduates)?<p class="MsoNormal"><br /></p> <p class="MsoNormal">In this (my first post) non-IT (sorry Ali) post I note what I think is the main things I used to get my IT job. I was actually surprise with the number of job opportunities I come across here in Oman. So, here it is…</p> <p class="MsoNormal">Since I have graduated I have been doing interviews all over the place (9 until today): <span style=""> </span>ministries, government agencies, government companies, to-be companies, dream-to-be companies, actual companies ..ext..ext .. For me it was interesting journey. Each interview (or test) was unique experience: a mix of meeting new people, testing my skills and Learning about myself! It is great opportunity to find what you are really after (if u haven’t decided yet). So what is it really employers are looking for? Well, first let us list the facts about them:<br /></p><ul><li> <span style="font-weight: bold;">They are humans with basic needs just like us. </span>They need to feel love, security, excitement and joy! They want to be acknowledged and appreciated.</li></ul> <p class="MsoNormal">Dose any of this have anything to do with get them to hire me? Aren’t they looking for skills?</p> <p class="MsoNormal">Explanation: This crab has nothing to do with neither you nor your skills. It is about them and their needs. They need to like you and be able to work with you.</p> <ul style="font-weight: bold;"><li>They need assurances that you will do the job.</li></ul> <p class="MsoNormal">! I have the bachelor degree aint that enough?</p> <p class="MsoNormal">Explanation: We all have the degree, so what? What information they can get from it other than you spent X # of years in the Y collage. What really determine your capabilities is the projects you did, activities you involved in and the way you represent those!</p> <ul style="font-weight: bold;"><li>The presentation(interview) is important.</li></ul> <p class="MsoNormal">! I have skills; I have experience they should take me. But i was sick that day.</p> <p class="MsoNormal">Explanation: they wouldn’t care if you ware sick that day! May be you are a nice guy but they actually don’t know that! It is very important to be in your optimal condition and do a flawless interview. That’s because employer have limited time and many candidates to choose from.</p> <p class="MsoNormal">Hmmm,, ok that all I can remember right now. So, how to be ready for all this? How to drive them to give you interview anyway?! </p> <ul style="font-weight: bold;"><li><!--[if !supportLists]--><span style=""><span style=""><span style=";font-family:&quot;;font-size:7;" ></span></span></span>The Perfect CV.</li></ul> <p class="MsoListParagraphCxSpMiddle">Having very well written CV is a key element in job hunting process. CV is direct marketing tool for your skills and character. It contains everything that maters to employers: basic info about you, skills, experience and glimpse of your character. Make sure your CV contain skills match job requirements and contain the keywords employer is looking for. Writing a universally ‘perfect’ CV is impossible so, you have to adapt it for each job opportunity. (Change the structure and the words used for example.) </p> <!--[if !supportLists]--><ul style="font-weight: bold;"><li>Calling everyone!</li></ul> <p class="MsoListParagraphCxSpMiddle">Make sure that you: call employers for more information about jobs, do follow-up calls. Make sure that almost everyone you know (colleagues, friends, family, employers) knows that you in “job-hunt”. Sometimes opportunities come from unexpected people/organizations. For this, you have to keep in touch with everyone! </p> <!--[if !supportLists]--><!--[endif]--><ul style="font-weight: bold;"><li>Keep your eyes open!</li></ul> <p class="MsoListParagraphCxSpMiddle">Make sure that you watch for newspapers, job-search sites and major companies sites for new opportunities. For obvious reasons! </p> <ul style="font-weight: bold;"><li><span style=""><span style=""></span></span>Know what is going on!</li></ul>Knowing what is going on around you is important. Make sure you know about major market events (even non IT) and new IT projects. Of course, you need to know what is going on in the IT field: new products, technologies and upcoming events. This can assist you to anticipate opportunities and be ready for them (by acquiring skills for example). Also, it improves your standing in interviews. <p class="MsoNormal" style="margin-left: 0.5in;"><o:p> </o:p></p> <p class="MsoNormal">That’s all I can think of for now. So what do you think? :)<br /></p><div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-2047161847276011604?l=www.omandev.net'/></div>khalid almamarihttp://www.blogger.com/profile/05238346394793273617noreply@blogger.com8tag:blogger.com,1999:blog-3404749283325335239.post-43685478148852484962008-05-19T00:01:00.003+04:002008-05-19T00:14:22.591+04:00Java BeansAs software or application developers, we are constantly being asked to build applications in less time and with less money. And, of course, these applications are expected to be better and faster than ever before. <p class="body" style="text-indent: 0.5in;">Object-oriented techniques and component software environments are in wide use now, in the hope that they can help us build applications more quickly. Development tools like Microsoft's Visual Basic have made it easier to build applications faster by taking a building-block approach to software development (developing the software as pieces of blocks and mending them up to deliver complete software for the proposed requirement). Such tools provide a visual programming model that allows you to include software components rapidly in your applications.</p> <p class="body" style="text-indent: 0.5in;">The Java Beans architecture brings the component development model to Java.<o:p> </o:p></p> <p class="body"><b>Component Model<o:p></o:p></b></p> <p class="body" style="text-indent: 0.5in;">Components are self-contained elements of software that can be controlled dynamically and assembled to form applications. There are set of rules and guidelines where all components must bind to them. The set of rules are set to provide a standards form for all components which encourages usability and a clear understanding. Components are expected to exhibit certain behaviors and characteristics in order to participate in the component structure and to interact with the environment, as well as with other components. Most articles would define components like a society of software citizens; the citizens (components) bring functionality, while the society (environment) brings structure and order.</p> <p class="body"><b>Java Beans component Model<o:p></o:p></b></p> <p class="body" style="text-indent: 0.5in;">Java Beans is a component model architect brought to Java. It allows users to construct applications by piecing components together either programmatically or visually (or both). Support of visual programming is paramount to the component model; it's what makes component-based software development truly useful and powerful.</p> <p class="body" style="text-indent: 0.5in;">The model is made up of architecture and an <span style="font-weight: bold;">API</span> (Application Programming Interface). Together, these elements provide a structure whereby components can be combined to develop an application. This environment provides services and rules, which allows a standard structure. This means that components are provided with the tools necessary to work in the environment, and they exhibit certain behaviors that identify them. One very important aspect of this structure is containment. A container provides a context in which components can interact. A common example would be a panel that provides layout management or mediation of interactions for visual components. Of course, containers themselves can be components. </p><p class="body"><b>The Java Beans Architecture<o:p></o:p></b></p> <p class="MsoNormal" style="text-indent: 0.5in; line-height: normal;"><span style="">JavaBeans is architecture for both using and building components in Java. This architecture supports the features of software <i>reuse</i>, <i>component models</i>, and <i>object orientation</i>. One of the most important features of JavaBeans is that it does not alter the existing Java language (i.e. if you know how to write software in Java, you know how to use and create Beans). The strengths of Java are built upon and extended to create the JavaBeans component architecture.<o:p></o:p></span></p> <p class="MsoNormal" style="text-indent: 0.5in; line-height: normal;"><span style="">Although Beans are intended to work in a visual application development tool, they don't necessarily have a visual representation at run-time (although many will). What this does mean is that Beans must allow their property values to be changed through some type of visual interface, and their methods and events should be exposed so that the development tool can write code capable of manipulating the component when the application is executed.<o:p></o:p></span></p> <p class="body"><b>Java Bean set of rules<o:p></o:p></b></p> <p class="MsoNormal" style="line-height: normal;"><span style="">Creating a Bean doesn't require any advanced concepts. All you need is follow the following coding conventions<o:p></o:p></span></p> <ul type="disc"><li class="MsoNormal" style="line-height: normal;"><span style="">Implements java.io.Serializable interface<o:p></o:p></span></li><li class="MsoNormal" style="line-height: normal;"><span style="">Provides no argument constructor<o:p></o:p></span></li><li class="MsoNormal" style="line-height: normal;"><span style="">Provides getter and setter methods for accessing it's properties<o:p></o:p></span></li></ul><p class="MsoNormal" style="margin-bottom: 0.0001pt; line-height: normal;"><span style=""><o:p></o:p></span></p> <pre><span style=""><span style="font-style: italic; font-weight: bold;">Serializable </span>interface allows objects to be stored/retrieved using ObjectOutputStream/ObjectInputStream<o:p></o:p></span></pre><ul><li><pre style="margin-left: 41.25pt; text-indent: -0.25in;"><!--[if !supportLists]--><!--[endif]--><span style="">class must be declared as public<o:p></o:p></span></pre></li><li><pre style="margin-left: 41.25pt; text-indent: -0.25in;"><!--[if !supportLists]--><span style=""><span style=""></span></span><!--[endif]--><span style="">class must implement Serializable interface<o:p></o:p></span></pre></li><li><pre style="margin-left: 41.25pt; text-indent: -0.25in;"><!--[if !supportLists]--><span style=""><span style=""></span></span><!--[endif]--><span style="">class must have a default constructor<o:p></o:p></span></pre></li><li><pre style="margin-left: 41.25pt; text-indent: -0.25in;"><!--[if !supportLists]--><span style=""><span style=""></span></span><span style="">all data members must be primitive, serializable objects or declared transient<o:p></o:p></span><span style=""> <o:p></o:p></span></pre></li></ul><div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-4368547814885248496?l=www.omandev.net'/></div>Saud Said Al-Zakwanihttp://www.blogger.com/profile/02710201214109881739noreply@blogger.com1tag:blogger.com,1999:blog-3404749283325335239.post-82599080932306523052008-05-18T23:58:00.001+04:002008-05-19T00:15:49.224+04:00Image Retrieval<span style=";font-family:&quot;;font-size:11;" >An image retrieval system is a computer system for browsing, searching and retrieving images from a large database of digital images. <o:p></o:p></span> <p style="text-indent: 0.5in;"><span style=";font-family:&quot;;font-size:11;" >A common saying goes “A picture is better than a thousand words”. Images represented using tags, labels or captioned tend to lose what the actual information the image represents. Images have a large amount of information through human vision and computer vision. Using multiple tags to represent the content of an image simply does not describe an image for efficient retrieval. Content-based image retrieval (CBIR) uses the actual content of the image proving to be more efficient but yet challenging. The most important factor of image retrieval is its accuracy. One problem with using image search results as a training set for a classifier is the high percentage of unrelated images within the results. Estimation has shown a high number of inaccuracies of the result of image in Google image search. Problems with traditional methods of image indexing have led to the rise of interest in techniques for retrieving images on the basis of automatically-derived features such as color, texture and shape.<o:p></o:p></span></p> <p style="text-indent: 0.5in;"><span style=";font-family:&quot;;font-size:11;" >Most traditional and common methods of image retrieval use methods of adding meta data such as captions, keywords, tags, or descriptions to the images so that retrieval can be performed over the annotation words. Manual image annotation is time-consuming, laborious and expensive; to address this, there has been a large amount of research done on automatic image annotation. <o:p></o:p></span></p> <p style="text-indent: 0.5in;"><a name="_Toc442192695"><i><span style=";font-family:&quot;;font-size:11;" >Content-based image retrieval</span></i></a><span style=""><span style=";font-family:&quot;;font-size:11;" > (<b>CBIR</b>), also known as <i>query by image content</i> (<b>QBIC</b>) and <i>content-based visual information retrieval</i> (<b>CBVIR</b>) is the application of computer vision to the image retrieval problem. In other words, an image produces image data in a form of rows and columns. This image data derived from computations can be used to produce vector or quantifiers which would then be a primary key (index) for an image to be retrieved in a large database.<o:p></o:p></span></span></p> <p class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 0.5in; line-height: normal;"><span style=""><span style=";font-family:&quot;;font-size:11;" >"Content-based" means that the search will analyze the actual contents which in this context; it will be the contents of the image. The term 'content' in this context might refer to colors, shapes, textures, or any other visual information that can be derived from the image itself. Without the ability to examine image content, searching for images must rely on meta data or the traditional methods.<o:p></o:p></span><br /></span></p><p class="MsoNormal" style="margin-bottom: 0.0001pt; text-indent: 0.5in; line-height: normal;"><span style="">Meta data are very hard to generate which proves to be more expensive. A security camera capturing picture could be caption by the time, date, location rather than by the actual contents of the image it represents. Here, CBIR comes into play by deriving image data for analysis and use of different image problem based areas.</span></p><div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-8259908093230652305?l=www.omandev.net'/></div>Saud Said Al-Zakwanihttp://www.blogger.com/profile/02710201214109881739noreply@blogger.com4tag:blogger.com,1999:blog-3404749283325335239.post-30269026044217310192008-02-10T19:47:00.000+04:002008-02-10T21:30:20.291+04:00UPL<a href="http://sourceforge.net/projects/upl/"><span style="font-weight: bold;">UPL </span></a>: "<span style="font-style: italic;">Universal Programming Language</span>", or you can say <span style="font-weight: bold;">UPL </span>: "<span style="font-style: italic;">UPL is Programming Language</span>" :).<br /><br />It is an idea that we were thinking of for more than a year, and thanks to Yamani it is slowly coming to the reality.<br /><br /><span style="font-weight: bold;">The Idea </span><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://www1.istockphoto.com/file_thumbview_approve/903223/2/istockphoto_903223_light_bulb_great_idea_icon.jpg"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer; width: 34px; height: 43px;" src="http://www1.istockphoto.com/file_thumbview_approve/903223/2/istockphoto_903223_light_bulb_great_idea_icon.jpg" alt="" border="0" /></a><br />As was discussed in many blogs few weeks ago, we need to find good and intelligent ways to teach our children and "programming children" (those who are not Childs in real but newbie in programming world) about programming.<br /><br />Thinking about that we can see (as we think) the two biggest obstacles faced by these two groups are:<br />(<span style="font-style: italic;">1</span>) <span style="font-weight: bold;">The complex syntax</span>:<br />come on how many people you know were able to understand the pointer of pointer of a function that takes a reference and a pointer in C++ from the first time :).<br />(<span style="font-style: italic;">2</span>) <span style="font-weight: bold;">The Language</span>:<br />by language we do not mean the programming language but the "English" language (even though it is becoming the universal language now, still lots of kids have problems in English learning it. (and come on who said programming must be in "English").<br /><br /><span style="font-weight: bold;">What UPL can do about that!</span><br />Well so what do UPL do exactly?<br />It is not the direct solution to the problem, but it is one of the keys to the solution. It is a simple engine where you can create your own programming language with your own syntax, and with the human language that you desire.<br /><br />The current version of UPL support a very simple syntax that is some how look like old quick basic. There is a language file where you can replace any keyword in the (English UPL) to any other keyword in any other language or any other word in English itself , for example the keyword “Declare” could be changed to “dim” to look like visual basic more, or it can be changed to “Aref” the Arabic word the means declare, or even you can write in Arabic writing, French , Japanese, and like that it gives endless choices of creating your own language.<br /><br />What happens inside the upl Editor is what ever syntax you are using it will be translated to the <s><span lang="FR-ML">English up</span></s><s><span style=""> and then again the English upl is translated into JAVA<o:p></o:p></span></s> (in the current version the algorithim is updated to change any syntax to Java directly) and finally java file is produced compiled and executed.<br /><br /><span style="font-weight: bold;">the syntax of current English UPL is very simple:</span><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://2.bp.blogspot.com/_O0z0UIqoXjA/R68i8bNngTI/AAAAAAAAABk/VLy8G5Tq3F8/s1600-h/upl1.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://2.bp.blogspot.com/_O0z0UIqoXjA/R68i8bNngTI/AAAAAAAAABk/VLy8G5Tq3F8/s320/upl1.JPG" alt="" id="BLOGGER_PHOTO_ID_5165385719109615922" border="0" /></a><br /><span style="font-weight: bold;"><br /><br /><br /><br /></span><br /><span style="font-weight: bold;"><br /><br /></span><br /><span style="font-weight: bold;"><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /></span><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_O0z0UIqoXjA/R68i8rNngUI/AAAAAAAAABs/qRn9sKJXuwg/s1600-h/upl2.JPG"><img style="margin: 0pt 10px 10px 0pt; float: left; cursor: pointer;" src="http://3.bp.blogspot.com/_O0z0UIqoXjA/R68i8rNngUI/AAAAAAAAABs/qRn9sKJXuwg/s320/upl2.JPG" alt="" id="BLOGGER_PHOTO_ID_5165385723404583234" border="0" /></a><br /><span style="font-weight: bold;"><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><a href="http://sourceforge.net/project/showfiles.php?group_id=210899">download</a><br /><br />UPL in action(Future)</span><br />Well yes it is not in action yet (well it is still alpha, still it don’t have loops,still … , ….,….) but lets talk about future , what UPL can do when it gets into action. So lets see some possible futures for upl:<br /><span style="font-weight: bold;">1- Engine for creating lots of educational programming language syntax </span>in different human language scripts (English , French, japanease, ….).<br /><span style="font-weight: bold;"><br />2- The same engine mentioned before could be use to make programming look more like story writing for kids </span>(I mean after a lot of modifications) a kid will be able to write some kind of story and clicking on run will show him the story happening infront of him ( well we will need to use graphical libraries for doing so).<br /><span style="font-weight: bold;"><br />3- Visual animated programming ( <span style="font-style: italic;">ummm imagine this </span>)</span> : a kid opens a software he drags an icon of a hummer with declare written on it then he writes “x=12” , next he will drag an icon of wondering rabbit that have if written between it ears and write “x>10”, and continue programming in this way. We can see this drag and drop will create may be html document, and there will be a translation file from that kind of html into the English upl which will be automatically translated to java and run.<div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-3026902604421731019?l=www.omandev.net'/></div>Ali Hassan Al Lawatihttp://www.blogger.com/profile/09288347048236299519noreply@blogger.com3tag:blogger.com,1999:blog-3404749283325335239.post-83531253023580269662007-11-29T20:49:00.000+04:002007-11-29T20:52:06.192+04:00Comparison between Macromedia Dreamweaver and other web editors<a href="http://1.bp.blogspot.com/_WfzX_ygBu1A/R07uJAjUdKI/AAAAAAAAAAY/SJBWCzBM2eM/s1600-h/fdsfdf.JPG"><img id="BLOGGER_PHOTO_ID_5138306063410689186" style="FLOAT: left; MARGIN: 0px 10px 10px 0px; CURSOR: hand" alt="" src="http://1.bp.blogspot.com/_WfzX_ygBu1A/R07uJAjUdKI/AAAAAAAAAAY/SJBWCzBM2eM/s200/fdsfdf.JPG" border="0" /></a><br /><div><strong>Macromedia Dreamweaver is one of the greatest web editors. This is recommended by professional web developers because of its High-ability to treat with different web environments. The program provides many features by compare with other applications.</strong><br /><br />1) Advanced file manger support local and remote file environments<br />2) Integrating system support many web servers<br />3) Full support for Macromedia Applications<br />4) Possibility to treat with different objects types on the web page<br />5) Support for all (old &amp; new) standards like XHTML<br />6) Internal reference for web programming languages<br />7) Advanced control for CSS Tech.<br />8) Sophisticated Database Connection manger<br />9) Ability to create SQL statements<br />10) Java Script Library for common procedures<br />11) High ability to customize forms<br />12) Easy code editor<br />13) Apply visual effects for some server-side languagesMulti-Project Management System</div><div class="blogger-post-footer">------------------------------------------------------ omandev.net English feed<img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/3404749283325335239-8353125302358026966?l=www.omandev.net'/></div>Hatem Aamrihttp://www.blogger.com/profile/12215230133080067232noreply@blogger.com0