묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결언리얼 엔진4 입문 (C++ 기반)
언리얼 코딩할 때 자동완성 기능이 있나요?
언리얼은 명령어는 원래 자동완성이 안되는건가요? 예를 들어 UE_LOG(LogTemp, Warning , TEXT("BeginPlay"), 3); 에서 Warning을 지우고 Ctrl + Space 를 누르면 보통 'Error를 사용해라' 와 같이 그 위치에 맞는 값이 나오지 않나요? 비주얼 스튜디오에 있는 라이브러리들은 자동완성이 되는데 언리얼엔진것만 안되서 질문드립니다!
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
user.save is not a function 오류.. 문의드립니다.
User.js index.js Log 실질적으로 DB 연결및 reqbody 값도 정상적으로 들어오는데 User.Save 못찾는 경우는 어떻게 해야할까요?! ㅠㅠ
-
미해결설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
안녕하세요
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요 맛비님! 혹시 2:46초 쯤에 라인 한번에 잡아 주석 처리하는 방법과 변수 자동완성 기능은 어떻게 켜두는지 궁금합니다ㅠㅠ 변수 자동완성 기능이 ctrl + p 를 누르면 되는것은 찾았지만.. 입력중에 활성화 되는 방법이 보이지 않아 이렇게 질문을 남깁니다.
-
미해결[리뉴얼] 파이썬입문과 크롤링기초 부트캠프 [파이썬, 웹, 데이터 이해 기본까지] (업데이트)
반복문 활용2 : 시간 16:30 ~ 17:00
해당 결과문을 얻기 위해서 정답이 이렇다면 data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] data.reverse() for index in data: print(index) 저의 경우는 조금더 손쉽게 할려는 생각으로 data = [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] for index in data.reverse(): print(index) 해당 결과의 오류창을 보면 TypeError: 'NoneType' object is not iterable 다음과 같이 나타나게 됩니다. 제가 간과한 변수가 있을까 싶어서 문의 드립니다
-
미해결장박사의 블록체인 이해와 구조
수업에서 다루지 않는 파일들
수업에서 모든 파일에 대해 상세하게 설명해주시진 않다 보니, 처음부터 혼자 작은 프로젝트를 만들어 보는 데에 어려움이 있습니다. 1. html_start로 전자지갑 개발 실습을 하고 qr을 이용해보기도 한 다음, 2. 농산물 이력 관리로 넘어가는데요. 1번에서는 다양한 js 파일들이 있고, 2번에서는 js 파일의 수가 확 줄어든 것을 확인할 수 있었습니다. 2번은 비트코인의 transaction이 없고 다양한 라이브러리를 쓸 필요가 없으니 js 파일이 줄어들었을 것이라고 추측했습니다. 대신 서버를 활용하기 때문에 package.json과 main.js 파일 등이 있구요... 농산물 이력 관리 프로그램을 만들 때에는 1번 실습 파일 중에 있던 web3.js 같은 것이 필요 없나요? 왜 1번에서는 web3에 대한 파일이 필요하고 2번에서는 필요 없나요?
-
미해결MERN STACK 커뮤니티 : 시작부터 배포까지 알려주는 React
res.req.file로 코딩하시는 이유가 궁금합니다.
multer를 사용해서 하나의 파일만 받는 메소드인 upload를 사용하고 그 안에서 req, res, err 를 받아서 console.log(res.req.file)을 코딩하실 때, 설명으로는 upload의 응답인 res에 ImageUpload.js의 요청인 req라고 설명주시면서 res.req.file를 코딩하셨는데 req.file로 ImageUpload.js의 요청을 받아오는 것까지는 이해가 되었으나, res.req.file을 코딩하시는 것은 이해가 잘되지 않았습니다. 조금 더 추가적인 설명 부탁드립니다.
-
미해결자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)
reduce로 객체를 생성한 후 문제를 푸는 방법
선생님 우선 문제를 먼저 풀어봤습니다! 해쉬를 이용해서 풀라고해서 reduce함수를 이용해서 객체를 만들고 key와 value 값을 매핑하는 방식으로 풀었습니다. 만든 객체에서 value값이 최대인 key값을 출력하는 함수를 만들었습니다. 답은 C가 잘나오기는 하는데, 제가 만든 방식은 혹시 괜찮을까요? function solution(s){ let answer; let students = [...s]; let countedNames = students.reduce((prev, curr) => { if (curr in prev) prev[curr]++ else prev[curr] = 1; return prev; }, {}); let max = 0; for (let x in countedNames) { if (max < countedNames[x]) { max = countedNames[x]; answer = x; } } return answer; }
-
미해결비전공자를 위한 진짜 입문 올인원 개발 부트캠프
질문드려요
vercel 웹 배포했고 Heroku 서버 배포하는 것까지는 알겠습니다. 근데 상품 등록한 이미지는 Heroku 에서 현재 가동중인 클라우드서버에 어디에 저장되고 있는겁니까?
-
미해결Node.js에 TypeScript 적용하기(feat. NodeBird)
타입스크립트로 변환후 nextjs 빌드 후 배포
안녕하세요 제로초님 back 과 front 를 타입스크립트로 변환까지 해보았습니다. nextjs 로 빌드 해보고 배포하려합니다. 백엔드에서는 ts-node로 실행해보고 문제 없어서 .js 파일로 변환하였고, 프론트에서는 nextjs로 빌드해보고 배포하려는데 tsx인 상태에서 빌드를 해야하는지 tsc로 js로 변환후에 빌드하고 배포해야하는지 궁금합니다!
-
미해결설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
안녕하세요 맛비님! BRAM에 관해서 질문하고 싶은 것이 있습니다.
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요! 맛비님. 너무 유익한 강의 감사드립니다. 저가 이번 강의를 복습하면서 궁금한 점이 있는데요. 맛비님 블로그를 봤을 때 BRAM을 IP catalog에서 불러와서 쓰셨는데 강의에서는 직접 설계하셨습니다. IP에서 BRAM을 불러온 것과 직접 BRAM을 설계하는 차이가 뭔지 궁금합니다. 또 실제 설계함에 있어서 어느 방법을 더 많이 쓰는지 궁금합니다.
-
미해결Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)
ecommerce.yml 파일을 변경할 때 commit을 이용하지 않으셨는데 원래는 필요없는 작업인가요?
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 맨 처음에 eecommerce.yml 파일을 수정하실 때는 commit을 해주셨는데 마지막에는 안해주셨더라구요. 혹시 commit을 하신 이유를 알려주실 수 있을까요?
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
너무 많은 에러들... 갑자기 왜 이럴까요?ㅠㅠ
어느 순간 갑자기 이런 에러들이 많이 뜨는데 구글링 해보아도 재설치 하라는 답변들이 많아서... 혹시 어떻게 해결하면 좋을지 도움 청합니다... ㅠㅠ 깃허브 주소입니다 ㅠㅠ https://github.com/aurpo1/boilerplate 연속으로 계속 이렇게 질문 남기니 부끄럽네요... 이번에도 올리고 제가 해결하면 좋겠다만 ㅠㅠㅠ Compiled with problems:X ERROR in ./node_modules/body-parser/lib/read.js 20:11-26 Module not found: Error: Can't resolve 'zlib' in 'C:\Users\aurpo\boilerplate\client\node_modules\body-parser\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "zlib": require.resolve("browserify-zlib") }' - install 'browserify-zlib' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "zlib": false } ERROR in ./node_modules/body-parser/lib/types/urlencoded.js 217:12-34 Module not found: Error: Can't resolve 'querystring' in 'C:\Users\aurpo\boilerplate\client\node_modules\body-parser\lib\types' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "querystring": require.resolve("querystring-es3") }' - install 'querystring-es3' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "querystring": false } ERROR in ./node_modules/content-disposition/index.js 19:15-39 Module not found: Error: Can't resolve 'path' in 'C:\Users\aurpo\boilerplate\client\node_modules\content-disposition' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/cookie-signature/index.js 4:13-30 Module not found: Error: Can't resolve 'crypto' in 'C:\Users\aurpo\boilerplate\client\node_modules\cookie-signature' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }' - install 'crypto-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "crypto": false } ERROR in ./node_modules/destroy/index.js 12:17-41 Module not found: Error: Can't resolve 'fs' in 'C:\Users\aurpo\boilerplate\client\node_modules\destroy' ERROR in ./node_modules/destroy/index.js 14:13-30 Module not found: Error: Can't resolve 'stream' in 'C:\Users\aurpo\boilerplate\client\node_modules\destroy' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }' - install 'stream-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "stream": false } ERROR in ./node_modules/etag/index.js 18:13-30 Module not found: Error: Can't resolve 'crypto' in 'C:\Users\aurpo\boilerplate\client\node_modules\etag' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "crypto": require.resolve("crypto-browserify") }' - install 'crypto-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "crypto": false } ERROR in ./node_modules/etag/index.js 20:12-31 Module not found: Error: Can't resolve 'fs' in 'C:\Users\aurpo\boilerplate\client\node_modules\etag' ERROR in ./node_modules/express/lib/application.js 28:11-26 Module not found: Error: Can't resolve 'http' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }' - install 'stream-http' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "http": false } ERROR in ./node_modules/express/lib/application.js 42:14-37 Module not found: Error: Can't resolve 'path' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/express/lib/request.js 18:11-30 Module not found: Error: Can't resolve 'net' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' ERROR in ./node_modules/express/lib/request.js 22:11-26 Module not found: Error: Can't resolve 'http' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }' - install 'stream-http' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "http": false } ERROR in ./node_modules/express/lib/response.js 23:11-26 Module not found: Error: Can't resolve 'http' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "http": require.resolve("stream-http") }' - install 'stream-http' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "http": false } ERROR in ./node_modules/express/lib/response.js 29:11-26 Module not found: Error: Can't resolve 'path' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/express/lib/utils.js 31:18-40 Module not found: Error: Can't resolve 'querystring' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "querystring": require.resolve("querystring-es3") }' - install 'querystring-es3' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "querystring": false } ERROR in ./node_modules/express/lib/view.js 16:11-26 Module not found: Error: Can't resolve 'path' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/express/lib/view.js 18:9-22 Module not found: Error: Can't resolve 'fs' in 'C:\Users\aurpo\boilerplate\client\node_modules\express\lib' ERROR in ./node_modules/mime-types/index.js 15:14-37 Module not found: Error: Can't resolve 'path' in 'C:\Users\aurpo\boilerplate\client\node_modules\mime-types' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/mime/mime.js 1:11-26 Module not found: Error: Can't resolve 'path' in 'C:\Users\aurpo\boilerplate\client\node_modules\mime' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/mime/mime.js 3:9-22 Module not found: Error: Can't resolve 'fs' in 'C:\Users\aurpo\boilerplate\client\node_modules\mime' ERROR in ./node_modules/parseurl/index.js 13:10-24 Module not found: Error: Can't resolve 'url' in 'C:\Users\aurpo\boilerplate\client\node_modules\parseurl' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "url": require.resolve("url/") }' - install 'url' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "url": false } ERROR in ./node_modules/send/index.js 29:9-22 Module not found: Error: Can't resolve 'fs' in 'C:\Users\aurpo\boilerplate\client\node_modules\send' ERROR in ./node_modules/send/index.js 39:11-26 Module not found: Error: Can't resolve 'path' in 'C:\Users\aurpo\boilerplate\client\node_modules\send' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/send/index.js 43:13-30 Module not found: Error: Can't resolve 'stream' in 'C:\Users\aurpo\boilerplate\client\node_modules\send' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "stream": require.resolve("stream-browserify") }' - install 'stream-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "stream": false } ERROR in ./node_modules/send/index.js 45:11-26 Module not found: Error: Can't resolve 'util' in 'C:\Users\aurpo\boilerplate\client\node_modules\send' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "util": require.resolve("util/") }' - install 'util' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "util": false } ERROR in ./node_modules/serve-static/index.js 20:14-37 Module not found: Error: Can't resolve 'path' in 'C:\Users\aurpo\boilerplate\client\node_modules\serve-static' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "path": require.resolve("path-browserify") }' - install 'path-browserify' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "path": false } ERROR in ./node_modules/serve-static/index.js 24:10-24 Module not found: Error: Can't resolve 'url' in 'C:\Users\aurpo\boilerplate\client\node_modules\serve-static' BREAKING CHANGE: webpack < 5 used to include polyfills for node.js core modules by default. This is no longer the case. Verify if you need this module and configure a polyfill for it. If you want to include a polyfill, you need to: - add a fallback 'resolve.fallback: { "url": require.resolve("url/") }' - install 'url' If you don't want to include a polyfill, you can use an empty module like this: resolve.fallback: { "url": false }
-
미해결홍정모의 따라하며 배우는 C++
5.9 난수 만들기, rand()를 쓸 때 계속 같은 숫자가 나오는 이유
안녕하세요, <5.9 난수 만들기> 강의를 듣다 궁금한 점이 생겨 질문을 남깁니다. std::time을 사용해 seed를 random하게 생성하는데도 불구하고, rand()로 여러 숫자를 출력할때, build를 다시했는데도 첫 숫자가 항상 동일하게 나옵니다. 50개 숫자 중 나머지 49개는 다 다르게 나옵니다. 첫번째 숫자만 같은 숫자로 계속 나와요. (62로...) 이유가 무엇일까요?
-
미해결쉽게 따라하는 SketchUp Pro 2019 (한국어판)
도형을 먼저 그리고 치수를 맞게 조정하기
Fusion 360의 경우 도형을 먼저 그린 뒤 치수를 입력하면 치수에 맞게끔 도형이 변형이 되는데 스케치업에서는 이런 기능이 없는지요? 가령 Fusion의 경우 대략적으로 원하는 모양을 그린 뒤에 치수를 입력함으로써 정확한 치수대로 형태를 잡아가는 모델링을 사용을 했었는데 스케치업도 이런 식으로 가능한지 문의 드립니다
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
프로젝트 생성후 run시 오류 발생
프로젝트 생성을 따라하던중 Execution failed for task ':compileJava'. > invalid source release: 11 에러가 발생하는데 구글링해도 해결되지 않아 질문드립니다. 구글링해보니 jdk버전과 project language level이 달라서 발생하는 에러라고하는데 jdk11을 다시 설치해서 반영해도 계속 에러가 발생해서 질문드립니다. jdk는 jdk-11.0.14를 새로 다운받아 사용하였고 project Structure의 project/modules/sdks에서 모두 11버전(oracle open/jdk version 11.0.14)으로 설정하였습니다.
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
9분 OnRecv질문입니다.
Session에서 OnRecv부분 while문 안에서 "패킷이 완전체로 왔는지"에대한 부분 질문입니다. 현재 OnRecv애서 buff를 받고 첫번째 if 문에서 buff.Count < HeaderSize보다 작으면 break;이기때문에 buff.Count는 첫번째 if문을 통과를 했다면 2byte이상인 상태이고 두번째 if문은 이부분인데 Bitcinverter.ToUInt16이 첫인자로 받은 바이트 배열을 buffer.Offset부터 시작해서 ushort형으로 뽑아서 준다는 것 까지는 이해했습니다. 그런데 더미나 서버에서 패킷을 처리하기 위해서 OnRecv를 받을때 OnRecv에 받은 buff가 4바이트일 수도있고 3바이트 일 수도 있고 2바이트 일 수도 있는데 Bitcinverter.ToUInt16(buff.Array, buff.Offset)을 dataSize에 넣는다고 이게 왜 완전체인 패킷을 받는 다는 것인지 이해가 가지 않습니다. < 가장 햇갈리는 부분 > OnRecv에는 인자로 buffer를 받았는데 결국, dataSize가 BitConverter를 통해서 받아온 buffer의 offset부터 buffer.Array(buffer의 크기)를 뽑아온 값(맞나요..?) 즉, BitCinverter.ToUInt16(buffer.Array, buufer.Offset)을 통해 뽑아온 dataSize는 (값은) 결국, OnRecv에 인자로 받은buffer의 크기 ( == buffer.Count)와 같은거라 if (buffer.Count < dataSize)일때 break;가 아니라 if (buffer.Count != dataSize) 일 경우 break;를 하는게 맞는 부분 아닌가요?? (인자로 받은 buffer.Count랑 buffer.Length가 같은말이고 BitConverter.ToUInt16(buffer.Array, buffer.Offset)이 다 같은 말이라)
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
urlPatterns =
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴package hello.servlet.basic.request; import javax.servlet.ServletException;import javax.servlet.annotation.WebServlet;import javax.servlet.http.HttpServlet;import javax.servlet.http.HttpServletRequest;import javax.servlet.http.HttpServletResponse;import java.io.IOException;@WebServlet(name = "requestParamServlet", urlPatterns ="/request-param")public class RequestParamServlet extends HttpServlet { @Override protected void service(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException { System.out.println("RequestParamServlet.getParameterName()"); request.getParameterNames(); } }얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? 예2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? 예3. 질문 잘하기 메뉴얼을 읽어보셨나요? 예[질문 내용]urlPatterns = "/request-param" 맞게 입력한거 같은데, whitelable 에러가 발생하는데 이유가 뭔지 알수 있을까요?
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part1: C++ 프로그래밍 입문
상속 접근 지정자 질문드립니다
{} class SuperCar : private Car { public: void PushRemoteControl() {} } class TestSuperCar : private SuperCar {} int main() { TestSuperCar TSC; TSC.PushRemoteControl(); -----> Error } 위 코드의 main함수에서 TSC객체를 통해 PushRemoteControl을 접근할 수 없다고 강의중에 설명해주셨는데요 TestSuperCar 클래스가 SuperCar 클래스를 private로 상속받아도 지금 당장은 TSC객체를 통해 PushRemoteControl함수를 접근 할 수 있어야 하는게 아닌가요? private상속을 제대로 이해한게 맞다면 TestSuperCar를 상속받는 다음 클래스에서는 모든 접근 권한이 private이 되기 때문에 PushRemoteControl을 사용하지 못해야 할 것 같은데 그렇지 않은 이유가 뭔가요?
-
미해결웹브라우저 Javascript (자바스크립트)
선생님, arrow 로 활용해서 스크립트 짜봤는데 왜 안될까요? ㅠㅠㅠ
var partOne = document.querySelectorAll(".one h2"); const h2_add = () => { partOne.classList.add("on"); }; const h2_remove = () => { partOne.classList.remove("on"); }; window.addEventListener("scroll", () => { var scrollPos = window.scrollY; console.log(scrollPos); const one = document.querySelector(".one").offsetTop; // .offset().top; if (scrollPos >= one) { h2_add(); } else { h2_remove(); } }); <section class="one"> <article class="one__inner"> <div class="one__inner-item"> <div class="desc"> <h2>Vision Description</h2> </div> <div class="photo"> <img src="img/1.jpg" alt="" /> </div> <button type="button">더보기</button> </div> <div class="one__inner-item"> <div class="desc"> <h2>Vision Description</h2> </div> <div class="photo"> <img src="img/1.jpg" alt="" /> </div> <button type="button">더보기</button> </div> </article> </section>
-
미해결Vue.js 완벽 가이드 - 실습과 리팩토링으로 배우는 실전 개념
레포지토리 not found
강의노트에 있는 리포지토리 주소 클릭하면 not found 나오는데요? (https://github.com/joshua1988/vue-advanced) 권한은 예전에 신청하고 받았습니다. (jnj45@hanmail.net)