Friday, January 31, 2020

Using Global Variables Essay Example for Free

Using Global Variables Essay Global variables are variables that are visible to every module in the program and its scope is the entire program so that all of the modules within the program can access a global variable. They can be declared in modules by simply setting up an assignment box and adding in the variables to the modules. In Pseudocode, you will simply write out the particular variable you want to declare and its value. Many programmers go against the idea of using global variables in modules but there are a few good sides to using global variables. For one, the global variables are very easy to find within modules and can be accessed throughout all of them. Global variables also make it easier to update the objects code and on the APL*PLUS II/III systems, the correct signature in the first element can be installed once, and when the object is loaded into the workspace, instead of having to be done each time the FastFN is called. It is suggested that you try to avoid using global variables when unnecessary for several reasons. Non-locality, in other words, source code is easy to understand when the scope of its individual elements is limited. Global variables can be read or modified by any part of the program, which makes it difficult to remember or reason about every possible use. Global variables also give no access or control or constraint checking. Global variables can be set by any part of the program, and any rules regarding its use can be easily broken or forgotten by extension, the lack of access control greatly hinders achieving security in situations where you may wish to run untrusted code. Global variables also lead to concurrency issues. If global variables can be accessed by multiple threads of execution, synchronization is necessary. When dynamically linking modules with globals, the composed system might not be thread-safe even if two independent modules tested in dozens of different contexts were safe. They also create Namespace pollution because the global names are everywhere. Memory allocation issues are also big when it comes to using global variables. Some environments have memory allocation schemes that make allocation of globals tricky. References Gaddis, T. (2010). Global Variables and Global Constants. Starting out with programming logic design (pp. 104-105). Boston: Pearson Addison Wesley. Global Variables. (n.d.). Global Variables. Retrieved April 20, 2014, from http://www.chilton.com/~jimw/globals.html Global Variables Are Bad. (n.d.). Global Variables Are Bad. Retrieved April 21, 2014, from http://c2.com/cgi/wiki?GlobalVariablesAreBad Pros and Cons of Using Global Variables. (n.d.). Pros and Cons of Using Global Variables. Retrieved April 20, 2014, from http://social.msdn.microsoft.com/Forums/vstudio/en-US/53ae563a-bb7d-4526-b7c6-8e58c7bb62e6/pros-and-cons-of-using-global-variables?forum=csharpgeneral

Wednesday, January 22, 2020

Hector Tobars The Tattooed Soldier Essay -- The Tattooed Soldier Essa

  Ã‚     Ã‚  Downtown Los Angeles is one of the busiest commercial centers in the United States. However, the city holds two groups of people in different economic level-the homeless and the working class. Hector Tobar frequently includes the landscape of the setting in downtown Los Angeles in The Tattooed Soldier. The novel is about two immigrants from Guatemala who have moved to Los Angeles. The protagonist, Antonio, takes a revenge on the antagonist, Longoria because he murdered Antonio's wife and son when he was a Guatemalan soldier. Tobar applies a number of metaphors to connect the buildings and freeways in downtown to Antonio's position in the city. Buildings, freeways, and shadows are metaphors for Antonio's economic and social status.   Ã‚  Ã‚  Ã‚  Ã‚  Tobar uses description of buildings to reinforce Antonio's economic and social position in life. He informs the reader about the squat apartment buildings when the protagonist is on the way to a homeless camp, which have a significant contrast with the skyscrapers where Antonio observes later. Everyone can see the skyscrapers, but not many people know the existence of the short apartments. Tobar uses the invisibility of these apartments to reflect the inferiority of the protagonist in Los Angeles. Antonio's existence is the least significant as an illegal immigrant. He is seen as a parasite that is not accepted by the city. The apartment owner, Hwang, even forces him to leave with a call to the police (9). On the other hand, the auth...

Tuesday, January 14, 2020

Martha Stewart: Organization Ethics of Insider Trading

