묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
웹 게임을 만들며 배우는 Vue
컴포넌트
삭제된 글입니다
-
미해결프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
혹시나 맥os에서의 주석처리 궁금하신분들 위해...
맥os + pycharm 쓰고 있는데 Command + / 하면 한꺼번에 됩니다! 혹시나 누군가 필요하실까봐ㅎㅎ다른 IDE는 검색 안해봤지만, 사용하고 계신 IDE comment 구글검색하시면 나옵니다. ex)pycharm comment shorcut mac
-
미해결스프링 프레임워크 입문
AOP 적용 예제가 이해가 잘 안됩니다.
LogExecutionTime에 있는 @Target, @Retention의 애너테이션이 있어서 LogAspect에서도 이런 애너테이션이 적용되었다는 뜻인가요??
-
스프링 부트 개념과 활용
keystore 생성이 안됩니다.
삭제된 글입니다
-
미해결문제로 배우는 C언어
4번답
a=20,b=40이므로 a=010100 b=101000 a^b=111100 =60 a&b=000000=0 a|b=111100=60 아닌가요???
-
미해결Node.js 교과서 - 기본부터 프로젝트 실습까지
질문이요
npm i 로 필요한 부분들 다 깔고, sudo npm start 하고 나서 npm monit 하니까 , bcrypt 모듀을 찾을 수 없다고 에러가 나더라구요. 그래서 npm i bcrypt 으로 다운을 받으려고 시도 하니까, node-pre-gyp WARN Using needle for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.6/bcrypt_lib-v3.0.6-node-v72-linux-x64-glibc.tar.gz node-pre-gyp WARN Pre-built binaries not found for bcrypt@3.0.6 and node@12.9.1 (node-v72 ABI, glibc) (falling back to source compile with node-gyp) make: Entering directory '/home/hsjo920914/nodebird/node_modules/bcrypt/build' CXX(target) Release/obj.target/bcrypt_lib/src/blowfish.o CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt.o CXX(target) Release/obj.target/bcrypt_lib/src/bcrypt_node.o 이 상태에서 진행이 되는건지도 모를 정도로 멈쳐버리네요.. 지금 한 20분이상 기다리는데 진정이 없는데, 이럴때는 어떻게 해결 해야 할까요... g++: internal compiler error: Killed (program cc1plus) Please submit a full bug report, with preprocessed source if appropriate. See <file:///usr/share/doc/gcc-5/README.Bugs> for instructions. bcrypt_lib.target.mk:111: recipe for target 'Release/obj.target/bcrypt_lib/src/bcrypt_node.o' failed make: *** [Release/obj.target/bcrypt_lib/src/bcrypt_node.o] Error 4 make: Leaving directory '/home/hsjo920914/nodebird/node_modules/bcrypt/build' gyp ERR! build error gyp ERR! stack Error: `make` failed with exit code: 2 . . .
-
미해결React로 NodeBird SNS 만들기
antd 적용문제
계속 window is not defined 에러가 뜹니다 임포트는 영상에서처럼 여기에 해주었습니다
-
미해결React로 NodeBird SNS 만들기
antd 적용 문제
antd를 임포트만 하면 window is not defined 에러가 뜨는데 무슨 문제일까요?
-
미해결코틀린으로 만드는 스프링부트
질문이 있어서 글을 남겨 봅니다.
안녕하세요. 코틀린 + 스프링 부트 강좌 신청한 개발자 입니다. 혹시 괜찮으시다면 강좌 시청한 후 정리한 내용을 블로그에 게재 해도 괜찮은지 질문드립니다. 좋은 강의 열어주셔서 감사합니다.
-
미해결리눅스 커맨드라인 툴
선생님 네트워크 강의는 하실생각 없으신가요?
선생님 강의가 좋아서 정주행 하려고 하는데, 네트워크 강의는 별도로 촬영을 안하셨더라구요. 강의 계획이 없으시다면 집필하신 책이라도 보고싶은데 알려주시면 감사하겠습니다!
-
미해결스프링 부트 개념과 활용
@enableAdminServer 인식불가
Application 소스에 @EnableAdminServer 추가시 인식이 안됩니다. 앞전에 dependency 모두 추가하였습니다. 확인부탁드립니다. 감사합니다.
-
파이썬 사용자를 위한 웹개발 입문 A to Z Django + Bootstrap
gitignore에 있는 my_site_prj/settings_production.py
삭제된 글입니다
-
미해결인터랙티브 웹 개발 제대로 시작하기
질문이요~
that.scrollState = setTimeout (function () { that.scrollState = false; that.mainElem.classList.remove('running'); },500); 위 코드에서 that.scrollState = false; 이 부분이 왜 들어가야 하는지 모르겠어요 ;; 설명해주신거 같은데 잘 이해를 못한건지 ㅠㅠ 위 생성자함수안에 this.scrollState = false; 이 값을 셋팅해 줬는데 또 왜 주는지 모르겠어요
-
미해결리액트 네이티브로 투두앱 만들기
강의 진도율 체크가 안돼요!
강의 듣는건 문제가 없는데, 강의 진도율 체크가 안되네요.. 확인해주세요~~
-
미해결단 두 장의 문서로 데이터 분석과 시각화 뽀개기
27 강 강의자료는 없나요?
27강의 강의자료가 깃헙에 없는 것 같은데
-
미해결더 자바, 코드를 조작하는 다양한 방법
강의문서 오타 수정 요청
22강 애노테이션 프로세서 정리 애노테이션 프로세서 장점 -> 애노테이션 프로세서 단점 - 기존 클래스 코드를 변경할 때는 약간의 hack이 필요하다. 강의 내용을 들어봤을 때 단점이 맞는 것 같습니다.
-
코틀린 기반 안드로이드 앱개발 기본 1단계
제공되는 소스파일(이미지)를 어디서 받을 수 있을까요?
삭제된 글입니다
-
미해결홍정모의 게임 만들기 연습 문제 패키지
총알이 여러발 나가도록 하려고 하는데 잘안됩니다...
void update() override { // move tank if (isKeyPressed(GLFW_KEY_LEFT))tank.center.x -= 0.5f * getTimeStep(); if (isKeyPressed(GLFW_KEY_RIGHT))tank.center.x += 0.5f * getTimeStep(); if (isKeyPressed(GLFW_KEY_UP))tank.center.y += 0.5f * getTimeStep(); if (isKeyPressed(GLFW_KEY_DOWN))tank.center.y -= 0.5f * getTimeStep(); // shoot a cannon ball if (isKeyPressedAndReleased(GLFW_KEY_SPACE)) { bullet = new MyBullet; bullet->center = tank.center; bullet->center.x += 0.2f; bullet->center.y += 0.1f; bullet->velocity = vec2(0.5f, 0.0f); if (bullet1 == nullptr)bullet1 = bullet; bullet = bullet->prev; } if (bullet1 != nullptr && (bullet1->velocity - bullet1->center) > 5) { bullet1 = bullet1->prev; } bullet_update = bullet1; while (bullet_update != nullptr) { bullet_update->update(getTimeStep()); bullet_update->draw(); bullet_update = bullet_update->prev; } // rendering tank.draw(); /*if (bullet1!= nullptr) { bullet1->draw(); }*/ } }; 우선 vec2에 대해서 오버로딩 시켜서 벡터 거리 값을 구해서 상수와 크기비교시킬수있도록 해놨습니다. 그래서 그 거리값을 기준으로 총알이 딜리트 시키도록 하려고 했습니다. 그후 리스트 형식을 이용하려고 총알 클래스에 총알 포인트 변수를 넣었고 이를 이용해서 스페이스바를 누르면 총알의 포인트는 총알이전 주소값 현재는 아무 주소값이 없으니깐 nullptr값으로 이동하게되고 이후 다시 스페이스바를 누르면 bullet->prev에 새로운 bullet 클래스를 만들고 여기에 다시 값을 주고 되고 반복하게 하고 제일처음 bullet값을 다른 bullet 클래스 변수 bullet1에 넣어서 이 변수가 조건이 만족되어 delete가 되면 이전변수로 넘어가게 되고 업데이트는 와일문으로 bullet1값에 있는 이전 변수 클래스들을 다 반복문 돌려서 업데이트 시키면서 draw까지 시키려고 했구요 근대 이렇게 생각해서 구현해보니깐 총알이 하나밖에 안나가고 그 총알 하나가 사라져야지 다른 총알이 나오게 됩니다. 뭐가 잘못된지 잘모르겠어서 그런데 좀 어디가 문제인지 알려주실수 있으신가요 너무 어렵네요....
-
해결됨React로 NodeBird SNS 만들기
댓글이 두개씩 달려서여
댓글이 2개씩 달리는데 혹시 이유를 알려주시면 감사여 https://github.com/hyunsokstar/node_bird_22/blob/master/front/components/PostCard.js https://github.com/hyunsokstar/node_bird_22/blob/master/front/reducers/post.js https://github.com/hyunsokstar/node_bird_22/blob/master/front/sagas/post.js
-
미해결윤재성의 Java 기반 Android 9.0(pie) App 개발 심화 2단계
외부 저장소 쓰기 할때 안됩니다.
2019-09-04 17:58:48.616 767-767/kr.co.cashq.fileinputoutput W/System.err: java.io.FileNotFoundException: /storage/emulated/0/Android/data/kr.co.cashq.fileinputoutput/sd_file.dat: open failed: ENOENT (No such file or directory) 2019-09-04 17:58:48.616 767-767/kr.co.cashq.fileinputoutput W/System.err: at libcore.io.IoBridge.open(IoBridge.java:496) 2019-09-04 17:58:48.616 767-767/kr.co.cashq.fileinputoutput W/System.err: at java.io.FileOutputStream.<init>(FileOutputStream.java:235) 2019-09-04 17:58:48.616 767-767/kr.co.cashq.fileinputoutput W/System.err: at java.io.FileOutputStream.<init>(FileOutputStream.java:125) 2019-09-04 17:58:48.616 767-767/kr.co.cashq.fileinputoutput W/System.err: at kr.co.cashq.fileinputoutput.MainActivity.btn3Method(MainActivity.java:124) 2019-09-04 17:58:48.616 767-767/kr.co.cashq.fileinputoutput W/System.err: at java.lang.reflect.Method.invoke(Native Method) 2019-09-04 17:58:48.616 767-767/kr.co.cashq.fileinputoutput W/System.err: at androidx.appcompat.app.AppCompatViewInflater$DeclaredOnClickListener.onClick(AppCompatViewInflater.java:385) 2019-09-04 17:58:48.616 767-767/kr.co.cashq.fileinputoutput W/System.err: at android.view.View.performClick(View.java:7140) 2019-09-04 17:58:48.617 767-767/kr.co.cashq.fileinputoutput W/System.err: at android.view.View.performClickInternal(View.java:7117) 2019-09-04 17:58:48.617 767-767/kr.co.cashq.fileinputoutput W/System.err: at android.view.View.access$3500(View.java:801) 2019-09-04 17:58:48.617 767-767/kr.co.cashq.fileinputoutput W/System.err: at android.view.View$PerformClick.run(View.java:27351) 2019-09-04 17:58:48.617 767-767/kr.co.cashq.fileinputoutput W/System.err: at android.os.Handler.handleCallback(Handler.java:883) 2019-09-04 17:58:48.617 767-767/kr.co.cashq.fileinputoutput W/System.err: at android.os.Handler.dispatchMessage(Handler.java:100) 2019-09-04 17:58:48.617 767-767/kr.co.cashq.fileinputoutput W/System.err: at android.os.Looper.loop(Looper.java:214) 2019-09-04 17:58:48.617 767-767/kr.co.cashq.fileinputoutput W/System.err: at android.app.ActivityThread.main(ActivityThread.java:7356) 2019-09-04 17:58:48.617 767-767/kr.co.cashq.fileinputoutput W/System.err: at java.lang.reflect.Method.invoke(Native Method) 2019-09-04 17:58:48.617 767-767/kr.co.cashq.fileinputoutput W/System.err: at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:492) 2019-09-04 17:58:48.617 767-767/kr.co.cashq.fileinputoutput W/System.err: at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:930) 2019-09-04 17:58:48.617 767-767/kr.co.cashq.fileinputoutput W/System.err: Caused by: android.system.ErrnoException: open failed: ENOENT (No such file or directory) 2019-09-04 17:58:48.617 767-767/kr.co.cashq.fileinputoutput W/System.err: at libcore.io.Linux.open(Native Method) 2019-09-04 17:58:48.618 767-767/kr.co.cashq.fileinputoutput W/System.err: at libcore.io.ForwardingOs.open(ForwardingOs.java:167) 2019-09-04 17:58:48.618 767-767/kr.co.cashq.fileinputoutput W/System.err: at libcore.io.BlockGuardOs.open(BlockGuardOs.java:252) 2019-09-04 17:58:48.618 767-767/kr.co.cashq.fileinputoutput W/System.err: at libcore.io.ForwardingOs.open(ForwardingOs.java:167) 2019-09-04 17:58:48.618 767-767/kr.co.cashq.fileinputoutput W/System.err: at android.app.ActivityThread$AndroidOs.open(ActivityThread.java:7255) 2019-09-04 17:58:48.618 767-767/kr.co.cashq.fileinputoutput W/System.err: at libcore.io.IoBridge.open(IoBridge.java:482) 2019-09-04 17:58:48.618 767-767/kr.co.cashq.fileinputoutput W/System.err: ... 16 more 위와 같이 파일을 쓸 수 없다고 하네요. 뭘 잘못 한거죠?