Friday, April 24, 2020

Wind Energy Essays - Energy, Sustainability, Physical Universe

Wind Energy For many centuries wind has been used as a reliable source of energy. It is clean and inexhaustible. Wind is used to make the job of a human simpliar. It is used for grinding grain, pumping water, and to enable sail boats to move. Though often the amount of wind power varies depending on the climate of an area. Although wind power is only used in selected areas the recent interest in fuel conservation has sparked the development of windfarms. In the 1980's a studied showed that in order to produce one kilowatt- hour of energy cost 4 cents. The best known horizontal axis machine in the United States is the American farm windmill which is frequently used to pump water. This machine has rotor with up to 20 blades mounted on a horizontal shaft and a tail-vane. A tail-vane is to keep the rotor facing inot the wind by swiveling the machine. Unlike the farm windmill, the modern windmill only use four blades to generate electricity and are able to operate at high rotor speeds. The Jacobs three blade windmill, which was used widely between 1930 and 1960, could deliver about I kilowatt of power at a typical wind speed of 14 miles per hour. Lately a different type of windmill has been used. It is a large horizontal two bladed wind turbine. These were first installed in Ohio in 1975. Another type of windmill which has a rotor diameter of 400 feet and a shaft height of 250 can produce 6,200 kilowatts of power . These were first places in oahu, Hawaii. The term "wind farm" is used for a large number of wind mills, that are clusters at a site with a moderately constant wind, These are generally near mountain passes. With in the united states wind farms appear in New Hampshire, California, and Hawaii. At these sites the machine capacities range from 10 to 500 kilowatts. In 1984 the total energy output of all the wind farms in the united states exceeded 150 million kilowatt-hours.

Tuesday, March 17, 2020

Send Information Between Delphi Apps With WM_COPYDATA

Send Information Between Delphi Apps With WM_COPYDATA There are many situation when you need to allow for two applications to communicate. If you do not want to mess with TCP and sockets communication (because both applications are running on the same machine), you can *simply* send (and properly receive) a special Windows message: WM_COPYDATA. Since handling Windows messages in Delphi is simple, issuing a SendMessage API call along with the WM_CopyData filled with the data to be sent is quite straight forward. WM_CopyData and TCopyDataStruct The WM_COPYDATA message enables you to send data from one application to another. The receiving application receives the data in a TCopyDataStruct record. The TCopyDataStruct is defined in the Windows.pas unit and wraps the COPYDATASTRUCT structure that contains the data to be passed. Heres the declaration and the description of the TCopyDataStruct record: type TCopyDataStruct packed record dwData: DWORD; //up to 32 bits of data to be passed to the receiving application cbData: DWORD; //the size, in bytes, of the data pointed to by the lpData member lpData: Pointer; //Points to data to be passed to the receiving application. This member can be nil. end; Send a String over WM_CopyData For a Sender application to send data to Receiver the CopyDataStruct must be filled and passed using the SendMessage function. Heres how to send a string value over WM_CopyData: procedure TSenderMainForm.SendString() ; var stringToSend : string; copyDataStruct : TCopyDataStruct; begin stringToSend : About Delphi Programming; copyDataStruct.dwData : 0; //use it to identify the message contents copyDataStruct.cbData : 1 Length(stringToSend) ; copyDataStruct.lpData : PChar(stringToSend) ; SendData(copyDataStruct) ; end; The SendData custom function locates the receiver using the FindWindow API call: procedure TSenderMainForm.SendData(const copyDataStruct: TCopyDataStruct) ; var   Ã‚  receiverHandle : THandle;   Ã‚  res : integer; begin   Ã‚  receiverHandle : FindWindow(PChar(TReceiverMainForm),PChar(ReceiverMainForm)) ;   Ã‚  if receiverHandle 0 then   Ã‚  begin   Ã‚  Ã‚  Ã‚  ShowMessage(CopyData Receiver NOT found!) ;   Ã‚  Ã‚  Ã‚  Exit;   Ã‚  end;   Ã‚  res : SendMessage(receiverHandle, WM_COPYDATA, Integer(Handle), Integer(copyDataStruct)) ; end; In the code above, the Receiver application was found using the FindWindow API call by passing the class name of the main form (TReceiverMainForm) and the caption of the window (ReceiverMainForm). Note: The SendMessage returns an integer value assigned by the code that handled the WM_CopyData message. Handling WM_CopyData - Receiving a String The Receiver application handles the WM_CopyData mesage as in: type TReceiverMainForm class(TForm) private procedure WMCopyData(var Msg : TWMCopyData) ; message WM_COPYDATA; ... implementation ... procedure TReceiverMainForm.WMCopyData(var Msg: TWMCopyData) ; var s : string; begin s : PChar(Msg.CopyDataStruct.lpData) ; //Send something back msg.Result : 2006; end; The TWMCopyData record is declared as: TWMCopyData packed record Msg: Cardinal; From: HWND;//Handle of the Window that passed the data CopyDataStruct: PCopyDataStruct; //data passed Result: Longint;//Use it to send a value back to the Sender end; Sending String, Custom Record or an Image? The accompanying source code demonstrates how to send a string, record (complex data type) and even graphics (bitmap) to another application. If you cannot wait the download, heres how to send a TBitmap graphics: procedure TSenderMainForm.SendImage() ; var ms : TMemoryStream; bmp : TBitmap; copyDataStruct : TCopyDataStruct; begin ms : TMemoryStream.Create; try bmp : self.GetFormImage; try bmp.SaveToStream(ms) ; finally bmp.Free; end; copyDataStruct.dwData : Integer(cdtImage) ; // identify the data copyDataStruct.cbData : ms.Size; copyDataStruct.lpData : ms.Memory; SendData(copyDataStruct) ; finally ms.Free; end; end; And how to receive it: procedure TReceiverMainForm.HandleCopyDataImage( copyDataStruct: PCopyDataStruct) ; var ms: TMemoryStream; begin ms : TMemoryStream.Create; try ms.Write(copyDataStruct.lpData^, copyDataStruct.cbData) ; ms.Position : 0; receivedImage.Picture.Bitmap.LoadFromStream(ms) ; finally ms.Free; end; end;

