海外TECH |
MakeUseOf |
Why Nreal Air Glasses Are the Best Accessory for Your Steam Deck |
https://www.makeuseof.com/nreal-air-glasses-are-the-best-accessory-for-steam-deck/
|
steam |
2023-01-07 20:30:15 |
海外TECH |
DEV Community |
How working/install Hadoop with Notebooks? |
https://dev.to/xlmriosx/how-workinginstall-hadoop-with-notebooks-34lj
|
How working install Hadoop with Notebooks Basic commands to work with Hadoop in Notebooks Related content You can find notebook related in Google Collab You can find video related in YouTube You can find repo related in GitHub You can connect with me in LinkedIn Resume I will install Hadoop program and will use a library of Python to write a job that answer the question how many row exists by each rating st Install Hadoop I use following command but you can change to get current last version wget You would can get other version if you need in and later replace it in the before command nd Unzip and copy I use following command tar xzvf hadoop tar gz amp amp cp r hadoop usr local rd Set up Hadoop s Java I use following command To find the default Java path and add export in hadoop env shJAVA HOME readlink f usr bin java sed s bin java java home text JAVA HOME java home text command f JAVA HOME echo export JAVA HOME java home text gt gt usr local hadoop etc hadoop hadoop env sh th Set Hadoop home variables I use following command Set environment variablesimport osos environ HADOOP HOME usr local hadoop os environ JAVA HOME java home text th Run Hadoop ️I use following command usr local hadoop bin hadoop th Create a folder with HDFS I use following command usr local hadoop bin hadoop fs mkdir ml k th Remove folder with HDFS Maybe later you need remove it To do that you must apply following command usr local hadoop bin hadoop fs rm r ml k th Getting a dataset to anlyze with Hadoop I use a dataset from grouplens You can get other in This time I use movieslens and you can download it using wget To use data extract files I extract files in path later of d in command unzip content ml k zip d content ml k folder Can move it in actual directory using HDFS like usr local hadoop bin hadoop fs copyFromLocal content ml k folder ml k ml k For list them usr local hadoop bin hadoop fs ls ml k th Installing dependencies to use Python We can install dependency to use MapReduce using pip install mrjobI recomend learn more about mrjob in th Mananging temp folder You can create in anywhere you want We create a temp folder to use when we run job usr local hadoop bin hadoop fs mkdir file tmpWe assign permissions to temp folder with usr local hadoop bin hadoop fs mkdir file tmpWe list files of temp folder usr local hadoop bin hadoop fs ls file tmp th Creating process to use with MRJOB using Python To create job in Python you must see structure of dataset to configure jobs In this case dataset is like head content ml k u data n I can get following information of dataset First column reference to userID Second column reference to movieID Third column reference to rating Fourth column reference to timestamp writefile RatingBreakdown py import modulesfrom mrjob job import MRJobfrom mrjob step import MRStep create class inhereted from MRJobclass RatingBreakdown MRJob assign steps first mapper last reducer def steps self return MRStep mapper self mapper get rating reducer self reducer count ratings creating mapper assigning attributes from dataset def mapper get rating self line userID movieID rating timestamp line split t assign like the key rating and assign each row value yield rating creating reducer sum def reducer count ratings self key values in function of each key we sum values yield key sum values if name main RatingBreakdown run th Running the process Here we run the process specifing some parameters Python file program python RatingBreakdown pyWhere is jar to run hadoop usr local hadoop share hadoop tools lib hadoop streaming jarTemp file and dataset file tmp content ml k u dataWhen run process maybe take a few minutes I run with python RatingBreakdown py r hadoop hadoop streaming jar usr local hadoop share hadoop tools lib hadoop streaming jar hadoop tmp dir file tmp content ml k u data th Listing results I run again process and put results in results txt python RatingBreakdown py content ml k folder ml k u data gt results txtUse following command to list file cat results txt th Say thanks give like and share if this has been of help interest Related content You can find post related in Google Collab You can find video related in YouTube You can find repo related in GitHub You can connect with me in LinkedIn |
2023-01-07 20:27:33 |
海外TECH |
DEV Community |
COLDCODEWAR ON: I asked Chatgpt straight question about its affect on humans ,students & developers . Here is it's answer. |
https://dev.to/manishfoodtechs/coldcodewar-on-i-asked-chatgpt-straight-question-about-its-affect-on-humans-students-developers-here-is-its-answer-mfn
|
COLDCODEWAR ON I asked Chatgpt straight question about its affect on humans students amp developers Here is it x s answer Chatgpt or to be more clear the new tool ai chatbots in hands of students and new developers have started new concerns So I asked few straight forward questions to Chatgpt that will help you to understand the Coldwar between AI and Human Intelligence Manish Srivastava I stopped using openai chatgpt I think this will make device holders poor in mind Joy of life will be lostChatgpt I m sorry to hear that you stopped using OpenAI s chatbot GPT Can you tell me more about what led you to this decision Do you have any concerns about how using chatbots like GPT might impact people s minds or their enjoyment of life I d be happy to try to address any concerns you have Manish SrivastavaYes I believe when human do creative work their body and life respond positively Chatgpt It s certainly true that engaging in creative work can be a rewarding and fulfilling experience for many people It can provide a sense of accomplishment help to develop new skills and knowledge and can even have positive effects on mental health However it s important to note that there are many different ways to be creative and using tools like chatbots or language models can be one way to facilitate creative expression For example a person might use a chatbot like GPT to generate ideas for a creative writing project or to help them come up with responses to prompts in a roleplaying game In these cases the chatbot can serve as a helpful tool rather than a replacement for human creativity It s also worth considering that there may be some people who find it more difficult to engage in creative work due to various challenges or limitations in their lives For these individuals using tools like chatbots or language models might be a way to overcome these obstacles and find joy and fulfillment through creativity Ultimately the impact of using chatbots or language models on a person s enjoyment of life will depend on how they choose to use these tools and how they integrate them into their overall lives and activities Manish Srivastava Creativity or search of unknown helped humans to find and compare things At later stage chatbots reply will be according to learning that they did This will fix direction of creativity Leading unknown areas to explore Chatgpt It s true that the process of exploring and discovering new ideas and concepts can be a key part of the creative process for many people In this sense chatbots and language models like GPT could potentially serve as a useful tool for helping people to generate new ideas and expand their horizons However it s important to note that chatbots and language models are ultimately limited by the data and information they have been trained on While they may be able to provide a wide range of responses and suggestions based on this information they are not able to independently explore and discover new ideas in the same way that humans can That being said chatbots and language models can still be a useful resource for helping people to generate new ideas and stimulate their creativity For example a person might use a chatbot to help them come up with responses to prompts or challenges or to help them generate ideas for a creative project Ultimately the impact of using chatbots or language models on a person s creativity will depend on how they choose to use these tools and how they integrate them into their overall creative process Manish SrivastavaStudents will loose creative writing and they will depend upon chatbots to answer I think you should take onus of making humans dependent upon youChatgpt As a language model I am designed to provide information and assistance to users but I am not intended to replace human creativity or judgment It is ultimately up to individual users to decide how they want to use tools like chatbots and language models and it is important for them to be aware of the limitations of these tools In the case of students using chatbots or language models to help with creative writing assignments it s important for them to understand that these tools can only provide suggestions and ideas based on the data and information they have been trained on It is still up to the student to use their own creativity critical thinking and judgment to develop their writing and express their own unique ideas and perspectives Using chatbots or language models as a resource or tool can be a helpful way for students to get started on a writing assignment or to generate ideas but they should not be relied upon as a substitute for their own creative thinking and writing skills It is important for students to develop their own ability to express themselves creatively rather than becoming dependent on tools like chatbots or language models Manish SrivastavaBut if you help them in assignments then poor students will cut copy paste and present to teachers while original assignment will fetch less evaluation Don t you think this is problem Chatgpt It is certainly possible that students could misuse chatbots or language models by using them to copy or plagiarize content for assignments Plagiarism is a serious issue in academia as it undermines the integrity of the work being presented and can have negative consequences for the person who engages in it It is important for students to understand that using chatbots or language models to generate ideas or responses for assignments is not a substitute for their own critical thinking and writing skills It is essential for students to develop their own understanding of the subject matter and to express their own ideas and perspectives in their writing If a student is found to have engaged in plagiarism it can result in consequences such as a failing grade on the assignment a lower overall grade for the course or even expulsion from the educational institution It is important for students to understand the importance of academic integrity and to avoid engaging in plagiarism Manish SrivastavaHow to catch a student has completed his work from chatbotChatgpt There are a few ways that teachers and educators can identify whether a student s work may have been generated by a chatbot or language model rather than being the product of the student s own understanding and critical thinking One way to do this is to look for signs of superficial or shallow understanding of the subject matter If a student s work lacks depth or insight or if it includes information that is not relevant to the assignment it could be a red flag that the work was generated by a chatbot rather than being the result of the student s own understanding and critical thinking Another way to identify potentially chatbot generated work is to look for signs of repetitive or formulaic language Chatbots and language models may use similar phrases or structures in their responses which could be noticeable in a student s writing Finally teachers and educators can also use plagiarism detection software to scan a student s work for copied or paraphrased content This can help to identify whether a student has used outside sources including chatbots or language models to generate their work Manish SrivastavaGive me point wise how teachers can catch such students Chatgpt Sure here are a few points to consider when trying to identify whether a student may have used a chatbot or language model to complete an assignment Look for signs of superficial or shallow understanding If a student s work lacks depth or insight or if it includes information that is not relevant to the assignment it could be a red flag that the work was generated by a chatbot rather than being the result of the student s own understanding and critical thinking Check for repetitive or formulaic language Chatbots and language models may use similar phrases or structures in their responses which could be noticeable in a student s writing Use plagiarism detection software Plagiarism detection software can scan a student s work for copied or paraphrased content helping to identify whether a student has used outside sources including chatbots or language models to generate their work Ask students to explain their work Teachers and educators can also ask students to explain their work and answer questions about it This can help to identify whether a student truly understands the material and is able to express their own ideas and insights or whether they are simply repeating information they have obtained from a chatbot or other source Encourage students to engage with the material By encouraging students to actively engage with the material and think critically about it teachers can help to develop their understanding and encourage them to express their own ideas and insights in their writing Manish SrivastavaHow teachers can prepare assignment questions that can t be easily answerable by chatbots but only by humans Point wise Chatgpt Here are a few points to consider when creating assignment questions that are more difficult for chatbots to answer Focus on open ended interpretive questions Rather than asking for a straightforward factual answer consider asking questions that require students to interpret analyze or synthesize information These types of questions are more difficult for chatbots to answer because they require the ability to understand and critically evaluate the material Encourage creative thinking Ask students to come up with their own ideas or solutions to a problem rather than simply looking up the answer This can help to encourage creative thinking and discourage students from using chatbots or other external sources to generate their work Use prompts that require personal reflection or experience By asking students to draw on their own experiences or perspectives teachers can create assignments that are more difficult for chatbots to complete Include questions that require students to apply the material to real world situations Asking students to apply the material to a specific case study or scenario can help to encourage critical thinking and discourage the use of chatbots or other external sources Encourage collaboration By encouraging students to work together on assignments and projects teachers can create an environment that is less conducive to the use of chatbots or other external sources Manish Srivastava I know you can write codes in different programming language Don t you think this will take jobs of many new programmers Chatgpt As a large language model I am able to generate human like text in a wide range of styles and formats including programming code However it is important to note that I am not able to independently execute or run code in the same way that a human programmer can In addition while I may be able to generate code that is syntactically correct and follows best practices I am not able to understand the underlying logic or purpose of the code in the same way that a human programmer would As a result I am not able to replace the critical thinking problem solving and debugging skills that are essential to being a successful programmer It is also worth noting that the field of programming is constantly evolving and there is always a demand for skilled programmers who can keep up with the latest developments and technologies While tools like chatbots and language models may be able to assist with certain aspects of programming they are unlikely to replace the need for human programmers entirely What you say Comments |
2023-01-07 20:18:54 |
Apple |
AppleInsider - Frontpage News |
The six best apps a personal trainer uses to stay fit |
https://appleinsider.com/articles/23/01/07/the-six-best-apps-a-personal-trainer-uses-to-stay-fit?utm_medium=rss
|
The six best apps a personal trainer uses to stay fitWhen it comes to training clients with ease and keeping fit these are the six must have downloadable apps that personal trainers swear by There are many apps out there to help with keeping fit Tima Miroshnichenko Pexels These apps help trainers properly fuel their bodies for their goals program and track client fitness plans and food intake and keep workout sessions fresh and engaging Read more |
2023-01-07 20:20:20 |
海外TECH |
Engadget |
Jack Ma cedes control of Chinese fintech giant Ant Group |
https://www.engadget.com/jack-ma-cedes-control-of-chinese-fintech-giant-ant-group-204918709.html?src=rss
|
Jack Ma cedes control of Chinese fintech giant Ant GroupChinese billionaire Jack Ma is ceding control of Alipay owner Ant Group Per The Wall Street Journal the Alibaba affiliated company announced it would end agreements that had allowed Ma to hold a dominant position within Ant Group s corporate governance structure The outspoken entrepreneur previously possessed more than percent of voting rights at Ant even though he did not sit on the company s board of directors or was involved in day to day operations Ma s influenced Ant Group through a handful of investment vehicles that owned a combined percent stake in the fintech giant Moving forward Ant said Ma and nine other company executives and employees would have voting rights they had agreed to use independently of one another Reuters estimates Ma will own percent of Ant Group shares once the company implements the changes it announced over the weekend In shortly before Ant was scheduled to hold an initial public offering that was expected to raise a record billion Ma drew the ire of Chinese authorities after he called the country s banks “state owned pawnshops during a speech in Shanghai Chinese regulators went on to block the impending IPO and ordered Ant to scale down its business Specifically the company was ordered to return to its roots as a payment provider A year later authorities fined Alibaba Ma s other company billion following an antitrust investigation into alleged monopolistic practices by the company Ma has avoided the public eye ever since |
2023-01-07 20:49:18 |
海外科学 |
NYT > Science |
Willard Gaylin, a Pioneer in Bioethics, Is Dead at 97 |
https://www.nytimes.com/2023/01/07/science/willard-gaylin-dead.html
|
Willard Gaylin a Pioneer in Bioethics Is Dead at A psychiatrist he started the Hastings Center with Daniel Callahan a leading Roman Catholic thinker to explore the moral issues arising from medical advances |
2023-01-07 20:07:27 |
ニュース |
BBC News - Home |
Sam Mendes: Gender-neutral Oscars 'inevitable' |
https://www.bbc.co.uk/news/entertainment-arts-64199673?at_medium=RSS&at_campaign=KARANGA
|
sympathy |
2023-01-07 20:05:19 |
ニュース |
BBC News - Home |
Sheffield Wednesday 2-1 Newcastle United: Josh Windass double gives League One side win |
https://www.bbc.co.uk/sport/football/64167995?at_medium=RSS&at_campaign=KARANGA
|
newcastle |
2023-01-07 20:48:44 |
ニュース |
BBC News - Home |
FA Cup highlights: Sheffield Wednesday 2-1 Newcastle United |
https://www.bbc.co.uk/sport/av/football/64165501?at_medium=RSS&at_campaign=KARANGA
|
FA Cup highlights Sheffield Wednesday Newcastle UnitedWatch highlights as League One Sheffield Wednesday pull off a memorable FA Cup shock as they knock out the Premier League s third placed side Newcastle United |
2023-01-07 20:48:27 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
日本が脱炭素をリードできる3つの理由、2050年「ネットゼロ」目標の仕掛け人が初激白! - 総予測2023 |
https://diamond.jp/articles/-/314557
|
|
2023-01-08 05:25:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
確定申告で使い残し厳禁の「扶養・介護する親の控除」、医療費控除より要注目【再編集】 - 確定申告で損する人、得する人 |
https://diamond.jp/articles/-/314343
|
|
2023-01-08 05:20:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
20業界の天気予報!23年の半導体、商社、電力、製薬…原料・資源高の影響や業績は? - 総予測2023 |
https://diamond.jp/articles/-/314556
|
天気予報 |
2023-01-08 05:15:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
森トラスト社長「コスト高でゼネコンとのせめぎ合い」、勝負の分かれ目のポイントは? - 総予測2023 |
https://diamond.jp/articles/-/314555
|
分かれ目 |
2023-01-08 05:10:00 |
ビジネス |
ダイヤモンド・オンライン - 新着記事 |
稲盛和夫氏が「予算」を毛嫌いし「計画」という言葉を使わせた深い真意 - 「超一流」の流儀 |
https://diamond.jp/articles/-/315738
|
似て非なるもの |
2023-01-08 05:05:00 |
北海道 |
北海道新聞 |
入国者の強制隔離を撤廃 訪日客本格増は未知数 |
https://www.hokkaido-np.co.jp/article/784681/
|
中国政府 |
2023-01-08 05:37:03 |
北海道 |
北海道新聞 |
2030年札幌五輪招致 札幌市民67%「反対」、全道61% 北海道新聞世論調査 |
https://www.hokkaido-np.co.jp/article/784671/
|
世論調査 |
2023-01-08 05:22:10 |
ビジネス |
東洋経済オンライン |
マクドナルドの値上げに驚いた人が知らない真実 2回上げた昨年、売上高・客数・単価はどうなったか | 世界の(ショーバイ)商売見聞録 | 東洋経済オンライン |
https://toyokeizai.net/articles/-/644642?utm_source=rss&utm_medium=http&utm_campaign=link_back
|
日本マクドナルド |
2023-01-08 05:30:00 |
コメント
コメントを投稿