Tuesday, December 31, 2019

Can Code Scripts Save to an External File

Placing JavaScripts directly into the file containing the HTML for a web page is ideal for short scripts used while learning JavaScript. When you start creating scripts to provide significant functionality for your web page, however, the quantity of JavaScript can become quite large, and including these large scripts directly in the web page poses two problems: It may  affect the ranking of your page with the various search engines if the JavaScript takes up a majority part of the page content. This lowers the frequency of use of keywords and phrases that identify what the content is about.It  makes it harder to reuse the same JavaScript feature on multiple pages on your website. Each time you want to use it on a different page, you will need to copy it and insert it into each additional page, plus any changes the new location requires.   It is  much better if we make the JavaScript independent of the web page that uses it. Selecting JavaScript Code to Be Moved Fortunately, the developers of HTML and JavaScript have provided a solution to this problem. We can move our JavaScripts off of the web page and still have it function exactly the same. The first thing that we need to do to make a JavaScript external to the page that uses it is to select the actual JavaScript code itself (without the surrounding HTML script tags) and copy it into a separate file. For example, if the following script is on our page we would select and copy the part in bold: script typetext/javascriptvar hello Hello World;document.write(hello);/script There used to be a practice placing JavaScript in an HTML document inside of comment tags to stop older browsers from displaying the code; however, new HTML standards say that browsers should automatically treat the code inside of HTML comment tags as comments, and this results in browsers ignoring your Javascript.   If you have inherited HTML pages from someone else with JavaScript inside of comment tags, then you dont need to include the tags  in the JavaScript code that you select and copy. For example,  you would only copy the bold code, leaving out the HTML comment tags !-- and --  in the code sample below: script typetext/javascript!--var hello Hello World;document.write(hello);// --/script Saving JavaScript Code as a File Once you have selected the JavaScript code you want to move, paste it into a new file. Give the file a name that suggests what the script does or identifies the page where the script belongs. Give the file a .js suffix so that you know  the file contains JavaScript. For example we might use hello.js as the name of the file for saving the JavaScript from the example above. Linking to the External Script Now that we have our JavaScript copied and saved into a separate file, all we need to do is reference the external script file on our HTML web page document. First,  delete everything between the script tags: script typetext/javascript/script This doesnt yet tell the page what JavaScript to run, so we next need to add an extra attribute to the script tag itself that tells the browser where to find the script. Our example will now look like this: script typetext/javascriptsrchello.js/script The src attribute tells  the browser the name of the external file from where the JavaScript code for this web page should be read (which is hello.js in our example above).   You do not have to put all of your JavaScripts into the same location as your HTML web page documents. You may want to put them into a separate JavaScript folder. In this case, you just modify the value  in the src attribute to include the files location. You can specify any relative or absolute web address for the location of the JavaScript source file. Using What You Know You can now take any script that you have written or any script that you have obtained from a script library and move  it from the HTML web page code into an externally referenced JavaScript file. You may then  access that script file from any web page simply by adding the appropriate HTML script tags that call that script file.

Sunday, December 22, 2019

I Am A Guinea Pig Of Sorts - 1370 Words

