Featured Post

Whats on the Menu? Essay -- Health, Obesity, Food Industry

Title Biscuit tops, Weight Watchers, Atkins, these are all among the language assigned for the on a level plane tested today. These words...

Saturday, November 30, 2019

The presentation of Silas Marner in chapter 1+2, and comment on settings and any themes Essay Example

The presentation of Silas Marner in chapter 1+2, and comment on settings and any themes Paper George Eliot, which is the pseudonym of Mary Ann Evans, was a prolific writer during the 19th century and could also translate German and was interested in philosophy. The book, Silas Marner, was written at a time of great demographic change and during the industrial revolution in 1861. In the book she uses many different and superlative techniques, such as breaking up the story between passages of moralising and narrative, to convey to the reader, the settings and details of Silas Marners journey The Story is set mainly in Raveloe, although it also describes Lantern Yard when we learn about Silass past. Raveloe is a rural community, which may have a biological link to Eliots home, the Arbury estate in Warwickshire, full of rich people, some of whom didnt even need to be good farmers to earn their living with surplus left over. The village held a nostalgic view of life and were bewildered by the concept of Silass profession, weaving. They were confused by how thread was made into clothing and were suspicious of the newcomer, Silas, Because of this they thought he was in league with the devil. We will write a custom essay sample on The presentation of Silas Marner in chapter 1+2, and comment on settings and any themes specifically for you for only $16.38 $13.9/page Order now We will write a custom essay sample on The presentation of Silas Marner in chapter 1+2, and comment on settings and any themes specifically for you FOR ONLY $16.38 $13.9/page Hire Writer We will write a custom essay sample on The presentation of Silas Marner in chapter 1+2, and comment on settings and any themes specifically for you FOR ONLY $16.38 $13.9/page Hire Writer However, the other environment depicted is Lantern Yard, which was Silass home town before he was expelled. Lantern Yard is a poor artisan community and even the name suggests that is a place which is dark where no one goes. However the inhabitants are all close friends and all gather together for the church services. In chapter 1we learn that Silas is pallid, because he doesnt much, and short sighted , the result of day-to-day weaving. His most distinctive feature are his eyes, which are bulging, making people afraid because they thought he had the evil eye, this evil eye makes him seem alienated to us. However his eyes also described as eyes which have a deer like gaze which portrays to us, his innocence and that he is vulnerable about herbs, which makes people think he is practising witchcraft, but is also very san and honest, because of the way he doesnt take advantage of the fact that the citizens of lantern yard think he has risen from the dead In Chapter 1 we also learn about Silass catalepsy, first discovered by Jem Rodney, who is a mole catcher, which leaves him in a state of temporary suspension of physical and psychological . His catalepsy plays an important role in the book because whebn he was still in Lantern Yard, the villages thought he had come back from the dead and treated him like a celebrity afterwards, but catalepsy then allows William Dane to steal the deacons money. However, in Raveloe they thought his soul had left his body to trained by the devil,w hich makes the villages suspicious of him even more. Lantern Yard meant a lot to Silas as it was the framework of his life and supplied him with attendance of church service and a social circle, which is lost when he settles at Raveloe. Back at Lantern Yard when he was morally scrupulous and didnt take advantages of tempting situations. Part of Silass social circle was William Dane, who was his best friend, but we soon learn to be cautious of him when Eliot describes him to be dazzled by his own light, which would have been recognized by the Victorian audience as a reference to Lucifer, but also of the fact that he had narrow slanting eyes and compressed lips. When William Dane had stolen the deacons money, the members of the Lantern Yard sect blamed it on Silas, because of Silass catalepsy, he suffered the full consequences of the incident and was expelled. By being expelled from the sect he lost the very framework and foundation of his life and also lost his friends and fiance. This whole tragic experience left Silas without religion as well, as he calls God the God of lies. After we discver about the escapade at Lantern Yard ,we learn the reason why Silas chooses to settle in Raveloe. He chose Raveloe because it was nothing like Lantern Yard in terms of community and landscape, this helped him to forget about the painful experiences of Lantern Yard and in Raveloe he believed that he had escaped the god of lies who betrayed him. The location of Silas cottage is also very significant, because it is not far from the edge of a deserted stone-pit which serves as both a narrative and symbolic function. It is symbolic because the graveyard is barren and dead just like him because no one knows him. Towards the end of the chapter we learn about Silass affection towards the gold, which he has earned from all his weaving. The gold plays an important role in the story and it also means a lot to Silas because they are his surrogate friends would now. Gold also never loses its value which is important to Silas as this meant his friends wouldnt lose their worth like William Dane did. Eliot cleverly use natural imagery to describe Silass way of life and also his state of mind, she shows us with this imagery that Silass work are now his life and almost nothing meant more to him now.

