Wednesday, March 18, 2020

Why People Act

Why People Act Edward Albee believed in the unity of family, as he chose to focus on family relationships in many of his plays. Born in our nation's capitol (Washington, D.C.) in 1928, he was adopted by a theater executive named Reed A. Albee of the Keith-Albee chain of vaudeville and motion picture theaters. Edward is known for the symbolic dialogue and realism of his plays, and praised for resembling theater of the absurd characters (people who are unwilling to communicate or sympathize or empathize with each other) as well as criticizing long accepted but immoral ideas and values. He is called the most recent Eugene O' Neill.He attended many prep schools as a youth, and stayed at the Trinity College in Hartford, Connecticut for a short while. He juggled through many odd jobs, before he decided to be a playwright. His first play was written in just three weeks in 1959 at the tender age of 31 called The Zoo Story.English: Drawing for The New York Times

Monday, March 2, 2020

System Tray Delphi Application

System Tray Delphi Application Take a look at your Task Bar. See the area where the time is located? Are there any other icons there? The place is called the Windows System Tray. Would you like to place your Delphi applications icon there? Would you like that icon to be animated - or reflect the state of your application? This would be useful for programs that are left running for long periods of time with no user interaction (background tasks you typically keep running on your PC all day long). What you can do is to make your Delphi applications look as if they are minimizing to the Tray (instead of to the Task Bar, right to the Win Start button) by placing an icon in the tray and simultaneously making your form(s) invisible. Lets Tray It Fortunately, creating an application that runs in the system tray is pretty easy - only one (API) function, Shell_NotifyIcon, is needed to accomplish the task. The function is defined in the ShellAPI unit and requires two parameters. The first is a flag indicating whether the icon is being added, modified, or removed, and the second is a pointer to a TNotifyIconData structure holding the information about the icon. That includes the handle of the icon to show, the text to show as  a tool tip when the mouse is over the icon, the handle of the window that will receive the messages of the icon and the message type the icon will send to this window. First, in your main forms Private section put the line:TrayIconData: TNotifyIconData; type TMainForm class(TForm) procedure FormCreate(Sender: TObject); private TrayIconData: TNotifyIconData; { Private declarations }public{ Public declarations }end; Then, in your main forms OnCreate method, initialize the TrayIconData data structure and call the Shell_NotifyIcon function: with TrayIconData dobegin cbSize : SizeOf(TrayIconData); Wnd : Handle; uID : 0; uFlags : NIF_MESSAGE NIF_ICON NIF_TIP; uCallbackMessage : WM_ICONTRAY; hIcon : Application.Icon.Handle; StrPCopy(szTip, Application.Title); end; Shell_NotifyIcon(NIM_ADD, TrayIconData); The Wnd parameter of the TrayIconData structure points to the window that receives notification messages associated with an icon.   The hIcon points to the icon we want to add to the Tray - in this case, Applications main icon is used.The szTip holds the Tooltip text to display for the icon - in our case the title of the application. The szTip can hold up to 64 characters.The uFlags parameter is set to tell the icon to process application messages, use the applications icon and its tip. The uCallbackMessage points to the application-defined message identifier. The system uses the specified identifier for notification messages that it sends to the window identified by Wnd whenever a mouse event occurs in the bounding rectangle of the icon. This parameter is set to WM_ICONTRAY constant defined in the interface section of the forms unit and equals: WM_USER 1; You add the icon to the Tray by calling the Shell_NotifyIcon API function. The first parameter NIM_ADD adds an icon to the Tray area. The other two possible values, NIM_DELETE and NIM_MODIFY are used to delete or modify an icon in the Tray - well see how later in this article. The second parameter we send to the Shell_NotifyIcon is the initialized TrayIconData structure. Take One If you RUN your project now youll see an icon near the Clock in the Tray. Note three things.   1) First, nothing happens when you click (or do anything else with the mouse) on the icon placed in the Tray - we havent created a procedure (message handler), yet.2) Second, there is a button on the Task Bar (we obviously dont want it there).3) Third, when you close your application, the icon remains in the Tray. Take Two Lets solve this backward. To have the icon removed from the Tray when you exit the application, you have to call the Shell_NotifyIcon again, but with the NIM_DELETE as the first parameter. You do this in the OnDestroy event handler for the Main form. procedure TMainForm.FormDestroy(Sender: TObject);begin Shell_NotifyIcon(NIM_DELETE, TrayIconData);end; To hide the application (applications button) from the Task Bar well use a simple trick. In the Projects source code add the following line: Application.ShowMainForm : False; before the Application.CreateForm(TMainForm, MainForm); E.g let it look like: ...begin Application.Initialize; Application.ShowMainForm : False; Application.CreateForm(TMainForm, MainForm); Application.Run;end. And finally, to have our Tray icon respond to mouse events, we need to create a message handling procedure. First, we declare a message handling procedure in the public part of the form declaration: procedure TrayMessage(var Msg: TMessage); message WM_ICONTRAY; Second, the definition of this procedure looks like: procedure TMainForm.TrayMessage(var Msg: TMessage);begincase Msg.lParam of WM_LBUTTONDOWN: begin ShowMessage(Left button clicked - lets SHOW the Form!); MainForm.Show; end; WM_RBUTTONDOWN: begin ShowMessage(Right button clicked - lets HIDE the Form!); MainForm.Hide; end; end;end; This procedure is designed to handle only our message, the WM_ICONTRAY. It takes the LParam value from the message structure which can give us the state of the mouse upon the activation of the procedure. For the sake of simplicity well handle only left mouse down (WM_LBUTTONDOWN) and right mouse down (WM_RBUTTONDOWN). When the left mouse button is down on the icon we show the main form, when the right button is pressed we hide it. Of course, there are other mouse input messages you can handle in the procedure, like, button up, button double click etc. Thats it. Quick and easy. Next,  youll see how to animate the icon in the Tray and how to have that icon reflect the state of your application. Even more, youll see how to display a pop-up menu near the icon.

