안녕하세요. 정말 궁금한 부분이 있어서, 질문 글을 올리게 되었습니다. 결론부터 말하면 오버라이딩 로그가 최신 버전에서는 다르게 출력되고 앞으로 이런 변하는 어떡해 알아가야 하나요? 강의에서는 스프링부트 2.x 버전으로 되어있어 오버라이딩 메시지가 명확합니다. ㄴ 빈에서 오버라이딩이 발생하면 메시지로 명확하게 알려줌 하지만 개인 프로젝트에서는 스프링부트 버전은 3.x로 되어 있어서 오버라이딩 메시지가 명확하지 않습니다. ㄴ 명확하게 오버라이딩 메시지가 나타나지 않고, 다른 메시지로 표기됨 스프링 부트를 다운그레이드 하여 2.x로 하면 명확한 오버라이딩 메시지를 확인가능 하지만 업그레이드를 3.x로 진행하면 명확한 오버라이딩 메시지를 확인할 수 없습니다. 아주 사소한 변화라고 생각할 수 있지만, 이러한 변환된 정보는 어떡해 얻을 수 있을까요? spring 공식문서를 뒤적 거려봤지만 해당 내용을 쉽게 찾을 수 없습니다. 학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] 여기에 질문 내용을 남겨주세요.
안녕하세요 비관적 락에 대해서 잘 배우고 있습니다. 비관적 락1이 단순히 네이티브 쿼리를 이용하여 update 문 해서 바로 count를 수정하는건데 초반에 알려주신 조회할 때, 조회 락이 안 걸려서 데이터 일관성이 깨지는 거 알려주셨는데 비관적 락 1은 조회 자체를 생각하고 바로 갱신만해서 좋아요 수 카운트를 하는 건가요? 만약에 그렇다면 업데이트 시 락이 걸려 다른 트랜잭션 접근이 안되어 일관성이 유지가 되는 것은 이해가 갑니다. 테스트시 100번 동시 접근할 때 비관적 락2처럼 정합성이 보장되는거면 굳이 1이 더 빠르고 정확할텐데 비관적 락2를 쓰는 이유가 궁금합니다. 그리고 챗gpt한테 물어보니 단순히 update문하여 수정하는 것은 동시성 접근에 해결책이 안된다고 비관적 락 2쓰라고 하는데 테스트에서는 동시 100개가 접근해도 일관성이 충족이 되는거 보니 어느쪽이 맞는건지 모르겠습니다
안녕하세요, 강의 잘 보고 있습니다 😀 FormControl 컴포넌트 사용시 htmlFor prop 값 넘길 때 문자열을 중괄호로 감싸서 넘기는데요, "label" prop의 값은 문자열을 그냥 전달하는데, htmlFor의 값은 문자열을 중괄호로 감싸서 전달하는 이유가 뭘까요 ? 그냥 문자열만 보내면 안되는건가요 ?
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.
저는 windows 10 환경에서 실습 진행하려는데, 초기에 각 repo clone 하는것을 로컬 pc에 해오는게 맞나요? reousrces 설정한 이후에 제 로컬 windows 에서 bootstrap.sh 실행하는게 맞나요? sh자체가 실행할수가 없어서, gitbash 로 실행해봐도 오류가 나네요. windows 기준으로 초기 설정 sh bootstrap.sh 실행을 안내해주시면 감사하겠습니다.
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 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를 이용해 보았습니다 (번외 질문 반례는 순수 노가다를 통해서 찾는건가요? 아님 다른 방법이 있을까요?
안녕하세요 validation 강의를 듣고 질문 드립니다. 강의 속에서 설명하신대로 하고 postman에서 실행을 하려고 보니 동작은 하는데 비밀번호 조건이 충족되지 않아도 defaultMessage가 뜨지않고 회원가입이 완료되었다는 창이 뜹니다ㅜㅜ @Valid 어노테이션 사용도 다 했는데 뭐가 문제인걸까요?
질문 답변을 제공하지만, 강의 비용에는 Q&A는 포함되어 있지 않습니다. 다만 실습이 안되거나, 잘못된 내용의 경우는 알려주시면 가능한 빠르게 조치하겠습니다! [질문 전 답변] 1. 강의 내용과 관련된 질문인가요? [예 | 아니요] 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? [예 | 아니요] 3. 질문 잘하기 법을 읽어보셨나요? [예 | 아니요] (https://www.inflearn.com/blogs/1719) 4. 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. [질문 하기] anp nginx_install.yml -k SSH password: PLAY [Install nginx on Rockylinux] ********************************************* TASK [install epel-release] **************************************************** fatal: [node01]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python3"}, "changed": false, "module_stderr": "Shared connection to node01 closed.\r\n", "module_stdout": "\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 137} fatal: [node02]: FAILED! => {"ansible_facts": {"discovered_interpreter_python": "/usr/bin/python3"}, "changed": false, "module_stderr": "Shared connection to node02 closed.\r\n", "module_stdout": "\r\n", "msg": "MODULE FAILURE\nSee stdout/stderr for the exact error", "rc": 137} PLAY RECAP ********************************************************************* node01 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 node02 : ok=0 changed=0 unreachable=0 failed=1 skipped=0 rescued=0 ignored=0 nginx 설치 시 위와 같은 오류가 나왔는데 node들의 메모리를 1024로 늘려서 해결하였습니다. 처음에 어떤 문제인지 몰라 한참을 헤맸는데 다른 분들은 헤매시지 말기를...
현재 코드에 if (StompCommand.CONNECT==accessor.getCommand()){ System.out.println("connect 요청 시 토큰 유효성 검증"); String bearerToken = accessor.getFirstNativeHeader("Authorization"); String token= bearerToken.substring(7); Connect 시에만 인증을 요구하는데 Stomp 연결 이후 publish와 subscribe 시에는 STOMP에서 인증이 자동으로 되는건가요? 아니면 현재 코드에서 작성하지 않은 것인가요?
빅데이터/텍스트마이닝 분석법 (LDA,BERTtopic,감성분석,CONCOR with ChatGPT)
안녕하세요 강의 잘듣고 있습니다. 감사합니다. 실습 내용 중에 질문이 있습니다. 워드클라우드 그리는 예시에서 워드클라우드에서 '했다', '하는', '한다' ,' 밝혔다' 이런 동사 형태가 많이 보이는데 어떻게 해결 해야 할까요? 워드클라우드에서 '인공지능'이 '인공', '지능' 으로 분리되어 나타나는데 '인공지능'으로 합쳐서 집계되고 표현되게 하려면 어떻게 하나요? '오늘', '현재', '한국', 오후' 이런 단어는 지우고 싶은데 어떻게 하면 되나요? 전처리 과정을 어떻게 해야하는지 궁금합니다..! 답변 부탁드립니다. 감사합니다.
18:41 유형 8에서는 업캐스팅 형태일때, 메소드를 부모: static void display() 자식: static void display() 위와 같이 선언하여야 하며, 부모 메소드에서 static을 없애면 에러가 난다고 하셨습니다. 그렇다면 만약, 유형 9와 같이 업캐스팅 형태가 아니고, Child obj = new Child(); 로 인스턴스를 생성하였는데, 부모: static void display() 자식: void display() 와 같은 형태로 메소드가 구성되어 있다면 obj.display()를 했을때, 에러가 발생하나요? 자식에도 static이 있어야지 상속이 가능하다는 부분이 업캐스팅일때만 적용되는건지, 업캐스팅이 아니어도 동일하게 적용되는건지 궁금합니다.
스킬 마무리 강의 수강 후 질문이 있습니다. 1. PlayerController에서 init 이 2번 되는 것 같습니다. 2. FireBall 은 빈 오브젝트로 해도 되나요?( 코드상 egoswordPrefab에 생성되고 있어요) 3. fireprojectile이 Destroy 되지 않아요 ObjectManager - Player 스폰 부분에서 init을 주석 처리해서 했는데 init에서 반복 실행 안 되게 되어 있는 것 같은데 왜 두 번 되나요? 강의에서도 egoSword가 여러 개 생성되어 질문 올려봅니다
private List<Product> findProductsBy(List<String> productNumbers) { return productRepository.findAllByProductNumberIn(productNumbers); } 그냥 이렇게 바로 리턴 해도 되지 않나요??