안녕하세요. 두 가지 문의 드립니다. 1. execution에서 type이 있는 varargs param 조건을 정의할 수 있을까요? 예를 들면 foo(String... params) 의 조건만을 만족시키는 것 입니다. 2. 그리고 param 조건에도, super type을 지정할 경우 공변성이 있는 하위 타입(Generic, collection 포함)들은 모두 대상이 되는걸까요? 감사합니다!
안녕하세요 강사님 좋은 강의 감사합니다. 다름이 아니라 강의 자료 1-3강 과 새로 올려주신 소스코드자료(12월 28일)가 안받아집니다. 4-6강과 7-9강 자료는 잘 받아져서 압축이 잘 풀리는데 위의 두 자료들은 다운받을때 에러가 나서 압축해제가 안됩니다. 답변해주시면 감사하겠습니다.
안녕하세요 aws 배포중 오류가 생겨서질문드립니다. Cannot find module 'webpack' 03:39:03 Require stack: - /home/ubuntu/node_vue/node_modules/moment-locales-webpack-plugin/index.js - /home/ubuntu/node_vue/node_modules/@nuxtjs/moment/lib/module.js - /home/ubuntu/node_vue/front/node_modules/@nuxt/core/dist/core.js Require stack: - /home/ubuntu/node_vue/node_modules/moment-locales-webpack-plugin/index.js - /home/ubuntu/node_vue/node_modules/@nuxtjs/moment/lib/module.js - node_modules/@nuxt/core/dist/core.js at Function.Module._resolveFilename (internal/modules/cjs/loader.js:902:15) at Function.Module._load (internal/modules/cjs/loader.js:746:27) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:93:18) at Object.<anonymous> (/home/ubuntu/node_vue/node_modules/moment-locales-webpack-plugin/index.js:3:32) at Module._compile (internal/modules/cjs/loader.js:1085:14) at Object.Module._extensions..js (internal/modules/cjs/loader.js:1114:10) at Module.load (internal/modules/cjs/loader.js:950:32) at Function.Module._load (internal/modules/cjs/loader.js:790:12) at Module.require (internal/modules/cjs/loader.js:974:19) at require (internal/modules/cjs/helpers.js:93:18) at WebpackBundler.<anonymous> (/home/ubuntu/node_vue/node_modules/@nuxtjs/moment/lib/module.js:28:33) at next (node_modules/@nuxt/utils/dist/utils.js:659:27) at WebpackBundler.<anonymous> (node_modules/@nuxt/utils/dist/utils.js:674:12) at WebpackClientConfig.extendConfig (node_modules/@nuxt/webpack/dist/webpack.js:1509:37) at WebpackClientConfig.config (node_modules/@nuxt/webpack/dist/webpack.js:1544:50) require stack 파일들도 물론 ubuntu 환경에서 확인해봣는데 있더라구요 ,그전에는 @moment 가 없다고 하고 다시 npm install 했는데 webpack 오류가 발생하네요 검색해도 잘나오지않는 사유라서요 이거 싹다지우고 다시해봐야할까요?
풀스택을 위한 도커와 최신 서버 기술(리눅스, nginx, AWS, HTTPS, 배포까지) [풀스택 Part3]
버전이 강의 따라하면서 도커 컴포즈에서 버전이 안나와서 보다보니 pdf 복사한걸로 하면 윈도우라서 복사가 잘 안된건지 notfound 만 docker-compose에 남게 되네요 아래 명령어로 설치하면 강의와 동일한 버전으로 할수 있는거 같아요 sudo curl -L "https://github.com/docker/compose/releases/download/1.28.5/docker-compose-$(uname -s)-$(uname -m)" -o /usr/local/bin/docker-compose 네트웍 운영만 하다 새롭게 리눅스 도커 등등 공부해보고 있는데 많은 도움이 되네요~
Nuxt 강의를 완강하고 , 헤로쿠 배포에 관하여 알게 되었습니다. 그래서 이번에도 VueTilServer를 배포해서 사용하고 싶어서 도전 했습니다. Deploy는 성공이라고 뜨지만 앱을 실행하면 Application Error가 뜹니다. 로그에는 이렇게 출력이 되어서 나옵니다. 배포시 명령어를 변경해야 하는건지 , 어떤점이 문제인지 알 수없어서 문의 드립니다. 2022-01-08T02:43:53.933246+00:00 app[web.1] : npm ERR! 2022-01-08T02:43:53.933334+00:00 app[web.1] : npm ERR! Failed at the server@1.0.0 start script. 2022-01-08T02:43:53.933421+00:00 app[web.1] : npm ERR! This is probably not a problem with npm. There is likely additional logging output above. 2022-01-08T02:43:53.938380+00:00 app[web.1]: 2022-01-08T02:43:53.938539+00:00 app[web.1] : npm ERR! A complete log of this run can be found in: 2022-01-08T02:43:53.938614+00:00 app[web.1] : npm ERR! /app/.npm/_logs/2022-01-08T02_43_53_934Z-debug.log 2022-01-08T02:43:54.108586+00:00 heroku[web.1] : Process exited with status 1 2022-01-08T02:43:54.200674+00:00 heroku[web.1] : State changed from starting to crashed 2022-01-08T02:44:00.788369+00:00 heroku[router] : at=error code=H10 desc="App crashed" method=GET path="/" host=serene-escarpment-31330.herokuapp.com request_id=1fdfd570-063f-4de2-ba06-8e3364f56c09 fwd="58.122.252.219" dyno= connect= service= status=503 bytes= protocol=https 2022-01-08T02:44:01.849314+00:00 heroku[router] : at=error code=H10 desc="App crashed" method=GET path="/favicon.ico" host=serene-escarpment-31330.herokuapp.com request_id=8cbcf38b-47ba-4260-88b0-f96c94888421 fwd="58.122.252.219" dyno= connect= service= status=503 bytes= protocol=https
R과 R STUDIO 설치시 아래 블로그 참고하시면 도움 됩니다. https://iamoverthemoon.tistory.com/64 R 다운로드 : https://ftp.harukasan.org/CRAN/ R STUDIO 다운로드 : https://www.rstudio.com/products/rstudio/
const isItTriangle = (A, B, C) => { // Step 1: Construct a function that takes three arguments // Step 2: Compare the sum of two values to one arg // Step 3: If the sum is greater than the one arg, return true otherwise false if (A + B > C && A + C > B && B + C > A) { return 'YES'; } else { return 'NO'; } } console.log('Case 1: ' + isItTriangle(6, 7, 11)); console.log('Case 2: ' + isItTriangle(13, 33, 17)); const answer2 = document.querySelector('#q3'); answer2.append(isItTriangle);
function isItTriangle(A, B, C) { // Step 1: Construct a function that takes three arguments // Step 2: Compare the sum of two values to one arg // Step 3: If the sum is greater than the one arg, return true otherwise false if (A + B > C && A + C > B && B + C > A) { return 'YES'; } else { return 'NO'; } } console.log('Case 1: ' + isItTriangle(6, 7, 11)); console.log('Case 2: ' + isItTriangle(13, 33, 17)); const answer2 = document.querySelector('#q3'); answer2.append(isItTriangle);
안녕하세요 선생님! 도커 컴포즈에서 볼륨 설정을 아래와 같이 하면, App.js 파일은 물론 App.test.js 파일도 볼륨 설정을 한것이라고 생각하는데요. volumes: - /usr/src/app/node_modules - ./:/usr/src/app 왜 로컬에서 App.test.js 파일을 변경 한 후, 컨테이너 안에서 npm run test 를 하면 로컬의 변경을 반영하지 않는 것인지 궁금합니다. 'docker run -it codetrain999/docker-react-app npm run test' 로 실행하였을 떄도 적용되지 않고 쉘에 직접 붙어서 실행해도 반영되지 않았습니다. 테스트용 컨테이너를 별도로 생성하니 App.test.js 파일의 변경이 실시간으로 적용되는데, 둘의 차이가 무엇인지 모르겠습니다. 감사합니다.
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 환경 세팅하고 yarn run client으로 "simple sns" 정상출력 확인 후 목록뷰 구현하기에서 코드 친 후 yarn run client하니 갑자기 빈페이지에 아래 오류가 뜨는데 구글링해도 방법을 잘 모르겠습니다ㅜ
게임 서버를 구축할 때, 윈도우와 리눅스 등 여러 OS를 기반으로 만들 수 있을 텐데, 각각의 장단점이랄까, (구현 관점에서) 공통점-차이점에 대해 설명해주실 수 있나요? 1) 플스5, 엑박과 같은 플랫폼에서 구동되는 게임의 서버, 2) 리눅스 서버를 기반으로 하는 윈도우 게임(?)/모바일 게임 등의 여러 종류의 게임 서버를 생각해 보았는데, 각 게임이 어떤 기준으로 서버가 가동될 OS를 선택하는 지, 궁금해서 질문드립니다 감사합니다!