묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part2: 자료구조와 알고리즘
25x25 에서 안멈추고 반복되는거같은데 한번 봐주실수있나요??
using System; namespace algoritm { class Program { static void Main(string[] args) { // 커서 끄기 Console.CursorVisible = false; // 시간측정 const int WAIT_TICK = 1000 / 30; const char SIRCLE = '\u25CF'; int lastTick = 0; while (true) { #region 프레임 관리 // 프레임 관리 // 시스템 시작이후 경과시간 단위ms int currentTick = System.Environment.TickCount; // 만약 경과시간이 1/30 초 보다 작다면 if (currentTick - lastTick < WAIT_TICK) continue; lastTick = currentTick; #endregion // 입력 // 사용자의 키보드 및 마우스 input // 로직 // 입력에 따라 로직 실행 // 렌더링 // opengl 등에따라 그래픽 렌더링 Console.SetCursorPosition(0, 0); for (int i = 0; i < 25; i++) { for (int j = 0; j < 25; j++) { Console.ForegroundColor = ConsoleColor.Cyan; Console.Write(SIRCLE); } Console.WriteLine(); } } } } } 강사님 화면보고 작성한 코드인데 25x25에서 멈추지않고 계속 생성해서 여쭤봅니다!
-
애플 웹사이트 인터랙션 클론!
yOffet값을 확인할 수 없습니다ㅠㅠ
삭제된 글입니다
-
미해결[리뉴얼] Node.js 교과서 - 기본부터 프로젝트 실습까지
질문있습니다.
안녕하세요 제로초님. .pdf, .zip 이런 종류의 파일은 db에 어떤 방식으로 저장하는게좋을까요?
-
미해결실전! Querydsl
강좌 너무 감사합니다. 강의 자료는 원본으로 받을수 없을까요?
진짜 너무 좋은 강의 감사합니다. 강의 자료를 프린트해서 볼려니 페이지 수가 너무 많아요..ㅠㅠ 빈줄도 많고...ㅠㅠ pdf를 다른(한글,워드등) 파일로 변환하여 수정하여도 쉽지 않더라구요, 강의 자료를 pdf파일이 아닌 수정 가능 파일로 첨부해주실수 없는지요. 사용하신 프로그램이름과 파일 원본과 그리고 pdf를 같이 올려주시면 사용자가 골라서 다운 받으면 좋지 않을까 싶어요~^^
-
미해결Vue.js 시작하기 - Age of Vue.js
기존 시스템에 vue 개발환경 세팅
안녕하세요. 현재 운영중인 시스템이 있습니다. JAVA + SPRING + JSP eclipse 를 통해서 통합개발환경을 구축해서 개발을 진행합니다. 특정 메뉴의 특정 페이지만 vue로 개발을 진행 하려고 합니다. 이런 경우에 개발 환경을 어떻게 세팅을 하는게 가장 이상적일까요? 싱글 파일 컴포넌트 방식( .vue) 으로 개발이 가능할까요? CLI로 프로젝트를 생성해서 싱글파일 컴포넌트 방식으로 개발을 하는것은 이해를 하겠는데요 기존에 사용중인 시스템에서 싱글파일 컴포넌트 방식으로 개발이 가능한지 궁금합니다. 만약 없다면 어떻게 하는게 가장 이상적일지 답변좀 부탁드립니다.
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 영화 사이트 만들기
npm install error
2번째 강의에서 깃허브 사이트에 들어가서 zip 다운받은 후 열어서 npm install 하는 과정에서 설치가 되지않고 에러가 나옵니다. 무시하고 진행을 하려는데 나중에도 계속 안되서 질문 올립니다. 어떤 에러인지 잘 모르겠어서 해결방법을 모르겠습니다.ㅠ Microsoft Windows [Version 10.0.19042.867] (c) 2020 Microsoft Corporation. All rights reserved. C:\Users\gjj\Desktop\boilerplate-mern-stack-master>npm install npm ERR! code 1 npm ERR! path C:\Users\gjj\Desktop\boilerplate-mern-stack-master\node_modules\bcrypt npm ERR! command failed npm ERR! command C:\WINDOWS\system32\cmd.exe /d /s /c node-pre-gyp install --fallback-to-build npm ERR! 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\gjj\Desktop\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\gjj\Desktop\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v88' (1) npm ERR! node-pre-gyp info it worked if it ends with ok npm ERR! node-pre-gyp info using node-pre-gyp@0.14.0 npm ERR! node-pre-gyp info using node@15.11.0 | win32 | x64 npm ERR! node-pre-gyp WARN Using needle for node-pre-gyp https download npm ERR! node-pre-gyp info check checked for "C:\Users\gjj\Desktop\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node" (not found) npm ERR! node-pre-gyp http GET https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v88-win32-x64-unknown.tar.gz npm ERR! node-pre-gyp http 404 https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v88-win32-x64-unknown.tar.gz npm ERR! 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-v88-win32-x64-unknown.tar.gz npm ERR! node-pre-gyp WARN Pre-built binaries not found for bcrypt@3.0.8 and node@15.11.0 (node-v88 ABI, unknown) (falling back to source compile with node-gyp) npm ERR! node-pre-gyp http 404 status code downloading tarball https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v88-win32-x64-unknown.tar.gz npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@7.1.2 npm ERR! gyp info using node@15.11.0 | win32 | x64 npm ERR! gyp info ok npm ERR! gyp info it worked if it ends with ok npm ERR! gyp info using node-gyp@7.1.2 npm ERR! gyp info using node@15.11.0 | win32 | x64 npm ERR! gyp ERR! find Python npm ERR! gyp ERR! find Python Python is not set from command line or npm configuration npm ERR! gyp ERR! find Python Python is not set from environment variable PYTHON npm ERR! gyp ERR! find Python checking if "python3" can be used npm ERR! gyp ERR! find Python - "python3" is not in PATH or produced an error npm ERR! gyp ERR! find Python checking if "python" can be used npm ERR! gyp ERR! find Python - "python" is not in PATH or produced an error npm ERR! gyp ERR! find Python checking if "python2" can be used npm ERR! gyp ERR! find Python - "python2" is not in PATH or produced an error npm ERR! gyp ERR! find Python checking if Python is C:\Python37\python.exe npm ERR! gyp ERR! find Python - "C:\Python37\python.exe" could not be run npm ERR! gyp ERR! find Python checking if Python is C:\Python27\python.exe npm ERR! gyp ERR! find Python - "C:\Python27\python.exe" could not be run npm ERR! gyp ERR! find Python checking if the py launcher can be used to find Python npm ERR! gyp ERR! find Python - "py.exe" is not in PATH or produced an error npm ERR! gyp ERR! find Python npm ERR! gyp ERR! find Python ********************************************************** npm ERR! gyp ERR! find Python You need to install the latest version of Python. npm ERR! gyp ERR! find Python Node-gyp should be able to find and use Python. If not, npm ERR! gyp ERR! find Python you can try one of the following options: npm ERR! gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe" npm ERR! gyp ERR! find Python (accepted by both node-gyp and npm) npm ERR! gyp ERR! find Python - Set the environment variable PYTHON npm ERR! gyp ERR! find Python - Set the npm configuration variable python: npm ERR! gyp ERR! find Python npm config set python "C:\Path\To\python.exe" npm ERR! gyp ERR! find Python For more information consult the documentation at: npm ERR! gyp ERR! find Python https://github.com/nodejs/node-gyp#installation npm ERR! gyp ERR! find Python ********************************************************** npm ERR! gyp ERR! find Python npm ERR! gyp ERR! configure error npm ERR! gyp ERR! stack Error: Could not find any Python installation to use npm ERR! gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:302:47) npm ERR! gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21)npm ERR! gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:200:18) npm ERR! gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:266:16) npm ERR! gyp ERR! stack at exithandler (node:child_process:333:5) npm ERR! gyp ERR! stack at ChildProcess.errorhandler (node:child_process:345:5) npm ERR! gyp ERR! stack at ChildProcess.emit (node:events:378:20) npm ERR! gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:288:12) npm ERR! gyp ERR! stack at onErrorNT (node:internal/child_process:480:16) npm ERR! gyp ERR! stack at processTicksAndRejections (node:internal/process/task_queues:81:21) npm ERR! gyp ERR! System Windows_NT 10.0.19042 npm ERR! 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\\gjj\\Desktop\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding\\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=C:\\Users\\gjj\\Desktop\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v88" npm ERR! gyp ERR! cwd C:\Users\gjj\Desktop\boilerplate-mern-stack-master\node_modules\bcrypt npm ERR! gyp ERR! node -v v15.11.0 npm ERR! gyp ERR! node-gyp -v v7.1.2 npm ERR! gyp ERR! not ok npm ERR! node-pre-gyp ERR! build error npm ERR! 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\gjj\Desktop\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\gjj\Desktop\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v88' (1) npm ERR! node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\gjj\Desktop\boilerplate-mern-stack-master\node_modules\node-pre-gyp\lib\util\compile.js:83:29) npm ERR! node-pre-gyp ERR! stack at ChildProcess.emit (node:events:378:20) npm ERR! node-pre-gyp ERR! stack at maybeClose (node:internal/child_process:1067:16) npm ERR! node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (node:internal/child_process:301:5) npm ERR! node-pre-gyp ERR! System Windows_NT 10.0.19042 npm ERR! node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\gjj\\Desktop\\boilerplate-mern-stack-master\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" npm ERR! node-pre-gyp ERR! cwd C:\Users\gjj\Desktop\boilerplate-mern-stack-master\node_modules\bcrypt npm ERR! node-pre-gyp ERR! node -v v15.11.0 npm ERR! node-pre-gyp ERR! node-pre-gyp -v v0.14.0 npm ERR! node-pre-gyp ERR! not ok npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\gjj\AppData\Local\npm-cache\_logs\2021-03-21T13_47_25_244Z-debug.log C:\Users\gjj\Desktop\boilerplate-mern-stack-master>
-
미해결홍정모의 따라하며 배우는 C언어
질문
#include <stdio.h> int main() { int a; a = 3123; printf("a=%d and address of a =%d\n", a, &a); a = 200; printf("a=%d and address of a =%d\n", a, &a); return 0; } 을 실행하면 a=3123 and address of a =10157436 a=200 and address of a =10157436 이렇게 a의 포인터가 같은 곳이고 3123이 들어있던 a에 200이 들어가게 되면서 3123이 없어지는데 이번 강의에서 같은 변수 n에 1,2,3,4,..... 숫자들이 대입되는데 같은 포인터에 덮히는 게 아니라 다른 포인터에 저장되는 것을 알 수 있습니다. 질문은 위 코드는 변수 a의 포인터가 서로 다른 3123, 200의 숫자가 같은 곳에 저장이 되고 강의에서는 변수 n이 숫자가 서서히 증가해도 왜 다른 포인터에 저장이 되는지 궁긍합니다. 혹시 n에 새로운 값을 대입할때마다 함수가 새로 실행 되기 때문에 다른 포인터에 저장되는 것인가요??
-
미해결피그마(Figma)를 활용한 UI디자인 입문부터 실전까지 A to Z
Meterial Design icons 플러그인 저작권
안녕하세요. 에릭 선생님 시간을 몇배, 몇십배 아껴주는 플러그인 편을 보고 문의 드립니다. Unsplash 플러그인은 사진별로 상업적 이용시 저작권이 확인이 필요하다는 건 알았는데, Meterial Design icons 플러그인을 상업적 작업물에 사용해도 될까요? 혹시 아실까 싶어 문의글 남깁니다. 감사합니다.
-
해결됨스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
안녕하세요 강의 내용중 'spring.datasource.driver-class-name=org.h2.Driver' 에 대해 질문 드립니다.
안녕하세요 강의를 수강하고 있는 학생입니다. 수강중에 DB 연결을 위해 application.properties에 아래의 내용을 적었습니다. spring.datasource.driver-class-name=org.h2.Driver spring.datasource.url=jdbc:h2:tcp://localhost/~/test server.port=9090 그런데 해당 내용을 적고 나서 아래와 같은 에러가 나타납니다. Cannot resolve class or package 'h2' Cannot resolve class 'Driver' 스스로 해결해보려고 인터넷에서 서칭을 통해 restart도 시켜보고 선생님이 말씀하신대로 gradle에서 refresh도 실행하였지만 해결되지 않았습니다. 어떻게 해야할까요...?ㅠ 감사합니다.
-
미해결스프링 핵심 원리 - 기본편
assertj assertThat 사용 질문 드립니다.
사진과 같이 assertThat() 입력 후 ALT+엔터 사용시 따로 static import 안내가 없고 따로 static import를 해줘도 자동완성이 안되는 등 문제가 있는데 혹시 방법이 있을까요..?
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
서버가 계속해서 작동되지않습니다
위에 사진과 같이 톰캣서버가 계속해서 작동을하여야하는데 종료가되는거같습니다 ㅠㅠ 해결방법이있을까요?
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part9: MMO 컨텐츠 구현 (DB연동 + 대형 구조 + 라이브 준비)
새 계정을 생성해서 접속해도 같은 플레이어로 선택되는 문제
안녕하세요. A계정을 생성 후 접속한 케릭터와 B계정을 생성 후 접속한 케릭터가 같은 이유에대해서 뭔가 의도가 있는것인지 궁금합니다. 그리고 이전에 봤던 강좌중에 비주얼스튜디오에서 쿼리문으로 DB데이터를 날려버리는것을 알려주셨는데.. 다시 찾아볼라하니 없네요. 혹시 어느영상에 있는지 가르쳐주실 수 있나요? 잘 부탁드립니다 ^^
-
미해결[개정판] 파이썬 머신러닝 완벽 가이드
kfold 와 cross_val_score()
교차검증(kfold) 진행시에 cross_val_score()을 못쓰고 반드시 def로 함수를 만들어 kfold 식을 써야하는 경우도 있나요?? 두개방식의 코드줄수의 차이가 많이나서 궁금해서 질문드립니다. 또한 모든 estimator에서 보통 하이퍼파라미터 튜닝을 진행하는지도 궁금합니다 마지막으로 분류문제에서 cross_val_score() 을 사용하면 자동으로 Stratified Kfold로 진행되는건가요? 강의와 관련있는 질문을 남겨주세요.• 강의와 관련이 없는 질문은 지식공유자가 답변하지 않을 수 있습니다. (사적 상담, 컨설팅, 과제 풀이 등)• 질문을 남기기 전, 비슷한 내용을 질문한 수강생이 있는지 먼저 검색을 해주세요. (중복 질문을 자제해주세요.)• 서비스 운영 관련 질문은 인프런 우측 하단 ‘문의하기’를 이용해주세요. (영상 재생 문제, 사이트 버그, 강의 환불 등) 질문 전달에도 요령이 필요합니다.• 지식공유자가 질문을 좀 더 쉽게 확인할 수 있게 도와주세요.• 강의실 페이지(/lecture) 에서 '질문하기'를 이용해주시면 질문과 연관된 수업 영상 제목이 함께 등록됩니다.• 강의 대시보드에서 질문을 남길 경우, 관련 섹션 및 수업 제목을 기재해주세요. • 수업 특정 구간에 대한 질문은 꼭 영상 타임코드를 남겨주세요! 구체적인 질문일수록 명확한 답을 받을 수 있어요.• 질문 제목은 핵심 키워드를 포함해 간결하게 적어주세요.• 질문 내용은 자세하게 적어주시되, 지식공유자가 답변할 수 있도록 구체적으로 남겨주세요.• 정확한 질문 내용과 함께 코드를 적어주시거나, 캡쳐 이미지를 첨부하면 더욱 좋습니다. 기본적인 예의를 지켜주세요.• 정중한 의견 및 문의 제시, 감사 인사 등의 커뮤니케이션은 더 나은 강의를 위한 기틀이 됩니다. • 질문이 있을 때에는 강의를 만든 지식공유자에 대한 기본적인 예의를 꼭 지켜주세요. • 반말, 욕설, 과격한 표현 등 지식공유자를 불쾌하게 할 수 있는 내용은 스팸 처리 등 제재를 가할 수 있습니다.
-
미해결쉽게 시작하는 쿠버네티스(v1.35)
virtualbox - vagrantup 명령어실행시 network 문제
안녕하세요 Devops 관련 공부를 하고있는 학생입니다. 기존 virtualbox를 사용하고 있어 기존 NAT망을 비활성화하고 설치를 시작하였는데, IP가 같다고 나와 어떻게 할지 고민이였습니다. host-only network가 ipv4를 나타는것이 아닐까요 ? master는 설치가 되었고, node 가상머신들은 설치가 안되었습니다. 확인결과 아래와 같이 다른데 따로 설정을 해야하는건지, virtualbox bridged networking driver를 설치를 해야하는지 해결방법을 자문을 구하고 싶습니다. [설치과정시 error 부분] The specified host network collides with a non-hostonly network! This will cause your specified IP to be inaccessible. Please change the IP or name of your host only network so that it no longer matches that of a bridged or non-hostonly network. Bridged Network Address: '192.168.1.0' Host-only Network 'Intel(R) Wireless-AC 9560 160MHz': '192.168.1.0' [IP 관련] 따로 LAN을 연결하지않고 와이파이연결하고 VPN 설정한것은 따로 없습니다. (VM에서도 NAT 설정한 부분 비활성화 하였습니다) - 개인PC ip - virtualbox host-only network [VM 네트워크 설정] - 챕터8에 있는 오류수정관련 사항들을 삭제하고 다시 실행해보았지만 상황은 같습니다 .. 혹시라도 해결되면 아래 남겨놓겠습니다.
-
해결됨문제로 배우는 C언어
C언어 초보 교안 1페이지 3번 문제 질문있습니다..
안녕하세요 교안 1페이지 3번 문항 질문있습니다. 아래와 같이 코드를 작성해보았는데 결과창은 좌측 정렬되서 나오더군요.. 혹시 어떻게 하면 될까요? 그냥 스페이스바로 줄맞춤 해야하는 건가요? #include<stdio.h> int main() { printf("$\n$ $ $\n$ $ $ $ $\n$ $ $ $ $ $ $"); }
-
미해결[개정판] 딥러닝 컴퓨터 비전 완벽 가이드
BB regression 관련(wrt Retinanet)
안녕하세요 선생님, 질문이 있습니다. Retinanet paper 보면서 공부중인데요, 앵커박스 이용한 좌표값 학습 부분에서, 아래와 같이 오프셋을 출력한다고 하는데, (맨 밑 스크린샷) 그렇다는 말은 a. t가 gt와 iou가 0.7 넘는 앵커박스와의 xywh오프셋(학습시 사용하는 고정값) b. t^ 가 모델이 예측한 값(처음은 랜덤값) 이므로 학습시에 t - t^의 차이를 regression하는 것으로 이해했는데 맞나요? 이게 맞다면 학습이 끝나 infernence시에는 나온 오프셋에 해당 앵커박스 좌표값을 반영해서 bb 예측값을 얻게 되는 건가요? 상기와 같이 학습한다면 학습시 앵커박스 좌표값이 자연스럽게 라벨에 녹아들어있어서 이렇게 이해하고 넘어가려고 하는데,, 확인 부탁드리겠습니다!
-
미해결[NarP Series] MVC 프레임워크는 내 손에 [나프1탄]
수업자료에 인쇄가 금지되어 있는데 풀어주실수 있으실까요?
나프1탄 수업자료를 압축풀고 나서 pdf 파일을 인쇄하려고 했더니 인쇄가 잠겨있네요... 그래서 수업자료를 인쇄하지 못하고 있는 상황인데 혹시 인쇄 잠금을 풀고 다시 업로드 해주실수 있으실까요? 부탁드립니다.
-
미해결만들면서 배우는 Figma Design [BASIC-2025 trend updated]
컴포넌트 디자인과 활용방법 5:16~ 질문드려요
안녕하세요. 질문 남깁니다. 5강 컴포넌트 디자인과 활용방법 5:16~ 에 아래 라인 복사해서 위에 붙여놓고 전체 채워넣으시잖아요. 어떻게해야 채워지는지 잘 모르겠어서 질문드립니다 ㅜ
-
미해결C 프로그래밍 - 입문부터 게임 개발까지
오류 해결해주세요
(사진)
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
No such file or directory (Gitbash)
윈도우 사용자들을 위한 Gitbash 연동을 참고하여 빌드하고 실행하기를 시도해보려 하는데, 저런 메세지가 나오네요 ㅠ 구글링 해도 저 경우의 답변이 나오질 않아, 질문 남깁니다.