묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결C# WPF .NET Core(7.0)
Image Source 관련 질문입니다.
Image Source 사용할때 인터넷 연결 상태에서 빌드한 다음 빌드한 파일을 오프라인 환경에서 실행하면 이미지가 그대로 출력 돼나요? 아니면 이미지 참조가 불가능하니 오류가 발생하나요?
-
해결됨[Unity] 멀티플레이 게임 필수 기능 구현 - 서버 & 데이터 관리까지!
Photon Transform View가 왜 살아있는 건가요?
29:03에서 지운 Photon Transform View가 왜 30:03에 살아있는 건가요?
-
해결됨Windows 시스템 프로그래밍 - 기본
바이트와 관련된 유튜브 영상을 못 찾겠어요ㅠㅠ
안녕하세요 선생님~~ 다름 아니라 2강의 핵심주제와 범위에서선생님 유튜브에 바이트와 관련된 영상이따로 있다고 하셨는데 검색을 해보니 영상이 너무 많이 나왔는데요 혹시 시스템 프로그래밍에 바이트와 관련된 1시간짜리 영상이 어떤 영상인지링크 공유 해주실 수 있나요??
-
미해결AWS Certified Solutions Architect - Associate 자격증 준비하기
실전문제풀이 강의는 1강->20강 or 20강->1강 어떤 순서가 좋나요?
시험까지 시간이 별로 없어서 최신기출 순으로 실전문제풀이 강의를 수강하려고 하는데요,, 1강부터 차례대로 1강, 2강, ... ,20번 or 20강, 19강, ...,1강 어떤 순서로 보는것이 좋을까요?
-
해결됨[풀스택 완성] Supabase로 웹사이트 3개 클론하기 (Next.js 14)
supabase에서 가입된 유저를 강제로 로그아웃 시키는 방법?
✅ 모든 질문들은 슬랙 채널에서 답변드리고 있습니다.💡 ”로펀의 인프런 상담소” 슬랙 채널 가입하기 💡평일중에는 퇴근 이후(저녁 7시)에 답변을 받아보실 수 있고, 주말중에는 상시 답변드리고 있습니다. supabase에서 가입된 유저를 강제로 로그아웃 시키는 방법이 궁금합니다.
-
해결됨(2025) 일주일만에 합격하는 정보처리기사 실기
3:16 파이썬은 string을 변수로 사용할수 있나요?
C나 Java는 따로 의미 지정되어있는 단어는 변수 사용이 안되는걸로 알고있는데 string = "Hello,World!"라고 적혀있어서요파이썬은 string을 변수로 사용할수 있나요?
-
미해결딥러닝 CNN 완벽 가이드 - Pytorch 버전
Conv Stride를 늘렸을 때 연산이 늘어나는 이유가 무엇인가요?
안녕하세요 강의 정말 정말 잘 듣고 있습니다.!궁금한 점이 하나 있어 질문 남깁니다.섹션 8. CNN이해의 Pooling 강의에 8분 50초를 보면 Conv적용 시 Stride를 늘릴 경우 연산이 늘어난다고 언급하셨는데, 저는Stride가 늘어나면 이동폭이 늘어나고 그에 따라 output feature map 크기 또한 줄어들기 때문에 연산량은 줄어드는 것으로 생각했습니다.제가 이해했던 부분이랑 차이가 있어서 질문 남깁니다.질 좋은 강의 정말 정말 감사드립니다. 항상 잘 챙겨보고있습니다.!
-
해결됨디지털 회로설계 실무 : Computer Architecture 와 SoC 프로토콜 Digital IP 설계하기
Schemetic과 gate logic의 성능차이
CHAPTER4의 Gate logic 내용에서 XOR 게이트를 설명하실 때gate로 표현한 논리회로에서는 worst path를 보면 cap이 더 많이 발생하여 speed도 늦고, power소모도 커진다고 하셨고 pmos와 nmos로 나타낸 회로처럼 설계하면 speed, power, area, cost 에서 더 좋은 결과를 낼 수 있다고 하셨는데 이 두 회로의 차이가 무엇인가요? 결국 둘 다 XOR을 나타내는 회로인 것 같은데 무슨 차이가 있는지 궁금합니다.
-
해결됨디지털 회로설계 실무 : Computer Architecture 와 SoC 프로토콜 Digital IP 설계하기
and, or gate에 사용되는 게이트 수 질문
CHAPTER4 의 Gate logic 내용에서 AND게이트가 NAND, NOT을 붙여 6개의 게이트를 쓰게 되고, OR게이트는 OR+NOT게이트를 붙여 6개의 게이트를 쓰게 된다고 말씀하셨습니다.여기서 6개의 게이트를 쓴다는 것이, MOSFET을 6개 사용한다는 뜻인가요? 만약 그렇다면 MOSFET을 게이트라고 부르는 이유가 궁금합니다.
-
해결됨게임 캐릭터를 위한 3ds Max 리깅의 기초
돌아간 각도 보정법
주로 모션캡쳐 데이터를 조인트에 베이크해서 사용할 때 이런 경우가 많았는데,위의 이미지처럼 로테이션 0.0.0값이 -180,-180, 180 이런식으로 값이 변하는 경우가 있었습니다.오일러 필터(Euler Filter) 기능도 써보고, 그래도 값이 몇 바퀴 돌아가있다면손수 값을 수정해주고는 했습니다. 주먹구구 식으로요ㅠㅠx,y,z +,- 180도360도 이상 돌아간 한 축 +,-360도본 각도가 초기 애니메이션과 다르게 돌아가있다면 엇나간 축 음수↔양수조인트 모션의 로테이션들이 균일하지 않고360도 이상 값으로 마구 차이가 날 때는 어떤식으로 빠르게 보정을 하나요? 항상 감사드립니다!!
-
해결됨게임 캐릭터를 위한 3ds Max 리깅의 기초
업노드 축 정렬
리액션 편 12분 20초스프링 편 7분 30초강의 중 이 두 부분에서 Lookat Constraint 시 자기 자신이 바라보는 축과 업노드의 축이 다를 때((축 정렬시 보기 편하도록 제로박스를 통해 축을 일치시켜주면 되지만))고수는 그냥 알아서 진행해도 무방하다고 하셨는데요.진행 시 이걸 어떤 기준을 잡고 정렬하는건지 감이 오질 않아서 질문 드려봅니다.혹시 참고하면 좋을 자료가 있을까요? 검색 키워드라든지요! 항상 감사드립니다.
-
미해결카프카 완벽 가이드 - 코어편
java.nio.BufferUnderflowException 에러 발생합니다..
안녕하세요 해당 강의듣고 있는데Java 기반에서 Producer 구현하기02를 보고 카프카 브로커에 메시지를 보냈습니다. 환경은 다음과 같습니다. 카프카 브로커: ec2 환경 (포트 열린건 확인했슴니당..)카프카 컨플루언트 7.1.2 프로듀서: 로컬환경(맥)카프카클라이언트 3.1.0 프로듀서(로컬)에서 메시지 send를 하면 java.nio.BufferUnderflowException해당 에러만 발생합니다.[kafka-producer-network-thread | producer-1] ERROR org.apache.kafka.clients.producer.internals.Sender - [Producer clientId=producer-1] Uncaught error in kafka producer I/O thread: java.lang.IllegalStateException: There are no in-flight requests for node 1 at org.apache.kafka.clients.InFlightRequests.requestQueue(InFlightRequests.java:62) at org.apache.kafka.clients.InFlightRequests.completeNext(InFlightRequests.java:70) at org.apache.kafka.clients.NetworkClient.handleCompletedReceives(NetworkClient.java:872) at org.apache.kafka.clients.NetworkClient.poll(NetworkClient.java:569) at org.apache.kafka.clients.producer.internals.Sender.runOnce(Sender.java:328) at org.apache.kafka.clients.producer.internals.Sender.run(Sender.java:243) at java.base/java.lang.Thread.run(Thread.java:833)[kafka-producer-network-thread | producer-1] INFO org.apache.kafka.clients.NetworkClient - [Producer clientId=producer-1] Node 1 disconnected. 해당 에러가 반복되고있고. 해결방법을 못찾겠네요 ㅠㅠ 트러블슈팅해봐도 감을 못잡겠어서 도움요청드려요.. 카프카 브로커를 도커로 띄워놓고 logs로 보는데, 아무런 로그가 생성되지않고 있습니다! 제대로 send되는 것 같지 않아서 뭘 봐야되는지 모르겠네요..
-
미해결스프링 핵심 원리 - 기본편
spring 3.x 버전 오버라이딩 로그 변화
안녕하세요. 정말 궁금한 부분이 있어서, 질문 글을 올리게 되었습니다. 결론부터 말하면 오버라이딩 로그가 최신 버전에서는 다르게 출력되고 앞으로 이런 변하는 어떡해 알아가야 하나요? 강의에서는 스프링부트 2.x 버전으로 되어있어 오버라이딩 메시지가 명확합니다. ㄴ 빈에서 오버라이딩이 발생하면 메시지로 명확하게 알려줌하지만 개인 프로젝트에서는 스프링부트 버전은 3.x로 되어 있어서 오버라이딩 메시지가 명확하지 않습니다. ㄴ 명확하게 오버라이딩 메시지가 나타나지 않고, 다른 메시지로 표기됨 스프링 부트를 다운그레이드 하여 2.x로 하면 명확한 오버라이딩 메시지를 확인가능 하지만 업그레이드를 3.x로 진행하면 명확한 오버라이딩 메시지를 확인할 수 없습니다. 아주 사소한 변화라고 생각할 수 있지만, 이러한 변환된 정보는 어떡해 얻을 수 있을까요?spring 공식문서를 뒤적 거려봤지만 해당 내용을 쉽게 찾을 수 없습니다. 학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]여기에 질문 내용을 남겨주세요.
-
해결됨스프링부트로 직접 만들면서 배우는 대규모 시스템 설계 - 게시판
비관적 락 1에 대해서 질문입니다.
안녕하세요 비관적 락에 대해서 잘 배우고 있습니다.비관적 락1이 단순히 네이티브 쿼리를 이용하여 update 문 해서 바로 count를 수정하는건데초반에 알려주신 조회할 때, 조회 락이 안 걸려서 데이터 일관성이 깨지는 거 알려주셨는데 비관적 락 1은 조회 자체를 생각하고 바로 갱신만해서 좋아요 수 카운트를 하는 건가요?만약에 그렇다면 업데이트 시 락이 걸려 다른 트랜잭션 접근이 안되어 일관성이 유지가 되는 것은 이해가 갑니다.테스트시 100번 동시 접근할 때 비관적 락2처럼 정합성이 보장되는거면 굳이 1이 더 빠르고 정확할텐데 비관적 락2를 쓰는 이유가 궁금합니다.그리고 챗gpt한테 물어보니 단순히 update문하여 수정하는 것은 동시성 접근에 해결책이 안된다고 비관적 락 2쓰라고 하는데 테스트에서는 동시 100개가 접근해도 일관성이 충족이 되는거 보니 어느쪽이 맞는건지 모르겠습니다
-
미해결[React 2부] 고급 주제와 훅
FormControl 컴포넌트 사용시 htmlFor prop 값 넘길 때 중괄호 이유
안녕하세요, 강의 잘 보고 있습니다 😀FormControl 컴포넌트 사용시 htmlFor prop 값 넘길 때 문자열을 중괄호로 감싸서 넘기는데요, "label" prop의 값은 문자열을 그냥 전달하는데, htmlFor의 값은 문자열을 중괄호로 감싸서 전달하는 이유가 뭘까요 ? 그냥 문자열만 보내면 안되는건가요 ?
-
미해결
windows 환경에서 초기 스크립트 실행
git fork 까지 한 이후에 각 repo 들을 git clone으로 자기 로컬PC에 가져오는게 맞나요? 다른 리눅스 서버 따로 띄워서 거기에서 git clone에서 실행해봤는데도, 오류가 발생하네요.시작조차 못하고있어서 난감하네요 ㅠ 도움 부탁드립니다. $ sh bootstrap.sh remove ======= DOCKER_NAME: 1795b1fa01ef An error occurred (UnrecognizedClientException) when calling the DeleteLogGroup operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the GetCallerIdentity operation: The security token included in the request is invalid. Error: could not create cluster provider from options: checking AWS STS access – cannot get role ARN for current session: operation error STS: GetCallerIdentity, https response error StatusCode: 403, RequestID: ac18f37b-ef0c-46f8-b46b-298e078c802c, api error InvalidClientTokenId: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DescribeAutoScalingGroups operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DescribeLaunchConfigurations operation: The security token included in the request is invalid. An error occurred (AuthFailure) when calling the DescribeAddresses operation: AWS was not able to validate the provided access credentials An error occurred (AuthFailure) when calling the DescribeVpcs operation: AWS was not able to validate the provided access credentials VPC_ID: Usage: grep [OPTION]... PATTERNS [FILE]... Try 'grep --help' for more information. An error occurred (InvalidClientTokenId) when calling the DescribeLoadBalancers operation: The security token included in the request is invalid. Usage: grep [OPTION]... PATTERNS [FILE]... Try 'grep --help' for more information. An error occurred (InvalidClientTokenId) when calling the DescribeLoadBalancers operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the ListRoles operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DeletePolicy operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DeletePolicy operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DeletePolicy operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DeletePolicy operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DeletePolicy operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DeletePolicy operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DeletePolicy operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the ListRoles operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DeletePolicy operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DeleteRole operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the RemoveUserFromGroup operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the RemoveUserFromGroup operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DeleteUser operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DeleteUser operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DeleteGroupPolicy operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DeleteGroupPolicy operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DeleteGroup operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DeleteGroup operation: The security token included in the request is invalid. An error occurred (AuthFailure) when calling the DescribeAddresses operation: AWS was not able to validate the provided access credentials Error: could not create cluster provider from options: checking AWS STS access – cannot get role ARN for current session: operation error STS: GetCallerIdentity, https response error StatusCode: 403, RequestID: f5ec21e1-c705-4e83-8928-2ffd7dd3bb96, api error InvalidClientTokenId: The security token included in the request is invalid. An error occurred (UnrecognizedClientException) when calling the ListKeys operation: The security token included in the request is invalid. An error occurred (UnrecognizedClientException) when calling the ListTables operation: The security token included in the request is invalid. An error occurred (InvalidAccessKeyId) when calling the ListBuckets operation: The AWS Access Key Id you provided does not exist in our records. An error occurred (UnrecognizedClientException) when calling the DeleteLogGroup operation: The security token included in the request is invalid. An error occurred (AuthFailure) when calling the DeleteKeyPair operation: AWS was not able to validate the provided access credentials An error occurred (UnrecognizedClientException) when calling the DescribeRepositories operation: The security token included in the request is invalid. An error occurred (UnrecognizedClientException) when calling the DescribeCluster operation: The security token included in the request is invalid. An error occurred (UnrecognizedClientException) when calling the DeleteRepository operation: The security token included in the request is invalid. An error occurred (InvalidClientTokenId) when calling the DeletePolicy operation: The security token included in the request is invalid. ##[ Summary ]########################################################## - in VM export KUBECONFIG='/topzone/kubeconfig_topzone-k8s' - outside of VM export KUBECONFIG='kubeconfig_topzone-k8s' - kubectl get nodes ####################################################################### ##[ Summary ]########################################################## echo You might need to delete these resources. echo VPC: topzone-k8s-vpc echo ECR: ####################################################################### No changes. No objects need to be destroyed. Either you have not created any objects yet or the existing objects were already deleted outside of Terraform. ╷ │ Warning: Value for undeclared variable │ │ The root module does not declare a variable named "instance_type" but a value was found in file ".auto.tfvars". If you meant to use this value, add a "variable" block to the configuration. │ │ To silence these warnings, use TF_VAR_... environment variables to provide certain "global" settings to all configurations in your organization. To reduce the verbosity of these warnings, use the │ -compact-warnings option. ╵ ╷ │ Warning: Value for undeclared variable │ │ The root module does not declare a variable named "k8s_config_path" but a value was found in file ".auto.tfvars". If you meant to use this value, add a "variable" block to the configuration. │ │ To silence these warnings, use TF_VAR_... environment variables to provide certain "global" settings to all configurations in your organization. To reduce the verbosity of these warnings, use the │ -compact-warnings option. ╵ ╷ │ Warning: Values for undeclared variables │ │ In addition to the other similar warnings shown, 3 other variable(s) defined without being declared.
-
미해결바로쓰는 CI/CD on EKS
windows 환경에서 초기 설정 sh 실행
저는 windows 10 환경에서 실습 진행하려는데,초기에 각 repo clone 하는것을 로컬 pc에 해오는게 맞나요?reousrces 설정한 이후에 제 로컬 windows 에서 bootstrap.sh 실행하는게 맞나요? sh자체가 실행할수가 없어서, gitbash 로 실행해봐도 오류가 나네요.windows 기준으로 초기 설정 sh bootstrap.sh 실행을 안내해주시면 감사하겠습니다.
-
해결됨10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
4-P질문입니다
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. #include<iostream> #include<algorithm> #include<vector> using namespace std; int n,ret; vector<int> v; stack<int> st; int check(int i,vector<int> &v){ int cnt=0; int mx =0; for(int j = i+1; j<n; j++){ if(v[j]<= v[i]){ if(v[j]>=mx && v[i]>=mx) { cnt++; if(j == i+1) mx = v[j]; else mx = max(mx,v[j]); } else{ break; } } else if(v[j]>v[i]){ cnt++; break; } } return cnt; } int main(){ ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL); cin>>n; for(int i =0; i<n;i++){ int num; cin>>num; v.push_back(num); } for(int i=0;i<n-1;i++){ ret += check(i,v); } cout<<ret; return 0; } 이 코드에서 예제는 통과하지만 틀리는 이유를 잘 모르겠습니다. 처음에는 스택을 하려고 했다가 매번 특정한 위치에 접근하는 것이 스택은 안되기에무식한 방법으로 풀어보는 시도를 위해 vector를 이용해 보았습니다(번외 질문반례는 순수 노가다를 통해서 찾는건가요? 아님 다른 방법이 있을까요?
-
미해결스프링 시큐리티 완전 정복 [6.x 개정판]
9:28 패턴 3의 경우 마지막으로 설정한 것만 적용되는 것 같습니다.
스프링 부트 3.4.3, 스프링 시큐리티 6.4.3 기준입니다.다음과 같이 설정하게 되면 api/**는 적용되지 않고 oauth/**에만 적용됩니다.http.securityMatchers(matchers -> matchers.requestMatchers("/api/**") ) .securityMatchers(matchers -> matchers.requestMatchers("/oauth/**") );
-
미해결[초급] 찍어먹자! 코틀린과 Spring Security + JWT로 회원가입 만들기
validation 추가하기에 대해 질문
안녕하세요 validation 강의를 듣고 질문 드립니다. 강의 속에서 설명하신대로 하고 postman에서 실행을 하려고 보니 동작은 하는데 비밀번호 조건이 충족되지 않아도 defaultMessage가 뜨지않고 회원가입이 완료되었다는 창이 뜹니다ㅜㅜ @Valid 어노테이션 사용도 다 했는데 뭐가 문제인걸까요?