묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결예제로 배우는 스프링부트 입문
google docs 문서 내용이 copy가 안됩니다.
https://docs.google.com/document/d/1DpM5K7BEnMKUbnU8nztfRIunohV8NecZLqUOEh3oZss/edit 일부 내용을 google docs 에 올려 주신 것을 복사해서 사용하려고 하니 copy 가 막혀 있다고 하네요. 이거 풀어 주실 수 있나요?
-
미해결예제로 배우는 스프링부트 입문
resultType 을 String 으로 할 수는 없나요?
<select id="articleCount" resultType="_int"> select count(*) from simple_bbs </select> _ int를 _String으로 하니 에러가 나네요.
-
미해결청와대 청원 데이터 시각화
'li'로 게시판 제목 가져오기가 오류가 납니다.
몇번을 다시 해봐도 동일한 오류가 발생합니다. 제가 뭘 잘못했을까요?
-
미해결
npm install error
안녕하세요 아래처럼 소스 다운로드 받고 npm install 하는 중에 에러가 발생하는데 검색해서 적용해보아도 계속 동일한 에러가 나네요 ㅠ ㅠ 도와주세죠 PS D:\WorkDirectory\300. Projects\addition-game-starter> npm install D:\WorkDirectory\300. Projects\addition-game-starter\node_modules\keccak>if not defined npm_config_node_gyp (node "C:\Users\win10\AppData\Roaming\nvm\v10.22.0\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\win10\AppData\Roaming\nvm\v10.22.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) 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:\Users\win10\AppData\Roaming\nvm\v10.22.0\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47) gyp ERR! stack at PythonFinder.runChecks (C:\Users\win10\AppData\Roaming\nvm\v10.22.0\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21) gyp ERR! stack at PythonFinder.<anonymous> (C:\Users\win10\AppData\Roaming\nvm\v10.22.0\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16) gyp ERR! stack at PythonFinder.execFileCallback (C:\Users\win10\AppData\Roaming\nvm\v10.22.0\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16) gyp ERR! stack at exithandler (child_process.js:301:5) gyp ERR! stack at ChildProcess.errorhandler (child_process.js:313:5) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12) gyp ERR! stack at onErrorNT (internal/child_process.js:415:16) gyp ERR! stack at process._tickCallback (internal/process/next_tick.js:63:19) gyp ERR! System Windows_NT 10.0.19042 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\win10\\AppData\\Roaming\\nvm\\v10.22.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd D:\WorkDirectory\300. Projects\addition-game-starter\node_modules\keccak gyp ERR! node -v v10.22.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! keccak@1.4.0 rebuild: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the keccak@1.4.0 rebuild script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\win10\AppData\Roaming\npm-cache\_logs\2021-05-20T00_26_40_528Z-debug.log "Keccak bindings compilation fail. Pure JS implementation will be used." > scrypt@6.0.3 install D:\WorkDirectory\300. Projects\addition-game-starter\node_modules\scrypt > node-gyp rebuild D:\WorkDirectory\300. Projects\addition-game-starter\node_modules\scrypt>if not defined npm_config_node_gyp (node "C:\Users\win10\AppData\Roaming\nvm\v10.22.0\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Users\win10\AppData\Roaming\nvm\v10.22.0\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) 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:\Users\win10\AppData\Roaming\nvm\v10.22.0\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47) gyp ERR! stack at PythonFinder.runChecks (C:\Users\win10\AppData\Roaming\nvm\v10.22.0\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21) gyp ERR! stack at PythonFinder.<anonymous> (C:\Users\win10\AppData\Roaming\nvm\v10.22.0\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16) gyp ERR! stack at PythonFinder.execFileCallback (C:\Users\win10\AppData\Roaming\nvm\v10.22.0\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16) gyp ERR! stack at exithandler (child_process.js:301:5) gyp ERR! stack at ChildProcess.errorhandler (child_process.js:313:5) gyp ERR! stack at ChildProcess.emit (events.js:198:13) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:246:12) gyp ERR! stack at onErrorNT (internal/child_process.js:415:16) gyp ERR! stack at process._tickCallback (internal/process/next_tick.js:63:19) gyp ERR! System Windows_NT 10.0.19042 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\win10\\AppData\\Roaming\\nvm\\v10.22.0\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd D:\WorkDirectory\300. Projects\addition-game-starter\node_modules\scrypt gyp ERR! node -v v10.22.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok npm WARN klay-dapp-boilerplate@0.0.1 No repository field. npm WARN klay-dapp-boilerplate@0.0.1 No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! scrypt@6.0.3 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the scrypt@6.0.3 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\win10\AppData\Roaming\npm-cache\_logs\2021-05-20T00_26_49_269Z-debug.log PS D:\WorkDirectory\300. Projects\addition-game-starter> - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
미해결딥러닝 CNN 완벽 가이드 - TFKeras 버전
각 GD방법에 따른 iteration 횟수가 달라지나요?
안녕하세요! 강의 잘 듣고 있습니다! 제가 알기로는 epoch란 전체 데이터를 모두 관측한 횟수이고 iteration은 한 에포크에서 가중치 갱신이 된 횟수로 알고 있습니다. 전체 데이터가 100개이고, 500번의 epoch을 돌린다고 할 때, GD : 각 데이터당 500번이 인풋 데이터로 선택. 총 50,000번의 학습. iteration도 500. batch_size는 100 SGD : 각 데이터당 평균적으로 5번의 인풋 데이터로 선택. 총 500번의 학습. iteration은 50000. batch_size는 1 Mini - Batch(batch_size = 10) : 각 데이터당 50번의 인풋데이터로 선택. 총 5,000번의 학습. iteration은 5000, batch_size = 10 위 결과처럼 iteration*batch_size의 값은 모두 동일하지만 각 데이터가 학습되는 비중이 다르게 되는 것이 맞을까요? 또, 결론적으로 GD에서 변환되어 나온 SGD와 배치방법(이하 SGD 통일)은 표면적으로는 GD의 "전체 관측 후 갱신" 에서 SGD의 "부분 관측 후 갱신" 이라는 양적 개념이 달라진 것처럼만 보이지만 사실 그 내부에는 GD의 "동일한 데이터 반복 학습"에서 SGD의 "동일한 데이터 반복 학습 횟수 감소"로 볼 수도 있는건가요?
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
강의랑은 상관없지만 궁금한게 생겨서 질문드립니다
김영한님 강의에서 도움을 많이 받은, 실무에서 스프링 사용중인 신입 개발자입니다. 요즘 백엔드를 node.js기반으로 많이 개발하는 추세이던데 김영한님은 특별히 프로젝트에서 node를 사용하지 않고 스프링을 사용하시는 이유가 있나요? 저도 지금은 스프링을 사용중이지만 node.js 사용률이 점점 올라가는것 같아 트렌드를 따라가야하나 하는 생각이 듭니다.
-
해결됨자바 ORM 표준 JPA 프로그래밍 - 기본편
기본값타입 컬렉션은 왜 전체지움과 insert 가 발생하지 않는것인가요?
임베디드 타입 컬렉션이 추적이 불가능하기 때문에 다 지웠다 생성한다면, 값 타입컬렉션또한 그렇게 발생해야 하는것 아닌가해서 질문드립니다! 치킨 -> 한식 String 변경시에도 같은 이유로 추적이 불가능하기 때문에 변경되어야하는거 아닌가요!? 기본 값 타입 객체는 뭔가 보장이 되기 때문에 그런건가요? 항상 좋은강의 감사드립니다
-
해결됨스스로 구축하는 AWS 클라우드 인프라 - 기본편
nat gateway의 용도와 public subnet에 연결된 ALB
안녕하세요! 열심히 수강하고 있는 수강생입니다. 공부하던 와중 헷갈리는 부분이 많아 질문드립니다 1. bastion 및 nat gateway를 통한 private 영역 ec2의 외부 인터넷 통신 강의에서 마지막에 nat gateway를 통해서 private subnet에 있는 ec2에 접속을 한것이고 private subnet이 외부로 잘 통신되는지 ping을 통해 확인한다고 말씀해주셨는데 nat gateway는 외부로 응답값만 보내주는 통로 아닌가요? nat gateway를 통해서 ec2에 접속한 것이 아니라 public subnet에 위치한 bastion 통해 ec2에 접속하는것 아닌가요? 2. auto scailing을 위한 application load balancer강의에서 로드 밸런서를 설정할때 lab-web-pub1-2a와 lab-web-pub2-2c에 설정해주셨는데 인터넷에서 elb로 접속하고 elb가 두 az에 존재하는 public subnet에 트래픽을 분산 시켜주면 해당 트래픽은 어떻게 private subnet에 있는 ec2 웹서버에 요청을 하게되는 것인가요..? 그리고 응답은 어떻게 해주는것인가요? 아키텍쳐에서 화살표가 잘 이해가 안갑니다ㅠㅠ lab-web-pri1-2a와 lab-web-pri2-2c 에 설정해야되는것아닌가요?
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
덕분에 강의 잘 들었습니다. nginx https 리다이렉트가 잘 안 되어 질문드립니다~
덕분에 강의 잘 들었습니다. 정말 감사드립니다~ 다름이 아니라, nginx에서 https://walkwithus.shop(제 도메인)으로 접근했을 때는 인증서를 가진 체로 잘 접근이 되나 http://walkwithus.shop으로 접근했을 때는 nginx에 https로 리다이렉트 되도록 설정을 했음에도 불구하고, 리다이렉트가 잘 안 되고 있습니다. 처음 certbot이 설정해준 대로 하여도 잘 안 되어서, 여러 방법들을 오랜 시간 시도해보았지만, 잘 안 되었습니다. 도움주신다면 정말 감사하겠습니다. 감사합니다~
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
노드 리액트 기초 강의 #11 로그인 기능 with Bcrypt (1)
user.comparePassword(req.body.password,(err,isMatch) =>{ if(!isMatch) return res.json({loginSucess : false, message : '비밀번호가 틀렸습니다'}) //비밀번호까지 맞다면 토큰 생성 user.generateToken((err,user)=>{ if(err) return res.status(400).send(err); // 토큰을 저장한다 어디에? 쿠키 , 로컬스토리지 res.cookie("x_auth",user.token).status(200).json({loginSucess : true , userId : user._id}) }) }) 이부분에서 user가 User이 아닌가요? POSTMAN에서 이런 오류가 나오네요 ㅎㅎ TypeError: User.comparePassword is not a function<br> at C:\xampp\htdocs\react-node-basic\app.js:46:10
-
미해결일주일 완성! 3dsmax 입문 (자동차 및 캐릭터 만들기)
단축키 관련 문제입니다.
아래 질문과 유사합니다. G키 단축키 할당 지우고 다시 설정해 보고, 첨부파일 새로 다운받아보고 했는데도 안됩니다. 그리드 (G) 뿐만 아니라 다른 단축키도 많이 작동하지 않습니다. Cap (Alt+P) 등등 왜이런 건가요?
-
미해결인터랙티브 개발 실무 끝장내기 [역량 강화편]
자바두개
안녕하세요! 수업너무 유익하게 잘듣고있는학생입니다! 선생님이 수업하신 album과 별이빛나는밤 코드를 한페이지에 두개다 응용하려고하는데 안되서요..원래안되는건가요????
-
미해결C 프로그래밍 - 입문부터 게임 개발까지
맥북이용자
맥북이용자 입니다 비쥬얼스튜디오 for mac 을 다운받았는데 초기 설정을 어떻게 하나요 ㅠ
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
HttpServletRequest - 기본 사용법 에서 Postman 사용법
안녕하세요. 한 번 더 질문합니다. 이번에 MVC 여러강의 들으면서 이 강의를 통해서 처음으로 Postman 이란 걸 처음 접하게 되었습니다. 강사님 Postman 으로 강의 설명 보여주실 때 따라하려고 했는데 제가 이 프로그램을 처음쓰려고 하니까, 구글 계정 회원가입 로그인하고 Collaborate with teams 화면이 나오더라구여 아래 이미지 처럼요 Team Name, URL 은 어떻게 설정하고 어떤 의미가 담겨있는지 알 수 있을까요? 저희 강의를 위해서 강사님이 팀네임, URL 명 어떻게 정하셨는지도 궁금합니다.
-
미해결레트로의 유니티 C# 게임 프로그래밍 에센스
뚜시뚜시
공의 스피드를 100으로 하고 이리저리 움직이다보면 가끔씩 공이 벽을 뚫고 나가요 y constrain을 체크했는데도 그러네요
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
인증 강의부터 components 폴더 안에 페이지들 리턴값이 화면에 안 보입니다 ㅠ
강의 정말 잘 보고 있습니다!! 마지막 부분에서 원인을 못 찾고 있어서 질문 드립니다 ㅠ 인증 강의 까지는 강의 내용대로 잘 나왔는데 인증 부분 부터 서버랑 클라이언트가 잘 실행이 되나 브라우저 보여지는 부분이 그냥 백지 상태입니다 .ㅠㅠ login, register 를 url에 입력해도 그대로 백지네요.. 처음 landingpage를 시작페이지 로그아웃 부분으로 바꾸는 과정에서 이러한 일이 발생한 듯 합니다. 선생님 Github에 있는 코드를 보고 따로 다운 받고 실행 해보고 잘 되는것도 확인하고 코드 비교도 해봤는데 도저히 못 찾고 있어서 질문드립니다 ㅠㅠ
-
미해결딥러닝 CNN 완벽 가이드 - TFKeras 버전
googlenet에서의 conv1x1와 비선형성에 대해서 질문이 있습니다
안녕하세요. inceptionNet conv1x1 강의를 듣고 있습니다. 그런데 사용하는 이유 중에서 파라미터 감소 부분은 이해가 되는데, 비선형성이라는 단어가 나오면서 비선형성 특성이 두드러진다고 하셨습니다. 근데 약간 개념이 추상적이라서 제가 한 번에 와닿지는 않았는데, 보충해주실 내용이 있을까요? 추가적으로 기존에 conv1x1을 사용하면 아무래도 파라미터 수는 감소하기 때문에 바로 conv 하는 것보다 성능이 떨어질 것 같다고 생각하는데, 이 부분에 대해서는 어느정도 성능 차이가 없다고 증명은 된 것인가요?
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
사가 관련해서 질문있습니다.
안녕하세요. 강의 수강 중 질문있어서 문의드립니다. 사가 이용하여 api를 호출하는데, 해당 api는 다른 state의 업데이트로 인하여 재 호출 되는 구조입니다. 따라서 페이지 진입 시 동시에 3번이 호출 되는데요, function* loadMaxEpisode() { try { // yield는 await와 비슷 const result = yield call(loadMaxEpisodeAPI); // call 은 동기식, fork.는 비동기 console.log(result) alert(result.data.maxEpisode); yield put({ // put은 dispatch -> 즉, 액션을 dispatch한다. type: LOAD_MAXEPISODE_SUCCESS, data: result.data, // result로 하면 response값이 다 들어온다. }); } catch (err) { yield put({ type: LOAD_MAXEPISODE_FAILURE, data: err.response, }) }} 위 코드에서 result.data의 값이 500이 들어오면 result.action을 찍으면 500500이라는 값으로 보여집니다. (3번 호출 중 2개의 리스폰스 값이 위와 같이 합쳐서 보여지고, 나머지 하나는 정상인 500으로 반환됩니다.) 어느부분이 잘못 된 것인지 감이 안오네요...ㅠ 관련해서 어느 부분을 확인해 봐야할까요??
-
미해결실전 리액트 프로그래밍
강의 소스 올려주실 수 있으신가요?
실습을 위한 소스파일이 없는 거 같아서요. 강사님이 설명하실때, 미리작성된 소스를 가지고 코딩하며 설명하시는데 같이 따라 할 수 없더군요... 실습을 위한 소스 올려주실 수 있나요?
-
미해결3DS MAX 입문강좌 (입문부터 자동차 예제까지)
Target Weld 사용시
1번 누르고, 타겟 웰드 사용시 양쪽 선이 일직선이 안 되고 자꾸 대각선이 됩니다. 어떻게 해결해야하나요? Border 적용시에도 다 맞게 했는데도 깨짐 현상이 생기네요. 답을 모르겠어요 ..