Monday, January 27, 2020

Case Study of DFA and NFA Implementation

Case Study of DFA and NFA Implementation Muhammad Danial Waseem Hania Farooq Table of Contents (Jump to) Digital Social Media Popular Social Media Tools and Platforms Blogs Face book WhatsApp Viber Twitter YouTube Flickr Instagram LinkedIn Groups Vimeo STATE 1 (login state) Regular expression for the state 1 (After login ) Regular expression for the state 2 Combined automata Table (3) Transition table for combined states of facebook Scenario 2 Language Automata Transition table: Scenario 3 Language References References of Images List of Figures Figure 1- Types of social media Figure 2- Automata of first state of facebook Figure 3- Automata of second state of facebook Figure 4- combined state of facebook Figure 5- Screenshots of Whats App Figure 6- Automata of Whats App Figure 7- Screenshots of Viber Figure 8- Automata of viber Introduction Digital Social Media Digital Social media refers to the means of interactions among people in which they create, share, and/or exchange information and ideas in virtual communities and networks. The Office of Digital Communication manages the main Facebook, Twitter, Instagram, Foursquare, YouTube and Vimeo accounts. Furthermore, social media depend on mobile and web-based technologies to create highly interactive platforms through which individuals and communities share, co-create, discuss, and modify user-generated content. They introduce substantial and pervasive changes to communication between organizations, communities, and individuals.These changes are the focus of the emerging field of  technoself  studies. Social media are different from traditional or industrial media in many ways, including quality, reach, frequency, usability, immediacy, and permanence Diagram depicting the many different types of social media There are many effects that stem from internet usage. According to Nielsen, internet users continue to spend more time with social media sites than any other type of site. At the same time, the total time spent on social media in the U.S. across PC and mobile devices increased by 99 percent to 121 billion minutes in July 2012 compared to 66 billion minutes in July 2011 Popular Social Media Tools and Platforms Blogs A platform for casual dialogue and discussions on a specific topic or opinion. Face bookThe world’s largest social network, with more than 1.32 billion monthly active users (as of June 2014). For accessing users create a personal profile, add other users as friends, and exchange messages, including status updates. Brands create pages and Facebook users can â€Å"like† brands’ pages. WhatsApp WhatsApp is the best social network and mobile application. User create accounts send images videos audio notes update status, recently Facebook purchased it. Viber Viber is also an application and bestest application that gives both option of chat and call to the user. TwitterA social networking/micro-blogging platform that allows groups and individuals to stay connected through the exchange of short status messages (140 character limit). YouTube Video hosting and watching websites. Flickr An image and video hosting website and online community. Photos can be shared on Facebook and Twitter and other social networking sites. Instagram A free photo and video sharing application that allows users to apply digital filters, frames and special effects to their photos and then share them on a variety of social networking sites. LinkedIn GroupsA place where groups of professionals with similar areas of interest can share information and participate in conversations. VimeoVideo hosting and watching websites. Scenario 1 An example of digital social media, i.e. Face book. Facebook(formerly[thefacebook]) is an online  social networking service  headquartered in  Menlo Park, California. Facebook now allows anyone who claims to be at least 13 years old to become a registered user of the website. After registering to use the site, users can create a  User profile, add other users as  friends, exchange messages, post status updates and photos, share videos and receive notifications when others update their profiles. Additionally, users may join common-interest user groups, organized by workplace, school or college, or other characteristics, and categorize their friends into lists such as People from Work or Close Friends. Construct a finite automata for facebook in which a user first access to the login page of facebook then user enter ID and password for login process. This process work in backend due to searching algorithm and after search facebook opens the account of the user who enters the ID and password. And now user is entered in home page. If the user wants to create account on facebook then he/she have to enter some details that are required for creating an account and after verification of detail the user can use their home page. In home page there are 4 main options and many other option if the user wants to stay on the home page i.e. user may use search bar for searching any stuff, any application any friend or anything. User want to access a group that he already joined and either option. The 5 main options are: Newsfeed (notification) Sharing Profile Search Chat Now if user want to open newsfeed then user is able to see latest notification or anything in which user is tagged or anyone post on his time line or having response of the something which the user is already shared. User wants to share any picture/audio/video or any status among his friends. The other option is profile. Profile is the timeline of the user in which user can see or comment on what user have already shared or any friend have shared or commented on is shared thing or on status and user can update his/her personal information. The other option is search. The user want to search some content by using search bar. The last but not least option is chat. That enable the user to chat with the friends on his/her friend list. As the whole automaton of the facebook is too vast that’s why for describing them clearly we divided it into 2 states. The first state is login state and the other stage is after login stage. And at the end we will combine all the stages as final automata. STATE 1 (login state) L= {L, EN, P, H, CA, ED, V,} Q= q0, q1, q2, q3, q4, q5, q6, q7 Where, L=login EN= enter name P= enter password H=home page CA=create an account ED=enter detail V=detail verified The above automaton is illustrating that when the user give the input â€Å"L† means login and after â€Å"L† machine accepts the name and the password i.e. EN (enter name ) and p (password) for reaching the final stage of login state i.e. HOME. The user have another option if the user have not any account then the facebook machine (automata) also gives the opportunity to create an account for creating the account the machine accepts the particular details i.e. ED means to enter the required detail. In this automata it is defined that when user open the facebook user have 2 option either he/she open account or he/she creates new account. So if user have not his account so he follow the second option go to create option enter all the details then verified these detail and account created and if have user have already account so he he/she just enter name and password and enter these thing . So same as defined in this automata user have to follow two paths which are clearly mentioned in this automata. Regular expression for the state 1 STATE 2 (After login ) L= { H, SH, NF, Pr, S, CH, LO, D} Where SH = user wants to share the pictures/audio/video or text among his friends. NF = notification from the friends or the pages liked. The user can select the notification and see Pr= timeline of the user. In which user can see what he shared or he/she can update his/her information. S= the user want to search some contact. CH = it stands for chat. That it enables user to chat with the friend on his/her friends list LO = logout. The user sign out and get return to the main page Second state is describes is the state open after login so after login facebook is a multifunction social media but we compiled main functions. So when user logins to fb user have many options now depend on user what user wants to do. either user stays on home page and read normally or he shared any others post, or check the notification of other or the thing which he/she tagged in, or view his own profile or any others profile or use the search option to find any person or search any app or games for playing or using.†¦Ã¢â‚¬ ¦Ã¢â‚¬ ¦ There are many others also things to do but these are the main thing which normally user can do on the daily basis. Now there are some other things also which we mention in automata is using keelene. It’s like if user logins the page and he do not do anything just stay remain in home page it’s not necessary that all user do the same so it’s also mention in automata. Regular expression for the state 2 It’s a general regular expression which is made by the automata but we have to normalize the regular expression fro make it simple and complicated for other so they don’t try to copy, After normalization I denoted as the r.e2 because it’s the same regular expression but just a normalized form. See transition table on the next page, Combined automata L= {L, EN, P, H, CA, ED, V, H, SH, NF, Pr, S, CH, LO, D } r.e = S (L.E.N.P.H + CA. ED. V. H) H*(SH+ + NF++ Pr+ +S++CH*)D(H+LO) Scenario 2 Another example of digital social media i.e., WhatsApp WhatsAppis a  proprietary,  cross-platform  instant messaging  subscription service  for  smartphones  and selected  feature phones  that uses the  Internet  for communic

