tag:blogger.com,1999:blog-364062032008-11-21T11:26:14.933+03:30danrah.comdanrah!Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.comBlogger106125tag:blogger.com,1999:blog-36406203.post-32282398090883922872008-10-09T14:07:00.000+03:302008-10-09T14:10:33.689+03:302008-10-09T14:10:33.689+03:30Yet standing!Extremely hard! I could not imagine how college can be that hard in my country.<br>I don't mean the subjects but the mental pressure that I'm facin'. All friends are studing as much as 10 hours a day. But I, only 2 hours!Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com2tag:blogger.com,1999:blog-36406203.post-38567884192654834882008-10-02T20:00:00.001+03:302008-11-06T21:01:05.117+03:302008-11-06T21:01:05.117+03:30Spiritual Dumbness!Differential Calculus, physics & English.<br />The first day started with all these junks. Getting ready for the university entrance exam , I should choose a new lifestyle because in addition to the hardness of the exam itself, the competition is extremely ubiquitous.<br />I don't think about an option other than software engineering because I have really felt in love with that already. Yes, there are other subjects that I like but I cant select them such as politics & literature.<br />But there are some important obstacles that make me not to study such as my recent projects . But I plan to complete them and stick on that nonsense. Damn!Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0tag:blogger.com,1999:blog-36406203.post-65718881585644634552008-08-10T19:36:00.005+04:302008-09-03T18:49:53.684+04:302008-09-03T18:49:53.684+04:30Haj Morteza (Ali) Gharavian-حاج مرتضی (علی) غرویانHaj Morteza (Ali) Gharavian passed away at 14:45 on August 6, 2008 in the I.C.U of 22-Bahman hospital in Nishapur.<br /><br />Related Links:<div><p class="MsoNormal"><a href="http://www.sobhe-neyshaboor.com/content/view/471/82/">http://www.sobhe-neyshaboor.com/content/view/471/82/</a><br /></p><div><a href="http://www.qudsdaily.com/archive/1387/html/5/1387-05-20/page14.html">http://www.qudsdaily.com/archive/1387/html/5/1387-05-20/page14.html</a><br /></div><div><p class="MsoNormal"><a href="http://www.mums.ac.ir/relations/fa/mordad87">http://www.mums.ac.ir/relations/fa/mordad87</a><br /></p><div><a href="http://www2.irna.ir/01/news/view/line-147/8705199893124304.htm">http://www2.irna.ir/01/news/view/line-147/8705199893124304.htm</a><br /></div></div><p class="MsoNormal"><a href="http://www.kayhannews.ir/870520/3.HTM#other309">http://www.kayhannews.ir/870520/3.HTM#other309</a><br /></p><p class="MsoNormal"><a href="http://sanaei.blogfa.com/post-155.aspx">http://sanaei.blogfa.com/post-155.aspx</a> (with picture)</p><p class="MsoNormal"><a href="http://truelife.blogfa.com/post-106.aspx">http://truelife.blogfa.com/post-106.aspx</a></p><p class="MsoNormal"><a href="http://zaminekhaki.blogfa.com/post-7.aspx">http://zaminekhaki.blogfa.com/post-7.aspx</a></p><p class="MsoNormal"></p><p class="MsoNormal"><a href="http://www.jomhourieslami.com/1387/13870519/13870519_jomhori_islami_05_shahrestan.HTML">http://www.jomhourieslami.com/1387/13870519/13870519_jomhori_islami_05_shahrestan.HTML</a><br /></p><div><a href="http://2niayeman.blogfa.com/post-36.aspx">http://2niayeman.blogfa.com/post-36.aspx</a><br /></div><p></p><p class="MsoNormal"><a href="http://pjshargh.blogfa.com/post-8.aspx">http://pjshargh.blogfa.com/post-8.aspx</a><br /></p><p class="MsoNormal"><a href="http://www.ghatreh.com/press/cat-9-10-50.html">http://www.ghatreh.com/press/cat-9-10-50.html</a><br /></p><p class="MsoNormal"><a href="http://www.spac.ir/hoghoghi/index-2-3.htm">http://www.spac.ir/hoghoghi/index-2-3.htm</a><br /></p><p class="MsoNormal"><a href="http://www.hamshahrionline.ir/News/?id=23782">http://www.hamshahrionline.ir/News/?id=23782</a><br /></p><p class="MsoNormal"><a href="http://www.afarineshdaily.ir/afarinesh/Article.aspx?AID=2981">http://www.afarineshdaily.ir/afarinesh/Article.aspx?AID=2981</a><br /></p><p class="MsoNormal"><a href="http://khayyamy.persianblog.ir/">http://khayyamy.persianblog.ir/</a><br /></p><p class="MsoNormal"><a href="http://www.hvm.ir/lawdetailnews.asp?id=37887">http://www.hvm.ir/lawdetailnews.asp?id=37887</a><br /></p><p class="MsoNormal"><a href="http://www.ibna.ir/vdciyyaz.t1ayy2bcct.html">http://www.ibna.ir/vdciyyaz.t1ayy2bcct.html</a><br /></p></div>Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com2tag:blogger.com,1999:blog-36406203.post-21292506310596229582008-08-07T23:17:00.001+04:302008-08-10T19:47:34.421+04:302008-08-10T19:47:34.421+04:30And He WentAnd he went to a place better than here....<br /><div style="text-align: right;"><br />و او رفت به جایی بهتر از این جا...ـ<br />و راح إلی م<span dir="rtl">كانة أفضل من هنا....<br /></span></div><br /><br /><a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_VpFdebajGYw/SJtDf1iC8WI/AAAAAAAAAFE/4VenxOFP8Cc/s1600-h/Wa_Bashir_al_Sabirin.jpg"><br /></a>Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com1tag:blogger.com,1999:blog-36406203.post-66847335063905536132008-08-06T14:43:00.002+04:302008-08-06T14:56:08.411+04:302008-08-06T14:56:08.411+04:30A cup of tea(Zen Story No.1) --یک استکان چای (داستان شماره یک ذن)ـ<a onblur="try {parent.deselectBloggerImageGracefully();} catch(e) {}" href="http://3.bp.blogspot.com/_VpFdebajGYw/SJl7k9EI7MI/AAAAAAAAAE8/aIX29W8ysdQ/s1600-h/japan_tea.jpg"><img style="margin: 0px auto 10px; display: block; text-align: center; cursor: pointer;" src="http://3.bp.blogspot.com/_VpFdebajGYw/SJl7k9EI7MI/AAAAAAAAAE8/aIX29W8ysdQ/s320/japan_tea.jpg" alt="" id="BLOGGER_PHOTO_ID_5231348316964973762" border="0" /></a><br />Nan-in, a Japanese master during the Meiji era (1868-1912), received a university professor who came to inquire about Zen.<br />Nan-in served tea. He poured his visitor's cup full, and then kept on pouring.<br />The professor watched the overflow until he no longer could restrain himself. "It is overfull. No more will go in!"<br />"Like this cup," Nan-in said, "you are full of your own opinions and speculations. How can I show you Zen unless you first empty your cup?"<br /><hr /><br /><div style="text-align:right;">نانین، استاد ژاپنی در دوره ميجی، يکی از استادان دانشگـاه را که می خواست از او در مورد ذن سوالاتی بپرسد، را پذیرفت، پس از زمانی مباحثه، نانین چای را در استکان مهمان خود سرازير کرد و همانطور به ریختن ادامه داد، استاد دانشگاه که استکان چای را در حال سرازير شدن می ديد نتوانست ساکت بماند و گفت: "استکان پر شده است، ديگر جايی ندارد"، نانین به او گفت: همانند اين استکان، تو نیز از اعتقادات و تفکرات خویش پر شده ای، اگر ابتدا استکان خویش را خالی نکنی، چگونی توانم ذن را به تو نشان دهم؟</div>Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com1tag:blogger.com,1999:blog-36406203.post-78868815751073058842008-08-06T11:56:00.002+04:302008-08-06T11:59:04.150+04:302008-08-06T11:59:04.150+04:30How to Eat a PomegranateA nice blog post about how to eat a pomegranate. That's fantastic!<br /><a href="http://emptyage.honan.net/mth/2007/10/how-to-eat-a-po.html" target="_blank">see</a>Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0tag:blogger.com,1999:blog-36406203.post-23646785607565129602008-08-06T11:18:00.003+04:302008-08-06T11:30:10.453+04:302008-08-06T11:30:10.453+04:30Wikipedia, the Addictive DrugThe most addictive drug I've ever seen is definitely en.Wikipedia.com . If you get into the business of wikipediaing!!!(the verb i thought coined today but later realized that it is present.<a href="http://en.wiktionary.org/wiki/Wikipediaing" target="_blank">See</a>), you'll find yourself stuck on that.<br />If you have not joined the wikipedia editors community, Do It Today.You'll love it.Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0tag:blogger.com,1999:blog-36406203.post-34286260938894155882008-08-01T19:21:00.004+04:302008-08-02T15:22:26.075+04:302008-08-02T15:22:26.075+04:30حرکت جدید<div dir="rtl" style="text-align: right;">تا به حال چندین بار وبلاگ درست کردم و آن را در گوشه ای وانهادم. از طرفی دوست داشتم به انگلیسی بنویسم و از طرف دیگر زبان نامادری مشکلات خاص خویش را دارد.نتیجه وبلاگی شد که تنها به زبان نامادری است و سال به سال به روز نمی شود.<br />از امروز و با مدد جستن از نظری که دخیل بودن کورش کبیر را در این وبلاگ محتمل دانسته بود، تصمیم بر آن شد که تابوی بلاگر را بشکنم و به فارسی نیز بنویسم.</div>Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com2tag:blogger.com,1999:blog-36406203.post-1730077349472770612008-06-14T22:42:00.001+04:302008-06-25T15:38:00.275+04:302008-06-25T15:38:00.275+04:30I think I should do it!<p class="MsoNormal">After almost six months, I decided to write in my diary. I am doing it because I read “la nausée” by Jean Paul Sartre where Antoine Roquentine declares a good diary as an essential part of everyday life!</p> <p class="MsoNormal">Yes, I am moving to a new paragraph as J.D. Salinger accentuates paragraphs and the importance of proper paragraphing! Today, we took chemistry exam, the last of the final exams. There are two more non-final exams that their grades are not used as a criterion for university entrance: Computer and History. Today, I found out the damned essence of NH3 when dissolves in water and creates a weak electrolyte and not a non-electrolyte. Damn! Damn! Damn! </p> <p class="MsoNormal">After the exam, three of the schoolmates and I went to drink something. I wonder why I ordered “carrot juice and ice cream” while I liked to drink a cool non-alcoholic beer. I do not know why I did that. Maybe because I <b>think</b> that I <b>should</b> order carrot juice and ice cream whenever I can make a selection (It is exactly like when I order hotdogs while I like hamburgers). The drink was good and refreshing, incidentally! </p>Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com3tag:blogger.com,1999:blog-36406203.post-8980583707120018102008-05-06T20:07:00.001+04:302008-05-06T20:07:38.352+04:302008-05-06T20:07:38.352+04:30Theocracy, Ups and DownsAs we look over our daily life, we see there are many interesting subjects to blog about. Personally, for me, there are many subjects per day. However, sometimes, it is hard to get yourself on computer and write. Today, I could finally do it and write about a subject that I wanted to write about for a couple of weeks: Theocracy. <p class="MsoNormal">First, let us inspect the definition of Theocracy. Theocracy is originated from the Greek word Theokratia. It refers to a system of government ruled by religious officials in the name of God or a god.</p> <p class="MsoNormal">The important point, surely, is that Theocracy does not occur when there is a religious government but occurs when “Religious Officials” rule the government.</p> <p class="MsoNormal">Apparently, there are some downwards with this type of government, especially in the modern eras.</p> <p class="MsoNormal">Let me clarify the subject by giving some examples. If a theocratic government believes itself to be <b>originated </b>from God, having assigned <b>divinity</b>, it is clear that the main point and the root of this government are disputed. Because all of important religions believe there is not a direct representative of God in the earth. For example, in Christianity, Messiah is not present now. Moreover, in Islam, Mahdi is not obviously among Muslims. </p> <p class="MsoNormal">About two or three weeks ago, I went to Barack Obama’s website and downloaded a PDF. In a part of that document, there were some notes about separation of church and state. It was saying that when the church and state are not separated, then there would be some politic works in the name of religion, thus, affecting the divinity of religions.</p> <p class="MsoNormal">I do not want to write about secularism or separation of church and state in this post. By mentioning that document, I just wanted to give an example to clarify that whether intentionally or not, <b>when there is not a direct representative of God, </b>there would be some misuses from behind irresponsible and pretentious politicians.</p> <p class="MsoNormal">Consequently, I believe that Theocracy would not answer in the modern world but there should be strict religious adherence and respect towards religion among politicians. In addition, I should mention that in some countries such as <st1:country-region st="on">Sweden</st1:country-region> or <st1:country-region st="on"><st1:place st="on">China</st1:place></st1:country-region>, in which more than 80 percent of people are irreligious, subsequently, the above method (adherence and respect) does not work.</p> <p class="MsoNormal"><o:p> </o:p></p>Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0tag:blogger.com,1999:blog-36406203.post-61908610484711422312008-02-25T20:09:00.002+03:302008-05-10T23:57:42.721+04:302008-05-10T23:57:42.721+04:30KToolbar is Removed from Wireless Toolkit<p class="MsoNormal" dir="ltr" style="text-align: left; direction: ltr; unicode-bidi: embed;"><span style="">After a couple of months delay, I decided to start blogging again. Today I want to write about KToolbar.<o:p></o:p></span></p> <p class="MsoNormal" dir="ltr" style="text-align: left; direction: ltr; unicode-bidi: embed;"><span style="">What is KToolbar? KToolbar was (!) a part of Sun Java™ Wireless Toolkit for CLDC. We used to compile and test our MIDP applications by KToolbar. As far as I know, KToolbar was present until before the release of WTK 2.5.2. When I downloaded the latest version of WTK, I realized that the lovely KToolbar is REMOVED from WTK! Actually they simply renamed KToolbar to "Wireless Toolkit".<o:p></o:p></span></p> <p class="MsoNormal" dir="ltr" style="text-align: left; direction: ltr; unicode-bidi: embed;"><span style="">Following the change of J2SE to Java SE, J2EE to Java EE and J2ME to Java ME, They removed the odd-named KToolbar. I think that Sun is simplifying the names of its products in order to become more community-applicable. <o:p></o:p></span></p> <p class="MsoNormal" dir="ltr" style="text-align: left; direction: ltr; unicode-bidi: embed;"><span style="">Recently, I felt in love with politics. So I'll write more about politics soon.<o:p></o:p></span></p>Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0tag:blogger.com,1999:blog-36406203.post-52665014739267148162007-08-11T18:55:00.002+03:302008-05-06T06:14:12.485+04:302008-05-06T06:14:12.485+04:30Reference vs. Instance variables in javaJava is a mature language, so posting an article about it would not make sense. However,<br /><br />Imagine you have following two classes:<br /><br /><span style="font-family:courier new,monospace;">public class TheParent{</span> <span style="font-family:courier new,monospace;">public doParentThing(){}</span> <span style="font-family:courier new,monospace;"> }</span> <span style="font-family:courier new,monospace;">public class TheChild extends TheParent{</span> <span style="font-family:courier new,monospace;">public doChildThing(){}<br />public doParentThing(){} //overrride </span><span style="font-family:courier new,monospace;">}</span><br /><br /><br />Ok, now lets instantiate TheChild :<br /><br />TheChild obj=new TheChild;<br /><br />it's ok to invoke two methods:<br />obj.doParentThing(); //TheChild version invokes<br />obj.doChildThing();<br /><br />now, instantiate it polymorphically:<br /><br />TheParent obj=new TheChild();<br /><br />if we try to invoke doChildThing() we get a compile error and when we invoke:<br /><br />obj.doParentThing();<br /><br />the TheChild's doParentThing() override invokes.<br /><br />This is true when we get a reference to an interface that the instance variable's class implement. in such a case, we can ONLY invoke the methods blueprinted by the interface.Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0tag:blogger.com,1999:blog-36406203.post-21696027380858104632007-08-11T17:45:00.001+03:302008-05-10T23:57:08.448+04:302008-05-10T23:57:08.448+04:30Changing the Foundation and a word about XMLAfter a long time, i could find some spare time and fix my website's problems. I changed the foundation of website to a XML based template system.<br /><br />Today, more and more companies are adopting XML. Software developers use xml instead of value-pair configuration files, web designers use XHTML instead of HTML, users now consume rss and atom feeds, blogging websites use XML templates instead of old, error prone HTML templates, organizations use SOAP to exchange data (which is XML-based), and large corporations encourage developers and users to include XML in their everyday life!<br /><br />XML is awesome. ;)Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0tag:blogger.com,1999:blog-36406203.post-90426635485230553452007-06-30T23:30:00.000+03:302007-06-30T23:32:17.935+03:302007-06-30T23:32:17.935+03:30GalleryYou can access my pictures gallery from the following link:<br /><a href="http://rahmanzadeh.info/gallery">http://rahmanzadeh.info/gallery</a>Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0tag:blogger.com,1999:blog-36406203.post-57587271104147663292007-06-30T22:56:00.000+03:302007-06-30T22:58:03.773+03:302007-06-30T22:58:03.773+03:30New ServerFinally, I moved to this server.<br />Thanks to my dear friend Ehsan.Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0tag:blogger.com,1999:blog-36406203.post-7647936343549878742007-06-12T22:05:00.000+03:302007-06-12T22:08:39.739+03:302007-06-12T22:08:39.739+03:30Starting J2meThe semester exams are nearly finishing and i can take a break for three months. I am about to start learning j2me.Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com1tag:blogger.com,1999:blog-36406203.post-21522046227654456102007-05-09T22:16:00.001+03:302007-05-09T22:16:59.501+03:302007-05-09T22:16:59.501+03:30Difficult issues in programmingSometimes, when we are learning a new subject, there are something that we can't understand at that time. <br>About three or four months ago,when i was still at web programming, i encountered such a subject in my learning process. I was about to create a template for oscommerce(a popular e-commerce cms. Friends at <a href="http://devnetworks.net">devnetworks.net</a> are creatin' a better equivalent for oscommerce called devenetstore. I am one of the group, but i'm an sleepin' member!!) but i couldn't figure out how. <br>When i was new to programming, I couldn't understand Exceptions immediately. The key to understand this difficult issues are the following steps:<br>1. break up<br>2.drink a hot tea<br>3.start a new subject<br>4.come back to the difficult subject after one or two weeks<br><br> Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0tag:blogger.com,1999:blog-36406203.post-21253833108537971482007-05-04T10:41:00.000+03:302007-05-04T10:42:00.852+03:302007-05-04T10:42:00.852+03:30Java....Another CupI'm Still proceeding with Sun's Java Tutorial. That's awesome.<br>I got netbeans. I like netbeans more than jbuilder but i believe that jbuilder is more pow'ful.<br><br> Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0tag:blogger.com,1999:blog-36406203.post-51509577114296736282007-04-30T23:00:00.001+03:302007-04-30T23:00:03.123+03:302007-04-30T23:00:03.123+03:30After a long timehmm, i couldn't update for a while. sorry. <br>I have started the java tutorial by Sun. I think that's a good point to start from. I bought borland jbuilder 2005 enterprise last night. Some developers say that netbeans is better than jbuilder but i haven't tried netbeans yet. downloading it right now... <br><br><br> Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0tag:blogger.com,1999:blog-36406203.post-84852685863177194092007-04-14T19:15:00.000+03:302007-04-14T19:16:31.876+03:302007-04-14T19:16:31.876+03:30CommentingI enabled commenting to this blog.Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com2tag:blogger.com,1999:blog-36406203.post-6471913066828935102007-04-14T14:51:00.000+03:302007-04-14T14:52:01.153+03:302007-04-14T14:52:01.153+03:30Goodbye PHPDear PHP,<br><br>I started learning you with no programming experience. Actually, I learned programming with you. I have a lot of memories with you. I remember the nights i spent doing projects with you. You gave me a lot of money too. <br>But now, I wanna leave you. Because i have learned you and i need a good programming language. I am switching to Java.<br>But you can be certain that i won't create web applications with jsp.<br><br>Love,<br>Danial <br> Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0tag:blogger.com,1999:blog-36406203.post-47878373311972471022007-04-03T20:48:00.001+03:302008-05-10T23:56:48.911+04:302008-05-10T23:56:48.911+04:30PHP Architecht's Guide To PHP Design Patterns Book ReviewFinally, I finished this book in the subject of design patterns. It helped me in the subject of design patterns. However, we can not compare it with Eric Gamma's book or Martin Fowler's. They are a must-read not only for every programmer, but for every computer engineer.<br />Jason Sweat (the author) put a great effort on this book. But TDD programming is overused. You can't get the most out of this book without knowing SimpleTest php|architect expressed this as a feature but in my opinion it is a weakness and not a feature.<br />UML diagrams are used reasonably and help the reader to understand the subject conceptually.<br />Appendix A, Pattern Quick Reference is very quick and efficient providing external sources and a brief description about each pattern.<br />The most important thing you should consider is that unfortunately you can not master design patterns just with reading a single book (Eric Gamma's book is an exception). You should implement the patterns in the real world with a good OOP language such as Java, C# or even PHP (PHP5 and not PHP4).<br />In my opinion and due to my experience, Factory Method, Singleton, Observer, Registry, MVC and Strategy play more important rules in programming than other programming languages.Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0tag:blogger.com,1999:blog-36406203.post-67478772412370232007-03-28T17:35:00.000+03:302007-03-28T17:39:23.618+03:302007-03-28T17:39:23.618+03:30Where are the Ebooks?Yes, I deleted all of the e books. There were about 110 e books . But i don't want my personal blog to become an e book repository. Additionally, this is illegal. So, i deleted all of them.<br />Now, I only publish my own articles and some other stuff.Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0tag:blogger.com,1999:blog-36406203.post-34668420165546980082007-03-25T13:46:00.000+03:302007-03-25T13:47:45.106+03:302007-03-25T13:47:45.106+03:30Fun Pic<img src="http://jokes4all.net/funpics/game_over.jpg" />Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0tag:blogger.com,1999:blog-36406203.post-69872783361916928222007-03-08T14:16:00.001+03:302007-03-08T14:16:52.127+03:302007-03-08T14:16:52.127+03:30Fun Pic<div style="text-align: center;"><img src="http://jokes4all.net/funpics/polar_bear_tv.jpg" /></div>Danialhttp://www.blogger.com/profile/05054292313922045406danrah@gmail.com0