Tuesday, November 26, 2019

To Close for Comfort essays

To Close for Comfort essays According to the article, Too Close for Comfort, personal space can be defined as, an invisible boundary surrounding each individual, a territory into which others may trespass. Numerous studies have been conducted measuring gender differences in dyadic intervention. Past results have shown that females do not require as much personal space in conversation than males. James Baxter also conducted a study involving interpersonal spacing in natural settings. Baxter observed similar gender differences, however he also concluded that role relationships were a determining factor in all three scenarios. The level of comfort and relationship status while engaging in conversation also becomes a determining factor. The more comfortable one is with the person and there environment, the more likely they will allow the personal to enter into close conversation. When choosing to further these studies, it is my intention to observe the personal spaces amongst college students. Since topics of conversation are different amongst age groups, whereas college student may have more friendly social discussions over those who are older, it may be that personal space will decrease. In terms of gender difference, it is my intention to reaffirm past results that females will engage in much closer conversation in both female-to-female dyadic intervention as well as male to female relations. Based on my observations, as well as my fellow observers, results will show that females will engage in much closer, proximal conversation than men. In instances of female/male conversation, it is likely that the distance between the two people who are involved in conversation will increase when it is the male instigating conversation. In performing this experiment, natural observations were made on campus, from an unobtrusive view within an everyday college social environment. S ...

Friday, November 22, 2019

Multithreaded Delphi Database Queries With dbGo (ADO)