On December 27, 2001, Martha Stewart made a decision that changed her life, and the decision jeopardized the livelihood of her stakeholders. Ms. Stewart received a call from her stockbroker’s assistant letting her know that Dr. Samuel Waksal was trying to sell his holdings in ImClone. Dr. Waksal was the chief executive officer and founder of ImClone, and he had just received notice from the Food and Drug Administration that the drug Erbitux did not receive approval to be used as a cancer drug. Stock in ImClone was at a high due to expectations of Erbitux getting approval, and once the news of it not getting it reached the public, Dr.  Waksal knew that the price of its stock was going to decline. (Carroll & Buchholtz, 2009, p. 814) This is an example of insider trading. â€Å"Anytime a company executive or employee buys or sells stock in the company that person works for, an inside trade has occurred. † (Newkirk, 1998) In this essay I will explore who the ‘insiders’ were that knew that the stock was in danger, and the people who did not know. I will examine how Martha Stewart’s decision affected her company, Martha Stewart Living Omnimedia, and what she could have done differently. The concept of insider trading is when a person has knowledge, positive or negative, that can impact a company’s stock price and a trade is made based on that knowledge. Insider trading is illegal. Martha Stewart â€Å"acted on inside information when she sold 3,928 shares in biotechnology company ImClone Systems†. (White, 2006) The Securities and Exchange Commission (SEC), the federal agency that has the responsibility of regulating stock trading in the United States, alleged in its case against Ms. Stewart that she received an illegal tip from her broker Peter Bacanovic. The tip was that Dr.  Waksal and his family members were selling their shares of ImClone stock. Bacanovic was the broker for Dr. Waksal and for Ms. Stewart. (White, 2006) When insider trading takes place, there is a select group of privileged people who have information about the stock’s possible rise or fall. In the case of ImClone, Dr. Waksal let certain individuals, his father, his daughter and his broker’s assistant, know that a change was about to take place with ImCone stock by attempting to sell his shares. These are the people that the investigation revealed did ImClone stock trading on the day before the news become public. Martha Stewart found out about the news when Bacanovic’s assistant, Douglas Faneuil, notified her that Dr. Waksal was selling his holdings. (Hurtado, 2004) Each person who sold their holding in ImClone on December 27, 2001 with knowledge of the possible decline participated in insider trading. The other individuals that owned holdings in ImClone were not privileged to that information, they did not have an inside advantage. The two parties who knew ImClone’s stock was going down and the people who did not know have several things in common. They all felt that ImClone’s stock was a good investment and they were all about to loose money once the FDA’s decision was made public. The difference between the two parties is one had a closer connection to the executives of ImClone and the other did not. High level employees of an organization are privileged to insider information. The spouses, friends, bankers and lawyers are connected to individuals who have â€Å"awareness of material information that’s not publicly available† to everyone. (Clark, 2009) Martha Stewart and Dr. Waksal were close friends at the time of the ImClone scandal. This allowed her to have an inside advantage. When Dr. Waksal received the news that the FDA was not going to accept Erbitux’s application for approval, he had an ethical dilemma. He knew that he could not control what was about to happen to ImClone, but he wanted to â€Å"minimize his losses, and maybe the losses of some family members and close friends†. (Carroll & Buchholtz, 2009, p. 814) Dr Waksal; his father, Jack; his daughter Aliza; and a number of close friends had significant investments in ImClone†¦Of course, elling his stock and advising his father, daughter, and friends to sell their stock would reduce their loses†¦ Dr. Waksal was faced with a tough decision. On one hand, he could refrain from engaging in questionable trading practice and thereby incur a significant amount of losses in his investment. On the other hand, he could choose to sell his stock based on the information he received, reducing his investment losses, but violating the law and ethics of fair trade. (Carroll & Buchhlotz, 2009, p. 814) Dr. Waksal influenced each person he told about the FDA’s decision and each person who knew he was trying to sell his holdings. When the head of an organization decides to sell his/her holdings in the organization, knowledge of this greatly influences others to do the same. Once Martha Stewart became aware of the possible decline in ImClone stock, she had a decision to make too. Her decision was whether to do nothing or to sell her stock. The decision she made affected more people than just herself. It affected every stakeholder she was associated with at that time. This included her employees at Martha Stewart Living Omnimedia (MSO), customers and competitors of MSO products, the Kmart Corporation, CBS’s â€Å"The Early Show† where Ms.  Stewart was a style contributor, and other business leaders and the public. Employees of MSO were left wondering if their jobs were in jeopardy, customers and competitors of MSO did not know the fate of the company, Kmart’s revenues suffered, Ms. Stewart was no longer needed at CBS, and the public was left with mixed views. The ethical thing that Ms. Stewart should have done that would have spared her company’s reputation and prevented the public scrutiny that each company and person close to her had to endure would have been to not act on the tip she received about ImClone’s stock. The company’s reputation would have been saved and Ms. Stewart would have saved money. She avoided a loss of $47,673 by selling her stock in ImClone before the news of the FDA’s decision was made public. (White, 2006). â€Å"The cost to her of selling that stock, factoring in penalties, restitution, and legal cost has been estimated to be about $300 to $400 million. Furthermore, had she held on to her shares of ImClone rather than selling them, she would have made a nice profit†. (Carroll & Buchholtz, 2009, p. 17) In February 2004, after a new clinical trial and refilling by ImClone’s partner, the FDA approved the use of Erbitux for colon cancer and the price of its stock soared again. (Carroll & Buchholtz, 2009, p. 816) Dr. Waksal’s punishment for his actions was the maximum sentence of seven years in prison and he was asked to leave his position at Stanford University, the National Cancer Institute of the National Institutes of Health, Tufts University School of Medicine and Mount Sinai School of Medicine. He also lost his position of CEO with ImClone and he had to pay a fine to the SEC. His plea agreement with the government and his admittance that â€Å"he tipped undisclosed individuals to dump their stock before the FDA decision was made public† spared his father and daughter from facing charges. (Carroll & Buchholtz, 2009, p. 815-816) Dr. Waksal’s and Martha Stewart’s stockbroker, Peter Bacanovic, was sentenced to five months in prison, five months of house arrest, and fined $4,000. Bacanovic’s assistant, Douglas Faneuil was fined $2,000. (Hurtado, 2004) The original investigation of Martha Stewart was for insider trading, but she was not indicted for insider trading. A spokesperson for Ms. Stewart denied the allegations and insisted that Ms. Stewart had a prearranged agreement with her broker, Mr. Bacanovic, to sell ImClone stock if it fell below $60†¦Her assistant broker, Mr. Douglas Faneuil, however, claimed that such an agreement never existed and that Ms. Stewart sold her four thousand shares of ImClone after she learned that Dr. Waksal and other family members had dumped their stock. (Carroll & Buchholtz, 2009, p. 815) Ms. Stewart was indicted on nine federal counts. The nine-count indictment alleged that Stewart altered evidence that she traded on inside information about the biotech company ImCone Systems, conspired with her stockbroker to lie to federal officials investigating the trade, and defrauded shareholders in her company, Martha Stewart Living Omnimedia, by misleading them about why she had sold the stock†. (Carroll & Buchholtz, 2009, p. 815) Martha Stewart was found â€Å"guilty on four counts: obstruction of justice, conspiracy, and two counts of making false statements†. (Carroll & Buchholtz, 2009, p. 816) Ms.  Stewart’s punishment for her crime was five months in prison, five months in home confinement, and two years of probation. The fines she had to pay included $30,000, and $195,00 that included the $47,673 she saved by selling her shares in ImClone plus $137,019 in penalties that represent three times the loss avoided amount. (White, 2006) â€Å"In addition to the fine, Ms Stewart agreed to a five-year ban on serving as a director of a public company and to limitations during those five years on the extent of her service as an officer or employee of a public company†. (White, 2006) Ms. Stewart resigned as CEO and chairman of Martha Stewart Living Omnimedia on the same day she was indicted, but remained on the company's board. She also â€Å"resigned her position as board member for Revlon and the New York Stock Exchange. † (Carroll & Buchholtz, 2009. p. 816) Some think Ms. Stewart was justly tried and convicted, while others think she was a scapegoat for larger corporate scandals. My opinion is that the punishment given to Ms. Stewart was fair. The maximum amount of time the crime she was convicted for can be unto 20 years in prison. (Hoffman, 2007) Regardless of whom you are, consequences should follow when the law is broken. Martha Stewart broke the law in a minimal way, so her punishment fits the crime. When shareholders invest in a corporation, they do so to make a profit. The money they invest is used in several ways by the corporation. It is used for product research and development, improvements, overseas expansion, and to keep the company afloat in tough times. If the company is not successful, the investors loose money. If the company is a success, the investors are rewarded with higher values of their stock shares in the company. (Clark, 2006) Martha Stewart’s action brought an initial loss for her investors. Advertising sales plunged at MSO’s magazine when the incident began. â€Å"MSO stock plummeted by 60 percent after the charges were made public†. (Carroll & Buchholtz, 2009, p. 815) However, â€Å"when Ms. Stewart received the minimum sentence, the stock price of her company rose by 37 percent†. (Carroll & Buchholtz, 2009, p. 816) Before the ImClone scandal in 2001, Martha Stewart’s products were sold in Kmart and she was the CEO of MSO. During the ordeal, her magazine Martha Stewart Living loss advertising sponsors and pictures of Ms. Stewart were removed from the magazine. Less than three years after she got out of prison, the magazine showed an increase in advertising pages, pictures of Ms. Stewart are back in the magazine, she has a channel on Sirius satellite radio, she has a new magazine called Blueprint for younger people, and she has a line of homes with KB Homes. â€Å"In 2006, she published Martha Stewart’s Home-keeping Handbook, a 744-page guide to all things domestic†. (Carroll & Buchholtz, 2009, p. 817) As of today, MSO is a thriving organization. Martha Stewart has a line of products at The Home Depot, PetSmart and Macy’s, along with The Martha Stewart Show on the Hallmark Channel. The company reported $49. 7 million for its third quarter earnings in 2010. (â€Å"Martha Stewart,† 2010) Prior to the ImClone scandal, Martha Stewart owned a magazine, her products were in Kmart and she worked for â€Å"The Early Show†; after coming out of prison, she still owns the magazine, her products are with more prominent companies, she has her own show on television and her organization is still making profits. The relationship she had with her stockholders may have suffered during the scandal, but today the relationship is mended. Ethical and public issues must be considered in a stockholder relationship. Decisions made by executives can have enormous effects on a company which can then cause negative and/or positive changes in a stockholder’s shares depending on how the public receives a brand or corporation once it has gone through a scandal. Loyalty to the Martha Stewart brand has helped the company to endure through the storm of the scandal. (Carroll & Buchholtz, 2009, p. 816) Shareholders should be considered when decisions are made that are unethical or that could be harmful to the company’s public image.

