Tuesday, October 22, 2019

Commentary on On Sitting Down to Read King Lear Once Again by John Keats

Commentary on On Sitting Down to Read King Lear Once Again by John Keats POEM : On Sitting Down to Read King Lear Once AgainO golden-tongued Romance with serene lute!Fair plumed Syren! Queen of far away!Leave melodizing on this wintry day,Shut up thine olden pages, and be mute:Adieu! for once again the fierce dispute,Betwixt damnation and impassion'd clayMust I burn through; once more humbly assayThe bitter-sweet of this Shakespearian fruit.Chief Poet! and ye clouds of Albion,Begetters of our deep eternal theme,When through the old oak forest I am gone,Let me not wander in a barren dream,But when I am consumed in the fire,Give me new Phoenix wings to fly at my desire.COMMENTARY :The poem under study was written in 1818 after the completion of John Keats's 4,000-line poem Endymion. We are facing a traditional and fixed form of poem as "Sitting Down to Read King Lear Once Again" is an Elizabethan sonnet composed of fourteen lines which are divided up into three quatrains, that is four-line stanzas, and a final couplet -or two lines of verse.18th-century dep iction of King Lear mourning over ...The rhyming pattern is abba, cddc, efef, gg as, notably "Lute" (l.1) rhymes with "mute" (l.4), "far-away" (l.2) with "day" (l.3) and "dispute" (l.5) with "fruit" (l.8). Moreover, the lines are iambic pentameters since they contain five iambic feet for instance :_ / _ / _ / _ / _ /"O Gol/den-tongued /Romance, /with se/rene Lute!"Like most of Keats's poems, this text deals with the speaker's encounter with something which incites him to meditate and alters significantly his vision of life. It is the perusal of King Lear written by William Shakespeare in 1605 which affects him this time and this is not a first reading judging by the presence of "Once Again" in the title. Keats was a...

Monday, October 21, 2019

101 Lesson and Quoting Professor Ramos Blog

101 Lesson and Quoting Quick Write Quick Write What should the reader take away after reading your narrative? Why is it important? Why does it matter? So What? Making the Point Clear An important aspect of writing is making sure that your point is clear. Even in these narratives where we are exploring ourselves. You want the reader to know the lesson or point you learned from reflecting and writing. Here are some questions to consider when concluding your narrative: What did you learn about diversity? How have others helped you? What should the reader take away after reading this? Why does this matter? The narrative helps us to understand how diversity affects us. Make sure the lesson or point is clear to your reader. We are going to publish this online for the benefit of others. Think about your audience and how you can help them to learn something from your experience. The Other Side is Not Dumb We read  SEAN BLANDA, â€Å"The â€Å"Other Side† Is Not Dumb†Ã‚  p.212 for today. Take two minutes and write down what stood out to you. Look for a quote that you find interesting or important. We should all enter every issue with the very real possibility that  we might be wrong this time. . . Isn’t it possible that we’re not right about everything? That those who live in places not where you live, watch shows that you don’t watch, and read books that you don’t read, have opinions and belief systems just as valid as yours? That maybe you don’t see the entire picture? The Art of Quoting Chapter 3, introduces us to the art of quoting. It warns that quoting too little or too much can hurt an argument. It is very important to frame all quotations. According to the book, what is the purpose of a citation? When is the use of a citation appropriate? The article warns about quoting too little or quoting too much. Do not assume the quotations speak for themselves. Two key ways to integrate quotations that you need to keep in mind. Choose quotations wisely Surround quotations in a frame, Quotation Sandwich Quotation Sandwich Introduce the quotation p. 46 Quote, relevant Explain Quotation p. 47 Claims China  is the largest nation in the world. A McDonald’s  Big Mac ®Ã‚  has 550 calories. Why do these need support? Where can you find it? Practice Use a quote from the article in a quotation sandwich.

Sunday, October 20, 2019

Create and Customize Buttons With the DBNavigator