Multithreaded Delphi Database Queries With dbGo (ADO) By design, a Delphi application runs in one thread. To speed up some parts of the application you might want to decide to add several simultaneous paths of execution in your Delphi application. Multithreading in Database Applications In most scenarios, database applications you create with Delphi are single threaded- a query you run against the database needs to finish (processing of the query results) before you can fetch another set of data. To speed up data processing, for example, fetching data from the database to create reports, you can add an additional thread to fetch and operate on the result (recordset). Continue reading to learn about the 3 traps in multithreaded ADO database queries: Solve: CoInitialize was not called.Solve: Canvas does not allow drawing.Main TADoConnection cannot be used! Customer Order Scenario In the well-known scenario where a customer places orders containing items, you might need to display all the orders for a particular customer along the total number of items per each order. In a normal single threaded application you would need to run the query to fetch the data then iterate over the recordset to display the data. If you want to run this operation for more than one customer, you need to sequentially run the procedure for each of the selected customers. In a multithreaded scenario you can run the database query for every selected customer in a separate thread- and thus have the code execute several times faster. Multithreading in dbGO (ADO) Lets say you want to display orders for 3 selected customers in a Delphi list box control. type   Ã‚  TCalcThread class(TThread)  Ã‚  private   Ã‚  Ã‚  Ã‚  procedure RefreshCount;  Ã‚  protected   Ã‚  Ã‚  Ã‚  procedure Execute; override;  Ã‚  public   Ã‚  Ã‚  Ã‚  ConnStr : widestring;   Ã‚  Ã‚  Ã‚  SQLString : widestring;   Ã‚  Ã‚  Ã‚  ListBox : TListBox;   Ã‚  Ã‚  Ã‚  Priority: TThreadPriority;   Ã‚  Ã‚  Ã‚  TicksLabel : TLabel;   Ã‚  Ã‚  Ã‚  Ticks : Cardinal;   Ã‚  end; This is the interface part of a custom thread class we are going to use to fetch and operate on all the orders for a selected customer. Every order gets displayed as an item in a list box control (ListBox field). The ConnStr field holds the ADO connection string. The TicksLabel holds a reference to a TLabel control that will be used to display thread executing times in a synchronized procedure. The RunThread procedure creates and runs an instance of the TCalcThread thread class. function TADOThreadedForm.RunThread(SQLString: widestring; LB:TListBox; Priority: TThreadPriority; lbl : TLabel): TCalcThread;var   Ã‚  CalcThread : TCalcThread; begin   Ã‚  CalcThread : TCalcThread.Create(true) ;   Ã‚  CalcThread.FreeOnTerminate : true;   Ã‚  CalcThread.ConnStr : ADOConnection1.ConnectionString;   Ã‚  CalcThread.SQLString : SQLString;   Ã‚  CalcThread.ListBox : LB;   Ã‚  CalcThread.Priority : Priority;   Ã‚  CalcThread.TicksLabel : lbl;   Ã‚  CalcThread.OnTerminate : ThreadTerminated;   Ã‚  CalcThread.Resume;   Ã‚  Result : CalcThread; end; When the 3 customers are selected from the drop down box, we create 3 instances of the CalcThread: var   Ã‚  s, sg: widestring;   Ã‚  c1, c2, c3 : integer; begin   Ã‚  s : SELECT O.SaleDate, MAX(I.ItemNo) AS ItemCount   Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Ã‚   FROM Customer C, Orders O, Items I   Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Ã‚   WHERE C.CustNo O.CustNo AND I.OrderNo O.OrderNo ;   Ã‚  sg : GROUP BY O.SaleDate ;   Ã‚  c1 : Integer(ComboBox1.Items.Objects[ComboBox1.ItemIndex]) ;   Ã‚  c2 : Integer(ComboBox2.Items.Objects[ComboBox2.ItemIndex]) ;   Ã‚  c3 : Integer(ComboBox3.Items.Objects[ComboBox3.ItemIndex]) ;   Ã‚  Caption : ;   Ã‚  ct1 : RunThread(Format(%s AND C.CustNo %d %s,[s, c1, sg]), lbCustomer1, tpTimeCritical, lblCustomer1) ;   Ã‚  ct2 : RunThread(Format(%s AND C.CustNo %d %s,[s, c2, sg]), lbCustomer2, tpNormal,lblCustomer2) ;   Ã‚  ct3 : RunThread(Format(%s AND C.CustNo %d %s,[s, c3, sg]), lbCustomer3, tpLowest, lblCustomer3) ; end; Traps and Tricks With Multithreaded ADO Queries The main code goes in the threads Execute method: procedure TCalcThread.Execute;var   Ã‚  Qry : TADOQuery;   Ã‚  k : integer; begin  Ã‚  inherited;  Ã‚  CoInitialize(nil) ; //CoInitialize was not called   Ã‚  Qry : TADOQuery.Create(nil) ;  Ã‚  try// MUST USE OWN CONNECTION // Qry.Connection : Form1.ADOConnection1;   Ã‚  Ã‚  Ã‚  Qry.ConnectionString : ConnStr;   Ã‚  Ã‚  Ã‚  Qry.CursorLocation : clUseServer;   Ã‚  Ã‚  Ã‚  Qry.LockType : ltReadOnly;   Ã‚  Ã‚  Ã‚  Qry.CursorType : ctOpenForwardOnly;   Ã‚  Ã‚  Ã‚  Qry.SQL.Text : SQLString;   Ã‚  Ã‚  Ã‚  Qry.Open;   Ã‚  Ã‚  Ã‚  while NOT Qry.Eof and NOT Terminated do   Ã‚  Ã‚  Ã‚  begin   Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  ListBox.Items.Insert(0, Format(%s - %d, [Qry.Fields[0].asString,Qry.Fields[1].AsInteger])) ;   Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  //Canvas Does NOT Allow Drawing if not called through Synchronize   Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Synchronize(RefreshCount) ;   Ã‚  Ã‚  Ã‚  Ã‚  Ã‚  Qry.Next;   Ã‚  Ã‚  Ã‚  end;  Ã‚  finally   Ã‚  Ã‚  Ã‚  Qry.Free;   Ã‚  end;   Ã‚  CoUninitialize() ; end; There are 3 traps you need to know how to solve when creating multithreaded Delphi ADO database applications: CoInitialize and CoUninitialize must be called manually before using any of the dbGo objects. Failing to call CoInitialize will result in the CoInitialize was not called exception. The CoInitialize method initializes the COM library on the current thread. ADO is COM.You *cannot* use the TADOConnection object from the main thread (application). Every thread needs to create its own database connection.You must use the Synchronize procedure to talk to the main thread and access any controls on the main form.