As humans we create a certain image of ourselves , we are aware of who we are and measure our own worth. It s called self-concept, it is one of the most influential parts of our personality it helps us create the present and future way we will act. One of the most common ways we do this is through the self-fulfilling prophecy. For this essay I became a guinea pig of sorts and experimented with this idea. Even before I took the rosenberg s Self esteem test I knew for a fact that I suffer from low self esteem. My sever depression, anxiety and several psychologists can attest to that. Another thing I knew for a fact is that faux positive self talk and notes wasn t going to help me, Rejecting the idea before even doing the experiment probably altered my end results but it did prove that I like most others also go through self fulfilling prophecies. It also made me realize i have a very negative outlook on life, that i usually blame on my lack of serotonin. I understand that I have full power over the way I feel about myself, sometimes i think that i use my mental illnesses as handicaps for my low self esteem. I hear it often enough to know that Self esteem comes from within and one must work on developing a positive view of themselves so that they have confidence in their own value and not depend on external forces to feel a sense of worth. I realize that i skimmed over what a self fulfilling prophecy is that is because I wanted to explain it to the best of my abilities. AShow MoreRelatedDo Objects Make Us882 Words   |  4 PagesDo Objects Make Us? Many people in todays society are distressed greatly with ones rank in the social hierarchy; material possessions of all sorts seem to construct, shape, and style the lives of consumers all over the world. Consumers all over the world are becoming more and more demanding as more and more is being advertised. Many companies, such as Apple, often advertise months in advance for products creating commotion, attentiveness, and desire among the world. Stores, such as Old Navy,Read MoreDont Ask Dont Tell Outline Essay842 Words   |  4 Pagespurpose: To inform Specific purpose: To inform my audience of the Don’t Ask Don’t Tell policy and give a brief history of events. Central idea: According to my class survey the majority had little or no knowledge of the Don’t Ask Don’t Tell policy, so I am going to explain how it came to be. Introduction I.Fundamental beliefs A.Military Service Workers 1.Honorable 2.Courageous B. Service Members Turned Away 1.Openly gay 2.Ended careers of over 11,000 service members II.By listening to a briefRead MoreA Short Note On The Testing Phase ( Beta ) Of Software Or Hardware1111 Words   |  5 Pagescrying himself to sleep. Ok it’s probably not that bad but you get the idea It.’s actually the much anticipated Oculus Rift Headgear that will be coming out soon. Now, you may be thinking: â€Å"That’s not possible! There’s no way it can be broken!† Well I am here to prove you wrong. Migraines and nausea are only a few of the problems that will be wrong with the OR headgear. The other problems consist of configuration issues (inducing stuff other than migraines), and some operating systems just plain outRead MoreWhy I Am A Perfectionist Essay984 Words   |  4 Pagesis easy to be a perfectionist. Well, it is for me anyway. People wonder why I enjoy mathematics and computers so much. It is because those fields feed off of perfectionism, just like me. There are many predefined rules which leave little room for â€Å"guessti mation.† If I correctly write up an equation or algorithm of some sort, I will always get the same specific response. Seeing everything come out right and knowing that I haven’t made a mistake, leaves me with an almost euphoric sense of satisfactionRead MoreGi Jane Essay1135 Words   |  5 Pagesdesk job, to become a member of the Navy Seal. Thanks to the political maneuvering of a female senator, O Neal becomes the first female candidate for the Navy Seals. The Seals are the militarys elite Special Forces team. O Neal becomes the guinea pig of senator Lillian DeHaven in this film. DeHaven bullies the Navy into taking ONeal as a Seal recruit in order to become the first female member of the Navy Seal. ONeal is put through a series of tests and her main obstacle is Master ChiefRead MorePersuasive Speech : A Dog s Eyes 1579 Words   |  7 Pagespersuade. Specific Goal: At the end of my speech, I want the audience who want to get a pet now or in the future to adopt instead of buy from a store or a mill. Proposition Statement: Euthanization and over impregnated dogs can be lowered if people are more informed about pet stores and mills, and adopt making room for more animals to go through the rescue and shelters. Introduction (Attention Step) Attention Getter: Whenever I look into my dog’s eyes, I could never believe that she was once in an awfulRead More Gi Jane Essay1107 Words   |  5 Pagesmilitary desk job, to become a member of the Navy Seal. Thanks to the political maneuvering of a female senator, O’ Neal becomes the first female candidate for the Navy Seals. The Seal’s are the military’s elite Special Forces team. O’ Neal becomes the guinea pig of senator Lillian DeHaven in this film. DeHaven bullies the Navy into taking O’Neal as a Seal recruit in order to become the first female member of the Navy Seal. O’Neal is put through a series of tests and her main obstacle is Master Chief JohnRead MoreSymptoms And Symptoms Of Anxiety1319 Words   |  6 Pages Anxiety When asked to do a report on a health related subject I didn’t have to wonder. There was no concern on what subject I would pick. It is plain and simple. I would write on panic disorder. PTSD, or generalized anxiety. This would give me a stage to set some clarity to what is seen as just a group of people who are not as mentally tough as other people. Ever get nervous before a big test? Feel stressed and anxious about a situation. In a state of constant worry. Great because that isRead MoreMy Current Home State Of Colorado The Department Of Human Services1391 Words   |  6 Pagesreceiving care based on what his or her assessment identified. It is within this step of the process that I believe an untapped resource exists. Law Enforcement Involvement During the family service plan stage, I feel that DHS should partner with local law enforcement and even family legal teams to further educate young people on what could become of them if they do not make good choices. Yes, I know that the aim of DHS is typically to ensure proper care of children. However, in this same arena, ifRead MoreFixing the Future1094 Words   |  4 Pages†Smith, is there a wormhole that would take us to Red Restina anywhere near? I wouldn’t want to try our luck with the engine, and we don’t have resources to keep this up with a fully stored neudroid ship.† Gamma asked, after he had given the females of their group an all-clear and they had gone off to get rid of the piles of guns they had on them and change their clothes. â€Å"Unfortunately the closest I can find is in the Saturn rings and too soon for us to make it there in time.† â€Å"How long is it

