Saturday, January 25, 2020
The Great Gatsby :: Essays Papers
The Great Gatsby Francis Scott Key Fitzgerald was influenced by eastern society during the roaring 20ââ¬â¢s. He portrays his knowledge of eastern morality in the novel The Great Gatsby. In The Great Gatsby the corruptive effect of wealth is the cause of the most conflict regarding the morals of Nick Caraway and the morals of Daisy and Tom Buchanan, Jordan Baker, and Jay Gatsby. Daisy Buchanan has a very little moral value for herself and others. She is very careless. These low morals show throughout many parts in the story. For instance, her attitude toward Jay Gatsby ââ¬â she doesnââ¬â¢t want him for what he is, but for the superficial illusion of what he is. The ultimate act of carelessness by Daisy, however, is the violent death of Myrtle. Daisy never thought twice about the night she hit Myrtle with the car, and never looked back. She never even bothered to tell Tom the truth that she was driving the car, not Gatsby. They move away before Gatsby is even dead. Tom Buchanan is so much like Daisy, which is why they will never be separated from each other. Tom Buchananââ¬â¢s outlook is much like Daisyââ¬â¢s, Tom cares only for himself. Tom believes that cheating on his wife is perfectly normal. This is a very prominent example of Tom Buchananââ¬â¢s low Morals. Tom views Daisy as a possession rather than a person. Tom did not marry Daisy because he loved her. He married her for her beauty, as a prize, to show that he had the best of everything. The low morals of Jordan Baker are what hurt Nick the most. Although Nick realizes he will never be with Jordan, he still has his hopes. He knows that Jordanââ¬â¢s ââ¬Å"wealthy moralsâ⬠will not allow this. Jordan can never be with Nick simply because she is rich and Nick doesnââ¬â¢t have money. Rich girls donââ¬â¢t marry poor boys. Jay Gatsbyââ¬â¢s actions conflict with his morals. Gatsbyââ¬â¢s fortune did not come from ââ¬Å"old money.â⬠Most of his fortune was obtained trough illegal activities. This conflicts with how Jay portrays his morals. He portrays himself as being morally sound, but throughout the book Nick can sense the reality of Gatsby. Gatsbyââ¬â¢s affair with Daisy also conflicts heavily with his moral values. He feels he is doing the right thing, but at the same time he feels guilty about what he is doing.
Friday, January 17, 2020
Auditing Ethics
The natural setting, that we are predominantly in an imperfect world, brings about the question of ethics in many spheres of the human endeavor, including auditing.It is therefore a pre-liquisite for all auditors in any organization to understand and give concerted considerations to the human factor (both within the organization and outside) as they conduct ethically sensitive audits as well as determining the required audit coverage. It is common practice for most organizations to have some postulated ethical guidance procedures-the codes of ethics- the comprehensive principles and values statement that should serve as a daily guide to auditors in their daily work.This gives an outline regarding not only the ethical requirements but also the professional obligations that should be emphasized whenever any critical decisions relating to the business proceedings are to be made (Matthias, 2004, 16).There should be prior, clear communication and reinforcement of such ethical codes among the suppliers, customers, and employees (including the internal and external auditors). However, the extent and the nature of any audit coverage are critically determined by the managementââ¬â¢s degree of commitment to high ethical and integrity standards.DiscussionIt is paramount to understand at this point that there are several risk factors that are involved in the process of auditing ethics. This implies that the auditors must be well conversant with all the functional fields in an organization so as to identify activities and functions in which ethical implications would pose the greatest risks. After such risks have been identified, a value (such as low, medium or high) is assigned to facilitate proper allocation of audit efforts (Usoff, 2001, 21).Among the most considered risks by auditors include, but are not limited to the following:à ·Ã à à à à à à à Sensitive data/information disclosureà ·Ã à à à à à à à Perceived business lossà ·Ã à à à à à à à Adverse publicityà ·Ã à à à à à à à Probable injury to employers, employees, and/customers andà ·Ã à à à à à à à Adverse legal implications.Some areas are imperatively more risk prone than others and auditors should therefore allocate them more ethical auditing time. One of these is the procurement and purchasing department in most, if not all enterprises. Red flags must always be raised in times when larger gratuities and gifts are offered by suppliers. These also include other nominal gifts offered, and every employee who is involved in purchases must be thoroughly reminded of the company policy on gratuities and gifts.Another are that require careful consideration at all times is the environmental, health issues, and safety department. An elaborate example deliberate audit denial is the Sovietââ¬â¢s Chernobyl nuclear reactor accident which they refused to acknowledge until other European neighbors complained ab out the nuclear fallouts.Environmental issues have been among the major challenges to industries world wide, with many other stakeholders such as the media, the public and regulatory bodies demanding apt responses on the part of the companies to make responsible precautions (Caplan, 2003, 14).
Wednesday, January 8, 2020
Multi-threading in C# With Tasks
The computer programming term thread is short forà threadà of execution, in which a processor follows a specified path through your code. The concept of following more than one thread at a time introduces the subject of multi-tasking and multi-threading. An application has one or more processes in it. Think of a process as a program running on your computer. Now each process has one or more threads. A game application might have a thread to load resources from disk, another to do AI, and another to run the game as a server. In .NET/Windows,à the operating system allocates processor time to a thread. Each thread keeps track of exception handlers and the priority at which it runs, and it has somewhere to save the thread context until it runs. Thread context is the information that the thread needs to resume. Multi-Tasking With Threads Threads take up a bit of memory and creating them takes a little time, so usually, you dont want to use many. Remember, they compete for processor time. If your computer has multiple CPUs, then Windows or .NET might run each thread on a different CPU, but if several threads run on the same CPU, then only one can be active at a time and switching threads takes time. The CPU runs a thread for a few million instructions, and then it switches to another thread. All of the CPU registers, current program execution point and stack have to be saved somewhere for the first thread and then restored from somewhere else for the next thread. Creating a Thread In the namespace System. Threading, youll find the thread type. The constructor threadà (ThreadStart) creates an instance of a thread. However, in recent C# code, its more likely to pass in a lambda expression that calls the method with any parameters. If youre unsure about lambda expressions, it might be worth checking out LINQ. Here is an example of a thread that is created and started: using System; using System.Threading;namespace ex1{class Program{public static void Write1(){Console.Write(1) ;Thread.Sleep(500) ;}static void Main(string[] args){var task new Thread(Write1) ;task.Start() ;for (var i 0; i 10; i){Console.Write(0) ;Console.Write (task.IsAlive ? A : D) ;Thread.Sleep(150) ;}Console.ReadKey() ;}}} All this example does is write 1 to the console. The main thread writes a 0 to the console 10 times, each time followed by an A or D depending on whether the other thread is still Alive or Dead. The other thread only runs once and writes a 1. After the half-second delay in the Write1() thread, the thread finishes, and the Task.IsAlive in the main loop now returns D. Thread Pool and Task Parallel Library Instead of creating your own thread, unless you really need to do it, make use of a Thread Pool. From .NET 4.0, we have access to the Task Parallel Library (TPL). Asà in the previous example, again we need a bit of LINQ, and yes, its all lambda expressions. Tasks uses the Thread Pool behind the scenesà but makeà better use of the threads depending on the number in use. The main object in the TPL is a Task. This is a class that represents an asynchronous operation. The commonest way to start things running is with the Task.Factory.StartNew as in: Task.Factory.StartNew(() DoSomething()); Where DoSomething() is the method that is run. Its possible to create a task and not have it run immediately. In that case, just use Task like this: var t new Task(() Console.WriteLine(Hello));...t.Start(); That doesnt start the thread until the .Start() is called. In the example below, are five tasks. using System;using System.Threading;using System.Threading.Tasks;namespace ex1{class Program{public static void Write1(int i){Console.Write(i) ;Thread.Sleep(50) ;}static void Main(string[] args){for (var i 0; i 5; i){var value i;var runningTask Task.Factory.StartNew(()Write1(value)) ;}Console.ReadKey() ;}}} Run that and youà get the digits 0 through 4 output in some random order such as 03214. Thats because the order of task execution is determined by .NET. You might be wondering why the var value i is needed. Try removing it and calling Write(i), and youll see something unexpected like 55555. Why is this? Its because the task shows the value of i at the time that the task is executed, not when the task was created. By creating a new variable each time in the loop, each of the five values is correctly stored and picked up.
Subscribe to:
Posts (Atom)