Wednesday, November 20, 2019

Personal Financial Plan - Part IV Essay Example | Topics and Well Written Essays - 250 words

Personal Financial Plan - Part IV - Essay Example Acting in an ethical manner is important when dealing with investments. An example of an unethical and illegal act in the investment world is insider trading. Insider trading occurs when a person receives privileged information and uses that information to gain an advantage in the stock market (Teweles, Bradley, Teweles, 1992). Investing has risk and rewards. Investments that have higher risk also have higher reward. Risk adverse investors avoid risk and are satisfied with a small return on investment. Opportunity cost refers to the opportunity forgone when choosing a decision. For example a person that works as a hot dog vendor has the opportunity cost of the amount of money he could make working for the private industry. Savings and investments are impacted by the time value of money. The time value of money is a concept that quantifies the depreciation of money over time. Money loses value over time due to inflation. The present value of $1000 at a 4% rate after ten years is

Tuesday, November 19, 2019

Personality Types Essay Example | Topics and Well Written Essays - 250 words

Personality Types - Essay Example They are abstract thinkers who love to understand events and objects as much as possible, and are frustrated by any hindrance in this quest. They prefer to focus on the larger picture and think in the long term, making them ideal candidates for development work. They trust facts and believe that they are capable of holding all facts in objective thought. Most INTJ individuals have complex inner processes, but find it difficult to interpret these to another person. The INTJ are perfectionists, and believe that everything and everyone has a capacity for improvement. They often focus on achieving this improvement in their own functioning and in the tasks they take up. They also expect improvement from the people in their lives – a characteristic that can lead to strife. The INTJ also trust their own instincts and decisions completely, and can be put off by non-constructive criticism and non-responsiveness of others. But while this may be perceived as rigidity, they can in fact be very open to any input that would help improve an end result. Methods of study for an INTJ Since the INTJ are introverted and find social situations difficult, they study better when alone or with very few similar minded peers. They should try and find a location with the least interference if studying in a common study room.

Saturday, November 16, 2019

French and Indian War DBQ Revise Essay Example for Free

