묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결리눅스 시스템 프로그래밍 - 이론과 실습
shared는 왜 0이 아닌 값들이 나오는거죠?
mutex lock을 하지 못해서 순서가 뒤죽박죽이어도 결국 20000번씩 진행을 하고 끝나니까 0이 되지 않나요? 동영상을 다시 보니까 헷갈리네요
-
미해결리눅스 시스템 프로그래밍 - 이론과 실습
선생님 질문있습니다
pthread_create 3번째 인자인 함수를 넘겨줄 때 man page 보면 void * 반환형의 함수 주소를 넘겨주는데 선생님이 작성해주신 코드는 그냥 함수명만 넘겼는데 제가 착각하는 것인가요? pthread_create(... , ..., &child_thread_main, ...) 라고 생각이 드는데요..
-
미해결신입 프로그래머를 위한 실전 JSP 강좌
Class.forName(driver);
앞서 DriverManager, Connection, Statement, ResultSet의 개념들은 이해가 잘 됐습니다. 그런데 항상 선행되는 Class.forName(driver);는 뭔지 궁금합니다.
-
미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
npm install 부분에서 에러가 뜹니다.
gyp ERR! configure error gyp ERR! stack Error: Command failed: C:\Users\82103\Anaconda3\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack File "<string>", line 1 gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack ^ gyp ERR! stack SyntaxError: invalid syntax gyp ERR! stack gyp ERR! stack at ChildProcess.exithandler (child_process.js:294:12) gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at maybeClose (internal/child_process.js:970:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\82103\Desktop\klaytn\addition-game-starter\node_modules\keccak gyp ERR! node -v v10.15.3 gyp ERR! node-gyp -v v3.8.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\82103\AppData\Roaming\npm-cache\_logs\2019-05-15T08_09_22_949Z-debug.log "Keccak bindings compilation fail. Pure JS implementation will be used." > scrypt@6.0.3 install C:\Users\82103\Desktop\klaytn\addition-game-starter\node_modules\scrypt > node-gyp rebuild C:\Users\82103\Desktop\klaytn\addition-game-starter\node_modules\scrypt>if not defined npm_config_node_gyp (node "C:\Program Files\nodejs\node_modules\npm\node_modules\npm-lifecycle\node-gyp-bin\\..\..\node_modules\node-gyp\bin\node-gyp.js" rebuild ) else (node "C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js" rebuild ) gyp ERR! configure error gyp ERR! stack Error: Command failed: C:\Users\82103\Anaconda3\python.EXE -c import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack File "<string>", line 1 gyp ERR! stack import sys; print "%s.%s.%s" % sys.version_info[:3]; gyp ERR! stack ^ gyp ERR! stack SyntaxError: invalid syntax gyp ERR! stack gyp ERR! stack at ChildProcess.exithandler (child_process.js:294:12) gyp ERR! stack at ChildProcess.emit (events.js:189:13) gyp ERR! stack at maybeClose (internal/child_process.js:970:16) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:259:5) gyp ERR! System Windows_NT 10.0.17134 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "rebuild" gyp ERR! cwd C:\Users\82103\Desktop\klaytn\addition-game-starter\node_modules\scrypt gyp ERR! node -v v10.15.3 gyp ERR! node-gyp -v v3.8.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\82103\AppData\Roaming\npm-cache\_logs\2019-05-15T08_09_26_187Z-debug.log Baobab에 스마트 계약 배포 #1 에서 진행하다가 이런 에러가 뜹니다. 어느 부분이 잘못되었는지 알려주시면 감사하겠습니다.
-
미해결코틀린 기반 안드로이드 앱개발 고급 3단계
강의 내용 그대로 따라하고 실습해보았는데 가상머신이 강제종료됩니다
...
-
미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
안녕하세요, 강좌 오픈일관련 질문있습니다!
혹시 이 강좌 몇월 몇일에 오픈했는지 알려주실수있나요? 감사합니다.
-
미해결리액트 처음이시라구요? React JS로 웹 서비스 만들기!
access denied
Hello permission to access has been denied so npm install -g create-react-app didn't work. Is it possible to fix this? 안녕하세요 npm install 을 하려고 하는데 자꾸 설치가 안되네요... access denied 라고 나오는데 설치할 수 있는 방법이 없을까요?
-
미해결프로그래밍, 데이터 과학을 위한 파이썬 입문
Enumerate & zip 코드 질문입니다
<코드1> alist = ["a1","a2","a3"] blist = ["b1","b2","b3"] for i, (a,b) in enumerate(zip(alist,blist)): print(i,a,b) 여기서 볼드체 해놓은 for문 안에 a,b를 소괄호 해주는 정확한 이유가 궁굼합니다. zip형태는 튜플형태로 묶어주기 때문에 언팩킹을 위해 소괄호로 해준다고 짐작하고 넘어가려고 했지만 <코드2> a,b,c = zip((1,2,3),(10,20,30),(100,200,300)) print(a,b,c) 이 코드로 언팩킹할때 그냥 a,b,c 로 해줘도 튜플형태로 언팩킹이 되는대 왜 <코드1>의 for문안에 a,b는 반드시 튜플형태로 만들어 줘야 되는가요?
-
미해결Flutter 입문 - 안드로이드, iOS 개발을 한 번에 (with Firebase)
버튼 클릭시 무응답일 경우
onPressed: () => _changeMessage() ), 반드시 함수표시 해줄것..
-
미해결파이썬 프로그래밍
예제는 어디있나요?
죄송한데 혹시 예제는 어디있을까요??
-
미해결유니티 기초 강좌 - 기획부터 사용까지
그림 입히는 창이 잠겨있는데 이건 유니티 구독을 해야 열리는건가요?
그림 입히는 창이 잠겨있는데 이건 유니티 구독을 해야 열리는 건가요?
-
미해결된다! 일러스트레이터 CC
안녕하세요, 선생님. 예제파일은 어디서 받을 수 있을까요?
안녕하세요, 선생님. 예제파일은 어디서 받을 수 있을까요? 답변 부탁드립니다 ^^
-
미해결유니티 기초 강좌 - 기획부터 사용까지
큐브를 옮기고싶은데 마우스로 옮길 수는 없나요?
큐브를 옮기고 싶은데 마우스로 옮길 수는 없나요?
-
미해결누구든지 하는 리액트: 초심자를 위한 react 핵심 강좌
혹시 리액트 빌드되는 홈페이지를 바꾸고싶은데 아시나요?
지금 익스플로어에서 실행되는 리액트를 크롬으로 변경하고 싶습니다.
-
미해결C 프로그래밍 - 입문부터 게임 개발까지
rand() 와 srand() 에 대해서
rand() 와 srand() 를 사용할 때 상단에 <stdlib.h> 는 포함해주지 않아도 되는건가요? 적어주지않으면 srand 가 정의되지않앗다고 하는데 강의를 보면 따로 적지는 않으시는거 같아서 여쭤봅니다.
-
미해결홍정모의 따라하며 배우는 C++
9분 경의 delete 이후의 ptr의 주소값이 다릅니다
안녕하세요. 취미로 코딩을 배우고 있는 한 학생입니다. 다름이 아니라 강의를 보면서 따라해보고 있는데 강의 상의 결과와 실제로 따라해본 결과가 다른 문제가 발생했습니다. 강의에서는 포인터 ptr을 new int{7}로 초기화(동적할당?)하고 난 뒤 주소값과 delete ptr; 로 메모리를 반납한 뒤의 ptr의 주소값이 같습니다. 하지만 제가 직접 따라해보니 전혀 연관성 없어보이는 주소값을 가지고 있더라구요. 게다가 de-reference의 값도 -5726... 같은 쓰레기 값이 아닌 아무 것도 출력이 되지 않습니다. 왜 이런 결과가 나오게 된걸까요? 분명이 같은 코드인데 막상 다른 결과가 나오니 무엇이 문제인지 모르겠습니다. 이하 코드와 결과입니다. #include <iostream> using namespace std; int main() { int* ptr = new int{ 7 }; // OS로부터 int에 해당하는 4bytes의 메모리를 받아 옴 cout << ptr << endl; cout << *ptr << endl; delete ptr; // OS로 해당 메모리를 반납 cout << "After delete" << endl; cout << ptr << endl; cout << *ptr << endl; return 0; } 01230578 7 After delete 00008123
-
미해결배틀로얄 게임을 만들어보며 배우는 언리얼 게임 개발
애니메이션은 Mixamo에서 받으신건가요? 떨어지는 동안 애니메이션 재생하려고 하는데
루프구간없이 별도로 애니메이션을 하나 더 받아 몽타주 생성하고 점핑중에는 허우적 대고 바닥과 1미터에서는 떨어지는걸 하려고 합니다 그냥 루프를 제거하고 애니메이션 하나 더 추가하면 될것같은데 mixamo에서 받은것도 적용될까요
-
미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
truffle deploy network klaytn 실행 시 에러
여기에 빨간 줄도 그어져 있구요 pragma solidity ^0.4.24; 터미널입니다. Error: Cannot find module './build/Release/scrypt' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:582:15) at Function.Module._load (internal/modules/cjs/loader.js:508:25) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (C:\Computer Related Files\Blockchain_블록체인\Klaytn\addition-game-starter\node_modules\scrypt\index.js:3:20) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (C:\Computer Related Files\Blockchain_블록체인\Klaytn\addition-game-starter\node_modules\scrypt.js\node.js:1:14) at Module._compile (internal/modules/cjs/loader.js:701:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:712:10) at Module.load (internal/modules/cjs/loader.js:600:32) at tryModuleLoad (internal/modules/cjs/loader.js:539:12) at Function.Module._load (internal/modules/cjs/loader.js:531:3) at Module.require (internal/modules/cjs/loader.js:637:17) at require (internal/modules/cjs/helpers.js:22:18) at Object.<anonymous> (C:\Computer Related Files\Blockchain_블록체인\Klaytn\addition-game-starter\node_modules\connect-privkey-to-provider\node_modules\caver-js\packages\caver-klay\caver-klay-accounts\src\index.js:34:16) at Module._compile (internal/modules/cjs/loader.js:701:30)
-
미해결파이썬 입문 및 웹 크롤링을 활용한 다양한 자동화 어플리케이션 제작하기
이 강의도 인프런은...
개편이 되어서 수업 내용이랑 전혀 다르네요 ㅠ_ ㅠ
-
미해결파이썬 입문 및 웹 크롤링을 활용한 다양한 자동화 어플리케이션 제작하기
강의 수강을 이제서야 하고 있다보니 다른점들이 심심지않게 있네요.
인프런 사이트도 개편이 되서 강의 내용과 완전히 다른 것 같아요... 추천 강좌가 없어서 https://www.inflearn.com/courses 링크에서 하니 soup로는 강의 하나만 긁어와지더라고요. 브라우저 도구에서는 모든 강의가 다 보이는데....