<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Ahmet Sayar &#187; academic</title>
	<atom:link href="http://www.ahmetsayar.com/category/academic/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.ahmetsayar.com</link>
	<description>Personal Web Page</description>
	<lastBuildDate>Thu, 29 Apr 2010 20:40:35 +0000</lastBuildDate>
	
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
			<item>
		<title>Netbeans&#8217;de source code&#8217;dan UML diagramlari olusturma: (Nesneye Yonelik Programlama Dersi Icin)</title>
		<link>http://www.ahmetsayar.com/netbeansde-source-codedan-uml-diagramlari-olusturma-nesneye-yonelik-programlama-dersi-icin/</link>
		<comments>http://www.ahmetsayar.com/netbeansde-source-codedan-uml-diagramlari-olusturma-nesneye-yonelik-programlama-dersi-icin/#comments</comments>
		<pubDate>Thu, 29 Apr 2010 20:38:10 +0000</pubDate>
		<dc:creator>ahmet</dc:creator>
				<category><![CDATA[academic]]></category>
		<category><![CDATA[netbeans]]></category>

		<guid isPermaLink="false">http://www.ahmetsayar.com/?p=207</guid>
		<description><![CDATA[Soldaki &#8220;Projects&#8221; pan&#8217;den projenizin adi ustune sag tiklayip &#8220;Reverse Engineer&#8230;&#8221;i seciniz.
Acilan pencerede,
   (1) eger daha onceden yaratmis oldugunuz bir UML projesi varsa &#8220;Use Existing UML Project&#8221;i secniz.
   (2) eger daha onceden yaratmis oldugunuz bir UML projesi yoksa &#8220;Create New UML Project&#8221;i seciniz.
Sonra OK tusuna basiniz.
Yine &#8220;Projects&#8221; pan&#8217;de yukarida sectiginiz yada olusturdugunuz UML projesi altinda gidin, [...]]]></description>
			<content:encoded><![CDATA[<p>Soldaki &#8220;Projects&#8221; pan&#8217;den projenizin adi ustune sag tiklayip &#8220;Reverse Engineer&#8230;&#8221;i seciniz.<br />
Acilan pencerede,<br />
   (1) eger daha onceden yaratmis oldugunuz bir UML projesi varsa &#8220;Use Existing UML Project&#8221;i secniz.<br />
   (2) eger daha onceden yaratmis oldugunuz bir UML projesi yoksa &#8220;Create New UML Project&#8221;i seciniz.<br />
Sonra OK tusuna basiniz.</p>
<p>Yine &#8220;Projects&#8221; pan&#8217;de yukarida sectiginiz yada olusturdugunuz UML projesi altinda gidin, kendi proje isminizi goreceksiniz.</p>
<p>UML projesi altinda gordugunuz projenizin ismi uzerinde sag tiklayarak &#8220;Create Diagram From Selected Elements&#8230;&#8221;i seciniz.</p>
<p>Acilan pencereden &#8220;Class Diagram&#8221;i seciniz.</p>
<p>&#8220;Finish&#8221; butonun basarak isleminizi bitiriniz.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ahmetsayar.com/netbeansde-source-codedan-uml-diagramlari-olusturma-nesneye-yonelik-programlama-dersi-icin/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some hints making your life easier with Eclipse</title>
		<link>http://www.ahmetsayar.com/some-hints-making-your-life-easier-with-eclipse/</link>
		<comments>http://www.ahmetsayar.com/some-hints-making-your-life-easier-with-eclipse/#comments</comments>
		<pubDate>Sun, 12 Apr 2009 00:15:15 +0000</pubDate>
		<dc:creator>ahmet</dc:creator>
				<category><![CDATA[academic]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[eclipse java]]></category>

		<guid isPermaLink="false">http://www.ahmetsayar.com/?p=109</guid>
		<description><![CDATA[//========
Scrapbook: Funtions similar to JUnit test classes.
Creating Scrapbook page:
Right click on the project name + new + Other+ Java + JavaRun/Debug + Scrapbook Page
Examle: write down 2+2 and then Run+Inspect -&#62; see the answer
When you work on scrapbook page its default tools will be shown in toolbar.
You can also run Java statements without needing main [...]]]></description>
			<content:encoded><![CDATA[<p>//========<br />
Scrapbook: Funtions similar to JUnit test classes.</p>
<p>Creating Scrapbook page:<br />
Right click on the project name + new + Other+ Java + JavaRun/Debug + Scrapbook Page</p>
<p>Examle: write down 2+2 and then Run+Inspect -&gt; see the answer<br />
When you work on scrapbook page its default tools will be shown in toolbar.</p>
<p>You can also run Java statements without needing main function/statement.<br />
In order to run a java class or parts of it, you need to import the related package.<br />
select import package button and import the package</p>
<p>In order to run a specific part of java statement<br />
just select the code you want to run and select &#8220;execute the selected text&#8221; from Scrapbook toolbars.</p>
<p>//========<br />
Keep the seperate source folder for the test classes such as JUnit and scrapbook pages</p>
<p>To do this:<br />
File-new-source folder-name it &#8220;test&#8221;-finish<br />
we want test classes to  be in the same package as the classes to be tested</p>
<p>after creating test foulder, create a package with the same name in which there are classes to be tested.</p>
<p>Now lets create first JUnit test class:<br />
Right click on package-new-JUnit Test case-name it to class being tested_Test-<br />
You might need to add the path to the JUnit library&#8230;.</p>
<p>Class under test&#8217;e de test edilecek class ismini yaz</p>
<p>How to run JUnit test class:<br />
Run-Run As- JUnit Test</p>
<p>Not: you have to implement test methods before running actual tests. In other case, you will get error messages.</p>
<p> </p>
<p>//=======For Java<br />
Source + &lt;generate setters and getters methods&gt;<br />
Automatically creates get and set methods for all the predefined variables.<br />
//=========quick fix<br />
problems tabinda (asagida) problemin uzerinde right clik yap sec<br />
Ctrl+1 enable you to fix the problem in the edit page &#8211; during coding.<br />
//=======how to configure add/edit project&#8217;s build path<br />
right clik on the name of the project  &#8211; Build path &#8211; Configure Build path -<br />
//==========Object initialization in shortcut<br />
Write &#8220;New&#8221; then Ctrl+spacebar, then update the Object&#8217;s type and name.<br />
//==========creating main method in shortcut<br />
Write &#8220;main&#8221; then Ctrl+spacebar</p>
<p>//===========System.out in shortcut<br />
after writing the text/statement to be displayed, highlight it and then Ctrl+Spacebar<br />
//========== creating jar from the source files<br />
File-export-Java-Jar file</p>
<p> </p>
<p>//============Importing a project<br />
Since eclipse is based on standards we can work on any project developed by someone else<br />
File-Import-General-Existing projects into Workspace-(select archive file)-open<br />
//==========How to open multiple files at once<br />
Select the files from the project pane and then drag&amp;drop in to the edit pane.<br />
//======finding out the places where commands are defined or set<br />
Ctrl+3<br />
ex. write Web Services and see all the related settings wizards and etc.</p>
<p>It is a very handy way to quickly find commands, menu choces or resources.<br />
//=============Keyboard shurtcuts<br />
Window-preferences-Keys<br />
OR<br />
Ctrl+Shift+L : keyboard shurtcut key assist<br />
ex.<br />
Ctrl+S  Save the document<br />
Ctrl+F : Find / replace<br />
CTRL+Space : yardimci menuyu acar kelimeyi tamamlamak icin<br />
Ctrl+D: Delete the current line<br />
Ctrl+Shift+Delete:<br />
Ctrl+Z: Undo<br />
Ctrl+right: move to the next word<br />
Ctrl+left: move to the prev word<br />
Ctrl+Shift+right: add next word to selection<br />
Ctrl+Shift+left: add prev word to selection<br />
Ctrl+J: Incremental Find next<br />
Alt + /: word completion<br />
Ctrl_Shift+F: Format  &lt;default formats are defined in Windows-preferences. for ex. xml file: XML-XML Files-Editor&gt;</p>
<p>//=========Creating your own shurtcut<br />
Window-preferences-Keys-&lt;click on &#8220;include unbound comments&#8221;&gt;type binding<br />
//=====export/import preferences from one project to another</p>
<p>File-Export-preferences-browse to find/name a file- save</p>
<p>In new workspace<br />
File-import- browse file-open<br />
//=========Compare editor (comparing different versions of the same file)<br />
Right Click-Compare with-Local History-select one from the list<br />
left column shows the current version of the file<br />
Right column shows the earlier version of the file</p>
<p>Eclipse save our editing history automatically each time we save the file.<br />
/=========Compare editor (comparing different files)<br />
select the files from package explorer pane and then<br />
right clik and select compare with.. &#8211; each other<br />
//=======Bring back the deleted files<br />
Right click on the project name in package explorer<br />
select Restro from Local History<br />
then restore</p>
<p>//======================<br />
Use import and export with archive files to<br />
-share a project with anothe person or computer<br />
-take a snapshot of a project for later use</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ahmetsayar.com/some-hints-making-your-life-easier-with-eclipse/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Some Tools To Manage All Your Passwords</title>
		<link>http://www.ahmetsayar.com/some-tools-to-manage-all-your-passwords/</link>
		<comments>http://www.ahmetsayar.com/some-tools-to-manage-all-your-passwords/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 21:57:37 +0000</pubDate>
		<dc:creator>ahmet</dc:creator>
				<category><![CDATA[academic]]></category>
		<category><![CDATA[password]]></category>

		<guid isPermaLink="false">http://www.ahmetsayar.com/?p=43</guid>
		<description><![CDATA[The advent of Web 2.0 and the rise of social networking sites and other web services has compelled most of us to create dozens of new accounts &#8211; each requiring a username and a password.
While the easier option would be to maintain a single username and password for all your online accounts, it is not [...]]]></description>
			<content:encoded><![CDATA[<p>The advent of Web 2.0 and the rise of social networking sites and other web services has compelled most of us to create dozens of new accounts &#8211; each requiring a username and a password.</p>
<p>While the easier option would be to maintain a single username and password for all your online accounts, it is not advisable from a security point of view. Lack of strong passwords makes it easy for hackers to break into your accounts. Hence it is better to have a unique and strong password for every online account<span id="more-43"></span> you maintain.</p>
<p>And of course, it is very important to remember all those different passwords, which unfortunately, not everyone of us is capable of.</p>
<p><strong>Some tools to manage all your passwords:</strong></p>
<p><strong>* Keepass</strong><br />
Keepass is an excellent password manager which is free, open-source and available for all the platforms (for Mac and Linux, KeepassX is available). It only requires you to remember a single master password for all your passwords. It is also available as a portable app for mobile phones.</p>
<p><strong>* Roboform</strong><br />
Roboform for Windows is a robust password manager which also helps you easily fill web forms. It provides a browser extension for both IE and Firefox and also comes with a portable version. It is available for free with limited features. The pro version will set you back by $29.95.</p>
<p><strong>* Firefox</strong><br />
Firefox’s in-built password manager could be a good option too for managing your web passwords. There’s also an option to create a master password which you might want to do in case you want to add an extra layer of security to your passwords. Here is how you can do it.</p>
<p><strong>* Sxipper</strong><br />
Sxipper is an awesome Firefox extension which helps you to fill in forms, manage passwords and Open IDs. It helps you create separate identities for the purpose of filling in web forms and uses the Firefox’s in-built password manager to store all your passwords.</p>
<p><strong>* LastPass</strong><br />
LastPass has recently added some cool features and could well become the most popular password manager out there. It helps you to create strong passwords, manage them from anywhere and fill in web forms. It works as a browser add on and also offers to import passwords from other password managers. And it helps you use them on any public computer too.</p>
<p><strong>* Clipperz</strong><br />
Like LastPass, Clipperz is also an online password manager which not only stores passwords but also information like bank account numbers and credit card numbers. And as they mention, it uses very strong encryption technology to ensure that they themselves don’t come to know about your usernames and passwords.</p>
<p><strong>* Password Hasher</strong><br />
Password Hasher is a nice Firefox extension whose main task is to create strong passwords for you. It is simple to use and uses one master key to generate multiple passwords.</p>
<p><strong>* 1Password</strong><br />
And finally, we have the most popular password manager for Mac computers. 1Password is not free but works very well for Mac users and hence it is quite popular. It does what Roboform does for Windows and sports similar features. It also has a cool iPhone app which works great for iPhone/iPod touch users.</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ahmetsayar.com/some-tools-to-manage-all-your-passwords/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>How To Backup Your Data</title>
		<link>http://www.ahmetsayar.com/how-to-backup-your-data/</link>
		<comments>http://www.ahmetsayar.com/how-to-backup-your-data/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 21:50:44 +0000</pubDate>
		<dc:creator>ahmet</dc:creator>
				<category><![CDATA[academic]]></category>
		<category><![CDATA[backup]]></category>

		<guid isPermaLink="false">http://www.ahmetsayar.com/?p=41</guid>
		<description><![CDATA[In addition to using CD, USB Flash cards, DVDs and external hard drivers, you can also use the alternatives listed below:
Google Docs
Zoho
Windows backup restore center
]]></description>
			<content:encoded><![CDATA[<p>In addition to using CD, USB Flash cards, DVDs and external hard drivers, you can also use the alternatives listed below:</p>
<p><a href="http://docs.google.com/">Google Docs</a><br />
<a href="http://www.zoho.com/">Zoho</a><br />
<a href="http://www.microsoft.com/windows/windows-vista/features/backup.aspx">Windows backup restore center</a></p>
]]></content:encoded>
			<wfw:commentRss>http://www.ahmetsayar.com/how-to-backup-your-data/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Courtesy In Email Greetings</title>
		<link>http://www.ahmetsayar.com/courtesy-in-email-greetings/</link>
		<comments>http://www.ahmetsayar.com/courtesy-in-email-greetings/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 21:20:27 +0000</pubDate>
		<dc:creator>ahmet</dc:creator>
				<category><![CDATA[academic]]></category>
		<category><![CDATA[courtesy]]></category>
		<category><![CDATA[greetings]]></category>

		<guid isPermaLink="false">http://www.ahmetsayar.com/?p=29</guid>
		<description><![CDATA[Lets assume you know someone whose name is “John Smith”
Dear John
Dear Mr. Smith
Dear Professor Smith
Never call someone by their last name without a title
]]></description>
			<content:encoded><![CDATA[<p>Lets assume you know someone whose name is “John Smith”</p>
<p>Dear John<br />
Dear Mr. Smith<br />
Dear Professor Smith</p>
<p>Never call someone by their last name without a title</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ahmetsayar.com/courtesy-in-email-greetings/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>What Is Research ?</title>
		<link>http://www.ahmetsayar.com/what-is-research/</link>
		<comments>http://www.ahmetsayar.com/what-is-research/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 21:13:41 +0000</pubDate>
		<dc:creator>ahmet</dc:creator>
				<category><![CDATA[academic]]></category>
		<category><![CDATA[research]]></category>
		<category><![CDATA[researcher]]></category>

		<guid isPermaLink="false">http://www.ahmetsayar.com/?p=23</guid>
		<description><![CDATA[It could be useful to discuss “What is Research”. Some might think you talk to your adviser or similar experienced researcher, identify a vaguely interesting topic, write some  software, remove obvious bugs, do a performance measurement and write your thesis.
However this is not correct; whats described above is not research at all even if [...]]]></description>
			<content:encoded><![CDATA[<p>It could be useful to discuss “What is Research”. Some might think you talk to your adviser or similar experienced researcher, identify a vaguely interesting topic, write some  software, remove obvious bugs, do a performance measurement and write your thesis.</p>
<p>However this is not correct; whats described above is not research at all even if the software is incredible but rather producing an environment in which research can be performed. Research requires asking questions, querying the answers, refining questions and so on until new knowledge is obtained. Your software and studies gives you an advantage to ask and answer new questions. Note usually questions and answers are typically NOT identified upfront; they emerge from work.</p>
<p>Geoffrey C. Fox</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ahmetsayar.com/what-is-research/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Linux Commands In A Nut Shell For Advanced Users</title>
		<link>http://www.ahmetsayar.com/linux-commands-in-a-nut-shell-for-advanced-users/</link>
		<comments>http://www.ahmetsayar.com/linux-commands-in-a-nut-shell-for-advanced-users/#comments</comments>
		<pubDate>Mon, 16 Feb 2009 21:10:29 +0000</pubDate>
		<dc:creator>ahmet</dc:creator>
				<category><![CDATA[academic]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[linux commands]]></category>

		<guid isPermaLink="false">http://www.ahmetsayar.com/?p=21</guid>
		<description><![CDATA[[To give read and write permissions on a file biglist to all]
&#62;chmod a+rw fname
[killing a process]
&#62; kill prcNumber
[if the process refuses to be killed]
&#62; kill -9 prcnUmber
[To check your current quota and how much of it you have used]
&#62; quota -v
[To find out how much space is left on the fileserver]
&#62;df .
[Zipping a file]
&#62;gzip filename
[Displaying [...]]]></description>
			<content:encoded><![CDATA[<p>[To give read and write permissions on a file biglist to all]<br />
&gt;chmod a+rw fname</p>
<p>[killing a process]<br />
&gt; kill prcNumber<br />
[if the process refuses to be killed]<br />
&gt; kill -9 prcnUmber</p>
<p>[To check your current quota and how much of it you have used]<br />
&gt; quota -v</p>
<p>[To find out how much space is left on the fileserver]<br />
&gt;df .</p>
<p>[Zipping a file]<br />
&gt;gzip filename</p>
<p>[Displaying zipped file]<br />
&gt;zcat filename.gz</p>
<p>[Unzippiing a file]<br />
&gt;gunzip flename.gz</p>
<p>[To see the differences in two files]<br />
&gt;diff file1 file2</p>
<p>[To learn ip address of linux machine]<br />
&gt;nslookup gf12.ucs.indiana.edu</p>
<p>[Finding a file based on the name]<br />
&gt;find . -name “*.txt”</p>
<p>[Finding the files based on size]<br />
&gt;find . -size +1M</p>
<p>[Recall last command starting with xxx]<br />
&gt;!xxx</p>
<p>[You can increase the size of the history buffer by typing]<br />
set history=100</p>
<p>[Listing the environment variables]<br />
&gt;printenv</p>
<p>[Changing the password]<br />
&gt;passwd</p>
<p>IF PICO is not running in a system, use NONO !!!!!</p>
<p>[searching a text overall directory tree]<br />
find . -exec grep -l -i &#8216;the term u search&#8217; {} \;</p>
<p>[Active process searching]<br />
&gt;ps -ef | grep asayar</p>
<p>[System information]<br />
&gt;df</p>
<p>[scp -Secure Copy]<br />
&gt;scp servo@gf7.ucs.indiana.edu:/home/servo/wfs/run-wfs.sh .</p>
<p>[For cpu info]<br />
&gt;cat /proc/cpuinfo</p>
<p>[setting display]<br />
&gt;setenv DISPLAY ip=0.0</p>
<p>[list the running processes for asayar]<br />
&gt;ps -u asayar<br />
&gt;ps -fu asayar</p>
<p>[searching command]<br />
&gt;whereis [command_name]<br />
&gt;which [command_name]</p>
<p>[save the current directory]<br />
&gt;pshd .</p>
<p>[get the last saved directory]<br />
&gt;popd</p>
<p>[creating alies]<br />
&gt; alies dir=’ls’</p>
<p>[secure ftp connection]<br />
&gt;sftp asayar@xxx.xx.xx.edu</p>
<p>[secure shell connection]<br />
&gt;ssh asayar@xxx.xx.xx.edu</p>
<p>[info about disk]<br />
&gt;df: disk free<br />
&gt;du: disk usage<br />
&gt;du -s display total disk size</p>
<p>[getting info about Operating system]<br />
&gt;uname -a</p>
<p>[getting info about Memory]<br />
&gt;top</p>
<p>[info about active process of a user]<br />
&gt;ps -u user_name</p>
<p>[shows the active path]<br />
&gt;pwd</p>
<p>[display some parts of the file_name]<br />
&gt;head file_name<br />
&gt;head -20 file_name     first 20 lines<br />
&gt;tail file_name<br />
&gt;tail -30 file_name      last 30 lines</p>
<p>[create and empty file]<br />
&gt;touch</p>
<p>[word count of a file]<br />
&gt;wc file_name<br />
#of_lines #of_words  #of_characters</p>
<p>[how many users on the system]<br />
&gt;who</p>
<p>[zip and unzip commands]<br />
&gt;compress myout<br />
&gt;uncompress myout.z<br />
&gt;gzip myout<br />
&gt;gunzip myout.z<br />
&gt;gtar xvf xxx.tar.gz   :extracting tar file<br />
&gt;jar cvf myWar.war<br />
&gt;jar xvf myWar.war<br />
&gt;tar cvf concheck.tar *</p>
<p>&gt; cd /   : takes you to root</p>
<p>&gt;history   : all the commands</p>
<p>&gt;man &#8216;command_name&#8217;</p>
<p>&gt;echo s*   :all the files whose names start with s</p>
<p>&gt;setenv DISPLAY ip:0.0</p>
<p>&gt; find &#8216;path&#8217; -name &#8216;file_name&#8217;</p>
<p>kill -9 pronumber</p>
<p>ps -fu asayar<br />
ps -u asayar</p>
<p>ls &gt; myout.txt<br />
ls &gt;&gt; myout.txt</p>
]]></content:encoded>
			<wfw:commentRss>http://www.ahmetsayar.com/linux-commands-in-a-nut-shell-for-advanced-users/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>
