Wednesday, November 27, 2019

An introduction to the Delphi Language

An introduction to the Delphi Language Welcome to the sixth chapter of the FREE online programming course:A Beginners Guide to Delphi Programming.Before you start developing more sophisticated applications by using the RAD features of Delphi, you should learn the basics of the Delphi Pascal language. Delphi Language: tutorials Delphi language, a set of object-oriented extensions to standard Pascal, is the language of Delphi. Delphi Pascal is a high-level, compiled, strongly typed language that supports structured and object-oriented design. Its benefits include easy-to-read code, quick compilation, and the use of multiple unit files for modular programming. Heres a list of tutorials, an introduction to Delphi Pascal, that will help you learn Delphi Pascal. Each tutorial will help you to understand a particular feature of Delphi Pascal language, with practical and easy to understand code snippets. Object Pascal Variable Scope: now you see me, now you dont. Typed constantsHow to implement persistent values between function calls. LoopsRepeating operations in Object Pascal in Object Pascal in Object Pascal in Object Pascal. DecisionsMaking decisions in Object Pascal or NOT. Functions and ProceduresCreating user defined subroutines in Object Pascal. Routines in Delphi: Beyond the BasicsExtending Object Pascal functions and procedures with default parameters and method overloading. The basic layout of a Pascal/Delphi program. String Types in DelphiUnderstanding and managing string data types in Delphis Object Pascal. Learn about differences between Short, Long, Wide and null-terminated strings. Ordinal and Enumerated Data TypesExtend Delphis built-in types by constructing your own types. Arrays in Object PascalUnderstanding and using array data types in Delphi. Records in DelphiLearn about records, Delphis Pascal data structure that can mix any of Delphis built in types including any types you have created. Variant Records in DelphiWhy and when to use variant records, plus creating an array of records. Pointers in DelphiAn introduction to pointer data type in Delphi. What are pointers, why, when and how to use them. Writing and using recursive functions in Object Pascal.   Ã‚  Ã‚  Some exercises for you...Since this Course is an online course, there is much you can do to prepare for the next chapter. At the end of each chapter Ill try to provide several tasks for you to get more familiar with Delphi and the topics we discuss in the current chapter.   Ã‚  Ã‚  To the next chapter: A Beginners Guide to Delphi ProgrammingThis is the end of the sixth chapter, in the next chapter, well deal with more sophisticated articles on the Delphi language. A Beginners Guide to Delphi Programming: Next Chapter Sophisticated Delphi Pascal techniques for Beginners

Saturday, November 23, 2019

The Persian Empire of Ancient Iran

