묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[개념부터 실습까지] 추천 시스템 입문편
requirements.txt
requirements.txt의 내용이 위처럼 나오는데 pandas 이전의 것들만 지우고 사용해도 되나요?
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
서버쪽 OnRecvCompleted에 SocketError.ConnectionReset
프로그램을 실행한 뒤에 조금 시간이 지난 뒤에 서버 쪽 OnRecvCompleted 함수에서는args.BytesTransferred는 0, args.SocketError는 SocketError.ConnectionReset이 뜨고 클라이언트 쪽 OnRecvCompleted 함수에서는args.BytesTransferred는 0, args.SocketError는 SocketError.Success가 뜨면서 서로 Disconnect가 됩니다.... 코드를 확인해봤을 때는 강의에 적은 것이라 동일한 것으로 확인이 되는데 혹시 다른 이유가 있을까요?
-
미해결Vue로 Nodebird SNS 만들기
v-btn 에 nuxt property 질문!
강의와 관련있는 질문을 남겨주세요.• 강의와 관련이 없는 질문은 지식공유자가 답변하지 않을 수 있습니다. (사적 상담, 컨설팅, 과제 풀이 등)• 질문을 남기기 전, 비슷한 내용을 질문한 수강생이 있는지 먼저 검색을 해주세요. (중복 질문을 자제해주세요.)• 서비스 운영 관련 질문은 인프런 우측 하단 ‘문의하기’를 이용해주세요. (영상 재생 문제, 사이트 버그, 강의 환불 등) 질문 전달에도 요령이 필요합니다.• 지식공유자가 질문을 좀 더 쉽게 확인할 수 있게 도와주세요.• 강의실 페이지(/lecture) 에서 '질문하기'를 이용해주시면 질문과 연관된 수업 영상 제목이 함께 등록됩니다.• 강의 대시보드에서 질문을 남길 경우, 관련 섹션 및 수업 제목을 기재해주세요. • 수업 특정 구간에 대한 질문은 꼭 영상 타임코드를 남겨주세요! 구체적인 질문일수록 명확한 답을 받을 수 있어요.• 질문 제목은 핵심 키워드를 포함해 간결하게 적어주세요.• 질문 내용은 자세하게 적어주시되, 지식공유자가 답변할 수 있도록 구체적으로 남겨주세요.• 정확한 질문 내용과 함께 코드를 적어주시거나, 캡쳐 이미지를 첨부하면 더욱 좋습니다. 기본적인 예의를 지켜주세요.• 정중한 의견 및 문의 제시, 감사 인사 등의 커뮤니케이션은 더 나은 강의를 위한 기틀이 됩니다. • 질문이 있을 때에는 강의를 만든 지식공유자에 대한 기본적인 예의를 꼭 지켜주세요. • 반말, 욕설, 과격한 표현 등 지식공유자를 불쾌하게 할 수 있는 내용은 스팸 처리 등 제재를 가할 수 있습니다. Vue 로 NodeBird 만들기 1-5강 3분 쯤 보면 <v-btn text nuxt to="/profile"></v-btn> 태그가 있는데요. nuxt 가 없더라도 잘 실행이 되는데 왜 nuxt 가 들어간 것 인가용? 여기서 nuxt 의 기능이 무엇인가요??
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
HOC 관련 Auth 컴포넌트에서 Action 함수가 반복적으로 실행되는 오류 발생
Action 함수 Reducer 함수 Router.js HOC/auth.js 현재 아래 터미널 창에서 보듯, auth 작업 후에 api 콜 호출이 반복적으로 이뤄지고 있습니다. 당최 그 까닭을 알수가 없네요. 어떻게 해결할 수 있을까요?
-
미해결mongoDB 기초부터 실무까지(feat. Node.js)
_id값으로 유저 한명 정보 가져오는게 최선의 방법인가요?
_id값 입력 하려면 너무 길어서 불편한데 저 방법이 최선인가요? username도 unique key로 설정 했는데 username으로는 못 가져오나요?
-
미해결맥으로 배우는 윈도우즈 포렌식
질문 드립니다.
안녕하세요. 강사님 좋은 강의 항상 감사합니다. 카빙 강의 듣고 실습 후 헷갈리는 점이 있어서 질문 드립니다. 강릐를 들으면서 NTFS 파일을 추출하는 방법은 크게 아래 2가지 인 것 같습니다. 1) 이번 강의에서 설명해주신 PE Header와 Section의 크기 정보를 통해 파일을 추출한 방식 2) 'FAT32 and NTFS - 2(실습) 편' 강의에서 NTFS FILE RECORD의 OffsetFieldSize와 LengthFieldSize를 통해 파일을 추출하는 방식 위 1), 2)는 방법이 다를 뿐 같은 결과를 가져오는 것이 맞나요?? 혹시 맞다면 carver.py을 2)가 아닌 1)의 방식으로 구현한 이유가 따로 있을까요? ps. 제가 아직 정확한게 이해한게 아니라서 질문이 앞뒤가 안맞을 수도 있습니다. 그렇다면 죄송합니다 ㅠㅜ 감사합니다.
-
미해결맥으로 배우는 윈도우즈 포렌식
2021-02-28 기준 010 Editor 64bit(v11.0.1) 참고!
강의 화면과 현재 최신 버전은 v11.0.1 버전의 010 Editor에 차이점이 있어서 개인적으로 정리한 내용 공유 드립니다. 강의 들으시는 분들 참고하세요! 2021-02-28 기준 최신 010 Editor 64bit(v11.0.1) - 아직 빅서 버전은 공식적으로 지원하지 않습니다.- 010 Editor 32bit 버전은 모하비까지만 지원합니다. 그 이후부터는 64bit 파일로 설치해야 됩니다.- 강의 내용 중 010 Editor에서 'Templates - Drive - Drive' 를 선택하면 NTFS나 FAT의 경우 자동으로 파싱해주고 템플릿으로 보여주는 기능이 있다고 하는데, 최신 버전 기준으로는 저 기능이 보이지 않습니다. 하지만, 아래와 같이 진행하면 볼 수 있습니다. 1) Templates - Template Repository 에서 Drive를 Install 해주면 강의와 같이 Templates - Drive - Drive 메뉴가 보임. 근데, 해당 메뉴를 선택해도 파싱에 대한 결과는 볼 수 없습니다.2) 이때, View - Edit As - Drive 를 선택하면 그때부터 hex 값을 자동으로 파싱한 값들이 010 Editor 하단에 보이기 시작합니다.
-
미해결파이썬 무료 강의 (기본편) - 6시간 뒤면 나도 개발자
질문 있어요
코딩 프로그램을 저장 후 컴퓨터 폴더에서 더블클릭으로 프로그램을 실행하면 화면이 잠깐 보였다가 사라지네요. 왜 이런 건가요? 오류인가요? 해결 방법이 있다면 알려주세요.
-
미해결파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)
자동채점문의드립니다
안녕하세요, 문제를 보고 혼자서 아래와 같이 코드를 작성해서 VSCODE에서 돌리니까 답은 나오는데.. 자동채점기로 돌리면 시간 초과가 뜨는거 같습니다. 혹시 이유를 알 수 있을까요? (Judge(Python-5)로 진행해도 동일하게 TIME LIMIT 발생합니다) import sys #sys.stdin = open('2. K번째 수\in5.txt', 'rt') data = sys.stdin.readlines() t = int(data[0].strip()) for i in range(t): n, s, e, k = map(int, data[i*2+1].strip().split(' ')) num_lst = list(map(int, data[i*2+2].strip().split(' '))) num_lst = num_lst[s-1:e] num_lst.sort() print(f'#{i+1} {num_lst[k-1]}')
-
미해결하울의 안드로이드 인스타그램 클론 만들기
DetailViewFramgment 구현 중 viewholder를 사용 시 item.detail이 불러와 지지 않습니다.
초보라서 정확한 상황을 설명할 순 없지만 이번 장 구현할 때 똑같이 구현했는데도 전 item.detail의 id들이 불러와지질 않습니다. import android.os.Bundle import android.view.LayoutInflater import android.view.View import android.view.ViewGroup import androidx.appcompat.view.menu.MenuView import androidx.fragment.app.Fragment import androidx.recyclerview.widget.RecyclerView import com.bumptech.glide.Glide import com.example.instagram.R import com.example.instagram.navigation.model.ContentDTO import com.google.firebase.firestore.FirebaseFirestore class DetailViewFragment : Fragment() { var firestore: FirebaseFirestore? = null override fun onCreateView( inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle? ): View? { var view = LayoutInflater.from(activity).inflate(R.layout.fragment_detail, container, false) firestore = FirebaseFirestore.getInstance() return view } inner class DetailViewRecyclerViewAdapter : RecyclerView.Adapter<RecyclerView.ViewHolder>() { var contentDTOs: ArrayList<ContentDTO> = arrayListOf() var contentUidList: ArrayList<String> = arrayListOf() init { firestore?.collection("images")?.orderBy("timestamp") ?.addSnapshotListener { querySnapshot, firebaseFirestoreException -> contentDTOs.clear() contentUidList.clear() for (snapshot in querySnapshot!!.documents) { var item = snapshot.toObject(ContentDTO::class.java) contentDTOs.add(item!!) contentUidList.add(snapshot.id) } notifyDataSetChanged() } } override fun onCreateViewHolder(p0: ViewGroup, p1: Int): RecyclerView.ViewHolder { var view = LayoutInflater.from(p0.context).inflate(R.layout.item_detail, p0, false) return CustomViewHolder(view) } inner class CustomViewHolder(view: View) : RecyclerView.ViewHolder(view) override fun getItemCount(): Int { return contentDTOs.size } override fun onBindViewHolder(p0: RecyclerView.ViewHolder, p1: Int) { var viewholder = (p0 as CustomViewHolder).itemView //Userid viewholder.detale Glide.with(p0.itemView.context).load(contentDTOs!![p1].imageUri).into(viewholder.deta) } } }
-
해결됨[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part1: C# 기초 프로그래밍 입문
static 함수 관련 질문
공부를 하던 도중 static함수에 대해 헷갈리는 부분이 생겼습니다. 1. static 변수들은 데이터 영역에 값이 잡히는 것으로 알고 있습니다. 일반 함수들은 코드영역에 값이 잡히구요 그렇다면 static 함수들은 데이터 영역에 있는건가요 아니면 코드 영역에 있는 건가요? 2. c++이랑 다르게 namespace 안에 class들과 static 너무 많아서 헷갈리는 부분이 있습니다. 언제 static이 붙은 함수가 생기고 언제 static을 안 쓰는건지 헷갈립니다. namespace CSharp_연습용 { class Program { enum ClassType { None, Knight, Archer, Mage, } struct Player { public int hp; public int attack; } enum MonsterType { None, Slime, Orc, Skeleton, } struct Monster { public int hp; public int attack; } static ClassType ChooseClass() { Console.WriteLine("직업을 선택하세요!"); Console.WriteLine("[1] 기사"); Console.WriteLine("[2] 궁수"); Console.WriteLine("[3] 법사"); string input = Console.ReadLine(); ClassType choice = ClassType.None; switch (input) { case "1": choice = ClassType.Knight; break; case "2": choice = ClassType.Archer; break; case "3": choice = ClassType.Mage; break; } return choice; } static void CreatePlayer(ClassType choice, out Player player) { switch (choice) { case ClassType.Knight: player.hp = 100; player.attack = 10; break; case ClassType.Archer: player.hp = 75; player.attack = 12; break; case ClassType.Mage: player.hp = 50; player.attack = 15; break; default: player.hp = 0; player.attack = 0; break; } } static void CreateRandomMonster(out Monster monster) { Random rand = new Random(); int randMonster = rand.Next(1, 4); switch (randMonster) { case (int)MonsterType.Slime: Console.WriteLine("슬라임이 스폰"); monster.hp = 20; monster.attack = 2; break; case (int)MonsterType.Orc: Console.WriteLine("오크가 스폰"); monster.hp = 40; monster.attack = 4; break; case (int)MonsterType.Skeleton: Console.WriteLine("스켈레톤이 스폰"); monster.hp = 30; monster.attack = 3; break; default: monster.hp = 0; monster.attack = 0; break; } } static void Fight(ref Player player, ref Monster monster) { while (true) { monster.hp -= player.attack; if (monster.hp <= 0) { Console.WriteLine("승리 했습니다"); Console.WriteLine($"남은 체력, {player.hp}"); break; } player.hp -= monster.attack; if (player.hp <= 0) { Console.WriteLine("패배했습니다"); break; } } } static void EnterField(ref Player player) { while (true) { Console.WriteLine("필드에 접속했습니다"); Monster monster; CreateRandomMonster(out monster); Console.WriteLine("[1] 전투 모드로 돌입"); Console.WriteLine("[2] 일정 확률로 마을로 도망"); string input = Console.ReadLine(); if (input == "1") { Fight(ref player, ref monster); } else if (input == "2") { Random rand = new Random(); int randValue = rand.Next(0, 101); if (randValue <= 33) { Console.WriteLine("도망치는데 성공했습니다"); break; } else { Fight(ref player, ref monster); } } } } static void EnterGame(ref Player player) { while (true) { Console.WriteLine("마을에 접속"); Console.WriteLine("[1] 필드로 간다"); Console.WriteLine("[2] 로비로 돌아가기"); Console.WriteLine(); string input = Console.ReadLine(); switch (input) { case "1": EnterField(ref player); break; case "2": return; default: break; } } } static void Main(string[] args) { while (true) { ClassType choice = ChooseClass(); if (choice == ClassType.None) continue; Player player; CreatePlayer(choice, out player); EnterGame(ref player); } } } } 위와 같이 TEXTRPG 코드에서 3. Main 옆에 왜 static이 붙는건가요? 4. Main을 제외하고 나머지 함수들(CreatePlayer, EnterField등)은 class Program에 소속된 함수인 것 맞나요? 5. 만약 나머지 함수들이 class Program에 소속된 거라면 왜 static을 붙이는 건가요? static 함수들은 클래스에 종속적인 것이지 특정 객체에 종속적인 것이 아닌 것이라고 말씀해주셨습니다. Main이란 함수와 나머지 함수들이 현재 Program이란 클래스에 다 같이 있는 것이니까 나머지 함수에 static이 없어도 Main 안에서 작동해야 하는 것 아닌가요? 6. 질문하면서 떠오른 코드가 static void Main(string[] args) { Program p1; while (true) { ClassType choice = ChooseClass(); if (choice == ClassType.None) continue; Player player; p1.CreatePlayer(choice, out player); EnterGame(ref player); } } CreatePlayer 함수에서 static을 제거하고 Program의 객체 p1을 찍어서 p1이 호출한 함수로써 CreatePlayer을 쓰면 되지 않을까 했는데, 할당되지 않은 p1 지역변수를 사용했다는 안내가 나옵니다. 어떤점이 문제인 것인가요?
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 쇼핑몰 사이트 만들기[전체 리뉴얼]
파이썬오류 gyp ERR! find Python
구글링해서 제가 해결해보려고했봤습니다만.... 저에게 맞지않은 npm까지 설치하고 하니까 다른 리액트프로젝트들까지 작동이 안되는 상황까지갔어서 차라리 강사님 답변을 기다리기로했습니다 파이썬 오류가떠서 저아래있는 툴설치해도 똑같습니다ㅠㅠ npm --add-python-to-path='true' --debug install --global windows-build-tools 아래 에러메세지 PS C:\Users\KHS\Desktop\React class\boilerplate-mern-stack-master> npm install > bcrypt@3.0.8 install C:\Users\KHS\Desktop\React class\boilerplate-mern-stack-master\node_modules\bcrypt > node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using needle for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v83-win32-x64-unknown.tar.gz node-pre-gyp WARN Pre-built binaries not found for bcrypt@3.0.8 and node@14.16.0 (node-v83 ABI, unknown) (falling back to source compile with node-gyp) gyp ERR! find Python gyp ERR! find Python Python is not set from command line or npm configuration gyp ERR! find Python Python is not set from environment variable PYTHON gyp ERR! find Python checking if "python" can be used gyp ERR! find Python - "python" is not in PATH or produced an error gyp ERR! find Python checking if "python2" can be used gyp ERR! find Python - "python2" is not in PATH or produced an error gyp ERR! find Python checking if "python3" can be used gyp ERR! find Python - "python3" is not in PATH or produced an error gyp ERR! find Python checking if the py launcher can be used to find Python 2 gyp ERR! find Python - "py.exe" is not in PATH or produced an error gyp ERR! find Python checking if Python is C:\Python27\python.exe gyp ERR! find Python - "C:\Python27\python.exe" could not be run gyp ERR! find Python checking if Python is C:\Python37\python.exe gyp ERR! find Python - "C:\Python37\python.exe" could not be run gyp ERR! find Python gyp ERR! find Python ********************************************************** gyp ERR! find Python You need to install the latest version of Python. gyp ERR! find Python Node-gyp should be able to find and use Python. If not, gyp ERR! find Python you can try one of the following options: gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe" gyp ERR! find Python (accepted by both node-gyp and npm) gyp ERR! find Python - Set the environment variable PYTHON gyp ERR! find Python - Set the npm configuration variable python: gyp ERR! find Python npm config set python "C:\Path\To\python.exe" gyp ERR! find Python For more information consult the documentation at: gyp ERR! find Python https://github.com/nodejs/node-gyp#installation gyp ERR! find Python ********************************************************** gyp ERR! find Python gyp ERR! configure error gyp ERR! stack Error: Could not find any Python installation to use gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47) gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21) gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16) gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16) gyp ERR! stack at exithandler (child_process.js:315:5) gyp ERR! stack at ChildProcess.errorhandler (child_process.js:327:5) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! stack at onErrorNT (internal/child_process.js:465:16) gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:80:21) gyp ERR! System Windows_NT 10.0.19041 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\KHS\\Desktop\\React class\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding\\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=C:\\Users\\KHS\\Desktop\\React class\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83" gyp ERR! cwd C:\Users\KHS\Desktop\React class\boilerplate-mern-stack-master\node_modules\bcrypt gyp ERR! node -v v14.16.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\KHS\Desktop\React class\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\KHS\Desktop\React class\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\KHS\Desktop\React class\boilerplate-mern-stack-master\node_modules\node-pre-gyp\lib\util\compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1048:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) node-pre-gyp ERR! System Windows_NT 10.0.19041 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\KHS\\Desktop\\React class\\boilerplate-mern-stack-master\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build"node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" ack-master\node_modules\bcrypt node-pre-gyp ERR! cwd C:\Users\KHS\Desktop\React class\boilerplate-mern-stack-master\node_modules\bcrypt node-pre-gyp ERR! node -v v14.16.0 node-pre-gyp ERR! node-pre-gyp -v v0.14.0 s\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\User node-pre-gyp ERR! not ok t\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\KHS\Desktop\React class\b Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejn=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1)s\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallb| ^16.0.0-0 but none is installed. You must install peer dependencies yourself.ack-to-build --module=C:\Users\KHS\Desktop\React class\boilerplate-mern-st.0.0-0 but none is installed. You must install peer dependencies yourself.npm WARN react-boiler-plate@1ack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\KHS\Desktop\React class\boilerplate-mern-les\fsevents):stack-master\node_modules\bcrypt\lib\binding --napi_version=7 --node_abi_nvents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"})api=napi --napi_build_version=0 --node_napi_label=node-v83' (1) npm WARN react-redux@5.1.2 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.1.2 requires a peer of redux@^2.0.0 || ^3.0.0 || ^4.0.0-0 but none is installed. You must install peer dependencies yourself.npm WARN react-boiler-plate@1.0.0 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modual logging output above.les\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32",_11_535Z-debug.log"arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! bcrypt@3.0.8 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bcrypt@3.0.8 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\KHS\AppData\Roaming\npm-cache\_logs\2021-02-27T21_22_11_535Z-debug.log
-
미해결C#과 유니티, 실전 게임으로 제대로 시작하기 (저자 직강)
입력값을 왜 Strat 메서드에 적는지에 대해
왜 Start 함수에 호출하는건가요? 이유가 있나요? 사실 코드 작성할때 어디 위치에 써야 하는건지 모르겠습니다 이 위치에는 왜 쓰면 안되는거고 이 위치에는 왜 써도 되는건지 너무 헷갈려요... Start 메서드와 Update메서드의 차이는 알지만 어쩔때는 Start메서드 밖에서 선언하고 어쩔때는 Start안에 선언 하시는데 이유를 모르겠어요.
-
미해결[리뉴얼] 파이썬입문과 크롤링기초 부트캠프 [파이썬, 웹, 데이터 이해 기본까지] (업데이트)
strip함수 관련 질문 드립니다.
string1 = '.........computer' string2 = ' ..........computer' print(string1.strip('.')) print(string2.strip('.')) 에서 마지막 줄은 앞에 공백이 있어서 '.'이 삭제가 안되는 것 같은데, '.'를 삭제하는 건 같을텐데 왜 삭제가 안되는지 궁금합니다.
-
해결됨[백문이불여일타] 데이터 분석을 위한 중급 SQL 문제풀이
set 2 4번
set 2 4번 문제에서 group by 에 company_code 와 founder 두개를 사용했는데 founder를 빼면 다음과 같은 에러가 나옵니다. ERROR 1055 (42000) at line 1: Expression #2 of SELECT list is not in GROUP BY clause and contains nonaggregated column 'run_5mv96ezra6f.A.founder' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_byfounder의 경우에도 group by 에 넣어주어야 되는 이유가 있을까요?가령 left join 의 왼쪽에 해당되는 열은 group by에 모두 적어야 된다는 것과 같은 특별한 이유가 있을까요? founder의 경우 수를 세는 것이 아니라 단순 출력을 하기 위함이고 company_code만으로도 count에 대한 결과물은 얻을 수 있어 궁금합니다.
-
미해결비전공자를 위한 진짜 입문 올인원 개발 부트캠프
tensorflow 설치 오류 질문 드립니다.
npm install @tensorflow/tfjs-node를 하면 자꾸 이런 오류가 발생합니다 node-pre-gyp install failed with error: Error: Command failed: node-pre-gyp install --fallback-to-build node-pre-gyp WARN Using request for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://storage.googleapis.com/tf-builds/pre-built-binary/napi-v7/3.2.0/CPU-windows-3.2.0.zip node-pre-gyp WARN Pre-built binaries not found for @tensorflow/tfjs-node@3.2.0 and node@14.15.4 (node-v83 ABI, unknown) (falling back to source compile with node-gyp) gyp ERR! find Python gyp ERR! find Python Python is not set from command line or npm configuration gyp ERR! find Python Python is not set from environment variable PYTHON gyp ERR! find Python checking if "python" can be used gyp ERR! find Python - "python" is not in PATH or produced an error gyp ERR! find Python checking if "python2" can be used gyp ERR! find Python - "python2" is not in PATH or produced an error gyp ERR! find Python checking if "python3" can be used gyp ERR! find Python - "python3" is not in PATH or produced an error gyp ERR! find Python checking if the py launcher can be used to find Python 2 gyp ERR! find Python - "py.exe" is not in PATH or produced an error gyp ERR! find Python checking if Python is C:\Python27\python.exe gyp ERR! find Python - "C:\Python27\python.exe" could not be run gyp ERR! find Python checking if Python is C:\Python37\python.exe gyp ERR! find Python - "C:\Python37\python.exe" could not be run gyp ERR! find Python gyp ERR! find Python ********************************************************** gyp ERR! find Python You need to install the latest version of Python. gyp ERR! find Python Node-gyp should be able to find and use Python. If not, gyp ERR! find Python you can try one of the following options: gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe" gyp ERR! find Python (accepted by both node-gyp and npm) gyp ERR! find Python - Set the environment variable PYTHON gyp ERR! find Python - Set the npm configuration variable python: gyp ERR! find Python npm config set python "C:\Path\To\python.exe" gyp ERR! find Python For more information consult the documentation at: gyp ERR! find Python https://github.com/nodejs/node-gyp#installation gyp ERR! find Python ********************************************************** gyp ERR! find Python gyp ERR! configure error gyp ERR! stack Error: Could not find any Python installation to use gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47) gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21) gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16) gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16) gyp ERR! stack at exithandler (child_process.js:315:5) gyp ERR! stack at ChildProcess.errorhandler (child_process.js:327:5) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! stack at onErrorNT (internal/child_process.js:465:16) gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:80:21) gyp ERR! System Windows_NT 10.0.18362 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=C:\\Users\\ASROCK\\Documents\\inflearn-nodejs\\node_modules\\@tensorflow\\tfjs-node\\lib\\napi-v7\\tfjs_binding.node" "--module_name=tfjs_binding" "--module_path=C:\\Users\\ASROCK\\Documents\\inflearn-nodejs\\node_modules\\@tensorflow\\tfjs-node\\lib\\napi-v7" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=7" "--node_napi_label=napi-v7" gyp ERR! cwd C:\Users\ASROCK\Documents\inflearn-nodejs\node_modules\@tensorflow\tfjs-node gyp ERR! node -v v14.15.4 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=C:\Users\ASROCK\Documents\inflearn-nodejs\node_modules\@tensorflow\tfjs-node\lib\napi-v7\tfjs_binding.node --module_name=tfjs_binding --module_path=C:\Users\ASROCK\Documents\inflearn-nodejs\node_modules\@tensorflow\tfjs-node\lib\napi-v7 --napi_version=7 --node_abi_napi=napi --napi_build_version=7 --node_napi_label=napi-v7' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\ASROCK\Documents\inflearn-nodejs\node_modules\@tensorflow\tfjs-node\node_modules\node-pre-gyp\lib\util\compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1048:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) node-pre-gyp ERR! System Windows_NT 10.0.18362 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\ASROCK\\Documents\\inflearn-nodejs\\node_modules\\@tensorflow\\tfjs-node\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd C:\Users\ASROCK\Documents\inflearn-nodejs\node_modules\@tensorflow\tfjs-node node-pre-gyp ERR! node -v v14.15.4 node-pre-gyp ERR! node-pre-gyp -v v0.14.0 node-pre-gyp ERR! not ok npm WARN inflearn-nodejs@1.0.0 No description npm WARN inflearn-nodejs@1.0.0 No repository field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! @tensorflow/tfjs-node@3.2.0 install: `node scripts/install.js` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the @tensorflow/tfjs-node@3.2.0 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\ASROCK\AppData\Roaming\npm-cache\_logs\2021-02-27T15_48_01_114Z-debug.log 구글링 결과 npm install을 하면 나머지 것들이 설치된다고 해서 해보고 코드를 돌려본 결과 internal/modules/cjs/loader.js:883 throw err; ^ Error: Cannot find module '@tensorflow/tfjs-node' Require stack: - C:\Users\ASROCK\Documents\inflearn-nodejs\helpers\detectProduct.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:880:15) at Function.Module._load (internal/modules/cjs/loader.js:725:27) at Module.require (internal/modules/cjs/loader.js:952:19) at require (internal/modules/cjs/helpers.js:88:18) at Object.<anonymous> (C:\Users\ASROCK\Documents\inflearn-nodejs\helpers\detectProduct.js:1:12) at Module._compile (internal/modules/cjs/loader.js:1063:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1092:10) at Module.load (internal/modules/cjs/loader.js:928:32) at Function.Module._load (internal/modules/cjs/loader.js:769:14) at Function.executeUserEntryPoint [as runMain] (internal/modules/run_main.js:72:12) { code: 'MODULE_NOT_FOUND', requireStack: [ 'C:\\Users\\ASROCK\\Documents\\inflearn-nodejs\\helpers\\detectProduct.js' ] } 이런 에러가 추가적으로 발생합니다 뭐가 원인일까요?
-
해결됨실전! 스프링 부트와 JPA 활용2 - API 개발과 성능 최적화
강의가 너무 재밌어요
스프링 무료강의부터 시작해서 지금까지 계속 보고있는데 너무재밌어요 스프링, DB에 대해서 아무것도 모르는 상태에서 가볍게 듣다가 중간에 강의 듣는데 필요한 지식들이 있으면 기초적인것만 따로 공부하고 오고 하는 형식으로 듣고있는데 어쩌다보니 여기까지 와버렸네요 ㅎㅎ 사실 저같은 아무것도 모르는 상태에서 듣기에는 점점 갈수록 난이도가 있어서 몇번이고 포기할까 고민도 많이했는데, 그럴때마다 그냥 모르는 부분까지의 강의를 다시 정주행 하기도 하고, 따로 영한님 도서도 구매해서 그걸로 복습하기도 하고 했거든요. 갑자기 이런 글 쓰는 이유는 API 최적화 강의 보면서 이해가 술술 되는 수준까지 온게 너무 신기할 따름이라서 그게 너무 기뻐서 써봤어요.😭 항상 강의 잘 보고있습니다.그리고 저같은 경우는 영한님 JPA 책 덕택을 많이 봤기 때문에 언젠가는 또 다른 다양한 서적들이 나올거라고 믿고있습니다!!! 항상 감사합니다 ㅜㅜ
-
미해결따라하며 배우는 도커와 CI환경 [2023.11 업데이트]
docker run Failed to compile.
안녕하세요 질좋은 강의 감사합니다. 해당 명령어 사용 시 docker run -it -p 3000:3000 -v /usr/src/app/node_modules -v $(pwd):/usr/src/app test/myapp 이런 오류가 출력됩니다.. Failed to compile. EACCES: permission denied, open '/usr/src/app/node_modules/.cache/.eslintcache' Failed to compile EACCES: permission denied, open '/usr/src/app/node_modules/.cache/.eslintcache' This error occurred during the build time and cannot be dismissed. -v /usr/src/app/node_modules 해당 부분 제외하면 정상적으로 작동합니다. 제가 놓친 부분이 있을까요 ?
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part3: 유니티 엔진
Tag기능 대신 Poolable 컴포넌트를 만드신 이유가 궁금합니다.
좋은 영상 올려주셔서 감사합니다. 별로 중요한 내용은 아니지만 궁금증에 한 번 질문해봅니다. 기존의 경험으로 게임을 만들 때, 무언가를 분류해야 한다면 Tag를 많이 사용했습니다. 이 영상을 보지 않고 풀링 오브젝트 패턴을 스스로 만들었다면, Poolable태그를 만들어서 풀링하고 싶은 프리팹에게 걸어줬을 것 같아요. Poolable 컴포넌트를 이용했을 때의 장점이 있다면, 알고싶습니다!
-
윤재성의 안드로이드를 위한 자바(JAVA) 프로그래밍
강의내용이 담긴 ppt
삭제된 글입니다