묻고 답해요
167만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결김영한의 실전 자바 - 중급 2편
제네릭 반환값 및 파라미터 선언 방식의 변화 <T> T
[질문 내용]안녕하세요. 17강에서 와일드카드 공부 중인데, 갑자기 와일드카드 예시에서 기존에 제네릭 예제에서는 사용하지 않던 문법들이 보여서요. 와일드카드를 쓰지 않는 제네릭 메서드인데도 갑자기 메서드 선언 방식이 바뀐 것 같아요.왜 기존에는 반환값으로 <T> T를 적었는데 왜 이번 강의에서는 <T>만 적는 것인지 모르겠어요.그리고 이전에는 파라미터로 T t를 넘겼는데, 왜 지금은 Box<T> box를 통째로 넘기는 것인지도 이해가 안 가요.static <T> void printGenericV1(Box<T> box) { System.out.println("T = " + box.get()); } 이전 제네릭 강의에서 사용한 방식public <T> T printAndReturn(T t) { System.out.println("animal.className: " + animal.getClass().getName()); System.out.println("t.className: " + t.getClass().getName()); return t; } 감사합니다.
-
해결됨10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
1-A 문제풀이 후 궁금한 점이 생겨서 질문드립니다.
안녕하세요, 큰돌 선생님. http://boj.kr/3226e7f308a24b709b29f87617933056저의 일곱 난쟁이 문제 풀이입니다.저는 우선 강의 자료의 재귀 함수를 활용한 조합 코드를 응용하여 풀었습니다. 예제 출력이 오름차순으로 보이는 것을 감안하여main함수에서 새로 입력받는 9명의 난쟁이의 키에 대한 vector 정의와 sort를 추가했습니다.또한 9명 vector에서 7명만 뽑은 vector를 가지고 모든 키의 합이 100이 되면 출력하고 종료하도록 했습니다. 그렇게 해서 정답 처리는 되었습니다. 그런데 강의를 보니 선생님께서는 2가지 해답을 알려주셨고 그 2가지는 전부 저와 다른 답안이었습니다. 이러한 상황에서 어떻게 학습하면 좋을까요? 그리고 이럴 때 어떤 것이 더 좋은 코드인지 판별하는 것이 시간복잡도와 공간복잡도일까요?
-
미해결클로드 코드 완벽 마스터: AI 개발 워크플로우 기초부터 실전까지
영상보다 헷갈리는데
서브에이전트랑 ROADMAP.md랑 PRD.md랑 각각 무슨차이이고 무슨 역할인가요? 계속 무언가를 만드는데 비슷한거같고 굳이 왜 각각 만드는지 어느순간 막히네요
-
해결됨초당 500,000+건 트래픽을 처리하는 카카오 면접관의 Redis
강의에서 작성한 코드 제공 문의
강의에서 작성된 코드를 제공해주시는 것 같은데 어디서 볼 수 있나요?
-
미해결비전공자 혼자서 하루 만에 수익화 앱 출시하기
구글 개발자 계정 생성 관련 질문
구글 개발자 계정 생성시 시 개발자 프로필 및 연결된 개발자 계정도 항목에 있더라구요이 부분도 추가해야 개발자 계정 생성이 가능한걸까요?개발자 프로필에서 공개 계정 세부정보에서 아래와 같은 설명이 있어서 꼭 추가해야하는건지 궁금합니다Google은 조직 인증 용도로 이 정보를 사용하며 이 정보를 최신 상태로 유지하지 않으면 개발자 프로필 및 앱이 Google Play에서 삭제될 수 있습니다. 개발자 인증 자세히 알아보기
-
해결됨전동킥보드로 배우는 임베디드 실전 프로젝트
19 저항의 종류 강의 중 저항온도계수 설명 문의드립니다.
안녕하세요 강사님좋은강의 감사드립니다. ^^탄소피막 저항 설명하시면서 저항 온도계수가 크다는 내용에서 저항 온도계수가 크기 때문에 열이 많이 난다고 하셨는데 조금 혼란스러워서요저항 온도계수는 온도가 변하면서 원래 저항값 대비 저항의 값이 변동하는 비율로 알고 있는데 저항값의 오차가 크다고 열이 무작정 많이 발생한다고 하기는 조금 힘들거 같아서요(거기다 탄소피막저항은 온도가 올라가면 오히려 저항값이 떨어지는 소자로 알고 있습니다.)제가 잘못 알고 있는지 혼동이 됩니다.그럼 오늘도 좋은 하루 되십 시요 ^^
-
해결됨100% 비개발자 바이브 코딩: 앱 200개로 월 140만 수익 노하우
클로드코드가아닌, vs code codex
안녕하세요. 클로드코드가 아닌, vs code 확장프로그램 codex 로 앱만들어도 상관이 없을까요?gpt pro 1년권 결제해놓은 상태라서 클로드코드 월결제하기에는 비용이 이중으로 나가서 질문드립니다. vs code 확장프로그램 codex
-
미해결비전공자도 이해할 수 있는 AWS 중급/실전 (보안, 가용성편)
30. [실습] 프라이빗 서브넷의 EC2에 접속하는 방법
안녕하세요 막히는 부분이 생겨서 문의 드립니다 이런 상황인데 뭐가 문제일까요?
-
해결됨실시간 채팅 서버 구축: 분산 처리부터 성능 최적화까지
service 를 interface 로 두는 이유
안녕하세요 강사님.서비스 계층을 설계할 때 인터페이스를 두고 구현체를 만드는 패턴을 사용하는 이유가 궁금합니다.현재 프로젝트에서는 구현체가 하나뿐인데, 이런 상황에서도 인터페이스를 분리하는 것이 가지는 실질적인 이점이 무엇인지 알고 싶습니다.특히 구현이 하나로 고정되어 있다면, 바로 구현 클래스를 빈으로 등록해도 되지 않을지 고민이 되었는데요.설계 관점에서 인터페이스를 미리 분리해두는 이유와, 실무에서 어떤 장점이 있는지 설명해주시면 감사하겠습니다
-
해결됨[인프런어워드 베스트셀러] 코딩 없이 AI 자동화 전문가가 되는 법, n8n 완벽 가이드
Docker 에서 n8n 실행 후 connection lost
안녕하세요.Docker 설치(CPU) 를 완료하고,N8N 실행을 해서 따라가보려고 하는데,N8N 에 Connection Lost 가 지속적으로 뜨고 있습니다. ㅠㅠDOCKER 만 보면 연결은 되어있는것 같은데,문제점이 무엇일까요? 아래 다른질문을 참고하여,시스템 부팅을 해도 동일한 증상이고,docker logs n8n --tail=100입력시, 아래와 같이 나옵니다. 무엇을 확인해야할까요? Initializing n8n processError tracking disabled because this release is older than 6 weeks.n8n ready on ::, port 5678There are deprecations related to your environment variables. Please take the recommended actions to update your configuration: - N8N_RUNNERS_ENABLED -> Running n8n without task runners is deprecated. Task runners will be turned on by default in a future version. Please set N8N_RUNNERS_ENABLED=true to enable task runners now and avoid potential issues in the future. Learn more: https://docs.n8n.io/hosting/configuration/task-runners/ - N8N_BLOCK_ENV_ACCESS_IN_NODE -> The default value of N8N_BLOCK_ENV_ACCESS_IN_NODE will be changed from false to true in a future version. If you need to access environment variables from the Code Node or from expressions, please set N8N_BLOCK_ENV_ACCESS_IN_NODE=false. Learn more: https://docs.n8n.io/hosting/configuration/environment-variables/security/ - N8N_GIT_NODE_DISABLE_BARE_REPOS -> Support for bare repositories in the Git Node will be removed in a future version due to security concerns. If you are not using bare repositories in the Git Node, please set N8N_GIT_NODE_DISABLE_BARE_REPOS=true. Learn more: https://docs.n8n.io/hosting/configuration/environment-variables/security/[license SDK] Skipping renewal on init: license cert is not initializedCollaboration features are disabled because push is configured unidirectional. Use N8N_PUSH_BACKEND=websocket environment variable to enable them.Version: 1.123.7Editor is now accessible via:http://localhost:5678Owner was set up successfullyOrigin header does NOT match the expected origin. (Origin: "undefined" -> "N/A", Expected: "undefined" -> "undefined", Protocol: "undefined")ResponseError: Invalid origin! at Push.handleRequest (/usr/local/lib/node_modules/n8n/src/push/index.ts:143:10) at /usr/local/lib/node_modules/n8n/src/push/index.ts:99:10 at Layer.handleRequest (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17) at trimPrefix (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13) at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9 at processParams (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12) at next (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5) at /usr/local/lib/node_modules/n8n/src/auth/auth.service.ts:144:18 at processTicksAndRejections (node:internal/process/task_queues:105:5)Origin header does NOT match the expected origin. (Origin: "undefined" -> "N/A", Expected: "undefined" -> "undefined", Protocol: "undefined")ResponseError: Invalid origin! at Push.handleRequest (/usr/local/lib/node_modules/n8n/src/push/index.ts:143:10) at /usr/local/lib/node_modules/n8n/src/push/index.ts:99:10 at Layer.handleRequest (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17) at trimPrefix (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13) at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9 at processParams (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12) at next (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5) at /usr/local/lib/node_modules/n8n/src/auth/auth.service.ts:144:18 at processTicksAndRejections (node:internal/process/task_queues:105:5)Origin header does NOT match the expected origin. (Origin: "undefined" -> "N/A", Expected: "undefined" -> "undefined", Protocol: "undefined")ResponseError: Invalid origin! at Push.handleRequest (/usr/local/lib/node_modules/n8n/src/push/index.ts:143:10) at /usr/local/lib/node_modules/n8n/src/push/index.ts:99:10 at Layer.handleRequest (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17) at trimPrefix (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13) at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9 at processParams (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12) at next (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5) at /usr/local/lib/node_modules/n8n/src/auth/auth.service.ts:144:18 at processTicksAndRejections (node:internal/process/task_queues:105:5)Last session crashedInitializing n8n processError tracking disabled because this release is older than 6 weeks.n8n ready on ::, port 5678There are deprecations related to your environment variables. Please take the recommended actions to update your configuration: - N8N_RUNNERS_ENABLED -> Running n8n without task runners is deprecated. Task runners will be turned on by default in a future version. Please set N8N_RUNNERS_ENABLED=true to enable task runners now and avoid potential issues in the future. Learn more: https://docs.n8n.io/hosting/configuration/task-runners/ - N8N_BLOCK_ENV_ACCESS_IN_NODE -> The default value of N8N_BLOCK_ENV_ACCESS_IN_NODE will be changed from false to true in a future version. If you need to access environment variables from the Code Node or from expressions, please set N8N_BLOCK_ENV_ACCESS_IN_NODE=false. Learn more: https://docs.n8n.io/hosting/configuration/environment-variables/security/ - N8N_GIT_NODE_DISABLE_BARE_REPOS -> Support for bare repositories in the Git Node will be removed in a future version due to security concerns. If you are not using bare repositories in the Git Node, please set N8N_GIT_NODE_DISABLE_BARE_REPOS=true. Learn more: https://docs.n8n.io/hosting/configuration/environment-variables/security/[license SDK] Skipping renewal on init: license cert is not initializedCollaboration features are disabled because push is configured unidirectional. Use N8N_PUSH_BACKEND=websocket environment variable to enable them.Version: 1.123.7Editor is now accessible via:http://localhost:5678Origin header does NOT match the expected origin. (Origin: "undefined" -> "N/A", Expected: "undefined" -> "undefined", Protocol: "undefined")ResponseError: Invalid origin! at Push.handleRequest (/usr/local/lib/node_modules/n8n/src/push/index.ts:143:10) at /usr/local/lib/node_modules/n8n/src/push/index.ts:99:10 at Layer.handleRequest (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/lib/layer.js:152:17) at trimPrefix (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:342:13) at /usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:297:9 at processParams (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:582:12) at next (/usr/local/lib/node_modules/n8n/node_modules/.pnpm/router@2.2.0/node_modules/router/index.js:291:5) at /usr/local/lib/node_modules/n8n/src/auth/auth.service.ts:144:18 at processTicksAndRejections (node:internal/process/task_queues:105:5)
-
해결됨스프링부트로 직접 만들면서 배우는 대규모 시스템 설계 - 캐시 전략
23강 5:38 부분 질문 있습니다!
m=32MB짜리 10개와 m=512MB짜리 1개의 경우를 비교해주셨습니다.그런데 이는 샤딩을 통해서 메모리 효율적으로 됐다기 보다는 메모리 총량이 512MB->320MB로 감소했기 때문에 오차율이 조금 증가하는 대신 메모리를 덜 쓸 수 있는 것 아닌가요?예를 들어 320MB 짜리 1개인 경우와 32MB짜리 10개인 경우의 오차율이 똑같지 않나 하는 생각이 들어서 질문드립니다!
-
미해결클로드 코드 완벽 마스터: AI 개발 워크플로우 기초부터 실전까지
태스크 작업시 느린 경우 설정
강사님 강의 정말 잘듣고 있습니다.그런데 뭐하나 task대로 만드려고 하면 제껀 유난히 느려서 좀 답답한데 제가 무슨 설정을 잘못건드려서 답답한데 playwright 설정이 잘못되서 그런걸까요 ㅠㅠ아님 다른 설정을 수정하면될까요?
-
미해결[왕초보] [누적 5,000명+] Python 프로그래밍 기초 완성 로드맵
파이썬 문법과 기본 개념을 학습한 이후에는 어떤 방향으로 심화 학습을 하는 것이 좋을지 궁금합니다.
파이썬 문법과 기본 개념을 학습한 이후에는 어떤 방향으로 심화 학습을 하는 것이 좋을지 궁금합니다.
-
미해결[왕초보] [누적 5,000명+] Python 프로그래밍 기초 완성 로드맵
리스트를 복사할 때 a = b 와 a = b[:] 의 차이는 무엇인가요?
리스트를 복사할 때 a = b 와 a = b[:] 의 차이는 무엇인가요?
-
해결됨[왕초보] [누적 5,000명+] Python 프로그래밍 기초 완성 로드맵
파이썬에서 객체의 참조(reference)와 할당(assignment)의 차이
파이썬에서 객체의 참조(reference)와 할당(assignment)의 차이가 무엇일까요?
-
해결됨[왕초보] [누적 5,000명+] Python 프로그래밍 기초 완성 로드맵
파이썬에서 함수의 매개변수 기본값을 설정할 때 주의해야 할 점은 무엇인가요?
파이썬에서 함수의 매개변수 기본값을 설정할 때 주의해야 할 점은 무엇인가요?
-
해결됨[왕초보] [누적 5,000명+] Python 프로그래밍 기초 완성 로드맵
얕은 복사(Shallow Copy)와 깊은 복사(Deep Copy)의 차이
얕은 복사(Shallow Copy)와 깊은 복사(Deep Copy)의 차이가 뭘까요??
-
해결됨AI Agent 영어 과외 선생님과 함께하는 요즘시대 영어 학습법!
구글폼 작성시, 인프런 아이디 관련
안녕하세요.인프런 사용을 잘 하지 않다가 테리 님의 강의를 구입하여 지금부터 부지런히 해보고자 하는 학생입니다.다름이 아니라 인프런을 카카오 계정으로 사용하고 있는데 구글폼 작성 중 인프런 아이디를 적는 칸에카카오 계정 이메일(아이디@kakao.com)을 적으면 되는 게 맞는 건지 확인하고자 문의드립니다.혹시 메일 양식이 아닌 아이디가 따로 있다면 구글폼 수정 방법에 대해서도 안내 부탁드립니다.감사합니다.
-
해결됨코드 한 줄 안 쓰고 주식 자동 분석 시스템 만들기 feat. Claude CLI
안녕하세요 ? 이런것도 질문을 해도 되는지 궁금합니다 ㅜㅜ
23. 1: Signal 데이터 모델 & 2: SignalGenerator 기본 구조15:00중 5:13 정도에서 CLAUDE.md 파일을 다운 받는 방법을 설명하시는데아무리 마우스 오른쪽 클릭을 하여도 다운로드 받을 수 있는 화면은 안나타나는데제가 뭔가를 잘못해서 그런지 아니면 원래 그런건지 궁금해서 Q&A 남겨봅니다즐거운 주말 보내세요급한 건은 아닙니다.천천히 답변주셔도 됩니다.~~^^💡 수강생 안내 사항 (커뮤니티 가이드)학습 관련 질문: 구체적으로 적을수록 정확한 답변을 받을 수 있습니다.작성 팁: 마크다운과 단축키를 활용하면 글을 더 편리하게 작성할 수 있습니다.사전 검색: 질문을 남기기 전, 커뮤니티 질문 & 답변에 비슷한 내용이 있었는지 먼저 검색해 보세요.커뮤니티 매너: 서로 예의를 지키며 존중하는 분위기를 함께 만들어가요.서비스 문의: 인프런 서비스 관련 문의는 1:1 문의하기를 이용해 주세요.
-
미해결TRACE32 입문 - MCU & RTOS 개발자를 위한 실전 디버깅 과정
T32 Installation
모든 단계를 따랐지만 T32를 열 때 아래와 같은 오류가 발생합니다."file C:\T32\ELF\vmlinux_aarch64 not found"