묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)
코드 에러 납니다.
소스 코드에 있는 N=int(input()) dy=[0]*(N+1) dy[1]=1 dy[2]=2 for i in range(3, N+2): dy[i]=dy[i-1]+dy[i-2] print(dy[N+1]) 이 코드를 실행하면 Traceback (most recent call last): File "main.py", line 6, in <module> dy[i]=dy[i-1]+dy[i-2] IndexError: list assignment index out of range 이런 에러가 나오는데 dy=[0]*(N+2)로 바뀌어야 합니다.
-
미해결Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)
kafka sink connector 관련 질문드립니다
안녕하세요, 도원님. 좋은 강의 덕분에 MSA 관련 지식이 많이 느는 것 같아 감사합니다. 다름이 아니라, kafka sink connector 쪽 관련해서 문의드리고 싶은 내용이 있어 질문을 올리게 되었습니다. confluent 의 kafka sink connector 공식 문서를 봤을 때, sink connector 는 at least once delivery 를 보장한다고 하는데, 만약 그런 경우가 발생하면 실제로 같은 데이터가 2번 적재되는 현상이 생길 거 같습니다. 이런 경우를 위해 따로 처리를 하는 로직을 넣어야하는지, 아니면 그냥 sink connector 내부에서 밀어넣었는데 에러가 나고 이를 넘기는 방향으로 처리를 하는지 여쭤보고 싶습니다.
-
미해결홍정모의 따라하며 배우는 C언어
Build 오류
위 강의와 동일하게 코딩한 후 x86에서 build하면 아래와 같은 문구가 뜨면서 build가 되지 않습니다. Unable to start program 'c:\users\...' c:\users\... is not a valid Win32 application. x64에서는 정상적으로 빌드가 됩니다. 어떤 오류인지 알려주실 수 있을까요?
-
미해결Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)
라우트 정보 설정
선생님, 라우트 정보를 설정할 때 두 가지 방법을 알려주셨는데 1) application.yml 2) FilterConfig 클래스 자바 코드로 라우트 정보를 설정할 경우, 필터 적용은 어떻게 해야 할까요? FilterConfig클래스에 AuthenticationHeaderFilter클래스를 갖다붙이려고 하는데 쉽지 않네요..
-
미해결[개정판] 딥러닝 컴퓨터 비전 완벽 가이드
선생님 안녕하세요 질문 하나 드립니다
먼저 선생님 수업덕에, 어렵게만 느껴지던 cv를 조금씩 배워가고 있어서 감사드립니다. 저는 대학원생인데요 유튜브 선정성 연구를 이번 학기에 해볼까 했는데요, (인기 패션 유튜버들의 노출 비율 cv로 수량화해 비교) 아직 코딩 공부를 한 지 얼마 되지 않아 실력은 많이 부족한 상황입니다. 선생님 수업을 들으며 cv의 기초부터 배워가고 있긴 하지만 어떻게 skin color portion detection을 해야할지는 이제 강의 70% 정도를 들었지만 전혀 감이 오지 않아서 선생님께서 혹시 도움이 될만한 깃헙 등을 추천해주실까 해서 문의드립니다. 깃헙을 좀 찾아봤긴 했는데 제가 아는게 너무 없어 뭘 어떻게 해야할지 잘 모르겠더라고요ㅠ 학기말 페이퍼를 이제 한달 내에 작성해 제출해야 하는데 너무 막막해서 수업에 대한 직접 질문은 아니지만 문의드려 보았습니다. 감사합니다.
-
미해결파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)
dp 질문입니다.
dp 문제를 풀 때 아 이게 dp 문제다 할만한 근거를 어떻게 찾을 수 있을까요? 이전 강의에서 완탐, dfs, bfs 배운 이후로 대부분의 문제가 완탐, dfs, bfs로 풀면 될 것 같아서 잘 분별이 안됩니다. dp와 마찬가지로 이분탐색도 완탐으로 풀 수 있을 것 같은데 언제 완탐으로 풀고 언제 이분탐색으로 푸는 것이죠?
-
미해결피그마(Figma)를 활용한 UI디자인 입문부터 실전까지 A to Z
트레쉬 아이콘
안녕하세요! 트레시 아이콘의 경우에서는 뚜껑부분이 export가 안되더라구요! 이때 outline stroke처리하면 export시에도 뚜껑부분이 함께 export되기는 합니다.트레시 아이콘에서만 이러한 현상이 일어나는 이유가 무엇인지 궁금합니다.
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
TypeError
로그인 페이지에 들어가면 이렇게 뜹니다. TypeError: Cannot read properties of undefined (reading 'prototype') (anonymous function) C:/Users/USER/Documents/boiler-plate/client/node_modules/express/lib/response.js:42 39 | * @public 40 | */ 41 | > 42 | var res = Object.create(http.ServerResponse.prototype) 43 | 44 | /** 45 | * Module exports.View compiled ./node_modules/express/lib/response.js http://localhost:3000/static/js/vendors~main.chunk.js:42041:30 __webpack_require__ C:/Users/USER/Documents/boiler-plate/client/webpack/bootstrap:856 853 | 854 | __webpack_require__.$Refresh$.init(); 855 | try {> 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | __webpack_require__.$Refresh$.cleanup(moduleId); 859 | }View compiled fn C:/Users/USER/Documents/boiler-plate/client/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | }> 150 | return __webpack_require__(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return {View compiled ./node_modules/express/lib/express.js C:/Users/USER/Documents/boiler-plate/client/node_modules/express/lib/express.js:22 __webpack_require__ C:/Users/USER/Documents/boiler-plate/client/webpack/bootstrap:856 853 | 854 | __webpack_require__.$Refresh$.init(); 855 | try {> 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | __webpack_require__.$Refresh$.cleanup(moduleId); 859 | }View compiled fn C:/Users/USER/Documents/boiler-plate/client/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | }> 150 | return __webpack_require__(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return {View compiled ./node_modules/express/index.js C:/Users/USER/Documents/boiler-plate/client/node_modules/express/index.js:11 __webpack_require__ C:/Users/USER/Documents/boiler-plate/client/webpack/bootstrap:856 853 | 854 | __webpack_require__.$Refresh$.init(); 855 | try {> 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | __webpack_require__.$Refresh$.cleanup(moduleId); 859 | }View compiled fn C:/Users/USER/Documents/boiler-plate/client/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | }> 150 | return __webpack_require__(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return {View compiled ▶ 2 stack frames were collapsed. __webpack_require__ C:/Users/USER/Documents/boiler-plate/client/webpack/bootstrap:856 853 | 854 | __webpack_require__.$Refresh$.init(); 855 | try {> 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | __webpack_require__.$Refresh$.cleanup(moduleId); 859 | }View compiled fn C:/Users/USER/Documents/boiler-plate/client/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | }> 150 | return __webpack_require__(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return {View compiled ▶ 2 stack frames were collapsed. __webpack_require__ C:/Users/USER/Documents/boiler-plate/client/webpack/bootstrap:856 853 | 854 | __webpack_require__.$Refresh$.init(); 855 | try {> 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | __webpack_require__.$Refresh$.cleanup(moduleId); 859 | }View compiled fn C:/Users/USER/Documents/boiler-plate/client/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | }> 150 | return __webpack_require__(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return {View compiled ▶ 2 stack frames were collapsed. __webpack_require__ C:/Users/USER/Documents/boiler-plate/client/webpack/bootstrap:856 853 | 854 | __webpack_require__.$Refresh$.init(); 855 | try {> 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | __webpack_require__.$Refresh$.cleanup(moduleId); 859 | }View compiled fn C:/Users/USER/Documents/boiler-plate/client/webpack/bootstrap:150 147 | ); 148 | hotCurrentParents = []; 149 | }> 150 | return __webpack_require__(request); | ^ 151 | }; 152 | var ObjectFactory = function ObjectFactory(name) { 153 | return {View compiled 1 http://localhost:3000/static/js/main.chunk.js:1496:18 __webpack_require__ C:/Users/USER/Documents/boiler-plate/client/webpack/bootstrap:856 853 | 854 | __webpack_require__.$Refresh$.init(); 855 | try {> 856 | modules[moduleId].call(module.exports, module, module.exports, hotCreateRequire(moduleId)); | ^ 857 | } finally { 858 | __webpack_require__.$Refresh$.cleanup(moduleId); 859 | }View compiled checkDeferredModules C:/Users/USER/Documents/boiler-plate/client/webpack/bootstrap:45 42 | } 43 | if(fulfilled) { 44 | deferredModules.splice(i--, 1);> 45 | result = __webpack_require__(__webpack_require__.s = deferredModule[0]); | ^ 46 | } 47 | } 48 | View compiled Array.webpackJsonpCallback [as push] C:/Users/USER/Documents/boiler-plate/client/webpack/bootstrap:32 29 | deferredModules.push.apply(deferredModules, executeModules || []); 30 | 31 | // run deferred modules when all chunks ready> 32 | return checkDeferredModules(); | ^ 33 | }; 34 | function checkDeferredModules() { 35 | var result;View compiled (anonymous function) http://localhost:3000/static/js/main.chunk.js:1:65 This screen is visible only in development. It will not appear if the app crashes in production.Open your browser’s developer console to further inspect this error. Click the 'X' or hit ESC to dismiss this message.
-
미해결모던 안드로이드 - Jetpack Compose 입문
OnLifecycleEvent가 Deprecated 되었습니다
영상에서 LifecycleObserver을 구현하고 있는데 현재 어노테이션을 사용하는 것이 비활성화 되어서 어떻게 진행하면 좋을지 궁금합니다. DefaultLifecycleObserver을 구현해서 사용하는 것이 차선책일까요?
-
미해결[개정판] 파이썬 머신러닝 완벽 가이드
XGBoost의 label이 없는 상태에서 예측하는 방법이 궁금합니다.
안녕하세요. 강의 잘 들었습니다.^^ XGBoost관련 질의 드립니다. 주어진 데이터를 학습용 데이터, 테스트용 데이터로 추출하고, 이를 DMatrix로 변환 후, get_clf_eval 함수를 통해 예측평가까지 완료하였습니다. 만약 새로운 데이터가 주어졌으나, 새로운 데이터는 y_test, 즉 결과값이 없는 데이터이며, 이를 예측해야하는 상황이라면 어떻게 해야 하나요? predict함수 인자인 dtest의 label이 없는 상태에서 예측하는 방법 안내 부탁드립니다. dtest = xgb.DMatrix(data=X_test , label=y_test) xgb_model = xgb.train(params = params , dtrain=dtrain , num_boost_round=num_rounds , evals=wlist ) pred_probs = xgb_model.predict(dtest)
-
미해결팀 개발을 위한 Git, GitHub 입문
ppt 자료 요청드립니다.
안녕하세요. 강의 잘 보고 있습니다. 강의 자료 부탁드립니다. zavarat@gmail.com
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part3: 유니티 엔진
화면이 갑자기 크게 나옵니다
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 이번에 강의를 따라하고 나서 보다시피 화면이 엄청 크게 나옵니다 ui도 평소보다 더 크게 나오고 혹여나 뭘 잘못건들였나해서 완성판 코드를 다운받아서 복붙했는데도 이러는데 뭐가 문제인가요?
-
미해결팝스타 공식 뮤비 제작 & 유튜브 2천만 뷰 크리에이터의 애니메이트 X 이모티콘 클래스
사소할수있지만 제가 잘 못찾고있어서 몇가지 질문드립니다
강의를 보고 또보고 하면서 열심히 공부하고있고 아주많이 도움받고있습니다 그런데 사용하면서 보니까 제가 강의부분에서 놓쳤던걸수도있고 제가 아직 강의를 다확인하지 못해서 못봤을수 있는데 너무~궁금해서 질문드립니다^^ -맨처음 새로 만들기할때 새문서 사이즈를 360*360 을 항상 쳐서 작업을하나요?? -자주쓰는 컬러가 있는데 색상견본에 새폴더만들고 견본에 추가했을시 새문서를 만들면 제가만든 색상폴더가 안보이는데 쓸때마다 저장을 해야하나요?? 알려주시면 감사하겠습니다^^
-
미해결Swift 5와 SpriteKit으로 만들어보는 아이폰 iOS 2D 슈팅게임
맥북 버전
제 맥북이 너무 느려서, 거의 코딩이 불가능 합니다. 혹시 어떤 컴퓨터를 쓰시는 지요.. mac mini? or macbook? or iMac? 강사님 컴퓨터는 무척 빠른것 같네요.. 한 5초 이내로만 emulator 가 뜨면 좋겠는데, 그렇다고 최신형 비싼걸 살순 없고, 최소한의 사양을 추천 해 줄수 있나요?
-
미해결자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)
4-2 뒤집은 소수 질문드립니다ㅠㅠ
isPrime 변수가 for문 밖에서 선언되면 73 만 소수로 구분되지 않습니다. 이렇게 오류가 발생하는 원인이 궁금해서 질문드립니다!! <html> <head> <meta charset="UTF-8"> <title>출력결과</title> </head> <body> <script> function solution(arr){ let answer=[]; tmp = []; for(let i of arr){ tmp.push(Number(String(i).split('').reverse().join(''))) } let isPrime = true; // 73만 false로 구분 for(let i of tmp){ // let isPrime = true; // 정상적으로 소수 구별 if (i===1) isPrime = false; else if (i===2) isPrime = true; for (let j=2; j<i; j++){ if (i%j === 0) { isPrime = false; break; } } if (isPrime) answer.push(i); } return answer; } let arr=[32, 55, 62, 20, 250, 370, 200, 30, 100]; console.log(solution(arr)); </script> </body> </html>
-
미해결객체 지향 프로그래밍 입문
혹시 강의를 듣고 필기한 내용을 정리해서 블로그에 올려도 될까요?
안녕하세요. 현재 객체지향 프로그래밍 입문 강의를 듣고 있는 학생입니다. 다름이 아니라, 강의를 듣다가 좋은 내용이 너무 많아서 필기를 하고 있는데 혹시 필기한 내용들을 정리해서 블로그에 올려도 될지 여쭙고자 문의 드립니다. 저작권 문제이나 그 외 문제들로 인해 안된다면 올리지 않도록 하겠습니다. 감사합니다.
-
미해결윤재성의 처음시작하는 JavaScript Tutorials
소프트캠퍼스 강의는 원래 ppt자료가 제공이 안됩니까?
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
로그인은 되는데 로그아웃이 안되네요
이렇게 에러가 뜨는데 어떻게 해야하나요 ㅜ
-
해결됨스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
intellij 실행이 안됩니다.
강의 정말 잘 듣고있습니다. intellij실행에서 막혔습니다. os는 mac이고, 강사님 따라서 intellij를 처음 다운로드해서 사용해봅니다. Error: Could not find or load main class Caused by: java.lang.ClassNotFoundException: 실행하면 이런에러가 발생하는데 이유가 무엇인가요 ? (main class 중에 제 프로젝트 내용이 나오지 않습니다.)
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
writeLock, writeUnlock, readLock, readUnlock 관련 질문입니다
수업 너무 잘 듣고 있어요! 이 부분은 이해가 잘 안갈거라고 말씀해주셔서 가볍게 보고 있는데도 조금이나마 이해를 해보자 몇 자 남겨봅니다. 0. writeLock, writeUnlock, readLock, readUnlock 이것들의 목적은 무엇일까요? 어떤 상황에서 사용할 수 있을까요? 1. 이해를 돕기 위한 다른 방법이 더있을까요?