묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결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
삭제된 글입니다
-
미해결모든 개발자를 위한 HTTP 웹 기본 지식
401, 403 질문드립니다!
그러면 인가에서 권한부여할때 보통db에서 변수로 따로 설정해두는건가요? 판매자는변수1이고 구매자는 변수2고 판매는하려면 변수1에다가 인가를 해주면 되는 이런방식인가요?
-
미해결홍정모의 따라하며 배우는 C언어
포인터배열을 함수의 매개변수로 사용하고 싶어요
#include <stdio.h> void inputdata(int* []); void test3(int* []); int main(void){ int* p_arr[2]; int myarr[4] = { 1,2,3,4 }; p_arr[0] = myarr; test3(p_arr); inputdata(p_arr); } void test3(int* p_arr[]) { int myarr[4] = { 10,20,30,40 }; p_arr[1] = myarr; } void inputdata(int* p_arr[]) { for (int i = 0; i < 3; i++) { for (int j = 0; j < 4; j++) { printf("%d\t", p_arr[i][j]); } printf("\n"); } } 안녕하세요 선생님의 강의를 듣고 공부하고 있습니다. 머리에 쏙쏙 들어오게 강의해주셔서 감사합니다.다름이 아니오라 위와 같이 제가 작성하여 작업하는데 main함수와 test함수에서 동일한 코드를 수행함에도 불구하고 main함수에서 배열에 저장하여 할당한 1,2,3,4값은 잘 들어가서 출력되는데 test함수에서 지정한 10,20,30,40은 쓰레기 값인지 알 수 없는 값이 들어갑니다. 동일한 코드인데 왜 잘 안나오는지 C가 초보라 궁금합니다. 꼭 답변 해주세요...선생님 ㅠㅠ
-
미해결Vue.js 중급 강좌 - 웹앱 제작으로 배워보는 Vue.js, ES6, Vuex
github 권한 요청 드립니다!
인프런 아이디: joon2974인프런 이메일: joon2974@daou.co.kr깃헙 아이디: vnfmsdyd4@naver.com깃헙 username: joon2974
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
배포 후 로그인 기능 먹통 ㅠㅠ
안녕하세요 강사님!! 덕분에 제가 AWS S3로 react를 빌드해서 배포하고 heroku로 nodejs를 배포했는데요~!~ 제일 중요한 로그인 기능이 좀 이상합니다 ㅠㅠ 배포 전까지는 dev환경에서는 잘되던 기능이 배포 후에는 dev환경과 production환경 둘 다 로그인을 해도 바로 풀립니다... 1. 로그인 관련해서 boiler-plate-mern-stack 소스코드를 건드린적이 없습니다! 2. localstorage에는 user id가 잘 들어갑니다! 3. 쿠키에는 아무런 정보가 안들어갑니다! 4. 구글링 후에 찾은 persist-redux 모듈을 사용해봐도 똑같습니다... 5. mongodb에 토큰을 초기화하고 다시 로그인을 해도 똑같습니다... 6. S3배포 후 cloudfront로 https프로토콜 설정했습니다 7. S3 배포 전에 강사님 유튜브 보고 EC2와 heroku로 배포했을 때도 똑같은 기능 먹통이 발생했습니다.. 8. heroku에 환경변수 MONGO_URL 잘 넣어서 렌딩 과정은 잘 됩니다! 9. 회원가입 기능도 잘 됩니다! 10. 로그인 유지가 안됩니다 ㅜㅜㅜㅜㅜㅜㅜㅜㅜㅜㅜㅜㅜ 11. github에서 새로 commit한 clone 다운받아서 dev.js 다른 table로 설정해주고 했을 때는 이상없습니다.. *배포 사이트 로그인 후 쿠키 * clone한 npm run dev로 들어가서 로그인 후 쿠키 12. 그래서 배포 한 몽고 table도 바꿔줬는데도 로그인 유지가 안됩니다 ㅠ 13. redux extention에도 success와 userid가 나오지만 또 풀리면서 이렇게 됩니다.. userData(pin):{isAuth:false,error:true 강사님 ㅜㅜㅜ 배포만 현재 5일째 매달리고 있습니다 ㅜㅜㅜ살려주세요..
-
미해결블록체인 이더리움 부동산 댑(Dapp) 만들기 - 기본편
메타마스크 질문
메타마스크 버전이 달라져서 그런지 동여상이랑 좀 달르니 헷갈려요. 어카운트 가져오는거라던가 우측 상단에 사람아이콘도 없고....버전업에따른 동영상 업뎃은 안될까여??
-
미해결마인크래프트 게임을 활용한 파이썬 프로그래밍 완벽 이해
127.0.0.1을 쳤는데
127.0.0.1을 쳤는데 1.16 서버라하는데요?
-
미해결블록체인 이더리움 부동산 댑(Dapp) 만들기 - 기본편
이더리움 댑 개발환경 셋업 질문
가네슈에서 멤모닉이 저장이 안되고 킬때마다 바뀌는데 어떻게 해야하나여?? 그리고 환경설정에서 서버가 동영상처럼 수기로 수정이 안되고 무조건 클릭으로만 해야하는데 버전이 높아져서 바뀐건가여 몇시간째 고생중이네여 ㅠㅠ
-
미해결웰컴 투 태블로 월드
Desktop Specialist 관련 질문드립니다
안녕하세요, 기초반 수강 중에 Desktop Specialist 자격증에 관심을 가지게 되었습니다. 자격증을 목표로 더 공부하려면 기초반 수강 후에 어떤 커리큘럼을 듣는게 도움이 될까요? 혹시 이와 관련된 강의 추후에 개설하시는지도 질문 드립니다! 강의와 관련있는 질문을 남겨주세요.• 강의와 관련이 없는 질문은 지식공유자가 답변하지 않을 수 있습니다. (사적 상담, 컨설팅, 과제 풀이 등)• 질문을 남기기 전, 비슷한 내용을 질문한 수강생이 있는지 먼저 검색을 해주세요. (중복 질문을 자제해주세요.)• 서비스 운영 관련 질문은 인프런 우측 하단 ‘문의하기’를 이용해주세요. (영상 재생 문제, 사이트 버그, 강의 환불 등) 질문 전달에도 요령이 필요합니다.• 지식공유자가 질문을 좀 더 쉽게 확인할 수 있게 도와주세요.• 강의실 페이지(/lecture) 에서 '질문하기'를 이용해주시면 질문과 연관된 수업 영상 제목이 함께 등록됩니다.• 강의 대시보드에서 질문을 남길 경우, 관련 섹션 및 수업 제목을 기재해주세요. • 수업 특정 구간에 대한 질문은 꼭 영상 타임코드를 남겨주세요! 구체적인 질문일수록 명확한 답을 받을 수 있어요.• 질문 제목은 핵심 키워드를 포함해 간결하게 적어주세요.• 질문 내용은 자세하게 적어주시되, 지식공유자가 답변할 수 있도록 구체적으로 남겨주세요.• 정확한 질문 내용과 함께 코드를 적어주시거나, 캡쳐 이미지를 첨부하면 더욱 좋습니다. 기본적인 예의를 지켜주세요.• 정중한 의견 및 문의 제시, 감사 인사 등의 커뮤니케이션은 더 나은 강의를 위한 기틀이 됩니다. • 질문이 있을 때에는 강의를 만든 지식공유자에 대한 기본적인 예의를 꼭 지켜주세요. • 반말, 욕설, 과격한 표현 등 지식공유자를 불쾌하게 할 수 있는 내용은 스팸 처리 등 제재를 가할 수 있습니다.
-
미해결1. 웹개발 기초 [HTML, CSS]
다중커서
1:48에서 컨트롤+알트키+화살표를 누르면 다중 커서를 사용할 수 있다고 하셨는데 화살표가 정확히 어떤 버튼이죠?ㅠㅠ 방향키를 누르니 화면이 돌아가버리네요..
-
[리뉴얼] React로 NodeBird SNS 만들기
이미지 업로드 미리보기 관련 질문
삭제된 글입니다
-
미해결[개념반]배워서 바로 쓰는 SQL 쿼리
group by 강의 중 질문 있습니다.
실습문제 19번에서 원하는 답을 얻기 위해서는 SELECT country, count(*) FROM Customers group by country ; 이렇게 코드를 작성하면 되는데요,,, 아래처럼 group by 뒤 항목에 따옴표('')를 넣게 되면, 다른 결과가 나옵니다. 무슨 의미일까요? SELECT country, count(*) FROM Customers group by 'country' ;
-
미해결스프링 시큐리티
configure에 대한 질문이 있습니다.
강사님 안녕하세요 강의 감사합니다. spring security의존성 주입후 WebSecurityConfigurerAdapter를 상속시켜서 커스터마이징을 하기위해 파일을 만들었을때 HttpSecurity안에 저 빨간색 표시에 있는 것들을 초기화 시키고 새로만든 파일의 오버라이딩한 configure파일로 넘어가는건가요?