Saturday, February 15, 2020

Discussion Board 5 Essay Example | Topics and Well Written Essays - 250 words

Discussion Board 5 - Essay Example So I view technology mainly as the reason that a gap between knowledge and technology exists. After all, I have yet to see a 21st century kid who does not think Google holds the answers to the mysteries of the world and then some. Or an adult who does not have a tablet PC or a cellular phone that does not have the ability to download news and information at the swipe of a fingertip. Anybody who happens to be aged 70 and above these and is not computer literate will be out of luck in trying to gain more advance information and knowledge about things of particular interest to them. Indeed, I see this gap existing in my community everyday. With the younger generation impatiently trying to teach their grandparents about computers and how to access the web so they can get access to valuable information relating to their personal or medical care. It saddens me to see this gap constantly widening because technology has far outpaced the spread of knowledge already and has mistakenly allowed people to think that the two are actually growing at a simultaneous

Sunday, February 2, 2020

Hypothetical Role-play Web Base Discussion Personal Statement

Hypothetical Role-play Web Base Discussion - Personal Statement Example Also, the level and volume of content of these subjects is quite high necessitating more time. Therefore, students in the first year of the secondary school are not expected to spend more time than required in creative writing. Rather, they are instructed to formalize their writing habits by learning the art of writing essays by the use of the standard format of the introductory opening paragraph, followed by three to four paragraphs which constitute the body of the essay and close it with the concluding paragraph. They are also trained in the ways of answering objective questions, grammar, letter and report writing, dialogues, interviews. The main intention behind training in the English language and literature in the secondary school is to develop the student's grasping power and communication skills. Coming back to Ryan, I was initially impressed by the high level of interest your son exhibited in the English subject. He was very keen to get the list of the books to read so that he could get started. However, I could see his expression change when he was told that the syllabus in the secondary school was different from the one followed by the primary school. From then on, I had begun to note with growing concern that your son's performance in the English subject... But the issue does not end with change of attitude towards English. Obviously, your son has experienced some disappointment, maybe even disillusionment, with the English subject in his current year. This is the time when he must be dealt with care and concern. This is also the period to educate the child in the words of St. Francis of Assissi, to, "learn to change what he can, accept what he cannot change, and have the wisdom to know the difference." Important guidelines Besides entering the first year of the secondary school, your son is at the stage in life when children begin to exhibit signs of growing up. He wants to do his best but does not know how. He wants to spend more time reading but is unable to do so as the amount of homework he now has does not allow him more time. He wants to concentrate on his studies but finds the disruption caused by a small number of students affects the whole class. He wants to stop them but feels scared of being ostracized. He looks forward to challenging assignments but finds the content and process new and he has to learn these contents and processes before getting to the position of facing the challenges. In the circumstances, there is little you and I can do to stop your son. After all, boys will be boys. Up to this point of time, they have been good and obedient. In the times to come they must learn to face challenges. They must learn to make their choices and make them wisely. The only way to help them make the right choice is to spend time with them, understand them and show you are there for them. I am Ryan's English teacher. I am experienced in dealing with my students. I will steer

Friday, January 24, 2020

Essay --

