이런 부분이 외주 아웃소싱을 주로 하는 IT업계의 현실과 맞닫아 있지 않을까 하는 생각이 듭니다.
1인 개발자로 살면서 처음 외주의 외주를 해 보고 있습니다. 이번 건의 경우는 특별한 케이스이기는 하지만, 아무튼...
퇴직 후 처음으로 다른 사무 공간으로의 출근(?)은 또 다른 의미를 전달해 주기도 합니다.
이렇게 보낼 수 있는 기간이 3개월가량이라는 아쉽운(?)이 남기는 하지만, 퇴직 후 지나간 시간들에 비하면 조금은 마음의 여유가 있는 것 같기도 합니다. 정기적인 수입이 보장되어 있으니까요.
퇴직전 했던 업무의 연장이기도 해서 일은 그렇게 어렵다는 생각이 들지는 않습니다. 다만, 이 기간이 지나면 다시 돌아갈지도 모르는 막막한 시간들이 앞에 있다는 것이 조금 아쉽게 느껴지기는 합니다.
그래도 작은 텀이 생겼습니다. 다시 준비를 할 수 있는...
이런저런 인력시장(?) 누리집에 등록해 놓은 이력서들도 다시금 보살펴(?) 줄 여유가 생겼으니 말입니다. 한국 나이 정년이 고작 3년쯤 남아 있어 그런지 쉽게 구해지지 않는 자리가 아쉽게 느껴집니다. 청년 취업도 쉽지 않다는 뉴스가 넘쳐나는 시점에 시니어 도전자가 하나 늘었으니, 그 누군가는 싫어할 수 있을지 모르겠지만,
이 나라의 복지 정책으로 봐서는 아마 70세가 넘어가는 시점에서도 일을 하고 있어야 할지 모른다는 생각이 듭니다. 아직 성인이 되지 못한 자녀가 있다면 더더욱 말입니다. 장년 취업자의 구인 자리는 턱 없기도 하고, 부실하기도 한 듯합니다.
청년 구직자가 넘쳐나는 탓에 그럴 수 있기는 하겠지만, 정규직보다는 비정규직을 양산하고, 워라밸보다는 값싼 노동력을 원하는 기득권 층을 바라보면서 안타까움을 금할 수 없습니다. 그래서 노동자 집단은 파업으로 실력 투쟁을 해 보는 것인 데,
바닥 같은 일자리에서 일해 보지 않았던 책상머리 앞의 화이트 칼라들은 현장에서 허덕 거리는 블루 칼라를 나 몰라라 합니다. 그 들은 같은 사람이고, 한 번 살면 같은 인생을 살아갈 텐데 말입니다.
기득권 그들도 청년 시절에는 그 시절의 기득권을 욕하며 살아왔을 터인데... 개구리들은 올챙이 시절을 기역 하지 못하는 가 봅니다.
글이 딴 곳으로 흘렸습니다.
아무튼 나의 하청 작업자 3개월은 이제 시작이고, 그 3개월의 기간 동안은 무난한 삶을 살아가게 될 듯하니, 조금은 마음에 여유를 가져볼 까 합니다.
앱을 실행해 보면 화면에 버튼이 있고 이 버튼으로 모드 설정을 하거나, 해제할 수 있도록 되어 있습니다. 또한 install application 버튼이 있는 데, 이 버튼은 정상적으로 동작을 하게 하려면 디바이스의 설정에서 관리자 권한을 이 앱에 부여하였을 때만 실행이 됩니다.
주의해야 할 부분
디바이스의 설정에서 홈런처를 선택할 수 있습니다. 이때 내가 만든 앱을 고정시킨 후 홈 런처까지 설정을 해 버렸다면, 그걸 풀 수 있는 방법은 공장 초기화 말고는 없을 듯합니다. (물론 앱 안에서 디바이스 설정을 들어갈 수 있도록 해 두었다면 이야기는 달라집니다.)
이런 정도까지의 배움을 할 수 있었습니다. kotlin으로 작성된 source code을 참조해 보고 싶으시면 위 원작자의 링크를 참고해 보시면 됩니다.
제일 바깥쪽에 ConstraintLayout 로 감싸고 그 안에 배치할 것을 추가합니다. 예제에서는 2개의 요소만 배치를 했기 때문에 선언된 것도 2개뿐 입니다만, 여러 개 있다면 그것들을 다 기술해 주어야 합니다. 그리고 각 요소들의 Modifier.constrainAs을 활용하여 위치 지정을 시작합니다.
예제에서는 parent 라고 기술되는 제일 상위 ConstraintLayout으로부터 위치만 지정하도록 구성을 해 보았지만, parent 대신에 이전 요소인 runBtn 등의 이름이 적용될 수 도 있습니다.
이제는 화면 전체에 자유자재로 요소들을 배치하여 유연한 UI도 만들어 볼 수 있을 듯 합니다.
오늘은 챗봇과 스무고개 게임에 대한 이야기를 잠시 해 보았습니다. 챗봇에게 나의 의도를 설명하고 그 놀이를 할 수 있는지 물어보았고, 챗봇은 흔쾌히(?) 가능하다고 합니다. 해서 챗봇과 질문과 응답을 해 보았습니다.
챗봇이 외국계이기 때문에 질문은 영어로 하고 답도 영어로 받습니다. 여기서 번역은 구글 번역기를 활용 했습니다. 혹시나 영어를 잘하는 것으로 오해를 하실까 싶어 미리 밝힙니다. ㅋㅋ~
내가 한 질문: I want to play a question and answer game with you. The method of the game is that you remember the name of an object and I match it. I'm going to ask you 20 questions before you tell me the answer, you have to answer it like this, right, wrong, similar, and after the 20 questions are over, it's a game where you tell me if the answer I'm talking about is right or not. If the answer I said is wrong even after 20 questions, you win the game, and if I got it right, I win the game. can i do it
답 : Yes, I can play the question and answer game with you. Let's get started!
내가한 질문 : Then did you start remembering one thing?
답 : Yes, I have something in mind. You can start asking your questions.
내가한 질문 : is it an animal 답 : No, it is not an animal.
내가한 질문 : is it a thing 답 : Yes, it is a thing.
내가한 질문 : can it ride 답 : Yes, it is possible for this thing to be ridden.
내가한 질문 : is it a car 답 : No, it is not a car.
내가한 질문 : Does it have an engine 답 : Yes, it has an engine.
내가한 질문 : does it have two wheels 답 : Yes, it has two wheels.
내가한 질문 : is it a motorcycle 답 : Yes, it is a motorcycle.
내가한 질문 : Wow... I won, right? 답 : Yes, that's correct! You correctly guessed that the thing I was thinking of is a motorcycle. Congratulations, you win the game!
내가한 질문 : Did my number of questions exceed the first 20? 답 : No, you correctly guessed the answer within the first 6 questions, so we didn't need to go through all 20 questions. Well done!
내가한 질문 : Can you make a game like this with python code 답 : Yes, it is possible to create a similar game using Python code. Here is some sample code to get you started:
import random
# Create a list of items to be guessed items = ["motorcycle", "bicycle", "scooter", "skateboard", "rollerblades", "unicycle"]
# Select a random item from the list selected_item = random.choice(items)
# Define a function to play the game def play_game(item): guesses = 0 max_guesses = 20 while guesses < max_guesses: guesses += 1 guess = input("Guess the item: ") if guess == item: print("Congratulations, you win!") return elif guesses == max_guesses: print(f"Sorry, you've used all {max_guesses} guesses. The item was {item}.") return else: print("Incorrect guess. Please try again.")
# Play the game with the selected item play_game(selected_item)
This code randomly selects an item from a list and allows the user to guess the item within 20 attempts. If the user correctly guesses the item, the program ends with a congratulatory message. If the user uses all 20 guesses and still hasn't correctly guessed the item, the program ends with a message revealing the correct answer. You can modify the list of items to make the game more challenging or interesting.
내가한 질문 : There doesn't seem to be a function in this code to answer a question like you do. Can't you create a code that thinks and answers when you ask a question like I did with you?
답 : Ah, I understand what you're asking now. I apologize for the confusion earlier. What you're describing is a natural language processing (NLP) chatbot that can understand and respond to user input. While it's possible to create a simple NLP chatbot using Python, it's a complex task that requires significant knowledge in machine learning and natural language processing. There are various libraries and frameworks available in Python for developing NLP chatbots, such as spaCy, NLTK, and TensorFlow. However, creating a sophisticated chatbot that can understand and respond to a wide range of user input requires significant development effort and training data. If you'd like to learn more about developing chatbots with Python, there are many online tutorials and resources available that can help you get started.
내가한 질문 : Can you recommend just 20 online tutorials and resources?
답 : Sure, here are 20 online tutorials and resources for learning about chatbot development with Python:
내가한 질문 : thank you so much 답 : You're welcome! Don't hesitate to reach out if you have any further questions or if there's anything else I can help you with.
대화중에 파이썬 코드로 스무고개 게임을 할 수 있는 코드를 구현해 달라고 했더니 그것도 흔쾌히 해 주기는 했습니다만, 나의 의도와 다르길래 그 이야기를 했더니 이해를 했다면서 공부를 해야할 부분에 대한 조언도 해 주었습니다.
그래서 20개의 온라인 자습서나 리소스를 알려 달라고 해서 받았습니다. 다 영어로 되어 있는 정보들이라서... 흠...
#스하리1000명프로젝트, 가끔 외국인 노동자들과 대화가 힘들 때가 있죠? 도움이 되는 간단한 앱을 만들어 봤습니다! 당신은 당신의 언어로 글을 쓰고, 다른 사람들은 그것을 그들의 언어로 봅니다. 설정에 따라 자동 번역됩니다. 쉬운 채팅에 매우 편리합니다. 기회되면 꼭 보세요! https://play.google.com/store/apps/details?id=com.billcoreatech.multichat416