Saturday, January 18, 2020

Ernest Hemingway’s Hills Like White Elephant Essay

Hemingway’s literary opus â€Å"Hills Like White Elephants† is a perfect example of how setting and symbolism are utterly utilized in emancipating the plot. The story is simple. There are no subplots and change in characterization. It is about abortion, although mentioned as an â€Å"operation† in the story. Through the gradual suggestions of symbolic parts, the reader is able to understand where the conversation heads to after the first reading. The most conspicuous symbolism is lifted from the title itself. The elephant shaped hills referred to Jig’s pregnancy. It was said to be white as the life inside her womb echoes purity and innocence. Another symbol would be how Hemingway introduced a detailed description of the setting in the first two paragraphs to show the difference of the present and the future situations. The valley of Ebro suggests possibility of life, in contrast with the shade-less and tree-less side of the train station which anticipates the perplexity of the present (Fletcher 18). The reader can already infer miscommunication between the couple since the word ‘abortion’ was never mentioned in the entire text (Cioe 101-105). Then and there, the conflicting standpoints of the couple are mirrored. The man is deemed to be immature to convince Jig to go through the process, assuring her that everything will be fine after. Jig, on the other, hints on the stereotypical woman being submissive to a man, since she allows herself to be as composed as possible, despite other implications that she does not want to have the â€Å"operation†. The ending is still ambiguous to most Hemingway enthusiasts. Each has their own interpretation. Whether the couple allowed abortion to happen or not, the story ends with a striking occurrence that can never change the fact that there is no other way but to decide on what is imminent: the man picks up the bag, readies himself for the train ride; Jig still sitting at the table and just smiled. Hemingway must have left this hanging ending for us to judge ourselves and relate this particular dilemma to our present conditions. Thus, this short story propels further discussions that would include morality, gender issues and youth’s fickle-mindedness.