French and Indian War DBQ Revise Essay In the course of years through 1754-1763 the British were engaged in a war with their rival French. The conflict was known as the French and Indian War. It started when the colonies could not shift west, and the British trying to settle in the Ohio Valley and the French did not want them to expand. It was played entirely in North America with the colonials on the British side. The conflicts between French and the British would cause a drastic change in the colonial-British relationship. It would alter the political, economic, and philosophical relations. The political aspect would change when the British would start taxing the colonies to pay of debt accumulated by the war. Just like James Ottis said, â€Å"No taxation without representation,† The colonies agree with the statement and believed they had the right to be represented. If they had representation, it would have been virtual, instead of direct. With direct representation the colonies would be able to overpower the government and vote for someone with their interests. The colonists though during this time were not use to the British paying so much attention, because Salutary Neglect happened before the war. This was when they loosely enforced the laws on the colonists. Other then the British now enforcing laws, the colonists also did not appreciate when they declared the Proclamation of 1763. Canassatego, chief said, â€Å"We must insist on your removing them†¦Ã¢â‚¬  They set the proclamation to keep the Indians happy. This helped prevent another uproar like Pontiacs Rebellion, and also did not allow colonists to move westward. Also, during the war to keep the Iroquois Indians pleased, Franklin called the Albany Congress into plan. The economical piece also differed during the war. In the war, the British collected a great amount of debt. They believed that the colonials should be taxed to help pay off this debt. The British order in council said, â€Å"Not only is revenue impaired, but the commerce of colonies diverted for its natural course† (Doc F). They also believed in mercantilism, were they exported more than imported. By doing this they lost money and supplies, while benefiting the mother country. To repair money situations, the Navigation Acts were enforced to start generating revenue. After the Navigation Acts were enforced, the first act declared to raise money came to power. It was known as the Stamp Act. In Document H, â€Å"The TIMES are Dreadful, Doleful, Dismal, Dolorous, and DOLLAR-LESS† (Newspaper Masthead). This was proof of the colonies hatred to the stamp tax. The stamp act was like sales tax, where all merchandise purchased must be stamped. In the letter to John Huges from Benjamin Franklin, â€Å"Undertaking to execute it may make you unpopular for a time† (Doc G). The act by the British was unpopular with the colonist, because they did not want to help by paying the debt. Along with economics, the philosophical stance of America toward the British changed as well. At the end of the war colonists were feeling powerful and more independent minded. The French were no longer a threat and they had the desire to expand westward. The British on the other hand thought of the colonies in a whole different way. They believed they were laze and backwards. George Washington, â€Å"I wish earnestly to attain some knowledge of the military profession† (Doc C). George Washington worked with Braddock with the British and even ending the war his views started to change. With the average age being sixteen and doubling every twenty-five years the British would not allow the colonies direct vote. They could not let, because with the French out of the way the colonies could now take over with their population growing rapidly. With the population growing they wanted to expand west, but the Proclamation of 1763 would not permit it. Also now much of the land had shifted to the Spanish, with the French gone, as displayed in document A. The colonies believed they were being treated unfairly. In Massachusetts Soldier’s diary, â€Å"Who are but little better than slaves to their officers† (Doc D). The British wee cruel to them and this put an enormous impact on their relations. The political, economic, and philosophical relations of the British-colonial ship would be differed for the future to come. The relationship was strained, because of taxes needed to repay war debt, and not being represented for it. To have the claim over the river valley, but try to keep the Indians within their trust. They were there to please themselves and In the end the French lost almost all of the North American land that went to the Spanish. These conflicts led to the North American war called the French and Indian War, and later a greater conflict around the world as the seven years war.

Thursday, November 14, 2019

Characters and Values :: essays research papers

Characters tend to take to their values very strongly. A character will do anything possible to stand behind what they value. Authors use this to invoke a strong feeling in the reader, and make the plot more meaningful. By showing how strongly values affect the character, it causes one to question how strong and meaningful their own values are. A poem that does this is â€Å"1910†, by Pat Mora, and a oral history that is an example is â€Å"Tsali of the Cherokees†, by Alice Marriot. In â€Å"1910†, symbolism is used to represent the character’s values. This character has a lot of pride, and looks highly upon herself. She values her high standing in society, self-esteem, material things, and how others look at her. The scarf and gloves in the poem are what symbolize this. Through repetition of the scarf and gloves in every line, her pride is recognized. When her pride is struck down, and the gloves and hat are thrown on the street corner, her values seem to be dented. But she stands behind them 100%; by going to the extreme of burning down the store that she is kicked out of. She gets back up and takes revenge to restore her pride, therefore backing her values. In â€Å"Tsali of the Cherokees†, Tsali values his land very strongly. He demonstrates the ultimate act of holding up to your values. He stands behind them with his life, literally. This is demonstrated through the extreme sacrifice of death. It is a perfect example of how far a character will go to live up to their values. A very deep and dense mood is set as he stands up for what he believes in. Just as his young children are walking away from the rest of their family, gunshots can be heard. It is an unbelievable idea that a character would actually die over their values. What makes the stone sink deeper in the reader’s stomach is the fact that it’s a true story. By using this mood, the author really sets in the question as to how far one would go for their values. Two very different examples are used in showing the strength of a character’s values, and how they play a role in the story. On one side, there is a character that seems to have selfish values. This character goes and harms others to fulfill her values.