묻고 답해요
131만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨스프링 핵심 원리 - 기본편
테스트하는 클래스에서 public을 지워도 된다고 하셨는데
[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예)[질문 내용]강의에서 김영한 선생님께서 테스트할 땐 public을 지워도 된다고 하셨는데혹시 지우는 게 더 좋은 건가요? 테스트 성능이라든가.. 특정 측면에서 public을 지우는 게 더 나은 건가요? 강의에선 public을 지워도 된다고만 말씀하시고 지우는 게 낫다는 말씀은 따로 안 하시긴 했는데,클래스를 새로 만들 때 자동으로 생기는 public을 일부러 지우시길래 혹시 지우는 게 더 나은 거라서 일부러 지우시는 건지, 아니면 지워도 그만 안 지워도 그만이지만, 지워도 상관없다는 걸 보여주시고 싶어서 지우시는 건지 모르겠습니다. public을 써도 크게 상관없나요? 아니면 지우는 게 낫나요? class ApplicationContextInfoTest { AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(AppConfig.class); @Test @DisplayName("모든 빈 출력하기") void findAllBean() {
-
해결됨[파이썬/Python] 문과생도 이해하는 DFS 알고리즘! - 입문편
알고리즘 수업 깊이 우선 탐색1 수업자료 문의
알고리즘 수업 깊이우선탐색2의 자료가 올라와 있는 것 같습니다.
-
미해결반응형 웹사이트 포트폴리오(Architecture Agency)
트리거메뉴 제이쿼리
모바일에서 트리거메뉴 클릭시 제이쿼리(아이콘X로 변경 슬라이더메뉴 나오기)가 적용되지 않는데 왜 이럴까요 ㅠ 클레스네임부분에서 틀린게 없습니다
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
스프링 통합테스트 코드를 따라치고 있습니다. h2 db에 이름이 중복되어있을텐데 오류가 안납니다.
질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용] 영한님 말씀대로면 이름이 같을시 오류가 떠야되는데 저는 뜨질 않고 돌아갑니다. 왜그런가요?@Transactional 주석처리하고 해도 같은결과입니다.
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
print 관련 질문입니다.
안녕하세요 :)작업형 1 제출 시리터럴 값을 프린트하지 말라는 얘기가 있어서 질문드립니다.ex print(3), print('정답')위 예시처럼 제출하면 안 되는 것인가요? (감점 사유인지, 오답 처리인지)혹은 answer = ...codeprint(answer)이와 같은 방식은 가능한 것인지 궁급합니다.print문 안에 함수를 작성하는 것보다 answer에 할당해두고 print 하는 방식이 익숙해서요!감사합니다!
-
미해결타입스크립트 입문 - 기초부터 실전까지
섹션 1-3 추론 질문드립니다
2. 영상에서 설치하라는 것 다 똑같이 따라했는데 이부분 영상에서처럼 상자모양?별모양?으로 나오지 않습니다. 어떻게 해야할까요? 두번째 사진에 city도 나오지 않습니다 ㅠ 스크립트 전문입니다 // api url var url = "https://jsonplaceholder.typicode.com/users/1"; // dom var username = document.querySelector("#username"); var email = document.querySelector("#email"); var address = document.querySelector("#address"); // user data var user = {}; function fetchUser() { return axios.get(url); } /** * @typedef {object} Address * @property {string} street * @property {string} city */ /** * @typedef {object} User * @property {string} name * @property {string} email * @property {Address} address */ /** * @returns {Promise<User>} */ fetchUser().then(function (response) { response.address; }); function startApp() { // axios // .get(url) fetchUser() .then(function (response) { // console.log(response); user = response.data; // TODO: 이름, 이메일, 주소 표시하기 console.log(user); username.innerText = user[0].name; email.innerHTML = user[0].email; // 그냥 문자열이 아니라 객체였음(키:밸류 값) address.innerHTML = user[0].address.street; }) .catch(function (error) { console.log(error); }); } startApp(); // /** // *@param {number} a // *@param {number} b // * // */ // function sum(a, b){ // return a+b; // } // SubmitEvent(10,20)
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part7: MMO 컨텐츠 구현 (Unity + C# 서버 연동 기초)
게임 장르에 따른 서버 선택 여쭤보고 싶은 게 있습니다.
안녕하세요.게임서버 웹서버 강의 두 개를 듣고 있는 수강생입니다.강의를 마치고 작은 방치형 게임을 하나 만들어 보고자 합니다. 게임 설계에 따라 전부 다르겠지만,보통 방치형 게임은 웹서버, 게임 서버 중에 어떤 서버방식으로 사용되는지 알 수 있을까요? 제가 만들 게임은 온라인 서버에서 싱글플레이어로 진행되는 게임이기에 실시간 연결서버가 필수는 아닐 것으로 보입니다. 다만, 미래지향적으로 컨텐츠에 따라 게임서버가 좋지 않을까 싶은데 보통 방치형 게임에서는 웹서버를 사용하는지, 게임서버를 사용하는지, 어떤 형태로 설계되는지 궁금합니다.실제 개발 환경 경험이 없다보니... 정보를 얻기 쉽지 않네요.
-
미해결
yarn dev 리액트 오류 해결요청
안녕하세요.강의에서 배운내용을 포트폴리오에 적용하려하니 갑자기 이런 에러가 발생하며 yarn dev가 실행되지 않습니다.main@DESKTOP-N3349BU MINGW64 ~/Desktop/인프런/codecamp-frontend-lee/freeboard_frontend (master) $ yarn dev yarn run v1.22.19 warning ..\package.json: No license field $ next dev ready - started server on 0.0.0.0:3000, url: http://localhost:3000 Expectation Violation: Duplicate atom key "accessTokenState". This is a FATAL ERROR in production. But it is safe to ignore this warning if it occurred because of hot module replacement. at expectationViolation (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:671:19) at checkForDuplicateAtomKey (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:752:9) at registerNode (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:763:5) at baseAtom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8347:16) at atom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8399:12) at eval (webpack-internal:///./src/commons/stores/index.ts:14:70) at ./src/commons/stores/index.ts (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\pages\_app.js:42:1) at __webpack_require__ (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:33:42) at eval (webpack-internal:///./src/components/commons/layout/header/LayoutHeader.conatainor.tsx:16:73) at __webpack_require__.a (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:111:13) Expectation Violation: Duplicate atom key "accessTokenDataName". This is a FATAL ERROR in production. But it is safe to ignore this warning if it occurred because of hot module replacement. at expectationViolation (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:671:19) at checkForDuplicateAtomKey (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:752:9) at registerNode (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:763:5) at baseAtom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8347:16) at atom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8399:12) at eval (webpack-internal:///./src/commons/stores/index.ts:18:73) at ./src/commons/stores/index.ts (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\pages\_app.js:42:1) at __webpack_require__ (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:33:42) at eval (webpack-internal:///./src/components/commons/layout/header/LayoutHeader.conatainor.tsx:16:73) at __webpack_require__.a (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:111:13) Expectation Violation: Duplicate atom key "isLoginState". This is a FATAL ERROR in production. But it is safe to ignore this warning if it occurred because of hot module replacement. at expectationViolation (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:671:19) at checkForDuplicateAtomKey (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:752:9) at registerNode (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:763:5) at baseAtom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8347:16) at atom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8399:12) at eval (webpack-internal:///./src/commons/stores/index.ts:22:66) at ./src/commons/stores/index.ts (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\pages\_app.js:42:1) at __webpack_require__ (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:33:42) at eval (webpack-internal:///./src/components/commons/layout/header/LayoutHeader.conatainor.tsx:16:73) at __webpack_require__.a (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:111:13) Expectation Violation: Duplicate atom key "isEditState". This is a FATAL ERROR in production. But it is safe to ignore this warning if it occurred because of hot module replacement. at expectationViolation (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:671:19) at checkForDuplicateAtomKey (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:752:9) at registerNode (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:763:5) at baseAtom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8347:16) at atom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8399:12) at eval (webpack-internal:///./src/commons/stores/index.ts:26:65) at ./src/commons/stores/index.ts (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\pages\_app.js:42:1) at __webpack_require__ (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:33:42) at eval (webpack-internal:///./src/components/commons/layout/header/LayoutHeader.conatainor.tsx:16:73) at __webpack_require__.a (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:111:13) Expectation Violation: Duplicate atom key "visitedPageState". This is a FATAL ERROR in production. But it is safe to ignore this warning if it occurred because of hot module replacement. at expectationViolation (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:671:19) at checkForDuplicateAtomKey (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:752:9) at registerNode (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:763:5) at baseAtom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8347:16) at atom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8399:12) at eval (webpack-internal:///./src/commons/stores/index.ts:30:70) at ./src/commons/stores/index.ts (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\pages\_app.js:42:1) at __webpack_require__ (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:33:42) at eval (webpack-internal:///./src/components/commons/layout/header/LayoutHeader.conatainor.tsx:16:73) at __webpack_require__.a (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:111:13) Expectation Violation: Duplicate atom key "watchedItems". This is a FATAL ERROR in production. But it is safe to ignore this warning if it occurred because of hot module replacement. at expectationViolation (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:671:19) at checkForDuplicateAtomKey (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:752:9) at registerNode (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:763:5) at baseAtom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8347:16) at atom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8399:12) at eval (webpack-internal:///./src/commons/stores/index.ts:34:71) at ./src/commons/stores/index.ts (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\pages\_app.js:42:1) at __webpack_require__ (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:33:42) at eval (webpack-internal:///./src/components/commons/layout/header/LayoutHeader.conatainor.tsx:16:73) at __webpack_require__.a (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:111:13) Expectation Violation: Duplicate atom key "accessTokenState". This is a FATAL ERROR in production. But it is safe to ignore this warning if it occurred because of hot module replacement. at expectationViolation (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:671:19) at checkForDuplicateAtomKey (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:752:9) at registerNode (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:763:5) at baseAtom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8347:16) at atom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8399:12) at eval (webpack-internal:///./src/commons/stores/index.ts:14:70) at ./src/commons/stores/index.ts (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\pages\_app.js:42:1) at __webpack_require__ (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:33:42) at eval (webpack-internal:///./src/components/apollo/index.tsx:13:73) at __webpack_require__.a (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:111:13) Expectation Violation: Duplicate atom key "accessTokenDataName". This is a FATAL ERROR in production. But it is safe to ignore this warning if it occurred because of hot module replacement. at expectationViolation (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:671:19) at checkForDuplicateAtomKey (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:752:9) at registerNode (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:763:5) at baseAtom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8347:16) at atom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8399:12) at eval (webpack-internal:///./src/commons/stores/index.ts:18:73) at ./src/commons/stores/index.ts (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\pages\_app.js:42:1) at __webpack_require__ (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:33:42) at eval (webpack-internal:///./src/components/apollo/index.tsx:13:73) at __webpack_require__.a (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:111:13) Expectation Violation: Duplicate atom key "isLoginState". This is a FATAL ERROR in production. But it is safe to ignore this warning if it occurred because of hot module replacement. at expectationViolation (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:671:19) at checkForDuplicateAtomKey (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:752:9) at registerNode (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:763:5) at baseAtom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8347:16) at atom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8399:12) at eval (webpack-internal:///./src/commons/stores/index.ts:22:66) at ./src/commons/stores/index.ts (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\pages\_app.js:42:1) at __webpack_require__ (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:33:42) at eval (webpack-internal:///./src/components/apollo/index.tsx:13:73) at __webpack_require__.a (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:111:13) Expectation Violation: Duplicate atom key "isEditState". This is a FATAL ERROR in production. But it is safe to ignore this warning if it occurred because of hot module replacement. at expectationViolation (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:671:19) at checkForDuplicateAtomKey (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:752:9) at registerNode (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:763:5) at baseAtom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8347:16) at atom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8399:12) at eval (webpack-internal:///./src/commons/stores/index.ts:26:65) at ./src/commons/stores/index.ts (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\pages\_app.js:42:1) at __webpack_require__ (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:33:42) at eval (webpack-internal:///./src/components/apollo/index.tsx:13:73) at __webpack_require__.a (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:111:13) Expectation Violation: Duplicate atom key "visitedPageState". This is a FATAL ERROR in production. But it is safe to ignore this warning if it occurred because of hot module replacement. at expectationViolation (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:671:19) at checkForDuplicateAtomKey (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:752:9) at registerNode (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:763:5) at baseAtom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8347:16) at atom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8399:12) at eval (webpack-internal:///./src/commons/stores/index.ts:30:70) at ./src/commons/stores/index.ts (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\pages\_app.js:42:1) at __webpack_require__ (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:33:42) at eval (webpack-internal:///./src/components/apollo/index.tsx:13:73) at __webpack_require__.a (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:111:13) Expectation Violation: Duplicate atom key "watchedItems". This is a FATAL ERROR in production. But it is safe to ignore this warning if it occurred because of hot module replacement. at expectationViolation (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:671:19) at checkForDuplicateAtomKey (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:752:9) at registerNode (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:763:5) at baseAtom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8347:16) at atom (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\node_modules\recoil\cjs\index.js:8399:12) at eval (webpack-internal:///./src/commons/stores/index.ts:34:71) at ./src/commons/stores/index.ts (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\pages\_app.js:42:1) at __webpack_require__ (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:33:42) at eval (webpack-internal:///./src/components/apollo/index.tsx:13:73) at __webpack_require__.a (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:111:13) webpack-internal:///./src/commons/stores/index.ts:38 const restoreAccessTokenLoadable = selector({ ^ ReferenceError: selector is not defined at eval (webpack-internal:///./src/commons/stores/index.ts:38:36) at ./src/commons/stores/index.ts (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\pages\_app.js:42:1) at __webpack_require__ (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:33:42) at eval (webpack-internal:///./src/components/commons/layout/header/LayoutHeader.presenter.tsx:8:73) at __webpack_require__.a (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:111:13) at eval (webpack-internal:///./src/components/commons/layout/header/LayoutHeader.presenter.tsx:1:21) at ./src/components/commons/layout/header/LayoutHeader.presenter.tsx (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\pages\_app.js:112:1) at __webpack_require__ (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:33:42) at eval (webpack-internal:///./src/components/commons/layout/header/LayoutHeader.conatainor.tsx:10:81) at __webpack_require__.a (C:\Users\main\Desktop\인프런\codecamp-frontend-lee\freeboard_frontend\.next\server\webpack-runtime.js:111:13) Node.js v19.5.0 error Command failed with exit code 1. info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. main@DESKTOP-N3349BU MINGW64 ~/Desktop/인프런/codecamp-frontend-lee/freeboard_frontend (master)해당오류가 발생하여 이전으로 다 빽 하였는데도 오류가 계속 발생하여 실행을 할 수 없습니다.import { ApolloClient, ApolloLink, ApolloProvider, InMemoryCache, } from "@apollo/client"; import { useRecoilState } from "recoil"; import { createUploadLink } from "apollo-upload-client"; import { accessTokenState } from "../../commons/stores"; import { useEffect } from "react"; interface IApollosettings { children: JSX.Element; } export default function ApolloSetting(props: IApollosettings): JSX.Element { const [accessToken, setAccessToken] = useRecoilState(accessTokenState); useEffect(() => { const result = localStorage.getItem("accessToken"); setAccessToken(result ?? ""); }); const uploadLink = createUploadLink({ uri: "http://backend-practice.codebootcamp.co.kr/graphql", headers: { Authorization: `Bearer ${accessToken}`, }, }); const client = new ApolloClient({ link: ApolloLink.from([uploadLink]), cache: new InMemoryCache(), }); return <ApolloProvider client={client}>{props.children}</ApolloProvider>; } 리코일 쪽에 자꾸 문제가 있다고 나와서 리코일을 주석처리하여도 계속 오류가 발생합니다.import { atom } from "recoil"; export const accessTokenState = atom({ key: "accessTokenState", default: "", }); export const accessTokenDataName = atom({ key: "accessTokenDataName", default: "", }); export const isLoginState = atom({ key: "isLoginState", default: false, }); export const isEditState = atom({ key: "isEditState", default: false, }); export const visitedPageState = atom({ key: "visitedPageState", default: "", }); export const watchedItemsState = atom({ key: "watchedItems", default: "", }); 현재 진행이 되지 않아 해결부탁드립니다... 잘되던 pakage.json 이 No license field라고 나옵니다.노드모듈을 삭제했다가 다시 설치했습니다. 현재 저는 recoil에서 selector를 이용하고 있지 않음에도 selector를 찾을 수 없다고 오류가 발생중입니다.
-
미해결Qt 6 프로그래밍 1편
QMainWindow setStatusTip이 적용되지 않습니다
안녕하세요. QMainWindow부분 강의를 듣다가 질문드립니다.newAct->setStatusTip(tr("Create a new file"));이 코드가 newAct 함수를 가진 아이콘에 커서가 유지될 때 Create a new file이라는 문구가 나타나야하는데New가 뜨고 문구가 나타나지 않습니다....강의와 똑같이 작성했는데 제가 어디를 잘못 작성했을까요..?
-
해결됨2주만에 통과하는 알고리즘 코딩테스트 (2024년)
3강 누적합 백준 예제 관련 질문
안녕하세요!항상 수업 듣고 예제를 풀이하는 방식으로 공부하고 있습니다.이번에도 그렇게 풀려고 천천히 문제를 읽었더니 조금 다른 문제인 것 같아서.. 수정 요청 드립니다.3강의 문제 1번 백준 유사 예제는 2259가 아니라 2559인 것 같습니다.수정 부탁드립니다!
-
미해결TEXTOM SV로 해보는 빅데이터 분석 (정제부터 시각화까지)
데이터전처리
데이터 전처리 과정에서 분석대상 키워드에서 제외는 어덯게 하나요? 예를 들면 수집된 빈도수 높은 단어 중 "위, 등, 것 "같은 단어들은 제외하고 보고 싶은데 어떻게 하면될까요?
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
임포트가 되지않아요
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]HelloData 생성했는데도 import가 되지 않습니다.package hello.springmvc.basic.request; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseBody; import java.io.IOException; import java.util.Map; @Slf4j @Controller public class RequestParamController { @RequestMapping("/request-param-v1") public void requestParamV1(HttpServletRequest request, HttpServletResponse response) throws IOException { String username = request.getParameter("username"); int age = Integer.parseInt(request.getParameter("age")); log.info("username={}, age={}", username, age); response.getWriter().write("ok"); } /** * @RequestParam 사용 * - 파라미터 이름으로 바인딩 * @ResponseBody 추가 (RestController 와 같은 역할을 수행함) * - View 조회를 무시하고, HTTP message body에 직접 해당 내용 입력 */ @ResponseBody @RequestMapping("/request-param-v2") public String requestParamV2( @RequestParam("username") String memberName, @RequestParam("age") int memberAge) { log.info("username={}, age={}", memberName, memberAge); return "ok"; } @ResponseBody @RequestMapping("/request-param-v3") public String requestParamV3( @RequestParam String username, @RequestParam int age) { log.info("username={}, age={}", username, age); return "ok"; } /** * @RequestParam 사용 * String, int 등의 단순 타입이면 @RequestParam 도 생략 가능 */ @ResponseBody @RequestMapping("/request-param-v4") public String requestParamV4(String username, int age) { log.info("username={}, age={}", username, age); return "ok"; } /** * Integer 은 객체이기 때문에 null 이 들어갈 수 있음 * int 는 기본형이 때문에 null이 들어올 수 없음 */ @ResponseBody @RequestMapping("/request-param-required") public String requestParamRequired( @RequestParam(required = true) String username, @RequestParam(required = false) Integer age) { log.info("username={}, age={}", username, age); return "ok"; } @ResponseBody @RequestMapping("/request-param-default") public String requestParamDefault( @RequestParam(required = true, defaultValue = "guest") String username, @RequestParam(required = false, defaultValue = "-1") int age) { log.info("username={}, age={}", username, age); return "ok"; } /** * @RequestParam Map, MultiValueMap * Map(key=value) * MultiValueMap(key=[value1, value2, ...]) ex) (key=userIds, value=[id1, id2]) */ @ResponseBody @RequestMapping("/request-param-map") public String requestParamMap(@RequestParam Map<String, Object> paramMap) { log.info("username={}, age={}", paramMap.get("username"), paramMap.get("age")); return "ok"; } @ResponseBody @RequestMapping("/model-attribute-v1") public String modelAttributeV1(@RequestParam String username, @RequestParam int age) { HelloData helloData = new HelloData(); } }
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
3-L 알파벳 질문 있습니다!
https://www.acmicpc.net/source/share/36b096b47b1e43518dee34891f9e1897안녕하세요 큰돌님, 혹시 제 코드도 괜찮은 코드인지 여쭤드립니다, 다름이 아니라, 여기까지 오면서 그동안 visited를 쓸때 2차원 배열로 했었는데, 이번 영상에서는 1차원 배열을 써서, 저는 배운데로 일단 저만의 방식으로 코드를 짜긴했는데, 혹시 효율성이나 1차원 배열로 한 이유를 설명해주시면 감사합니다 ㅎㅎ
-
미해결Vue.js - Django 연동 웹 프로그래밍 (실전편)
npm run serve 후 빈페이지
안녕하세요 강사님, 말씀해주신대로 버전을 맞추어서 진행해보았더니 (영상에 맞추어 다운그레이드 하였습니다.) 빌드가 성공적으로 되었습니다. 그런데 npm run serve 를 해보니 빈페이지가 나와서요 ㅠㅠ 구글링 해보니 라우터 얘기가 많은데, 이전에 vue 가볍게 따로 공부했을 때 router 설치는 했었지만 이 프로젝트에서는 아직 따로 다루지는 않았는데 이게 관련이 있을 수 있나요?어디서 문제가 생긴지 어떻게 알 수 있을까요? npm run serve 하면 오류가 뜨지는 않습니다.아래는 제 프로젝트 빌드 후 생성된 파일들 입니다.아래는 vue.config.js 코드 입니다.module.exports = { transpileDependencies: [ 'vuetify' ], devServer: { index: 'home.html', proxy: { '^/api': { target: 'http://127.0.0.1:8000', }, '^/admin': { target: 'http://127.0.0.1:8000', } } }, pages: { home: { template: 'public/index.html', entry: 'src/pages/main_home.js', filename: 'home.html', title: 'Home', minify: false, }, my_blog: { template: 'public/index.html', entry: 'src/pages/main_my_blog.js', filename: 'my_blog.html', title: 'My_blog', minify: false, }, post_detail: { template: 'public/index.html', entry: 'src/pages/main_post_detail.js', filename: 'post_detail.html', title: 'Post_detail', minify: false, }, login: { template: 'public/index.html', entry: 'src/pages/main_login.js', filename: 'login.html', title: 'Login', minify: false, }, sign_up: { template: 'public/index.html', entry: 'src/pages/main_sign_up.js', filename: 'sign_up.html', title: 'Sign_up', minify: false, }, }, css: { extract: { ignoreOrder: true }, }, }
-
미해결Microservice 내부 아키텍처 와 EventStorming 설계
엔티티와 값객체와의 차이
엔티티와 값객체와의 차이 중 하나가 값객체는 바운디드 컨텍스트를 옮겨 가더라도, 그 네이밍 그대로 유지할 수 있는 반면, 엔티티는 변경해야할 수도 있다고 생각하는데, 맞을까요?예를 들어, Address(주소, 상세주소, 우편번호 포함)라는 값객체를 만들었을 때, 회원 바운디드 컨텍스트에서 회원의 주소와 주문 바운디드 컨텍스트에서 주문자의 주소의 경우, 다른 점이 없는 반면, User 라는 엔티티는 주문 바운디드 컨테스트에서 주문자이고, 리뷰 바운디드 컨텍스트에서는 리뷰어일 수 있어서, 다를 수 있다고 생각했거든요!
-
미해결나도코딩의 자바 기본편 - 풀코스 (20시간)
intellij 라아센스
intellij에서 라이센스 선택하는 게 나오는 데 어떤것을 선택해야하나요? 그냥 나가기 누르면 창이 꺼집니다. start trial로 하면 될까요?
-
미해결
VBA Solver 초기값에서 최적해 관련 파라미터 업데이트 안됨
안녕하세요! VBA 수업을 듣고 열심히 개발중인데요..강의내용중에 나오진 않았지만 물어볼곳이 없어서 여기다가 문의드립니다.아래와 같이 모듈내에 일부를 발췌했습니다. K1,K2값과 연동된 셀의 값들을 두개의 cdf(누적밀도함수) , pdf(확률밀도함수)로 정의하고 이를 더한 값을K3 로 지정하여서 K3의 최적해를 구하는것을 vba로 표현하고자합니다.엑셀상에서 데이터 - 해찾기 - 해법 GRG 비선형으로 구한 값은 최적해를 나름 수렴해서 값을 잘 찾아주는데 하기의 VBA는 K1,K2의 초기값으로 설정된값만 계속 내뱉습니다..(beta , eta 값을 초기에 설정했음) 초기값을 계속 바꾸면 바꾼 초기값에서 더 변화없네요 K3에 대한 최적해가 VBA내에서 뭔가 잘 이뤄지지 않는데 코드를 봐서는 도무지 어느부분이 잘못되었는지 잘모르겠네요... 한번 봐주시면 감사드립니다.. beta = 1.3 eta = 700000 RO_Ws.Range("K1").Value = eta RO_Ws.Range("K2").Value = beta cdf = 0 For m = 1 To lastRow_Sale cellValue = Sale_Ws.Cells(m, 1).Value If cellValue <> 0 Then resultValue = WorksheetFunction.Ln(1 - (1 - Exp(-((cellValue / (RO_Ws.Range("K1").Value)) ^ (RO_Ws.Range("K2").Value))))) cdf = cdf + resultValue End If Next m '~여기까지 누적밀도함수 구함 pdf = 0 For n = 1 To lastRow_RO cellValue2 = RO_Ws.Cells(n, 3).Value If cellValue2 <> 0 Then resultValue2 = WorksheetFunction.Ln((RO_Ws.Range("K2").Value) / (RO_Ws.Range("K1").Value) * (cellValue2 / (RO_Ws.Range("K1").Value)) ^ ((RO_Ws.Range("K2").Value) - 1) * Exp(-((cellValue2 / (RO_Ws.Range("K1").Value)) ^ (RO_Ws.Range("K2").Value)))) pdf = pdf + resultValue2 End If Next n RO_Ws.Range("K3").Value = pdf + cdf 'RO_Ws.Range("K1").Value = eta 'RO_Ws.Range("K2").Value = beta 'RO_Ws.Range("K3").Value = weibull SolverReset ' 조건 설정 SolverOk SetCell:="$K$3", MaxMinVal:=1, ValueOf:=0, ByChange:="$K$1:$K$2", Engine:=2 SolverAdd CellRef:="$K$1", Relation:=3, FormulaText:="10000" SolverAdd CellRef:="$K$2", Relation:=3, FormulaText:="0" ' Solver 실행 SolverSolve UserFinish:=True eta = RO_Ws.Range("K1").Value beta = RO_Ws.Range("K2").Value weibull = RO_Ws.Range("K3").Value
-
미해결설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
노베이스 수강자 질문드립니다.
=================현업자인지라 업무때문에 답변이 늦을 수 있습니다. (길어도 만 3일 안에는 꼭 답변드리려고 노력중입니다 ㅠㅠ)강의에서 다룬 내용들의 질문들을 부탁드립니다!! (설치과정, 강의내용을 듣고 이해가 안되었던 부분들, 강의의 오류 등등)이런 질문은 부담스러워요.. (답변거부해도 양해 부탁드려요)개인 과제, 강의에서 다루지 않은 내용들의 궁금증 해소, 영상과 다른 접근방법 후 디버깅 요청, 고민 상담 등..글쓰기 에티튜드를 지켜주세요 (저 포함, 다른 수강생 분들이 함께보는 공간입니다.)서로 예의를 지키며 존중하는 문화를 만들어가요.질문글을 보고 내용을 이해할 수 있도록 남겨주시면 답변에 큰 도움이 될 것 같아요. (상세히 작성하면 더 좋아요! )먼저 유사한 질문이 있었는지 검색해보세요.잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.================== 안녕하세요HW는 아예 모르고 FPGA 가속기 설계를 좀 배워보려고 하는 SW 대학원생입니다.강의를 처음부터 듣고있는데 회로설계에 대한 배경지식이 없어서 그런지 5장의 reset 부분과 always posedge~ 부분의 코드가 이해가 잘 안가네요혹시 미리 선행되어야 할 과목이나 강의가 있을까요?1'b0같은 기존의 C에서랑 다른 문법적인 부분에서 혼동이 많이 오는데 베릴로그 관련 교재같은 것도 추천해주실 수 있을까요?
-
미해결쿠버네티스 어나더 클래스 (지상편) - Sprint 1, 2
우분투22.04 기반
우분투 22.04 기반으로도 가능할까요?
-
미해결
Information For Airlines Offices
Airlinesoffices.com is your one-stop destination for finding contact information for airlines offices worldwide. Our platform provides comprehensive details, including addresses, phone numbers, and office hours, making it easy for you to connect with airlines for inquiries, bookings, and assistance. Whether you're a frequent traveler or planning your next trip, AirlinesOffices simplifies the process of reaching out to airlines, ensuring you have the information you need at your fingertips. Explore our website today to access a vast directory of airlines' office contacts, helping you make your travel experience smoother and more convenient.