This is the retake part of English article assignment. The requirements of this part are to write opinion about two articles related to Macro Economics and two articles related to Law, as well as a personal comment about Saunders’s Research methods book students had to read for Methodology, evaluating its educational value, as well as pointing out its weak and strong points. The students should mediate whether they like the article or not, if it’s related to lectures in the class or contradicts it, also if it illustrates something. The article chosen should not be older than 6 months and the students have to write their own comment about the article based on their knowledge built during their studying of the courses. 2. Macro Economics articles A. Comment on article 1 Globalization became an important aspect in the international economic relations. I chose this article and liked it because it discusses one of the important issues that international economic relation face, which is globalization. In my opinion it’s not only a problem, but it could be useful to certain countries, yet it could destroy the fair competition in some countries. To me, if there was no barrier or limitation for the globalization, people might stop buying the local product, which means the gross domestic production will decrease leaving the country in an economic loss. Because of globalization, most of the countries in the world will no longer concentrate on the local markets. Their focus became on regional or even world markets. It also changed the way they produced domestic goods. Just because a country might have the resources and ability to produce a particular commodity no longer means that they will produ... ...heart which gives no space for creativity. In my opinion as a student I think that the books we study should be interesting and leave a space of creativity for the student because we have many lectures and we need to study a lot of book and it is very hard for most of us to study all the books by heart, that is why the study books should be written in way that allows all the students to read it and understand the content to be able to write the idea in their own way and not just copy pasted text from the book. As a conclusion I see that the book has a rich content for those who want to be specialized as market researchers because of its intensive information but I think it would be better if we could learn the research methods in more general ways that we understand and can help us in our future jobs not just theoretical details we forget after finishing the exam.

Thursday, January 16, 2020

Psychology Essay Essay

Omkar Kawade Charles Ramskov Psychology Essay Perception can be defined as the process of how an organism interprets a sensation. Many psychologists studied different types of perception, such as Constructive Perception (top-down) that was studied by Rock, Neisser, and Gregory. Another approach of perception was the Direct / Ecological (bottom up) which was studied by Gibson. Constructive (top down) perception is an active and deductive reasoning process. It is seen as an obstacle, object, or any matter that changes your perspective of its view. The way you view the object can be in any matter, but usually it connects back to a memory or an experience that you have had before. For example, a person called Eddie is an active user of a social network called Facebook, in which he has many friends, and talks to them very often. In this chat, he uses emoticons that are made up of keyboard functions such as colon and parenthesis â€Å" 🙂 â€Å". If you take this emoticon and rotate it, you will see a smiley face. When Eddie sees this arrangement of keyboard functions, he sees a smiley face. However, Kevin, a person who has no social interaction through the computer and/or Internet, sees this simply as a colon placed next to a right parenthesis sign. Direct Ecological (bottom up) perception is an inductive reasoning process. Gibson stated his theory of bottom up perception was basically visual perception and the information needed was available from the proximal stimulus that was produced by the distal stimulus. In this case, the example is that Kevin looks at the emoticon and sees only a colon and right parenthesis, but to furthermore find more perception in this symbol, top down perception is needed. Bottom up perception is the visual environmental view of what we see and how we interpret and distinguish certain things apart from each other, while top down perception is how we furthermore establish a different meaning for i t.

Wednesday, January 8, 2020

The Advantages of Not Eating Meat - Free Essay Example

Sample details Pages: 1 Words: 440 Downloads: 10 Date added: 2019/06/24 Category Health Essay Level High school Tags: Vegetarian Essay Did you like this example? Meat is bad for you because of many reasons concerning your health. Meat is the cause of several illnesses including cancer and many more health issues. Eating meat is not a good idea because of how it makes it harder maintain a healthy weight and after a long period of time, and this can slowly lead to death. Eating meat causes many deaths around the world. According to the Journal of the American Medical Association, that researched deaths caused by eating meat, state that, Out that around 700,000 people in 2012 developed Type 2 Diabetes. Even cancers happened as a result of diets including meat. Around 50% of the people who died, did not have the right nutrition in their foods which were mainly from processed meats. According to Plant Based News, Eating red meat will shorten your lifespan and vegetarians will live longer lives because of not having meat in their diets. Your life is more important than eating meat. Don’t waste time! Our writers will create an original "The Advantages of Not Eating Meat" essay for you Create order Furthermore eating meat isnt just bad for you, but it is bad for the animals that you eat, and the environment. According to Peta.org, A single cow used for milk can drink up to 50 gallons of water per day-or twice the amount in hot weather-and it takes 683 gallons of water to produce 1 gallon of milk, and 2,400 gallons of water to produce 1 pound of beef. In order for 2 pounds of beef a cow has to drink 4,800 gallons of water, or twice the amount of hot weather which is 9,600 gallons of water. Also, according to Animal Equality, Over 56 billion animals are killed each year and most of these are farmed animals. That means in two years, 112 billion farm animals are killed. This must stop because it is doing more harm than it is doing good. Some people say that when you dont eat meat you arent receiving enough protein in your diet, and it is unhealthy for you. According to WholeFoodsMarket.com, Broccoli contains more protein per calorie than steak and, per calorie, spinach is about equal to chicken and fish. Additionally, according to Health Line, Meat doesnt give you enough nutrients. For example meat doesnt give you enough Vitamin C, which is important because it strengthens and builds up tissues it also gives protein to your ligaments and more parts of the human body Eating meat is not healthy or good for the environment. Evidence from many different sources makes it clear that sicknesses are the result of eating several different types of meat. Your health, and the animals around the world living in dirty conditions are in your hands and having a temptation to eat meat should not be a higher priority.