Multithreaded Chat

We need to program a multithreaded chat programm. I have already started to program it, but the server only processes the first message

Main task: Fix the code so that multiple clients can log on and server receives and sends all messages to all clients or one specific client if message starts with @username.

All other TODOs in the file can be ignored.

Please do not use any code from web as my teacher will check for plagiarism with an MIT software.

What is the relationship between food as a biological necessity, a commodity, and a source of social identity?

Recommended Reading
Atkins, P. & I. Bowler, (2001) Food in Society: Economy, Society, Geography
Belasco, W. (2008) Food: Key Concepts, chapter 1
Flandrin, J-M. & Montanari, M. (1999), eds. Food: A Culinary History from Antiquity to the Present
Fraser, E.D.G. & A. Rimas, Empires of Food: Feast, Famine, and the Rise and Fall of Civilizations
Harding, J. (2010) What Were About to Receive in London Review of Books, Vol. 32, No.9, May available here:  http://www.lrb.co.uk/v32/n09/jeremy-harding/what-were-about-to-receive
Mintz, S.W. (2008) Time, Sugar and Sweetness in Counihan, C.  & P. van Esterik eds. Food and Culture: A Reader
Pilcher, J.F. (2005) Food in World History

Further Reading
Albritton, R. (2009) Let Them Eat Junk: How Capitalism Creates Hunger and Obesity
Brillat-Savarin, J-A. (1825) The Physiology of Taste
Bourdieu, P. (1984) Distinction: A Social Critique of the Judgment of Taste
Clapp, J. (2010) Food
Davidson, A. (1999) The Oxford Companion to Food
Fernndez-Armesto, F. (2002) Food: A History
Fine, B., et al. (1996) Consumption in the Age of Affluence: The World of Food
Goody, J. (1984) Cooking, Cuisine and Class: A Study in Comparative Sociology
Guptill, A. et al. (2013) Food and Society: Principles and Paradoxes
Harris, M. (1986) Good to Eat: Riddles of Food and Culture
Kipel, K.F & Ornelas, K.C. (2000), eds. The Cambridge World History of Food
Lang, T. & M. Heasman (2004) Food Wars: The Battle for Mouths, Minds and Markets
McDonald, B. (2011) Food Security Addressing Challenges from Malnutrition, Food Safety and Environmental Change.
Menzel, P. and DAluisio, F. (2005) Hungry Planet: What the World Eats
Miller, J. and J. Deutsch (2009) Food Studies: An Introduction to Research Methods
Nestle, M. (2007) Food Politics: How the Food Industry Influences Nutrition and Health, 2nd edition
Patel, R. (2007) Stuffed and Starved: the Hidden Battle for the World Food System
Pollan, M. (2007) In Defense of Food

Unit 8 Assignment: Personality Case Assessment

For this weeks Assignment you will be creating a hypothetical case assessment involving a client with an issue that merits an adult (18 years – 70 years) personality assessment.
Write a minimum 10-page essay incorporating the following elements:

Include the following demographic and personal information: fictional name, age, marital status, number of children, educational level, income level, and relevant medical history. Describe clearly the nature of the clients presenting problem (e.g., consideration of inpatient substance abuse treatment, a candidate for successful completion of a behavior analysis/application program, or a patient with a psychiatric diagnosis, etc.).
Explain the initial problem in sufficient detail to make clear your decisions regarding assessment.
Based on the above, answer the following questions in essay format:

What would be the most appropriate instrument in personality assessment for evaluating the primary presenting problem?
What are the strengths regarding what this instrument can tell us about the client?
Why is this the most appropriate instrument? (Be sure to include appropriate reference to source materials.)
What are the limitations of what this instrument can tell us about the client?
Discuss some of the concerns or issues that might arise in a workplace setting with an individual that has this personality disorder. Elaborate on how this disorder could affect the workplace culture/climate in regards to behavior, interpersonal and group interactions, and productivity.
In your discussion of the assessment process, including administration and interpretation, consider professional competencies that reflect the professional characteristics, culture of a given work setting and how these practices are essential to an effective multicultural competency environment.
Along with the text, and the three articles listed below, locate an additional two peer-reviewed journal articles. (7 total references)

Note: Find a test measuring a construct in your area of interest; do not purchase a review of any test. You will use the websites to look up the name and brief description of a test and then conduct further research on your own about this test.

Read the following articles which are accessible through the following Library links:

Meinert, D. (2015). Heads Up! HR Magazine, 60(5), 88. Retrieved from https://search-ebscohost-com.libauth.purdueglobal.edu/login.aspx?direct=true&db=f5h&AN=103076489&site=eds-live

Fine, S. (2013). Practical guidelines for implementing pre-employment integrity tests. Public Personnel Management, 42(2), 281-292. Retrieved from http://search.ebscohost.com.libauth.purdueglobal.edu/login.aspx?direct=true&db=bth&AN=88923808&site=eds-live

Discuss the following in essay format: Address the purpose of pre-employment integrity testing.

Describe the primary purpose many organizations include integrity testing during the hiring process of new employees.
Describe the differences between overt integrity tests and personality-based integrity tests, including when an organization would choose one over the other type.
Discuss the guidance the author provides in regards to fairness and adverse impact from integrity tests.
Garvey, M. J., Momsen, B., & Steinberg, H. (2016). Strategic Customer Service, Cultural Differences, & the Big 5 in Canada, China, Switzerland, Taiwan, and the United States. Allied Academies International Conference: Proceedings of the Academy of Strategic Management (ASM), 15(2), 3236. Retrieved from https://search-ebscohost-com.libauth.purdueglobal.edu/login.aspx?direct=true&db=bth&AN=120015226&site=eds-live

Compare and contrast what makes certain countries successful in customer service.
Discuss the masculinity index and how it is used in the hiring/selection process.
Examine the relationship between respect, power, and personality
The assignment should:
Follow assignment directions (review grading rubric for best results).
Use correct APA formatting per the current edition of the APA Publication Manual.
Demonstrate college-level communication through the composition of original materials in Standard English.
Be written in Standard English and be clear, specific, and error-free. If needed, be sure to use the Writing Center for help.
Be a minimum of 10 pages (not including Title Page and Reference List).

Submitting your Assignment
Put your assignment in a Word document. Save it in a location that you will remember and with your full name along with the class number. When you are ready to submit it, click on the Dropbox and complete the steps below:

Click the link that says Submit an Assignment.
In the Submit to Basket menu, select Unit 8: Assignment.
In the Comments field, include at least the title of your paper.
Click the Add Attachments button.
Follow the steps listed to attach your Word document.
You should revisit the Dropbox to view any helpful feedback your instructor has left for you.
Make sure that you save a copy of your submitted assignment.

Critical Thinking 2

Review the scenario and answer the following questions:

Considering the value of job performance, assessment centers, and legal issues, you are trying to determine who to promote to sales manager. Vincent and Peter are currently sales associates and are being considered for the promotion. In the last five years, using a rating scale of 1= poor to 5= excellent, Vincents average performance rating was 4.7 and Peters was 4.2.

You have access to an assessment center (contracted) and you want to determine if they would be the candidates to send to the assessment center.

What type of interview would you envision to help you make the final decision? Why?

In the assessment center that was meant to simulate the job of sales manager, using a rating scale of 1 = very poor to 10= outstanding, Vincents average score was 8.2 and Peters was 9.2.  All other things being equal, who would you promote? Why?

You must cite at least one source in APA format.