Create and Customize Buttons With the DBNavigator Ok, the DBNavigator does its job of navigating data and managing records. Unfortunately, my customers want more user-friendly experience, like custom button graphics and captions, ... This inquiry came from a Delphi developer searching for a way to enhance the power of the DBNavigator component.   The DBNavigator is a great component- it provides a VCR-like interface for navigating data and managing records in database applications. Record navigation is provided by the First, Next, Prior, and Last buttons. Record management is provided by the Edit, Post, Cancel, Delete, Insert, and Refresh buttons. In one component Delphi provides everything you need, to operate on your data. However, as the author of the e-mail inquiry also stated, the DBNavigator lacks some features like custom glyphs, button captions, and others. A More Powerful DBNavigator Many Delphi components have useful properties and methods that are marked invisible (protected) to a Delphi developer. Hopefully, to access such protected members of a component, a simple technique called the protected hack can be used. First, youll add a caption to every DBNavigator button, then youll add custom graphics, and finally, youll OnMouseUp-enable each button.   From the boring DBNavigator to either of: Standard graphics and custom captionsOnly captionsCustom graphics and custom captions Lets Rock n Roll The DBNavigator has a protected Buttons property. This member is an array of TNavButton, a descendant of TSpeedButton.   Since each button in this protected property inherits from TSpeedButton, if you get our hands on it, youll be able to work with standard TSpeedButton properties like: Caption (a string that identifies the control to the user), Glyph (the bitmap that appears on the button), Layout (determines where the image or text appears on the button)... From the DBCtrls unit (where DBNavigator is defined) you read that the protected Buttons property is declared as: Buttons: array[TNavigateBtn] of TNavButton; Where TNavButton inherits from TSpeedButton and TNavigateBtn is an enumeration, defined as : TNavigateBtn (nbFirst, nbPrior, nbNext, nbLast, nbInsert, nbDelete, nbEdit, nbPost, nbCancel, nbRefresh); Note that TNavigateBtn holds 10 values, each identifying different button on a TDBNavigator object. Now, lets see how to hack a DBNavigator: Enhanced DBNavigator​ First, set up a simple data editing Delphi form by placing at least a DBNavigator, a DBGrid, a DataSoure and a Dataset object of your choice (ADO, BDE, dbExpres, ...). Make sure all components are connected. Second, hack a DBNavigator by defining an inherited dummy class, above the Form declaration, like: type THackDBNavigator class(TDBNavigator); type TForm1 class(TForm) ... Next, to be able to display custom captions and graphics on each DBNavigator button, youll need to set up some glyphs. You can use the TImageList component and assign 10 pictures (.bmp or .ico), each representing an action of a particular button of a DBNavigator. Third, in the OnCreate event for the Form1, add a call like: procedure TForm1.FormCreate(Sender: TObject); SetupHackedNavigator(DBNavigator1, ImageList1);end; Make sure you add the declaration of this procedure in the private part of the form declaration, like: type TForm1 class(TForm) ... privateprocedure SetupHackedNavigator(const Navigator : TDBNavigator; const Glyphs : TImageList); ... Fourth, add the SetupHackedNavigator procedure. The SetupHackedNavigator procedure adds custom graphics to each button and assigns a custom caption to each button. uses Buttons; //!!! dont forgetprocedure TForm1.SetupHackedNavigator (const Navigator : TDBNavigator; const Glyphs : TImageList);const Captions : array[TNavigateBtn] of string (Initial, Previous, Later, Final, Add, Erase, Correct, Send, Withdraw, Revive);(* Captions : array[TNavigateBtn] of string (First, Prior, Next, Last, Insert, Delete, Edit, Post, Cancel, Refresh); in Croatia (localized): Captions : array[TNavigateBtn] of string (Prvi, Prethodni, Slijedeci, Zadnji, Dodaj, Obrisi, Promjeni, Spremi, Odustani, Osvjezi);*)var btn : TNavigateBtn;beginfor btn : Low(TNavigateBtn) to High(TNavigateBtn) dowith THackDBNavigator(Navigator).Buttons[btn] dobegin//from the Captions const array Caption : Captions[btn]; //the number of images in the Glyph property NumGlyphs : 1; // Remove the old glyph. Glyph : nil; // Assign the custom one Glyphs.GetBitmap(Integer(btn),Glyph); // gylph above text Layout : blGlyphTop; // explained later OnMouseUp : HackNavMouseUp; end;end; (*SetupHackedNav igator*) Ok, lets explain. You iterate through all the buttons in the DBNavigator. Recall that each button is accessible from the protected Buttons array property- therefore the need for the THackDBNavigator class. Since the type of the Buttons array is TNavigateBtn, you go from the first (using the  Low  function) button to the last (using the  High  function) one. For each button, you simply remove the old glyph, assign the new one (from the Glyphs parameter), add the caption from the Captions array and mark the layout of the glyph. Note that you can control which buttons are displayed by a DBNavigator (not the hacked one) through its VisibleButtons property. Another property whose default value you may want to change is Hints- use it to supply Help Hints of your choosing for the individual navigator button. You can control the display of the Hints by editing the ShowHints property. Thats it. This is why youve picked Delphi! Gimme More! Why stop here? You know that when you click the nbNext button the datasets current position is advanced to the next record. What if you want to move, lets say, 5 records ahead if the user is holding the CTRL key while pressing the button? How about that?   The standard DBNavigator does not have the OnMouseUp event- the one that carries the Shift parameter of the TShiftState- enabling you to test for the state of the Alt, Ctrl, and Shift keys. The DBNavigator only provides the OnClick event for you to handle.   However, the THackDBNavigator can simply expose the OnMouseUp event and enable you to see the state of the control keys and even the position of the cursor above the particular button when clicked! Ctrl Click : 5 Rows Ahead To expose the OnMouseUp you simply assign your custom event handling procedure to the OnMouseUp event for the button of the hacked DBNavigator. This exactly is already done in the SetupHackedNavigator procedure:OnMouseUp : HackNavMouseUp; Now, the HackNavMouseUp procedure could look like: procedure TForm1.HackNavMouseUp (Sender:TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer);const MoveBy : integer 5;beginif NOT (Sender is TNavButton) then Exit; case TNavButton(Sender).Index of nbPrior: if (ssCtrl in Shift) then TDBNavigator(TNavButton(Sender).Parent). DataSource.DataSet.MoveBy(-MoveBy); nbNext: if (ssCtrl in Shift) then TDBNavigator(TNavButton(Sender).Parent). DataSource.DataSet.MoveBy(MoveBy); end; end;(*HackNavMouseUp*) Note that you need to add the signature of the HackNavMouseUp procedure inside the private part of the form declaration (near the declaration of the SetupHackedNavigator procedure): type TForm1 class(TForm) ... privateprocedure SetupHackedNavigator(const Navigator : TDBNavigator; const Glyphs : TImageList); procedure HackNavMouseUp(Sender:TObject; Button: TMouseButton; Shift: TShiftState; X, Y: Integer); ... Ok, lets explain, one more time. The HackNavMouseUp procedure handles the OnMouseUp event for each DBNavigator button. If the user is holding the CTRL key while clicking the nbNext button, the current record for the linked dataset is moved MoveBy (defined as constant with the value of 5) records ahead. What? Overcomplicated? Yep. You do not need to mess with all this if you only need to check the state of the control keys when the button was clicked. Heres how to do the same in the ordinary OnClick event of the ordinary DBNavigator: procedure TForm1.DBNavigator1Click(Sender: TObject; Button: TNavigateBtn); function CtrlDown : Boolean; var State : TKeyboardState; begin GetKeyboardState(State); Result : ((State[vk_Control] And 128) 0); end;const MoveBy : integer 5;begincase Button of nbPrior: if CtrlDown then DBNavigator1.DataSource.DataSet.MoveBy(-MoveBy); nbNext: if CtrlDown then DBNavigator1.DataSource.DataSet.MoveBy(MoveBy); end; //caseend;(*DBNavigator2Click*) Thats All Folks And finally, the project is done.  Or you can keep going.  Heres a scenario/task/idea for you:   Lets say you want only one button to replace the nbFirst, nbPrevious, nbNext, and nbLast buttons. You can use the X, and Y parameters inside the HackNavMouseUp procedure to find the position of the cursor when the button was released. Now, to this one button (to rule them all) you can attach a picture that has 4 areas, each area is suppose to mimic one of the buttons you are replacing ... got the point?