The Persian Empire of Ancient Iran Irans history as a nation of people speaking an Indo-European language did not begin until the middle of the second millennium B.C. Before then, Iran was occupied by peoples with a variety of cultures. There are numerous artifacts attesting to settled agriculture, permanent sun-dried- brick dwellings, and pottery-making from the sixth millennium B.C. The most advanced area technologically was ancient Susiana, present-day Khuzestan Province. By the fourth millennium, the inhabitants of Susiana, the Elamites, were using semipictographic writing, probably learned from the highly advanced civilization of Sumer in Mesopotamia (ancient name for much of the area now known as Iraq), to the west. Sumerian influence in art, literature, and religion also became particularly strong when the Elamites were occupied by, or at least came under the domination of, two Mesopotamian cultures, those of Akkad and Ur, during the middle of the third millennium. By 2000 B.C. the Elamites had become sufficiently unified to destroy the city of Ur. Elamite civilization developed rapidly from that point, and, by the fourteenth century B.C., its art was at its most impressive. Immigration of the Medes and the Persians Small groups of nomadic, horse-riding peoples speaking Indo-European languages began moving into the Iranian cultural area from Central Asia near the end of the second millennium B.C. Population pressures, overgrazing in their home area, and hostile neighbors may have prompted these migrations. Some of the groups settled in eastern Iran, but others, those who were to leave significant historical records, pushed farther west toward the Zagros Mountains. Three major groups are identifiablethe Scythians, the Medes (the Amadai or Mada), and the Persians (also known as the Parsua or Parsa). The Scythians established themselves in the northern Zagros Mountains and clung to a seminomadic existence in which raiding was the chief form of economic enterprise. The Medes settled over a huge area, reaching as far as modern Tabriz in the north and Esfahan in the south. They had their capital at Ecbatana (present-day Hamadan) and annually paid tribute to the Assyrians. The Persians were established in three areas: to the south of Lake Urmia (the tradional name, also cited as Lake Orumiyeh, to which it has reverted after being called Lake Rezaiyeh under the Pahlavis), on the northern border of the kingdom of the Elamites; and in the environs of modern Shiraz, which would be their eventual settling place and to which they would give the name Parsa (what is roughly present-day Fars Province). During the seventh century B.C., the Persians were led by Hakamanish (Achaemenes, in Greek), ancestor of the Achaemenid dynasty. A descendant, Cyrus II (also known as Cyrus the Great or Cyrus the Elder), led the combined forces of the Medes and the Persians to establish the most extensive empire known in the ancient world. By 546 B.C., Cyrus had defeated Croesus*, the Lydian king of fabled wealth, and had secured control of the Aegean coast of Asia Minor, Armenia, and the  Greek colonies  along the Levant. Moving east, he took Parthia (land of the Arsacids, not to be confused with Parsa, which was to the southwest), Chorasmis, and Bactria. He besieged and captured Babylon in 539 and released the Jews who had been held captive there, thus earning his immortalization in the Book of Isaiah. When he died in 529**, Cyruss kingdom extended as far east as the Hindu Kush in present-day Afghanistan. His successors were less successful. Cyruss unstable son, Cambyses II, conquered Egypt but later committed suicide during a revolt led by a priest, Gaumata, who usurped the throne until overthrown in 522 by a member of a lateral branch of the Achaemenid family, Darius I (also known as Darayarahush or Darius the Great). Darius attacked the Greek mainland, which had supported rebellious Greek colonies under his aegis, but as a result of his defeat at the  Battle of Marathon in 490  was forced to retract the limits of the empire to  Asia Minor. The Achaemenids thereafter consolidated areas firmly under their control. It was Cyrus and Darius who, by sound and farsighted administrative planning, brilliant military maneuvering, and a humanistic worldview, established the greatness of the Achaemenids and in less than thirty years raised them from an obscure tribe to a world power. The quality of the Achaemenids as rulers began to disintegrate, however, after the death of Darius in 486. His son and successor, Xerxes, was chiefly occupied with suppressing revolts in Egypt and Babylonia. He also attempted to conquer the Greek Peloponnesus, but encouraged by a victory at Thermopylae, he overextended his forces and suffered overwhelming defeats at Salamis and Plataea. By the time his successor, Artaxerxes I, died in 424, the imperial court was beset by factionalism among the lateral family branches, a condition that persisted until the death in 330 of the last of the Achaemenids, Darius III, at the hands of his own subjects. The Achaemenids were enlightened despots who allowed a certain amount of regional autonomy in the form of the satrapy system. A satrapy was an administrative unit, usually organized on a geographical basis. A satrap (governor) administered the region, a general supervised military recruitment and ensured order, and a state secretary kept official records. The general and the state secretary reported directly to the central government. The twenty satrapies were linked by a 2,500-kilometer highway, the most impressive stretch being the  royal road  from Susa to Sardis, built by command of Darius. Relays of mounted couriers could reach the most remote areas in fifteen days. Despite the relative local independence afforded by the satrapy system, however, royal inspectors, the eyes and ears of the king, toured the empire and reported on local conditions, and the king maintained a personal bodyguard of 10,000 men, called the Immortals. The language in greatest use in the empire was Aramaic. Old Persian was the official language of the empire but was used only for inscriptions and royal proclamations. Darius revolutionized the economy by placing it on a silver and gold coinage system. Trade was extensive, and under the  Achaemenids  there was an efficient infrastructure that facilitated the exchange of commodities among the far reaches of the empire. As a result of this commercial activity, Persian words for typical items of trade became prevalent throughout the  Middle East  and eventually entered the English language; examples are, bazaar, shawl, sash, turquoise, tiara, orange, lemon, melon, peach, spinach, and asparagus. Trade was one of the empires main sources of revenue, along with agriculture and tribute. Other accomplishments of Dariuss reign included codification of the data, a universal legal system upon which much of later Iranian law would be based, and construction of a new capital at Persepolis, where vassal states would offer their yearly tribute at the festival celebrating the spring equinox. In its art and architecture, Persepolis reflected Dariuss percept ion of himself as the leader of conglomerates of people to whom he had given a new and single identity. The Achaemenid art and architecture found there is at once distinctive and also highly eclectic. The Achaemenids took the art forms and the cultural and religious traditions of many of the ancient Middle Eastern peoples and combined them into a single form. This Achaemenid artistic style is evident in the iconography of Persepolis, which celebrates the king and the office of the monarch. Envisioning a new world empire based on a fusion of Greek and Iranian culture and  ideals,  Ã¢â‚¬â€¹Alexander the Great  of Macedon accelerated the disintegration of the Achaemenid Empire. He was first accepted as leader by the fractious Greeks in 336 B.C. and by 334 had advanced to Asia Minor, an Iranian satrapy. In quick  succession,  he took Egypt, Babylonia, and then, over the course of two years, the heart of the  Achaemenid EmpireSusa, Ecbatana, and Persepolisthe last of which he burned. Alexander married Roxana (Roshanak), the daughter of the most powerful of the Bactrian chiefs (Oxyartes, who revolted in present-day Tadzhikistan), and in 324 commanded his officers and 10,000 of his soldiers to marry Iranian women. The mass wedding, held at Susa, was a model of Alexanders desire to consummate the union of the Greek and Iranian peoples. These plans ended in 323 B.C., however, when Alexander was struck with fever and died in Babylon, leaving no heir. His empire was d ivided among four of his generals. Seleucus, one of these generals, who became ruler of Babylon in 312, gradually reconquered most of Iran. Under Seleucuss son, Antiochus I, many Greeks entered Iran, and Hellenistic motifs in art, architecture, and urban planning became prevalent. Although the Seleucids faced challenges from the  Ptolemies of Egypt  and from the growing power of Rome, the main threat came from the province of Fars (Partha to the Greeks). Arsaces (of the seminomadic Parni tribe), whose name was used by all subsequent Parthian kings, revolted against the Seleucid governor in 247 B.C. and established a dynasty, the Arsacids, or Parthians. During the second century, the Parthians were able to extend their rule to Bactria, Babylonia, Susiana, and Media, and, under Mithradates II (123-87 B.C.), Parthian conquests stretched from India to Armenia. After the victories of Mithradates II, the Parthians began to claim descent from both the Greeks and the Achaemenids. They spoke a language similar to that of the Achaemenids, used the Pahlavi script, and established an administrative system based on Achaemenid precedents. Meanwhile, Ardeshir, son of the priest Papak, who claimed descent from the legendary hero Sasan, had become the Parthian governor in the Achaemenid home province of Persis (Fars). In A.D. 224 he overthrew the last Parthian king and established the Sassanid dynasty, which was to last 400 years. The Sassanids established an empire roughly within the frontiers achieved by the Achaemenids  [c, 550-330 B.C.;  with the capital at Ctesiphon. The Sassanids consciously sought to resuscitate Iranian traditions and to obliterate Greek cultural influence. Their rule was characterized by considerable centralization, ambitious urban planning, agricultural development, and technological improvements. Sassanid rulers adopted the title of shahanshah (king of kings), as sovereigns over numerous petty rulers, known as  shahrdars. Historians believe that society was divided into four classes: the priests, warriors, secretaries, and commoners. The royal princes, petty rulers, great landlords, and priests together constituted a privileged stratum, and the social system appears to have been fairly rigid. Sassanid rule and the system of social stratification were reinforced by Zoroastrianism, which became the state religion. The Zoroastrian priesthood became immensely powerful. The head of the priestly class, the  mobadan  mobad, along with the military commander, the  eran  spahbod, and the head of the bureaucracy, were among the great men of the state. Rome, with its capital at  Constantinople, had replaced Greece as Irans principal Western enemy, and hostilities between the two empires were frequent. Shahpur I (241-72), son and successor of Ardeshir, waged successful campaigns against the Romans and in 260 even took the emperor Valerian prisoner. Chosroes I (531-79), also known as Anushirvan the Just, is the most celebrated of the Sassanid rulers. He reformed the tax system and reorganized the army and the bureaucracy, tying the army more closely to the central government than to local lords. His reign witnessed the rise of the  dihqans  (literally, village lords), the petty landholding nobility who were the backbone of later Sassanid provincial administration and the tax collection system. Chosroes was a great builder, embellishing his capital, founding new towns, and constructing new buildings. Under his auspices, too, many books were brought from India and translated into Pahlavi. Some of these later found their way into the literature of the Islamic world. The reign of Chosroes II (591-628) was characterized by the wasteful splendor and lavishness of the court. Toward the end of his  reign  Chosroes IIs power declined. In renewed fighting with the Byzantines, he enjoyed initial successes, captured Damascus, and seized the Holy Cross in Jerusalem. But counterattacks by the Byzantine emperor Heraclius brought enemy forces deep into Sassanid territory. Years of warfare exhausted both the Byzantines and the Iranians. The later Sassanids were further weakened by economic decline, heavy taxation, religious unrest, rigid social stratification, the increasing power of the provincial landholders, and a rapid turnover of rulers. These factors facilitated the Arab invasion in the seventh century. Data as of December 1987Source: Library of Congress Country Studies Corrections *Jona Lendering  points out that a 547/546 date for the fall of Croesus is based on the  Nabonidus Chronicle  whose reading is uncertain. Rather than  Croesus  it may have been the ruler of Uratu. Lendering says the fall of Lydia should be listed as the 540s. **He also advises that cuneiform sources start to mention Cambyses as sole ruler in August 530, so the date of his death the following year is wrong.

Thursday, November 21, 2019

International War on Drugs Research Paper Example | Topics and Well Written Essays - 2500 words

International War on Drugs - Research Paper Example It is evidently clear from the discussion that the international war on drugs is a noble exercise that has been very controversial. However, the exercise has received mixed reactions and criticisms from various quotas, with some experts, on one hand, advocating that the exercise continues since it has attained tremendous objectives, while on the other hand, others argue that it has not been successful in reducing the illegal drug production, distribution, and consumption, but has only been successful in breaking ties between participating nations. In this regard, this research paper will unearth the benefits of the international war on drugs. Additionally, the paper will highlight the negative impacts of the war as well as whether the whole exercise has had adverse effects on international relationships between governments. In this paper I ask; is the international war on drugs been beneficial? Have there been economic benefits from both the illegal trade on drugs as well as the conf lict generated between participating nations? The Harrison Narcotics Tax Act of 1914 was the first law in the United States that restricted the distribution and usage of certain drugs. Moreover, the United States implemented the National Prohibition Act together with the 18th Amendment in 1920. These laws prohibited the trade, manufacture, and transportation of alcoholic drinks for national level consumption. Consequently, the Federal Bureau of Narcotics was established in the Department of the Treasury in 1930. In 1933, the U.S saw the federal repeal the alcohol prohibition Act. Although President Nixon coined the term War on Drugs in 1971, the United States government, still under President Nixon, had implemented drug policies under the Comprehensive Drug Abuse Prevention and Control Act of 1970, a continuation of drug prohibition policies that had started in 1914 in the U.S.

Tuesday, November 19, 2019

Management Essay Example | Topics and Well Written Essays - 250 words - 27

Management - Essay Example This is a motivational approach with significant gain on its overall governance performance. On the side of service delivery, such a conducive working environment has significantly boosted the spirit of the staff to deliver quality services. According to the customer feedback data, it can be seen that efficiency and reliability characterize the company in as far as its interaction and relationship with customers is concerned. In regard to past the past accident that involved the company’s train in 2005, there has been significant change approaches to address any possibility of a similar scenario (Schaeffer 36). This has been incorporate to organization culture that emphasizes human welfare above profit maximization motive. Communication among departments is considered critical in co-ordination of various activities to ensure consistency in service delivery. This boosts the overall interpersonal relations within the workforce hence improved productivity. The company has a strong customer care services and this promotes its image and public relations. This is critical management principle that emphasizes use of communication to facilitate efficiency in the organization

Sunday, November 17, 2019

Meaning of Life and Dad Essay Example for Free

Meaning of Life and Dad Essay The most influential person in my life is my dad. The reason why my dad is the most influential person to me is because he is my dad. My dad has been their for me since day 1. He always had my back through everything no matter how much fights we get into he will always be hear for me. My dad always wants to see me succeed in life he doesn’t want to see me fail. He inspires me in so many different way of what he does. A couple of examples of how my dad inspires me is he always helps me through everything he never let me down. He always told me to stand high and never give up on my dreams he was the one who pushed me to succeed to the person who I am now my dad has always been their for me and he will always have my back. He is my hero! My dad is such a hard working man he always told me to get a good job in this economy because you cant go no where in life without a good gob or a good degree in something. Growing up, my father taught me many valuable lessons, specifically to be kind to everyone and to never give up. These simple but important lessons have shaped my life in its entirety. My dad is the kindest man that I have ever met. He never talks bad about others always helps other people, and always tries to do the right thing no matter what the cost to himself. He is kind, thoughtful generous and honest. I attribute much of who I am as a person to my dad and I thank him for his dedication to our family . My dad gave me the confidence to go out and explore the world around me. From these opportunities, I have acquired skills, gained leadership experience and know that I can do anything if I persevere. I know what it means to be accountable for the decision I make and people entrusted to my care. I have stood up to those who were discriminating and demonstrated that respect for each other is important. I have learned in order to achieve a goal one must make a plan, get others on board, secure necessary resources and then go out and DO IT!!! I learned to not listen to the people who say it is impossible, and to get the complainers involved. I have had unique opportunities to train, lead and mentor. I have seen tragedies and poverty and have learned to appreciate what I have: my family friends university and country. None of these life lessons would have be possible without the support and guidance of my father. My dad always told me to follow my dreams and never let go ever since than I am following my dreams thanks to my dad! He is the most influential person to me in my life.

Thursday, November 14, 2019

Does God Exist? :: essays research papers fc

Does God Exist?   Ã‚  Ã‚  Ã‚  Ã‚  St. Thomas Aquinas has written several important works. Some of them are: The Disputed Questions on the Power of God, Exposition of Dionysius on the Divine Names and Disputed Questions on Spiritual Creatures. Most of Aquinas's works have been written to try to prove the existence of God. Aquinas has been a firm believer that everything had to have a creator and the only possible solution would be something called God. It is with this idea that Aquinas's Third Way was written.   Ã‚  Ã‚  Ã‚  Ã‚  In his De aeternitate mundi contra murmurantes, Aquinas insists that human reason cannot prove the impossibility of an eternally created universe. Once again Aquinas has written with the certainty that God has to exist in order to have created the universe. There is no doubt in Aquinas's mind that everything was created for a reason and that reason was God's will.   Ã‚  Ã‚  Ã‚  Ã‚  In the text Medieval Philosophy, St. Thomas Aquinas' article entitled Does God Exist? , Aquinas tries to show the different steps that can prove God does exist and that the world had to have been created by God. This article is comprised of five different ways in which Aquinas tries to prove that we can be sure that God exists. In the third way, Aquinas tries to show that God exists if it is true that we exist.   Ã‚  Ã‚  Ã‚  Ã‚  In the article Aquinas says that it is possible for things to exist and for them not to exist. He means that living things will one day become non- living things. Aquinas believes that all things can not be mortal because if it were true, then at some point nothing would exist. What he means is if all things were living things, meaning that they had to be mortal, then at some time these things must also become non-existing.   Ã‚  Ã‚  Ã‚  Ã‚  Aquinas says that if everything were mortal, then nothing could be existing at present, because what is nonexistent begins to be only through something which already exists. This can be translated to mean that if all mortal things have to stop existing then there can't be anything which exists today. Aquinas believes that it takes a living presence to help create other live things in order for them to live also. This means that there must have been something which existed through eternity to help create living things which exist today.   Ã‚  Ã‚  Ã‚  Ã‚  Aquinas believes that something had to have created life throughout time in order for things to be living today. He says this thing must have existed from the beginning and that it must still exist now. His belief is that living

Tuesday, November 12, 2019

Folk Custom Essay

Chapter OneA General Introduction to Folk Customs 1. Folk customs: a definition Folk customs, or folk ways, comprise the part of cultural life that people of a country or nation have created, practiced and transmitted in their endeavors to satisfy their needs at various stages of their history and society. Deep-rooted in the cultural life of a community, folk customs are passed down from generation to generation in a temporal dimension and spread from one place to another in a spatial dimension. In the history of human society, folk customs have evolved from naught to existence, from simple to complex. In primitive society, a common folk custom was to eat animal flesh raw and drink its blood and to live in caves or hollows. With the development of society, the material life, the related organizational forms of social life, wedding ceremonies, funerals, and etiquettes came into being, and by and by they are established as folkways, or folk customs. In China, for instance, chopsticks are used at meals, which is a Chinese folk custom. Northerners eating jiaozi and southerners eating rice cakes in Chinese New Year Festival, all people eating moon-cakes on Mid-Autumn Day and greeting each other with â€Å"Have you eaten? are all Chinese folk customs. Folk customs are shared and practiced by members of a nation in their daily life. There are folk customs governing the daily life of people, traditional festivals, various stages of life, as well as ideological aspects of social life. The various taboos in life are highly ideological. For example, the taboo against sweeping the floor from December 30 to January 2 on the Chinese lunar calendar resulted from the folk belief that this would affect the luck of wealth in the coming year. Some folk customs, as they originated from religious beliefs, carry a strong religious flavor by laying down rules for marriages, wedding funerals, and diet of believers. Every nation has some folk customs, ways of life or national styles that distinguish itself from other nations. People of that nation have a strong affection for these distinctive ways and recognize them as national symbols. Prevalent in a society with people hardly knowing them, folk customs apply to such matters as clothing, eating, living, transportation, decorum and etiquette, and manners of getting along with others. In this sense, folk customs are basic forms of national culture that may directly reflect and influence the material and spiritual life of a country or nation. 2. Characteristics of folk customs 1. 2. 1 Collectiveness The birth and transmission of folk customs is both social and collective. From the very beginning, their creation and development involve the participation of a group and reflect the mentality, linguistic and behavioral patterns of that group. For instance, the wedding ceremony is an activity attended by members of a particular group, as the would-be couple need win social recognition through this ceremony. . 2. 2 Regionality Geographical surroundings exert a strong influence over human life, thus the regionality of folk customs. Take for example the Mongolians in northern China. They used to be a nomadic people, and now animal husbandry is still their major concern, for the reason that the chief regions they inhabit are more suitable for animal husbandry in terms of na tural resources. The Hezhen people use dog-sledges and go for hunting and fishing, and the Oroqen people go hunting on horseback, all for the sake of their geographical surroundings. 1. 2. Transmissiveness and disseminativeness Folk customs are established through passing down from one generation to the next; they exist and disseminate in a certain area. The earlier they were created and the stronger functions they perform, the more areas the folk customs are disseminated to. The practice of giving New Year money to the young generation, for example, has been observed in all places year after year. 1. 2. 4 Relative stability and variability Once established, folk customs will become a stable part of life. The more stable a society, the more stable its folk customs. However, folk customs are liable to change with the development of society. Take for example the Chinese wedding ceremony. In the past, the Han people used jiaozi (old-fashioned sedan chair) to take the bride from her childhood home to the bridegroom’s house, but now they use cars. Stability contributes to the preservation of folk customs, and variability to their development. 3. Classification of Folk Customs Folk customs are numerous and complicated, and are developing day by day. It is universally acknowledged among researchers that folk customs fall into the following eight categories. . 3. 1 Folk customs of production Folk customs of production grow out of various production activities, including agriculture, forestry, animal husbandry, fishing, handicraft industry, service industry, etc. In the history of human beings, these customs have played a role in ensuring production efficiency.