Friday, December 27, 2019

Perl Array Splice() Function - Quick Tutorial

The Perl splice function takes the following form: Perls splice() function is used to cut out and return a chunk or portion of an array. The portion that is cut out starts at the OFFSET element of the array and continues for LENGTH elements. If the LENGTH is not specified, it will cut to the end of the array. Example of the Perl Splice Function Think of the myNames array as a row of numbered boxes, going from left to right, numbered starting with a zero. The splice() function would cut a chunk out of the myNames array starting with the element in the #1 position (in this case, Michael) and ending 3 elements later at Matthew. The value of someNames then becomes (Michael, Joshua, Matthew), and myNames is shortened to (Jacob, Ethan, Andrew). Using the Optional REPLACE_WITH As an option, you can replace the portion removed with another array by passing it in the REPLACE_WITH argument. In the above example, the splice() function would cut a chunk out of the myNames array starting with the element in the #1 position (in this case, Michael and ending 3 elements later at Matthew. It then replaces those names with the contents of the moreNames array. The value of someNames then becomes (Michael, Joshua, Matthew), and myNames is changed to (Jacob, Daniel, William, Joseph, Ethan, Andrew). You might want to check out some other Perl array functions such as reverse() to reverse the order of your array.

Thursday, December 19, 2019

The Mental Health Multidimensional Intake Form For Clients...

Intake Form Critique Shelli J. Ness SWG 510: Foundation Practice I Arizona State University Online Fall 2016 Introduction In this critique, I will examine the mental health multidimensional intake form for clients beginning services at Fairview Counseling Centers in Minneapolis, MN. According to their website, this center encourages clients to have the intake forms completed before their initial intake appointment (2016). There are different forms depending on the client’s age and needs. For this report, I will critique the adult intake form, which is nine pages long. Presenting Problem This adult intake form asks â€Å"What has led you to seek help at this time?† followed by four questions regarding past success, supports, strengths, and challenges (p. 1). I appreciate that this is an open-ended question as it will allow for the client to fill in whatever issues he/she has identified in his/her life. This question also allows the client to give multiple answers if he/she has several concerning factors to address. Number of Questions This intake packet is lengthy. I do believe it would be beneficial to the client if there were not so many questions. People coming in for services already have concerns or issues they are trying to work through. Many times, clients feel overwhelmed or anxious about beginning mental health services. This intake form, with all its questions and nine pages, may contribute to increased anxiety or be overwhelming for people. The questions are

Wednesday, December 11, 2019

Disaster Fire Defense Planning free essay sample

A study on advance planning and training for fire and emergency disaster relief. This paper examines the planning and management of disaster and fire relief workers and their efforts. It describes the need for a large management system for orchestrating the disaster response; the system used is the incident command system (ICS) for commanding, controlling and coordinating the efforts of individual agencies as they work toward the common goal of stabilizing an emergency or disaster, while making every effort to protect life, property and the environment. The paper examines this system accomplishes these tasks effectively and economically through centralized communications and training. The ICS was created as a response to other non-standard terminologys failure to expand or contract as required by the situation. By enabling various agencies to communicate with each other and expand and contract to help emergency situations, the ICS prevents chaos, individualism, injury, and further damage, while enabling agencies to collect, evaluate and disseminate information about the development of the incident and use of resources. We will write a custom essay sample on Disaster Fire Defense Planning or any similar topic specifically for you Do Not WasteYour Time HIRE WRITER Only 13.90 / page

Wednesday, December 4, 2019

The Carpenters Son free essay sample

