git : 'git' 용어가 cmdlet, 함수, 스크립트 파일 또는 실행할 수 있는 프로그램 이름으로 인식되지 않습니다. 이름이 정확 한지 확인하고 경로가 포함된 경우 경로가 올바른지 검증한 다음 다시 시도하십시오. 위치 줄:1 문자:1 + git -v + ~~~ + CategoryInfo : ObjectNotFound: (git:String) [], CommandNotFoundException + FullyQualifiedErrorId : CommandNotFoundException 이렇게 떠용. 재설치 해야 하나요?
public class Subsets { List<List<Integer>> ans = new ArrayList<>(); List<List<Integer>> solution(int[] nums, int m) { dfs(nums, m, 0, new ArrayList<>()); return ans; } void dfs(int[] nums, int m, int start, List<Integer> curr) { //base case ans.add(new ArrayList<>(curr)); // 매순간 ans에 추가 //상태 전이 for(int i=start; i< nums.length; i++) { curr.add(nums[i]); dfs(nums, m, i+1, curr); curr.remove(curr.size()-1); } } } ans를 전역변수로 설정하고 for문으로 상태 전이할때마다 ans값을 수정하는 방식으로 구현할때 addAll(dfs(nums, m, i+1, curr));으로 하니 dfs가 void로 리턴돼서 에러가 나는데 위의 코드 블럭과 같이 dfs(nums, m, i+1, curr);로 실행하고 basecase에서만 ans에 curr을 추가하는 방식으로 하면 되는걸까요? 질문 봐주셔서 감사합니다!
안녕하세요 강의 잘 듣고 있습니다! 다름이 아니고 (3.5) Zustand 미들웨어 2 강의를 들으며 실습 중, 알려주신 Redux DevTools 설치 이후 강의와 같이 한번 클릭하여도 anonymous가 두 번씩 찍혀서 노출되는데 제가 다시 확인해봐야 할 부분이 있을까요? 감사합니다.
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] 여기에 질문 내용을 남겨주세요. 김영한님은 이렇게 푸셨는데 저는 이렇게 풀었습니다. 이게 문제가 있는 건지 알고 싶습니다. package operator.ex; public class OperationEx3 { static void main(String[] args) { int score = 88; System.out.println(80 <= score && score <= 100); } }
안녕하세요 선생님 선생님 리액트 기초 강의를 들었는데 제 기억에서는 그 리액트 파일명을 대문자로 써야한다? 이렇게 들었던 거 같은데 (아니면 죄송) 왜 여기에서는 파일명을 소문자로 쓸까요? 그리고 파일명하고 그 내보내는 함수를 다르게 쓰는 이유가 있나요? 그리고 왜 화살표함수로 안만들고 function으로 할까요? 그리고 export를 아래에 안쓰는 이유가 있을까요? 수업시간에 설명했는데 제가 놓친거면 죄송합니다 ㅠㅠ
[질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] synchronized 이전 강의에서 join 을 활용하여 순서를 쓰레드의 순서를 보장하여 실행하는 방법에 대해 배웠습니다. 만약 동시에 같은 값에 대해 접근하는 것이 문제 라고 가정 할 경우 join 을 활용하여 특정 쓰레의 종료 이전 까지 다음 쓰레드 를 시작하는 것을 막는 다면 해결할수 있는 문제가 아닌가 생각합니다. 예를들어 다음과 같이 t1.join() 을 사용하면 t1 의 쓰레드가 종료 이전 까지는 t2 는 대기 상태가 될 것이고 t1 에서 최종 결과가 나오기 전까지는 t2 는 실행하지 못할 것 입니다. public class BankMain { public static void main(String[] args) throws InterruptedException { //BankAccount account = new BankAccountV1(1000); BankAccount account = new BankAccountV1(1000); Thread t1 = new Thread(new WithdrawTask(account, 800), "t1"); Thread t2 = new Thread(new WithdrawTask(account, 800), "t2"); t1.start(); t1.join(); sleep(500); log("t1 state :"+t1.getState()); log("t2 state :"+t2.getState()); t2.start(); //t2.join(); log("최종 잔액 : "+account.getBalance()); } }
안녕하세요 이 Starter Kit을 만드는 이유가 뭘까요? Starter kit에 대한 자세한 설명이 필요합니다 ㅠ 아무래도 이걸 왜 만드는지 알아야 개발하는데 집중이 되고 이해가 돼서 궁금합니다. 그냥 연습을 위한 프로젝트 중 하나인지, 앞으로 프로젝트를 위한 스타터 킷인지 궁금합니다.
안녕하세요. 지금 리액트 따라하기 하면서 보고있는데 eslint 부분 설정에서 저는 eslintrc.cjs란 파일이 없고 eslint.config.js란 파일만 있는데 rules 상에서는 처음에 no-unsed-vars는 error로 되있어서 off로 바꿔줬는 "react/prop-types": "off" , 부분은 어떡해 추가해 줘야 하는지요.
47. (실습포함) EC2 사이즈 변경 과정 중 실패 하여 글 남깁니다. 아래 과정에서 실패가 발생하였습니다. t2.medium 인스턴스 중지 -> 스냅샷 -> AMI 생성 AMI -> ami 로 인스턴스 시작 -> m7g.medium 선택 후 생성(기타 인바운드, 아웃바운드는 모두 열림으로 생성) 인스턴스 -> 생성된 인스턴스(m7g.medium) 선택 -> 연결 -> 실패(아래 로그) 연결 실패로, 시스템 로그 확인(아래 4번 인스턴스 로그) 3번 실패 에러 Failed to connect to your instance Error establishing SSH connection to your instance. Try again later. 4번 인스턴스 로그 UEFI firmware (version built at 09:00:00 on Nov 1 2018) [2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01H[0m[35m[40m[0m[37m[40mNo bootable device found. Dropping to the EFI Shell. Exiting the UEFI shell will restart the system.[2J[01;01H[01;01HUEFI Interactive Shell v2.2 EDK II UEFI v2.70 (EDK II, 0x00010000) [1m[33m[40mMapping table[0m[37m[40m [1m[33m[40m FS0:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40mHD0fd:;BLK3: PciRoot(0x0)/Pci(0x4,0x0)/NVMe(0x1,00-00-00-00-00-00-00-00)/HD(128,GPT,6757D47D-EB20-4D37-B258-B2BBDAC921FF,0x800,0x5000) [1m[33m[40m BLK0:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40m PciRoot(0x0)/Pci(0x4,0x0)/NVMe(0x1,00-00-00-00-00-00-00-00) [1m[33m[40m BLK1:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40m PciRoot(0x0)/Pci(0x4,0x0)/NVMe(0x1,00-00-00-00-00-00-00-00)/HD(1,GPT,3DDB972E-155C-4F75-A42C-4007A119B4C1,0x6000,0xFF9FDF) [1m[33m[40m BLK2:[0m[37m[40m [1m[37m[40mAlias(s):[0m[37m[40m PciRoot(0x0)/Pci(0x4,0x0)/NVMe(0x1,00-00-00-00-00-00-00-00)/HD(127,GPT,AF191D5A-F9A1-40A8-9164-B216701312F3,0x5800,0x800) [16;01HPress [1m[37m[40mESC[0m[37m[40m in 5 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[16;01HPress [1m[37m[40mESC[0m[37m[40m in 4 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[16;01HPress [1m[37m[40mESC[0m[37m[40m in 3 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[16;01HPress [1m[37m[40mESC[0m[37m[40m in 2 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue.[16;01HPress [1m[37m[40mESC[0m[37m[40m in 1 seconds to skip [1m[33m[40mstartup.nsh[0m[37m[40m or any other key to continue. [17;01HThe system will reboot in 60 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 59 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 58 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 57 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 56 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 55 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 54 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 53 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 52 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 51 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 50 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 49 seconds. Press any key [2025-12-27T13:17:04.737361]to run interactive shell.[17;01HThe system will reboot in 48 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 47 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 46 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 45 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 44 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 43 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 42 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 41 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 40 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 39 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 38 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 3[2025-12-27T13:17:16.737450]7 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 36 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 35 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 34 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 33 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 32 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 31 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 30 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 29 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 28 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 27 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 26 seconds. Press any key to run interactive shell.[17;01HTh[2025-12-27T13:17:28.737525]e system will reboot in 25 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 24 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 23 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 22 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 21 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 20 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 19 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 18 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 17 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 16 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 15 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 14 seconds. Press any key to run int[2025-12-27T13:17:39.837609]eractive shell.[17;01HThe system will reboot in 13 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 12 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 11 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 10 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 9 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 8 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 7 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 6 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 5 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 4 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 3 seconds. Press any key to run interactive shell.[17;01HThe system will reboot in 2 seconds.[2025-12-27T13:17:51.837681] Press any key to run interactive shell.[17;01HThe system will reboot in 1 seconds. Press any key to run interactive shell. UEFI firmware (version built at 09:00:00 on Nov 1 2018) [2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01H[2J[01;01H[=3h[2J[01;01H[0m[35m[40m[0m[37m[40mNo bootable device found. Dropping to the EFI Shell. Exiting the UEFI shell will restart the system.[2J[01;01H[01;01HUEFI Interactive Shell v2.2 EDK II
안녕하세요 코딩을 독학하고 있는 20대 학생입니다. 현재 윈도우로 해당 강의를 듣고 있는데요, 맥북 역시 갖고 있습니다. 대부분의 개발자가 Mac OS를 사용하기에 처음 시작할 때 Mac OS를 추천한다고 유튜브 숏츠에서 봤습니다. 이 말이 맞을까요? 만약 맞다면.. Mac OS를 사용하기 위해 클럼쉘 모드로만 개발을 진행할 생각입니다. 윈도우 환경 vs 맥 환경 짐코딩님이 추천해주시는 게 있을까요? 아님 상관없을까요? 초보적인 질문 답변감사합니다.
========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] 메모리 가시성 문제 가 발생하는 이유는 쓰레드가 공유 된 runFlag 값에 대해 반영이 않되어서 발생하는 문제라고 설명을 해주셨습니다. 예를들어 main 쓰레드에서는 false 를 true 로 변경하였으나 work 쓰레드에서는 해당 값이 변경되었는지 모르기 때문에 계속 동작하는 상태 입니다. 여기서 이해가 않가는 부분이 모든 프로그램은 보조기억 장치에서 실행을 하고 실행에 필요한 변수가 값 들은 모두 ram 과 같은 주 기억 장치에 저장되고 사용되는 걸로 알고 있습니다. 그렇다면 이 과정에서 쓰레드는 캐시메모리가 아닌 주기억 장치에서 값을 읽어서 사용해야 합니다. 지금 과정으로 설명된 것을 이해 하면 주기억 장치 또한 단순히 값을 저장하는 것 뿐이고 실제로는 캐시 메모리에서 한번더 데이터를 저장하고 cpu 는 캐시메모리에 접근하여 데이터를 연산한다고 이해 했습니다. 맞을까요?