Monday, January 6, 2020

The Reformation Of The Nineteenth Century - 1757 Words

The sixteenth century is a period that will be highly remembered by many. The Catholic Church was coming under heavy fire for its need to reform. And the Reformation acted as a catalyst for change, bringing an unforeseen end to the influence of the Roman Catholic Church. Stemming from the Renaissance with the growth of individualism and the scholarly search of what constituted to the original Christianity place the church under heavy scrutiny. The sixteenth century gave rise to a medieval church in crisis; many reformers dismissed the claims of the pope as a supreme being over kings had spiritual authority over Western Christendom. Most theologians argued about the growing greed of the church and the lack of educated and spiritual clergy men. The reformation which is undeniably the dramatic event of the sixteenth century started in Germany and swiftly spread throughout Europe. The reformation began as a result the delinquency of the church to mend its ways. As a result of the growing problems in the Church there was starting to be a new outlook of what the desired Church of God should model. The reformation began because of one’s man bold and cunning way to fix the problems of the church. Upon his own introspection he was growing dissatisfied with the actions of the church and had aimed to allow the church to see the problems they were having. Martin Luther, a German Augustinian monk, penned the Ninety- Five theses. The Ninety- Five theses explicitly expressed hisShow MoreRelatedWomen s Influence On Women1095 Words   |  5 Pagestime. Fashion has been reformed throughout the ages. Change in fashion has reshaped the personalities of women. Particularly in nineteenth century, fashion played a significant role in enforcing the existing definition of femininity, it had a notable effect on women’s health; however, the reformation of the fashion redefined femininity. In the early nineteenth century, the prevailing definition of femininity was enforced by the way women used to dress up. According to Torrens (1999), the idealRead MoreMartin Luther And The Protestant Reformation1608 Words   |  7 PagesThe first step of the Protestant Reformation was carried out by a monk called Martin Luther to adjust the unfairness of the Catholic Church. He believed that the Christian faith was a simple religion, misrepresented on account of inadequate papal authority. Like the Roman Empire the Church had broadened its territorial domain and bureaucratic function. The moral authority of the church was corrupted because of its tainted clerical practices. In his Ninety-Five Theses, Martin mainly targeted theRead MoreSweden : A Scandinavian Country922 Words   |  4 Pagesaround the twelfth century where Christianity was their main religion. By the middle ages, Sweden controlled Finland and Norland. By this time King Gustav Vasa was in power. He wanted Sweden to be an independent and more modernized country. The only way this could happen is if they moved away from the Catholic Church. After King Vasa fought for the kingdom’s independence, Lutheranism became the main religion. This occurred during the Protestant Reformation. During the reformation, there was a splitRead MoreMarriage Essay988 Words   |  4 PagesChristian church along with other factors displaying themselves in the country such as the Industrial Revolution and the Protestant Reformation. Marriage in the twenty-first century is also being changed with the society and world around it, not just socially but legally. Looking back into marriage during the nineteenth century many stereotypes from the twenty-first century can be seen, supported by facts. This would include that for the most of part it is commonly acknowledged that marriage was notRead MoreEarly American Transcendentalism1204 Words   |  5 PagesEarly American transcendentalism has one of the greatest influences towards American society because it is not only a philosophy, but also a religion and physical progression. During the early nineteenth century, Ralph Emerson, Henry Thoreau, and other radical individuals challenged the present day theories of values, ethics, and what it means to live life to the fullest (Timko). If early American transcendentalists were living among civilians today, would present day civilians think the earlierRead MoreTradition and Dissent in English Christianity from the Sixteenth to Nineteenth Centuries1554 Words   |  7 Pagestrace the footsteps of tradition and dissent of Christianity in England be tween the sixteenth and nineteenth centuries by looking at the statement â€Å"†¦ a previous generation’s â€Å"dissent† itself becomes â€Å"tradition†, and a previously dominant tradition becomes dissent.† (Tradition and Dissent p72). With particular reference to the differences between Protestants and Catholics. Before the Reformation, England was a Roman Catholic society that was led by the Pope in Rome. Religious life followed aRead MoreAge of Enlightenment and Century5169 Words   |  21 Pagesartistic, philosophical and cultural values of their times. (Pictures of Michelangelo s David and Giacometti s Man Pointing 1947). 3. 82: Compare and contrast the cultural values of the Enlightenment with those of the sixteenth century Northern Renaissance. 4. 84: Compare and contrast the views of Machiavelli and Rousseau on human nature and the relationship between government and the governed. 5. 85: To what extent is the term Renaissance a validRead MoreRelationships And Culture Of Early 19th Century America And Their Ramifications1526 Words   |  7 PagesLong Essay: Relationships of Vulnerable Groups to the Identity and Culture of Early 19th-Century America and their Ramifications Back in the early 1800s, the United States of America had been a country associated with the promise of liberty, autonomy from tyrannical rule, and the unalienable rights specified in the formative Declaration of Independence - life, liberty, and the pursuit of happiness. As a consequence of the formation of the country and its promises, several diverse groups had flockedRead MoreLiterature Of Prison Literature1024 Words   |  5 Pagesby its great body of literature, can be exemplified as a proper case to support such explanations. According to Victor Bailey, English Prisons, Penal Culture, and the Abatement of Imprisonment, (1895–1922), the nineteenth century, to be precise the Victorian era (1837–1901), was the century of confinement and punishments, and in no way comparable to the other eras. Victorian period is often seen as a time of strict moral standards, when people were very serious, marriages were always permanent, andRead MoreHermann Mesmer : An Astoundin g Development For Mental Health1495 Words   |  6 Pagesespecially to the middle class who was guided by George Combe who was the leader and a spokesman for the phrenology movement. The abundance of scientific accomplishments in Great Britain catalyzed a movement of treatment and asylum reform. In the nineteenth century Great Britain, numerous social acts were performed with the intention of reforming asylum and medical treatment standards. Before asylums existed, lunatics either roamed the streets for shelter or were confined to the basements and cellars of