inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

173만명의 커뮤니티!! 함께 토론해봐요.

cat /proc/cpuinfo 입력시 processor가 0번 1개입니다.

미해결

리눅스 시스템 프로그래밍 - 이론과 실습

cat /proc/cpuinfo 입력시 processor가 0번 1개입니다. processor가 1개 밖에 없는데 어떻게 하면 실습을 진행할 수 있을까요? 컴파일 후 ./affinity를 해도 마지막에 프로세스가 바뀔수 가 없는데 어떻게 하면 실습을 할 수가 있을까요?

  • linux
이상호 댓글 3 좋아요 0 조회수 474

정밀도와 민감도가 잘 이해되지 않습니다.

미해결

밑바닥 부터 시작하는 머신러닝 입문

정밀도와 민감도의 차이가 잘 이해되지 않습니다. 예나 언어적으로 풀어서 이해하기 쉽게 말씀해주실수 있나요? 수학적으로는 분모가 예측값으로 조건부를 걸었냐, 실제값으로 조건부를 걸었냐의 차이 뿐이지만 의미적으로는 더 깊은 의미가 있을 듯한데.

  • 머신러닝 배워볼래요?
김다슬 김 댓글 1 좋아요 0 조회수 513

shared는 왜 0이 아닌 값들이 나오는거죠?

미해결

리눅스 시스템 프로그래밍 - 이론과 실습

mutex lock을 하지 못해서 순서가 뒤죽박죽이어도 결국 20000번씩 진행을 하고 끝나니까 0이 되지 않나요? 동영상을 다시 보니까 헷갈리네요

  • linux
젓인 댓글 3 좋아요 0 조회수 177

선생님 질문있습니다

미해결

리눅스 시스템 프로그래밍 - 이론과 실습

pthread_create 3번째 인자인 함수를 넘겨줄 때 man page 보면 void * 반환형의 함수 주소를 넘겨주는데 선생님이 작성해주신 코드는 그냥 함수명만 넘겼는데 제가 착각하는 것인가요? pthread_create(... , ..., &child_thread_main, ...) 라고 생각이 드는데요..

  • linux
젓인 댓글 1 좋아요 0 조회수 172

Class.forName(driver);

미해결

신입 프로그래머를 위한 실전 JSP 강좌

앞서 DriverManager, Connection, Statement, ResultSet의 개념들은 이해가 잘 됐습니다. 그런데 항상 선행되는 Class.forName(driver);는 뭔지 궁금합니다.

  • java
  • jsp
Ck Choi 댓글 0 좋아요 0 조회수 240

npm install 부분에서 에러가 뜹니다.

미해결

Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습

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 에서 진행하다가 이런 에러가 뜹니다. 어느 부분이 잘못되었는지 알려주시면 감사하겠습니다.

  • blockchain
김윤성[소프트웨어학부] 댓글 1 좋아요 0 조회수 3058

안녕하세요, 강좌 오픈일관련 질문있습니다!

미해결

Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습

혹시 이 강좌 몇월 몇일에 오픈했는지 알려주실수있나요? 감사합니다.

  • blockchain
신지훈 댓글 1 좋아요 0 조회수 141

access denied

미해결

리액트 처음이시라구요? React JS로 웹 서비스 만들기!

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 라고 나오는데 설치할 수 있는 방법이 없을까요?

  • react
  • javascript
조은수(Eunsoo Cho) 댓글 1 좋아요 0 조회수 208

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는 반드시 튜플형태로 만들어 줘야 되는가요?

  • python
  • bigdata
JinSha Ko 댓글 1 좋아요 0 조회수 210

버튼 클릭시 무응답일 경우

미해결

Flutter 입문 - 안드로이드, iOS 개발을 한 번에 (with Firebase)

onPressed: () => _changeMessage () ), 반드시 함수표시 해줄것..

  • android
  • Flutter
  • ios
Charlie 댓글 2 좋아요 0 조회수 316

예제는 어디있나요?

미해결

파이썬 프로그래밍

죄송한데 혹시 예제는 어디있을까요??

  • python
김정훈 댓글 0 좋아요 4 조회수 304

rand() 와 srand() 에 대해서

미해결

C 프로그래밍 - 입문부터 게임 개발까지

rand() 와 srand() 를 사용할 때 상단에 <stdlib.h> 는 포함해주지 않아도 되는건가요? 적어주지않으면 srand 가 정의되지않앗다고 하는데 강의를 보면 따로 적지는 않으시는거 같아서 여쭤봅니다.

  • c
박원영 댓글 1 좋아요 0 조회수 268

9분 경의 delete 이후의 ptr의 주소값이 다릅니다

미해결

홍정모의 따라하며 배우는 C++

안녕하세요. 취미로 코딩을 배우고 있는 한 학생입니다. 다름이 아니라 강의를 보면서 따라해보고 있는데 강의 상의 결과와 실제로 따라해본 결과가 다른 문제가 발생했습니다. 강의에서는 포인터 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

  • C++
Jeong Sanghoon 댓글 2 좋아요 9 조회수 565

애니메이션은 Mixamo에서 받으신건가요? 떨어지는 동안 애니메이션 재생하려고 하는데

미해결

배틀로얄 게임을 만들어보며 배우는 언리얼 게임 개발

루프구간없이 별도로 애니메이션을 하나 더 받아 몽타주 생성하고 점핑중에는 허우적 대고 바닥과 1미터에서는 떨어지는걸 하려고 합니다 그냥 루프를 제거하고 애니메이션 하나 더 추가하면 될것같은데 mixamo에서 받은것도 적용될까요

  • unreal
홍은기 댓글 1 좋아요 0 조회수 217

truffle deploy network klaytn 실행 시 에러

미해결

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)

  • blockchain
이다언 댓글 6 좋아요 0 조회수 343

인기 태그

인프런 TOP Writers

주간 인기글