Saturday, October 19, 2019

Final examination Essay Example | Topics and Well Written Essays - 1000 words

Final examination - Essay Example The constitution, which was written by a group consisting various professionals ranging from teachers, lawyers, representatives, and other professionals, is the supreme law of the land that provides the country with a room to exercise a high sense of patriotism among US citizens with the constitution acting as an art of compromise (Vile 4). Importantly, the country has passed various legislation and ratified various treaties overtime that strengths the country’s governance structures and provide various rights to the citizens of the country. With regard to treaties, the most important treaty signed by the  US  is known as the Paris Treaty. In fact, this is the is the very document that ensured that we have the modern day USA since the treaty with the Great Britain, under the then leadership of King George III ended the Revolutionary War with the USA being recognized as an independent state by Europe and no longer a colony of the British (Ledson). Most importantly, the trea ty was achieved after various American statesmen - popularly known as the Founding Fathers - and included Benjamin Franklin and John Adams (USA's second president) engaged the British in the treaty some scholars describe as â€Å"exceedingly generous† to the USA with regard to the country’s territorial boundaries (Paterson, Clifford, and Maddock 20). Concerning the country’s political system, the country has experienced and continues to experience a vibrant political scene with various issues shaping policies adopted by various political parties. Most importantly, the two main political parties that control the direction of politics in the country are the Republican Party and the Democratic Party. Consequently, the country’s political support is almost divided down the middle with followers of the Republican Party known as Republicans while their Democratic Party counterparts are called the Democrats. Amongst the Republicans, Abraham Lincoln is the most r ecognized individual and party member due to the sweeping changes he brought to the country. As president, Lincoln adopted an abolitionists’ approach to ending slavery with his actions being against the Conservative wing of the Republican Party that adopted an anti-slavery stance (Foner, "The Fiery Trial" 86). This stance has endeared Lincoln to the American public making him one of the most revered leaders since he went against his party line. One of his major contributions was his opposition to the Kansas-Nebraska Act of 1845 that sought to repeal the Missouri Compromise of 1820 that restricted slavery with the Act of 1845 providing powers to local settlers, instead of Congress, to determine the enactment of slavery in new states (Foner, "The Fiery Trial† 88). It is instructive to point out that President Lincoln set the agenda for abolishing slavery with his opposition to laws that entrenched slavery in the country, which highly contributed to his assassination. To d rive his anti-slavery agenda, Lincoln used the provision in the country’s constitution that provide for the equality of all men before the supreme law, which was against what the president defined as Republicanism Principles (Foner, "The Fiery Trial" 86). The culture of the United States is as diverse as its history and its people. In fact, the country draws its success from the diversity in the

Friday, October 18, 2019

Why carriers in all modes of transport are concerned with weight vs Essay

Why carriers in all modes of transport are concerned with weight vs. volume when applying their rates. Give two examples on how carriers in a specific mode of transport may apply this concept - Essay Example Taking dimensional weight is significant as it takes into consideration the volume and weight of the cargo. For instance, a plane of 848 cargos can carry 120,000 lbs. If it exceeds, the plane will not fly and might as well violate the air transport rules set up by federal and state governments. In America, bulk coal long-distance rates are one cent/ton-mile thus a 50 car train carrying each carrying 150 tons over a 100 miles will cost $15000 (Behrens, Kristian & Pierre 129) In using weight in determination of freight charges, the shippers take into consideration fuel consumed as it considers the density of the goods (w = Ï  Ãâ€" v) and hence ensure that they do not transport at a loss an ensure that they fully utilize the road load supporting capacity. However, it may lead to charging low rates when the cargo is of less weighty goods. In using volume, the capacity of the shipping vehicle remains underutilized. However, the shippers reap maximally even from goods that would be less costly for them to deliver considering fuel

Debate over Universal Healthcare Essay Example | Topics and Well Written Essays - 1750 words

Debate over Universal Healthcare - Essay Example In some nations like United Kingdom and Spain, the government has highest level of involvement in providing health care to all the citizens based on the residential status where insurance coverage is not mandatory. In Britain, the National Insurance Act 1911 can be considered as the initiative taken towards the provision of universal health care. It covered the salaried employees and their family members who contributed monitorily towards the health care setups. However, it continued up to 1948 when the National Health Service was created and universal health care security was provided to all legal residents. In some other nations, the governments involve insurance agencies to operate the health schemes and the beneficiaries and their employers are asked to pay the premiums for their health care facilities. In several European nations, the efforts for establishing the universal health care systems were launched immediately after the second world war and one shouldn’t forget th e contribution made by Article 25 of the Universal Declaration of Human Rights of 1948 in this process. However, nations like USA didn’t implement the universal health care system (Armstrong et al., 1999; Institute of Medicine at the National Academies of Science, 2004.). Overall, the universal health care is operated in several nations, what ever the style may be, and we have to see whether it is successful in meeting the health requirement of people. If so, why not this universal health care is implemented in all other nations? This makes us to debate over the advantages and disadvantages of the universal health care system and let us analyse them one by one. Universal health care is a broad concept that has been implemented in many countries and was found to be highly useful for the benefit of the people (Conrad, 2008). The main advantage of this system is to ensure the social security to all the citizens of the country. In other words, health is a

Thursday, October 17, 2019

H5N1 Avian virus Essay Example | Topics and Well Written Essays - 1750 words

H5N1 Avian virus - Essay Example Moreover, this virus also has the ability to undergo antigenic drifts and antigenic shifts. The emergence of new strains of Avian influenza virus is of major public health concern because of the impending threat of a pandemic that it poses. Currently, the virus does not possess the ability of being transmitted amongst humans and it has been postulated that one this quality is acquired it would lead to potentially devastating consequences in the form of a pandemic. Till date, no vaccine for the prevention of H5N1 infection amongst humans exists. Moreover, the treatment options for infection are also limited viz. oseltamivir and zanamivir. Therefore, further research needs to be undertaken in order to develop new vaccines against these organisms and better medications to combat the infection if once contracted. Moreover, vigilant surveillance of outbreaks and epidemics of bird flu is also imperative. Avian Influenza or Bird Flu, as it commonly referred to, is an infection which is caused by the H5N1 virus. The natural hosts of this virus are wild birds, in particular water fowls, who carry these viruses in their intestines while themselves remaining asymptomatic (Auewaraku 404). ... Recently, H5N1 virus is not only leading to an increasing number of epizootics, but has also been implicated in several epidemics in humans. The mode of transmission of this virus has been described as being feco-oral amongst birds, whereas humans contract the disease via contact with airborne particles from infected poultry or while contact with the poultry or their fecal matter e.g. during food preparation (Fleming 1066). The first human infection with H5N1 was witnessed in 1997 in Hong Kong, as a result of which six out of the eighteen people affected died. Eversince, several similar outbreaks of human infection have been observed in various regions of the world and this has become an important public health concern (Auewaraku 404). At present, there are two different clades of the H5N1 which have been identified to be circulating amongst poultry. Amongst these, three subgroups from the clade 2 have been shown to infect humans viz. subclades 2.1, 2.2, and 2.3 Centers for Disease C ontrol and Prevention). Infections in humans appear on a spectrum, ranging in variety and severity from relatively milder infections such as conjunctivitis to potentially serious ones such as pneumonia and can even lead to death (Centers for Disease Control and Prevention). The increasing outbreaks of human infection with H5N1 are of prime concern as this organism is highly pathogenic. It has a unique ability to infect humans and this poses a threat to the human race as this virus might have the potential to evolve into a form which is transmissible from person to person (Auewaraku 404). In the past, the world has witnessed several outbreaks of influenza, causing significant morbidity and mortality. If a new strain of this virulent organism