We have been made holy through the sacrifice of the body of Jesus Christ once for all. (Hebrews 10:10) Devout Christians should be familiar with those words as they revolve around the noble death of Gods one and only son, who is one of the cornerstones of the Christian faith. This man and his sacrifice are frequently referred to by poets and there are several poems whose entire message is all about Jesus Christ. One such poem is a satire written by poet A. E. Housman, titled â€Å"The Carpenters Son†. Housman’s work is not your conventional religious poem as it offers a very negative view on mankind and Jesus himself, which is considered extremely offensive and crude by a large majority of readers. Yet, like many other poets, Housmans faith greatly influenced the poetry he wrote, which was also a reflection of not only his religion, but his life. We will write a custom essay sample on The Carpenters Son or any similar topic specifically for you Do Not WasteYour Time HIRE WRITER Only 13.90 / page When a person goes through a pivotal event in their life, that event often changes their religious views, which can be observed in their creative writing. The message of Housmans poem â€Å"The Carpenters Son† is a reflection of signifcant incidents from his past, that altered his faith and religious beliefs such as his mothers passing and his unrequited love for another man. While initially very devoted to his religion, the death of Housmans mother caused him to lose faith, which seems to have greatly shaped the message of â€Å"The Carpenters Son†. He was born into a large and very religious family; his great-grandfather was a preacher, causing much of his life to revolve around the familys faith. Out of his parents and six other siblings, Housman was closest to and most attached to his mother. Unfortunately, at the age of twelve, he lost his mother to cancer. This loss of the most important person in Housmans life struck a heavy blow to the young boy, who, as the eldest of seven children, was forced to accept a large amount of responsibility and help care for his siblings. Following his mothers death, he soon found someone to blame for the tragedy and his misfortune: God. He resented God for ignoring his prayers and neglecting his mothers health then suddenly taking her life away from him. Because of those feelings caused by his mothers death, from that moment on Housman began to lose his faith and, after a few years, completely abandoned God and his religion, becoming an atheist. Later in his early adult years, Housman was once again struck by misfortune. Another significant and tragic occurrence that contributed to the message of â€Å"The Carpenters Son† was the breaking of Housmans heart when he fell in love with his heterosexual male friend. In 1877 Housman enrolled into St. Johns College which was where he met friend and classmate Moses Jackson. At the age of twenty-one, Housman fell deeply in love with the attractive young Jackson. However, to the dismay of Housman, Jackson, who the first and last man Housman ever fell in love with, was not only heterosexual, but also criticized homosexuality, often referring to it as â€Å"beastliness†. This crushed Housmans heart and sprouted his belief that he was cursed to live the rest of his live devoid of love. This heartbreak changed Housmans life and most likely greatly contributed to his animosity towards his life and the God he had long deserted. The tragedies suffered by Housman established a very bitter resentment towards his abandoned religion, which led to a negative portrayal of Jesus Christ in â€Å"The Carpenters Son†. As a Biblical allusion, the title of the poem does not convey much respect for the one who sacrificed his own life the sins of mankind. In fact, Housman’s choice of title causes Jesus to sound like any other mortal man as it refers to his father as being the human man who was a carpenter rather than God. This shows how low his regard for such an honoured figure was, a result of his bitterness towards his former faith. The poem itself delves further into Housmans resentment towards Jesus and Christianity when Housman takes on the persona of â€Å"the Carpenters Son† himself. The nursery-rhyme like rhythm makes the mood seem almost mocking as Housman depicts Christ as regretting his decision to sacrifice himself and has him advising others to save themselves rather than following in his footsteps. The voicing of his regret makes it seem like he wants the reader to feel guilty, ending the first and final stanza with the words â€Å"Fare you well, for ill fare I: Live, lads, and I will die. That regret is emphasized by his wish that he had chosen to stay and work with his father rather than sacrifice his life and experience so much suffering. Then, the lines â€Å"Oh, at home had I but stayed [ ] then I might have built perhaps Gallow-trees for other chaps, never dangled on my own,† even goes so far as to imply he regrets his decision so much that he would prefer that it was someone else in his place. After lamenting his poor decision, he then advises others to not make the same mistake he did for he himself wishes he had chosen to save his own life rather than die for others. This portrayal of Jesus was a blasphemous one, to say the least, completely contradicting the bible and demeaning the sacred character of Christ. Housmans poem makes Christ come across as selfish and cowardly, two words that are almost never associated with Christ in the bible. Also, the last thing people are supposed to learn from Jesus actions is that sacrificing yourself for the betterment of others is not worth it, and yet that is exactly what Housman has Christ implying the entire poem. Housman, as a formerly devout member of the Christian faith, was most likely well aware of how offensive his interpretation of Christ was and how every aspect of his poem defied the words of the Bible, but his poem was written that way for a reason. The tragedies Housman suffered, mainly the death of his mother and the loss of his only love, caused him to lose hope, abandoning, and even bearing a grudge against, God and his former religion. This resentment influenced his writing producing such a bitter commentary on the Christian religion as â€Å"The Carpenters Son†, showing just how much impact a poets life has on their writing.