Sunday, March 1, 2020

Word Choice Rout vs. Route - Proofread My Papers Academic Blog

Word Choice Rout vs. Route - Proofread My Papers Academic Blog Word Choice: Rout vs. Route Ah, the English language, will you ever stop confusing us? Why, for instance, would anyone think it’s a good idea to have two words which differ in meaning and sound different, but which are spelled almost identically? It beats us, yet that’s what we have with â€Å"rout† and â€Å"route.† It’s easy to get these words mixed up, especially because â€Å"rout† is not common in everyday speech. So, what is the difference? And which word should we use in any given instance? Rout (Lose Badly) The word â€Å"rout† is commonly associated with battles, as it means â€Å"a disorderly retreat.† Thus, if an army is defeated and forced to run, we say it was â€Å"routed† (â€Å"rout† can be used as either a noun or a verb): During World War II, the French Army was routed at the Battle of Sedan. A more modern use of â€Å"rout† is to mean â€Å"an overwhelming defeat†: In 1990, the 49ers routed the Broncos 55-10 in the Super Bowl. To the best of our knowledge, however, sporting routs rarely end in the losing team making a disorderly retreat from the field of play. Route (Go Places) If nothing else, you’ll probably know the word â€Å"route† from the US Highway System. This, in fact, is a big clue to the main meaning of â€Å"route,† which is â€Å"a road or passage of travel†: If you ever plan to motor west Travel my way, take the highway that is best Get your kicks on Route Sixty-Six As well as major travel routes, the word â€Å"route† is used for any regular round of stops, such as a â€Å"paper route.† Furthermore, â€Å"route† can be used as a verb meaning â€Å"direct something†: Because of the accident, traffic was routed away from the town center. In both cases, the essence of â€Å"route† is always to do with traveling or following a particular course. Rout or Route? In everyday life, you’re more likely to need â€Å"route† than â€Å"rout.† But if you’re discussing a battle or an overwhelming defeat in sport, you might need to use â€Å"rout.† Remember: Rout = An overwhelming defeat and/or disorderly retreat Route = A road or regular passage of travel Be careful when using the past tense with these words, though, as both are spelled routed.

Friday, February 14, 2020

HR Management Term Paper Example | Topics and Well Written Essays - 750 words

HR Management - Term Paper Example The human resource function has evolved with the changes in workforce attitude, technology, sociological factors, changing labor laws, and the changing organization environment (Mello, 2002). During the earlier ages, the HR problems related to absenteeism in the work place, poor working conditions, termination of production due to workers dissatisfaction, and other operational problems like lateness in reporting to work. Apple Corporation in its bid to lead in the technology sector has concentrated on engaging qualified and talented workforce with innovative skills in the development of its products. This has ensured that it introduces iPhones and Macintosh computers that are in high demand in the market. Moreover, strategic HR roles have seen the employees’ participate in the formulation of policies that help steward the business into success. The company has assiduously rewarded its employees and recognized their talents while training their employees’ skills through training. The economic cycle like the depression saw businesses experience dwindling profits and operational risks. This forced organizations to review their HR policies and functions in order to develop strategies that would ensure organizational survival and competitiveness (Boroughs, Palmer & Hunter, 2008). The government through the formulation of labor laws resulted in significant improvements in the working conditions and better employee pay. Currently, businesses are faced with completely new HR challenges that decelerate the realization of business goals and objectives. The current HR department has therefore been mandated with the duty of ensuring they attract and retain a workforce that has the potential of stewarding the businesses towards success. With the shift from administrative roles to strategic roles, HR managers apart from doing their administrative duties also play a center role in the execution of strategic functions. Strategies help businesses to reposition the mselves for competition and develop competencies for the changing market conditions (Mello, 2002). Therefore, the HR managers do several strategic functions. First, strategic managers assist in the formulation of strategic policies and principles that would help see the business develop competitive strengths against the competitors.HR managers take part in this process by ensuring that the engagement of employees and whole workforce reflects the necessary skills that would enable the business take measures that would ensure business succeed. In developing these policies, the HR managers will ensure that the recruited employees have the ability to develop strategies that leads to business success. Secondly, the HR department has the responsibility of developing strategic alliances that would enable the business enter into partnership with other businesses. Businesses form strategic alliances with other strategic partners with a bid to gain competitive strengths that would enable them maximize their returns and gain operational efficiency (Mello, 2002). Before entering into such partnerships and alliances, strategic managers have to ensure that such alliances are properly evaluated to determine their productivity. This can only be realized if the HR department carefully selects qualified staff with the

Saturday, February 1, 2020

Anything Essay Example | Topics and Well Written Essays - 500 words - 9

Anything - Essay Example This leads to accumulation of body fat. D. Enumerated Preview: This research will analyze the importance of exercise and healthy balanced meal in reducing the pressing issue of obesity. Obesity has been contributed by our current sedentary lifestyle and the over-consumption of energy- dense foods. 1. The role of culture in fitness and diet programs. There is a cultural pattern of being bigger and fat, and this is not a good trend. Most cultural norms discourage the consumption of a healthy meal. This encourages unhealthy meal consumption. 3. The nation’s public health strategy for addressing overweight and obesity issue. The government has come up with healthy eating strategies and action plans for school growing children. This is with the intention of curbing the issue of obesity and overweight. This strategy is organized into three goals which comprise of incorporating healthy meals, reducing the access and consumption of calorie-dense foods, and raising health awareness (Edelman, Mandle & Kudzma

Friday, January 24, 2020

Harold Brighouses Hobsons Choice Essay -- Brighouse Hobsons Choic

Harold Brighouse's "Hobson's Choice" In Act two, Alice tells Maggie â€Å"I don’t know what you’re aiming at.† She replies, â€Å"The difference between us is I do, I always did.† Explain the differences between Maggie and her sisters. ‘Hobson’s Choice’ is set in Salford in 1880, at a time when women tended to occupy largely domestic roles. However, the leading character, Maggie Hobson, is a woman way ahead of her time. Unlike her sisters, she is a demanding and domineering character. She knows what she wants in life and is not afraid to strive for it. Alice and Vicky stand up to Hobson, their father, about small and trivial matters. After Hobson has complained about the bustles the girls wear, Alice says to her father: â€Å"We shall continue to dress fashionably, Father.† However, Alice and Vicky are very intimidated by Hobson and so when it comes to bigger and more important matters the talking is left to Maggie. Jim Heeler calls on Hobson to take him to the ‘Moonrakers’. This is a bar where he spends most of his time drinking a lot of alcohol. Whilst Jim is around, Hobson seeks some advice from him. He requires advice on how to manage the girls. In the end he decides to get Alice and Vicky ‘wed’. After Hobson has told Alice and Vicky that he will be choosing husbands for them, the girls are extremely unhappy. They wish to choose their own partners: â€Å"Can we not choose husbands for ourselves?† But are told: â€Å"I’ve been telling you for the last five minutes, you’re not even fit to pick dresses for yourselves† Because this is an important matter Maggie takes centre stage: â€Å"If you’re dealing husbands around, don’t I get one?† To which he replies: â€Å"Well that’s a good one, (laugh) you, with a husband† Wi... ...w â€Å"brother in law†. The girls were not happy but still they were overruled by Maggie’s domineering character. To conclude, Maggie is different to her sisters in the way that she knows how to achieve the good things in life, she tries to bring out the good in every person. She makes her future good and she does it on her own. She stands up for what is right and for what she believes in. Maggie is not influenced at all by men and their opinions, she gains things by her own determination and will power. She is a person who values the fact that starting off small can lead to great success. Her sisters keep themselves to themselves and are too cowardly to stand up for themselves, therefore due to remaining passive characters, their future will be what the future makes it, not what they make for themselves as they do not intervene in order to make it better.

Thursday, January 16, 2020

New Religious Movements

When studied, compared, and scrutinized, every religion – though said to be basically similar in that all believe and worship a god/gods – is actually different from each other in many respects. Before tackling diversities however, it is better to start with similarities. Many people view all adherents of any religions share at the very least certain commonalities such as historical roots, practices/rituals, and doctrines. In other words, to be considered religious, one must be a follower of a certain form of ritual/practice prescribed by a founder or guru, a worshiper or believer of a god – whatever or whoever that god might be. When looked at the surface, this might be true. However, looking closely and seeking out the nuances, one can find real diversities.For example, for a Jew and a Muslim, Christianity is a religion represented by Vatican and the pope as its representative. To the eyes of these two, no differences whatsoever are detected between a devout Ro man Catholic and a Protestant and a Mormon. Of course when investigated, marked differences come to the surface and the initial seemingly unified similarities are gone. Actually, differences are underscored every time there occurs along the way a deviation from the fundamentals of any religion. In the history of Christianity alone, schisms are either a deviation or a return to its roots (Adherents.com, 2007).Effects of Religious PluralismPost your response to this question: What effect do you think religious pluralism and the interfaith movement will have on the future of organized religion? Explain your answer.Religious pluralism and interfaith movement are recently advocated by proponents from different religions with certain political aims. For instance, during Holy Week in 1971, there were many demonstrations conducted by different religious groups to voice their antiwar protests. Professor Robert McAfee Brown of Stanford University was among those arrested for blocking the way to a draft board office in Berkeley, California. He said he chose to preach his sermon â€Å"not in a church but on a pavement, not with words but with a deed† (Microsoft Encarta, 2007). Though there are certain benefits to it in terms of rights, there are also disadvantages and innumerable damages that may have paved the way for further confusion in the future.In what ways has learning about world religions influenced the way you think about religion? Why is it important to learn about other peoples' beliefs and attitudes? How will you utilize this information in the future?Knowledge of World religionsKnowledge of the different religions of the world and their adherents’ beliefs and practices is necessary for a better understanding of different peoples and cultures. Religious tolerance means differently when taken in the light of this endeavor. The ability to understand world religions and appreciate people because of their different persuasions and beliefs mean a mor e empathic and compassionate stance towards any group, ethnic or religious assemblage. Those who differ from us will not be seen as enemies, which oftentimes have become a common experience (Adherents.com, 2007).Reference:Major Religions of the World Ranked by Number of Adherents, 2007. Retrieved March 11, 2008 ; http://www.adherents.com/Religions_By_Adherents.html;  Microsoft Encarta. 2007.