Saturday, December 14, 2019

Project Management for Dummies, by Stanley E Portny Free Essays

The â€Å"Dummies Series† book, Project Management for Dummies, by Stanley E. Portny (Wiley Publishing, Inc., 2001), is, in my opinion, a relatively easy-to-read (although also somewhat structurally fragmented in places), step-by-step â€Å"how-to† book, for either current or prospective project managers, with or without experience. We will write a custom essay sample on Project Management for Dummies, by Stanley E Portny or any similar topic only for you Order Now In life, every individual has projects to complete – usually a never-ending series of them, in fact, and often more than one project to complete simultaneously. One’s projects may be personal or professional; voluntary or required. They may be for our selves alone; for friends or family; for churches, clubs, or communities; special events; or for colleagues; companies, or employers. As the author concurs, in his â€Å"Introduction† to the text: Projects have been around since ancient times. Noah built the ark, Leonardo da Vinci painted the Mona Lisa, Jonas Salk developed the polio vaccine – all projects. . . . Why then, is the topic of project management suddenly of such great interest today? The answer is simple. The audience has changed and the Management projects in particular, however, as Portny also points out, within Chapter 1, must meet three key criteria; they must have (1) â€Å"Specific outcomes†;(2) â€Å"Definite start and end dates†, and (3) Established budgets† (p. 10). Further, as that chapter mentions, project management â€Å"includes three basic operations† (p. 12), which are: (1)planning; (2)organizing; and (3) control (Portny). In management today, for managers at all levels, completing projects; meeting project goals; and meeting project deadlines, are more important, as skills, aptitudes, and professional achievements, than ever before, especially within today’s super competitive business environment. As Portny also states at the outset: â€Å"Successful organizations create projects that produce desired results in established timeframes with assigned resources† (p. 9). Clearly, those who can successfully, skillfully, and within budgets and deadlines complete projects have an advantage over those who cannot. Many suddenly find themselves project managers, not by choice, but due to either changed or expanded job descriptions or expectations, or just plain company need. Increasingly, project management has increasingly become a ticket to job promotion and career advancement (or not). Moreover, if one has no previous formal training in project management, one may need to simply learn such skills on the job, and quickly. Project Management for Dummies is written for such individuals: those who would like to develop new project management skills (but also for those who desire to increase their current ones). The book is, I believe, potentially very useful for readers within either group. This book guides one through the beginning, middle, and ending project stages. It offers guidelines and tips on planning; navigating through ambiguities and uncertainties; teamwork; time management, organizational strategies; handling paperwork; staying on track; meeting deadlines, and bringing projects to a successful, satisfactory, and timely conclusion. Topics Project Management for Dummies covers include: making project schedules; building teams and sustaining teamwork; budgeting; coping with risks and surprises; optimally integrating technology into project management; and keeping team members motivated, on task, and within budgets and deadlines. Structurally, the book is divided into five parts (I-V). Each part consists of between three and six chapters, with 20 chapters in all. Chapter headings and topics covered include (to name but a few) â€Å"What is Project Management (And How Do I Get Paid Extra to Do It?)† (Chapter 1); â€Å"Estimating Resource Requirements† (Chapter 5); â€Å"Tracking Progress and Maintaining Control† (Chapter 10); â€Å"Dealing With Risk and Uncertainty† (Chapter 15); and â€Å"Ten Tips for Being a Better Project Manager† (Chapter 20). There are also two appendices (A and B) and an index. Chapter 2 covers defining and understanding what one is trying to accomplish with a project, knowing who and what one is doing a project for, and why that person or entity needs the project completed. This chapter also offers ways to avoid others’ having unrealistic expectations of the project or oneself as manager. â€Å"Looking at the big picture† includes â€Å"figuring out why you’re doing This project†; â€Å"identifying the initiator†; â€Å"identifying others who may benefit from your project† and â€Å"defining needs to be addressed† (pp. 29-32). In short, Chapter two focuses on defining the rationale(s) and parameters of the project; clarifying those for oneself and for all others involved; and laying the initial groundwork toward project completion. Chapters 3, 4, and 5 focus on â€Å"Getting from Here to There†; â€Å"You Want This Done When†; and â€Å"Estimating Resource Requirements†. Key ideas contained within these chapters, include knowing and planning all steps of a project, including making a â€Å"work breakdown structure†; â€Å"knowing how much detail is enough† (p. 49); â€Å"developing and analyzing a network diagram† (p. 71) and â€Å"assign your project’s personnel needs† (p. 105). Chapter 5 in particular also stresses the importance of finding the right people to assist with the project. Portny observes â€Å"Your project’s success rests on your ability to enlist the help of the right people to perform the necessary work† (p. 106). Portny also stresses that, toward that same end, â€Å"identifying skills and knowledge needed to perform your project’s activities† (Project Management for Dummies) and Finding people who in fact possess all of those required skills will either make or break a project. One of the chapters I found most personally useful was Chapter 6, on â€Å"The Who and How of Project Management†. Here, Portny covers three main topics: (1) â€Å"Distinguishing the project organization from the traditional organization†; (2) â€Å"Clarifying the roles of different people in the matrix organization†; and (3) â€Å"Recognizing key tips for increasing the chances of success† (p. 137). As Portny also notes in this chapter, project management structure and atmosphere may be, and very often is, much different than overall company structure and atmosphere, and one is wise to be clear at the outset on the differences between the two. While projects are company activities, they nevertheless typically take on atmospheres, conflicts, and lives of their own. For example, one operates within both a centralized company structure and a functional departmental or area structure in most parts of one’s job. However, project management may send one outside one’s own functional structure into various other functional structures within the centralized one. Those areas outside one’s usual functional structure become the unique â€Å"matrix structure† (p. 141) of the project. Understandably, the matrix structure of an individual project will spawn (and necessitate) much different communications; alliances; interrelationships; interactions, and interdependencies than will usual, more typical work activities. Key players in a project matrix environment, which obviously differs from one’s overall work environment, will typically include the â€Å"project manager; project team members; functional managers; and upper management† (p. 143). Chapter 7 covers choosing and involving the â€Å"Right People† (p. 149) in one’s project. Supporting ideas covered in this chapter include the importance of understanding one’s project’s audience (â€Å"any person or group that supports, is affected by, or is interested in your project† (p. 150). Each project also has â€Å"drivers†; â€Å"supporters†; and â€Å"observers† (p. 158) and it is equally important, Portny suggests, for project managers to identify and know each of them, and their respective roles. Of crucial importance to project success, also, is â€Å"Finding a project champion† (p. 159) or someone high up in one’s organization that will support and encourages the project. Teamwork is crucial to successful project completion. Chapter 8 explains the importance of â€Å"defining team members roles and responsibilities† (p. 166), and making sure all team members are aware of their own and each others’ roles and responsibilities. Therefore, lines of authority, responsibility, and accountability must be clearly established at the outset, and sustained throughout the project. This chapter also discusses strategies project managers can use should they have to deal with micromanagement from above, such as â€Å"setting up times to discuss interesting technical [or other] issues with the person† (p. 181). The book also covers ways of tracking progress and maintaining control (Chapter 10); ways of keeping everyone informed (Chapter 11), including sharing information both in writing and at meetings; and ways of encouraging peak performance in team players (Chapter 12), including providing rewards and helping players maintain motivation. Chapter 14 focused on handling risk or uncertainty, including ways of identifying possible risk factors; assessing risk impact, and preparing a risk management plan. Key advice of this chapter is to realistically assess risks to the project, and to have a risk management plan for handling them. Later chapters included advice on how to hold people accountable (Chapter 18); getting a project back on track (Chapter 19)and tips for optimal project management (Chapter 20). All in all, I benefited from reading and reflecting on the guidelines, strategies, and tips plentifully contained within Stanley E. Portny’s Project Management for Dummies. The only aspect of this book that I found disappointing was that of that it had far fewer specific examples, of actual project management situations to illustrate major points and concepts, than I would have liked. I learn best and most easily from examples and discussion of how those examples illustrate theoretical concepts. I would have liked for Portny to do more of that in this book than he did. Major strengths of the book include its being thorough; comprehensive; well organized, and practical. How to cite Project Management for Dummies, by Stanley E Portny, Essay examples