Friday, January 10, 2020

Fixing Poverty in the Philippines: Mission Impossible Essay

The Philippines has the second highest poverty incidence at 40%, in Southeast Asia, following East Timor which has 55% (Aldaba, 2005). Also according to Aldaba (2005), poverty in the Philippines has always been a rare rural occurrence, in spite of the fact that the poverty in urban areas is also increasing. More than two-thirds of the poor families in the Philippines live in rural areas. The Family Income and Expenditure Survey (FIES) states, based on legitimate poverty lines, that poverty incidence in the Philippines has dropped from 49.3% in 1985 to 36.8% in 1997, a downfall of a total of 12.5 percentage points in 12 years. On the other hand, poverty incidence increased by 3.2 percent from 36.8 percent in 1997 to 40.0 in 2000 (Aldaba, 2005). According to the article written by Ted Torres (2013) in The Philippine star, the percentage of Filipinos living below the poverty line has remained almost unaltered in the past six years. The statement was based on the latest poverty data rele ased by the National Statistical Coordination Board (NSCB). For the first half of 2012, the poverty incidence recorded was 27.9 which is slightly less than the 28.8 percent recorded in the first half of 2006, and 28.6 percent in the first half of 2009 and 2011. The NSCB report on the 2012 first semester state of poverty in the Philippines presented that a family with five members can be considered extremely poor if it is earning an amount of P5, 458 a month or just enough to place some food on the table. The same family has to earn at least P7, 821 a month to satisfy other primary needs such as clothing. Discussion and knowledge about the high poverty incidence that is dominating the country is very significant. It should be shown to the Filipinos especially to the people who are considered living a first-class life. Because of too much poverty that governs the country, it can be concluded that poverty in the Philippines cannot be helped anymore. One main reason behind the high poverty incidence in the Philippines is because of the high population growth. De Dios (1993) stated that high population growth affects poor households through a smaller distribution of incomes among them. The Philippines has recorded one of the highest population g rowth rates in Southeast Asia, at 2.6 percent from 1960 to 1994; this rate is higher than Indonesia and Singapore at 2.1 percent and Thailand as 2.3 percent (De Dios, as cited in Aldaba, 2005). De Guzman (1994) notes that crude birth dates has been declining since 1975, but this downfall has been slow, at 35.3 percent in 1973 to 32.8 percent in 1983. De Guzman also noted that contraceptive prevalence is quite low (30%-40%), and an increasing apportionment of females are getting married – factors which may weaken the decline. High population growth can be pulled down by consistent use of right family planning. Different government departments are actually conducting talks, meetings, and seminars about Family Planning. These departments are inviting parents and married couples from different parts of the country to attend the seminars to hear and be open to the use of family planning. But this advocacy seems to be impossible because there are too many undisciplined Filipinos wh o cannot be controlled by the government. Those undisciplined Filipinos are not open to any advice or suggestions from the hierarchy to improve their way of living. Another huge reason for the high population growth in the Philippines is the government system. According to the former Philippines senator, Mr. Francis Pangilinan (n.d.), the government people have heard never ending complaints about how the government has become a stumbling block for progress in the Philippines. Because of corruption and inefficiency, as well as lack of vision and direction, the government has become impediment to reforms and authentic and real change when it ought to be in the forefront of making change happen. It is enough to say that the old methods of governance have not worked and the usual and old style of electing political leaders characterized by patronage and money politics has failed the disappointed the people. The old ways of selecting leaders, the old ways of electing politicians have not resulted in a better nation. The truth is the country is in a mess because of the failure of the government to lead the country (Pangilinan, n.d). But on the other hand, maybe, the â€Å"Tuwid na Daan† of the [NoyNoy] Aquino Administration can pull this country up from its flat and dull position. This advocacy, consisting of many programs that can help improve the Philippines and its people, can be the sight solution to poverty. But, according to Pangilinan (n.d), there is still a great problem that holds the government from its right leadership – the corruption. Corruption, waste and inefficiency prosper within many situations and yet the government, despite a few valorous attempts to break this cycle, has largely failed to change the character of the bureaucracy (Stiftung, 1989). Ubiquitous corruption will not end unless the Philippine government punish more and punish swiftly and that cannot be done unless the country modernize its Judiciary and supply it with the necessary resources to do so. Too many politicians denounce corruption yet apart from exposes, they have not presented definite steps to address it (Pangilinan, n.d). One way to modernize the Judiciary system is to increase conviction rates. According to Pangili nan (n.d), the conviction rate of the Ombudsman in the Sandiganbayan (anti graft court) for corruption cases is held down at an estimate of less than 20 percent. For every 10 cases filed, less than two end up in conviction; the rest of the cases are the dismissed. No wonder and doubt that most of the people have no fear of committing corrupt acts. Imagine the situation when more than 8 out of 10 corruption cases get away. This can be sharply compared to the conviction rates in Hong Kong, which is pegged at 79 percent. Meaning, nearly 8 out of 10 are convicted. When more are punished and punished promptly, respect for the rule of law will return. It is certainty of punishment that inculcate fear and respect for the laws. It is the duty of the Judiciary system to ensure that the conviction rates are upped. It is also ideal to organized an anti corruption task force, at the highest levels, to monitor big cases and to ensure that government resources are equipped to ensure convictions w ithin months from the time of its organization. The proverbial big fish must not be allowed to get away (Pangilinan, n.d). Another way to modernize the Judiciary system is to double its budget. By upping the budget of the Judiciary, to say 2 percent of the 1.17 trillion national budget, we give rise to the prompt dispensation of justice, the creation of more courts, and expanding of the compensation and benefits of judges, prosecutors and court personnel (Pangilinan, n.d). Corruption cannot be ended. It may be lessened, but not totally ceased. It is because there will forever be government people who will be blinded by the power they got from their position and the huge amount of money they handle. It is a very risky and dangerous work to do corruption acts just for the sake of getting money, but that is the nature of the government people in the Philippines. One politician cannot end his or her term without even getting a single centavo from the money of the Philippine citizens. Another reason behind the high poverty incidence in the Philippines is the lack of jobs and employment. Too many Filipino citizens are still unemployed and most of them are having a hard time finding jobs. The private sector of the government is blamed for lack of jobs in the Philippines. According to Senator Ralph Recto (Recto, as cited in Cabacungan, 2013), â€Å"the job of the private sector is to create wealth and jobs. Unfortunately, the private sector in the Philippines does not have a high degree or culture of giving and sharing.† Sen. Recto also added that, maybe, the administration is focusing too much on government, which accounts for only 17 percent of the Gross Domestic Product when it should have its eyes on the 83 percent controlled by the private sector that is creating too many poor people. Recto and Salceda (Recto & Salceda, as cited in Cabacungan, 2013) said that the social inequality or injustice was the reason for the increase of unemployment to 7.5 percent or 3.086 million in April this year from 6.9 percent or 2.803 million in the same month in 2012 despite a record 7.8 percent growth in the economy in the first quarter of 2013. The Department of Labor and Employment (DOLE) continuously creates programs to help the Filipinos find jobs. One way is the online website which encourages the unemployed people to submit resumes online. In the perspective of the employer, it is very easy to find an employee by just visiting the website made by DOLE. The employer can just type in there the position needed in the company and the search results will give the employer the list of the people who are capable of doing the said job. Regardless of the effort of the government to plant more jobs in the Philippines for the Filipinos to be successfully employed, there are still millions of Overseas Filipino Workers (OFWs) who risk their lives in other lands just to get a job and leap their family from poorness. There are mountains of reasons why great poverty is still colonizing the Philippines. Some can be helped but most of it cannot be solved anymore. No matter how the government strives to give jobs to the Filipinos, it will remain as a nonsense act if the Filipinos are not going to help themselves out of this poverty. It was stated by Mahatma Gandhi that poverty is the worst from of violence. It is really the worst and it cannot be helped anymore. Reference List Aldaba, F. (2005). The fight against poverty in SouthEast Asia NGO good practices in Cambodia, Indonesia and the Philippines. Stiftung, F. (1989). Poverty and growth in the Philippines. Metro Manila, Philippines: FRESAN Printing. Torres, T. (2013, April 24). Poverty level in Phl unchanged since ’06. The Philippine Star. Retrieved August 10, 2013 at http://www.philstar.com/headlines/2013/04/24/934243/poverty-level-phl-unchanged-06 Cabacungan, Gil. (2013, June 12). Private sector blamed for lack of jobs. Inquirer News. Retrieved August 10, 2013 from http://newsinfo.inquirer.net/425271/private-sector-blamed-for-lack-of-jobs Pangilinan, F. (n.d). 4 proposed solutions to help fix the Philippines. Senator Francis â€Å"Kiko† Pangilinan: Senator of the Republic of the Philippines. Retrieved August 10, 2013 from http://kiko.ph/index.php?option=com_content&view=article&id=505:4-proposed-solutions-to-he..

Thursday, January 2, 2020

The Role Of Mass Media And Poverty - 1561 Words

Within this paper I am going to examine the mass media and and the role it serves in poverty and how poverty is perceived among the modern day public. The first thing we must examine is what exactly constitutes the media in all of its forms. Foremost, the media exists absolutely everywhere. Whether that be through TV, the Internet, newspapers, and radio. Each one garners for our societies undivided attention on whatever topic it chooses to be worthy of reporting and bringing to light. Overall the mass media is a tool used to draw the attention of the general populace, generally the media is used as a means of gaining political support or a following. Although it can also be used as a more positive force in general, for example when a†¦show more content†¦The general public views most sorts of media as a form of escapism from their normal lives, they dont watch TV or tune into news sources to see the mundane and grim things about life even if it does catch their attention at times briefly. They prefer stories on extraordinary topics. We dont want to see an image of a poor person or a starving child or a grim battlefield across the world because we cant relate to it and it exposes us to the more grim realities of our life that society has taught us to turn a blind eye to. The media would much rather report on a story such as a flood in early 2000 and in Mozambique because a woman there was forced to give birth in a tree. Although the very same day, 300 Mozambique children died from hunger and sickness and not a single news report was done on them or about their plight. The reason is because no matter what in the medias eye they need to catch the general populaces attention and a bizarre story about a baby being born in a tree will do that but a story about 300 children dying will not. As messed up and sad as it is to say the next day another 300 kids will die but more than likely a baby wont be born in a tree. The media has developed the tactic of trying to keep our attention with more simplistic and mundane things. Therefore, reporting in depth on topics such as natural disasters across the globes and political strife or events in otherShow MoreRelatedAnalyzing Violence and Crime in USA1357 Words   |  5 Pagestight connections among culture, media, and capitalism creating unique circumstances that result in excessive violence and rage relative to other youth around the world. This essay will first introduce the subject of juvenile crime and youth violence and indentify similarities to these situations around the world. Next, this essay will explore the idea and role of capitalism and hot it contributes to the problem. Finally, this writing will discuss the medias role within this complex situation andRead MoreEssay on The Media Effects American Culture1249 Words   |  5 PagesThe media is the means of communication, as radio and television, newspapers, and magazines that reach or influence people widely. The growth of the media has spread vastly over the years. The media is also known as a â€Å"channel of mass communication.† â€Å"Mass Media incorporates all those mediums through which information is distributed to the masses. These include advertisements, magazines, newspapers, radio, television, and the Internet† (Sebastian). The media introduces many new things to the publicRead MoreAmerican Families, By Bill Moyers And The Stanleys1 707 Words   |  7 Pageswavering middle class. There are many sociological terms, and a great number of these can be used in discussions of poverty and the economy--specifically in relation to the feature Two American Families. The culture of poverty (one) is described as a social theory that expands on the cycle of poverty, in that the meaning people put into their actions reflects on the cycle of poverty. This may or may not be true, but it doesn’t exactly apply to the families in the video, because losing their job wasRead MoreTeen Pregnancy And Teenage Pregnancy1560 Words   |  7 Pagescelebrated. The author frames this deviance is, a negative deviance where the individual is, â€Å" nonconforming, and judged negatively.† (citation) For Fox News, teen pregnancy is repugnant and the complete opposite to their entire moral structure of gender roles, more specifically abstinence till marriage. Fox News fails to address the sexual double standards which are prevailing in teen parenting, the impact of the mediaâ⠂¬â„¢s assumptions of teen mothers and the actual reality of these hardships. Example ofRead MoreThe City Of Vancouver Is World Renowned For Being A Beautiful1740 Words   |  7 Pagesthe third least affordable housing market in the world, Vancouver is home to Canada’s poorest neighbourhood, the Downtown Eastside (DTES). Due to the high costs of living, the city of Vancouver has a large amount of poverty and homelessness. The DTES has high rates of â€Å"drug use, poverty, crime, infectious disease, and mental illness† (Linden, Mar, Werker, Jang, Krausz, 2013, p. 559). There is a large amount of socially neglected and undesirable people living in the marginalized area. The followingRead More The Media As A social Problem Essay1731 Words   |  7 PagesThe Media as a Social Problem nbsp;nbsp;nbsp;nbsp;nbsp; nbsp;nbsp;nbsp;nbsp;nbsp;The mass media plays a large role in modern society. Indeed, many have argued that people spend more time in â€Å"mass-mediated† interaction than in actual human interaction. The mass media, then, would seemingly be an excellent position to initiate social change, positively affect social problems, and help combat social ills that are considered normal patterns of behavior. Yet, the mass media has largelyRead MoreHow The Self Is Affected Through The Pop Culture Representation Of Equality1342 Words   |  6 Pageshow the media portrays this agenda. I will be investigating how the self is affected through the pop-culture representation of equality; by analyzing media’s stance on issues with racial tensions, displays of biased, and play on politics and the issues that this nation faces. I will study how race, gender, and class play roles in how equality may be an issue. As well as further investigating the issues that mass media masks.   This e ssay will inquire with the portrayals of equality through mass mediaRead MoreThe Media as a Social Problem Essay1748 Words   |  7 PagesDan Thomas 11-21-01 The Media as a Social Problem The mass media plays a large role in modern society. Indeed, many have argued that people spend more time in mass-mediated interaction than in actual human interaction. The mass media, then, would seemingly be an excellent position to initiate social change, positively affect social problems, and help combat social ills that are considered normal patterns of behavior. Yet, the mass media has largely failed in addressing and helpingRead MoreSociology : The Social Problem Of Poverty1251 Words   |  6 Pagesinteractions and relations among individuals. Sociology allows people to understand why groups of people act the way they do, and allows us to examine their culture, background, and heritage. The study of sociology also explains how culture plays a role in the way groups of people act, and how it reflects their society. C. Wright Mills said that the sociological imagination is the ability to look beyond the personal troubles of people to see the public issues of social structur e. Mills also believedRead MoreEssay about Immigration and the Media1367 Words   |  6 Pagesthese people began a mass assimilation of cultural ideology and customs into the United States. With recent technological advancements, such as television and the internet, news and information can be widely shared concerning immigration. With the continual increase of news programs, Americans today are often bombarded with all sorts of pressing issues in todays society- but, how do you decide where to get information about issues such as immigration? In todays major media installments, the attention