Friday, December 6, 2019

Discussion on Globalization-Free-Samples-Myassignmenthelp.com

Question: Discuss about the Globalization. Answer: Thomas Friedman discussion on Globalization Basing on Thomas Friedman argument, there are various drawbacks which are associated with living a flat world. The main cause of a flat world is the technology. Clearly, technology is beneficial since it helps in reshaping the businesses, but still, has a major impact on the fall of the same businesses. For instance, technology creates a dilemma and forces the managers to limit the individuals from the information technology access (What Thomas Friedman means when he says "The World is Flat" (n.d.). It also imposes a challenge for individuals to grow enough food for survival. Therefore, the main drawback of living a flat world is famine which is associated with the failure of crops. However, there are still other problems which are linked with the competitors in economics who relates to the networks of globalization. Therefore, it is important if individuals respond to the globalization with a motive of helping to mitigate and identifying the threats in the world of globalization. In addition, armed conflicts and the global poverty are also identified as risks experienced in a flat world. Yes, I concur with the Iron rule discussed by Thomas Friedman. The rule indicates that anything can be done in a flat world and specifically it can only be done by an individual. The advancements in technology provide an opportunity for individuals to do whatever they want. For instance, the Southwest Airline established a website which allowed individuals to print and download their coded bars boarding passes online. This shows that individuals become the ticket agents for themselves. For this reason, individuals can encounter changes and change decisions which facilitate their learning of new things so that they do whatever they want. No, the level of globalization is not uniform across the world. This is because there are various differences, especially which are associated with a culture which emerges. At some point, individuals are divided and each has different values and opinions. For instance, in case you have two websites for social media, they may be different due to the different types of communities involved. An example of the social media websites is the 9gag and Tumblr. Therefore, it is clear that the level of globalization cannot be uniform in the entire universe. Pankaj Ghemawat on Globalization After listening to professor Ghemawat, my view of globalization has greatly changed. I think that the world is not flat as Thomas Friedman indicates due to various reasons. To begin with, globalization is used to refer to the social developments and the modern economic world. However, the professor thinks that the universe is not connected as it may be perceived. Through globalization, markets, countries, and people are linked since the national borders are a bygone issue in the modern world (Pankaj Ghemawat: Actually, the world isn't flat. (n.d). Hover, data uncovers that 90% of the web traffic, investments, and phone calls are confined. Globalization is powerful and contributes towards political and economic transformations. Therefore, assertions made by Friedman would fit in the visions which are exaggerated like the example of the end of history. Therefore, by looking at how the people, companies, and states interact it is clear that the world is not flat and globalization tends to be more delicate in the future. The challenges regarding globalization may have reduced, but it is clear they have not disappeared. This is because some nations are still in fear about globalization. For instance, considering the industry for software in India, Friedman cites Nilekani who claims that the programmers of software in India can access and serve the US, while still in India. However, the Indian software industry is not exempted from the geographic as well as political constraints. Another consideration, the software firm in India, (TCS), Tata Consultancy Services is outlined by Friedman in the New York Times. Friedman uncovers that the company is administered by American banks and managed by the Indian technologists who embraces knowledge on eating Uruguayan veggie. Therefore, questions are raised why the organization had to initiate the operations. The reason is that the language, geography, and distance constraints do not matter. No, I do not think that the fears will sink with some data points which may propose otherwise. This is evident from the Google which is well known to support more than one hundred languages, has lately been rated as the most globalized. However, it reaches out a small percentage of the market in various countries such as Russia while Yandex reaches out 64% (Ghemawat, 2007 pp.55). The difference occurs since the company experiences challenges to design the linguistic complexities which prevail. Therefore, there are various adjustments which need to be conducted. It is evident that the globalization champions as described do not exist in the world. Therefore, regardless of any data that suggests otherwise, the fears may not subside. Conclusion In summarizing the first activity, Friedman presents three eras to prove that the world is flat. Clearly, individuals from the entire world have the opportunity and capability to engage in the global competition. These individuals are mainly not from the society which is westernized but from the African and the Asian continents hence it may impact globalization which is meant to link all people. On the second activity, Pankaj brings out an illustration that the world is not flat which I agree with. This is because globalization links markets, countries, and people since the national borders are a bygone issue in the modern world. Bibliography Thomas Friedman's Three Eras of Globalization[Video file]. 2017 (n.d.). Retrieved from https://www.youtube.com/watch?v=lp4znWHvsjU What Thomas Friedman means when he says "The World is Flat"[Video file]. (n.d.). Retrieved from https://www.youtube.com/watch?v=oM2BguxRSyY Pankaj Ghemawat: Actually, the world isn't flat | TED Talk[Video file]. (n.d.). Retrieved from https://www.ted.com/talks/pankaj_ghemawat_actually_the_world_isn_t_flat.html Ghemawat, P., 2007. Why the world isn't flat.Foreign policy, pp.54-60.