묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결PHP 개발자의 최종 테크트리, 라라벨 강의
공부하면서 깃에 잔디도 심고싶은데 클론이 안되네요;;
공부하는 내용을 깃허브에 올려서 잔디를 심으면 꾸준히 공부를 하게되지않을까 하고... Linux/Ubuntu/var/www 폴더에 만들어둔 html폴더를 클로닝 하려고 시도하였으나 Permission denied(권한없음)으로 실패했습니다... 해당 폴더의 보안탭에 들어가 모든 권한 부여를 하라고 하지만 해당 폴더는 보안탭이 뜨지 않네요...;ㅅ;그래서 일반 로컬 폴더에 레포지토리 클로닝을 해두고 학습 한 날마다 html폴더의 모든 내용을 덮어써버릴까 하는 생각도 해보고 있는데.. 혹시 강사님은 다른 좋은 아이디어 있으실까요...ㅎㅎ
-
미해결호돌맨의 요절복통 개발쇼 (SpringBoot, Vue.JS, AWS)
SecurityMockContext 로부터 유저 정보를 가져오기
@Test @DisplayName("글 삭제") @CustomMockUser void test7() throws Exception { // given UserPrincipal principal = (UserPrincipal) SecurityContextHolder.getContext().getAuthentication().getPrincipal(); Member byId = memberRepository.findById(principal.getUserId()).orElseThrow(UserNotFound::new); Post post = Post.builder() .title("Hello World") .content("Hello Java") .member(byId) .build(); postRepository.save(post); // expected mockMvc.perform(delete("/posts/{postId}", post.getId())) .andExpect(status().isOk()) .andDo(print()); }
-
해결됨[코드캠프] 부트캠프에서 만든 고농축 백엔드 코스
선생님 근데 docker로 mysql 돌릴때 데이터는
데이터는 어디에 저장이될까요?도커컨테이너에 저장이되는걸까요?만약에 이 강의를 완강하고 제 컴퓨터로 서버를 만들어 돌린다고했을때 보통 데이터는 어디에 저장하는걸 추천하시나요?도커컨테이너에 저장하드디스크에 저장하고 주기적으로 aws s3에 업로더해준다.
-
해결됨실무에서 사용하는 클라우드 보안 프로그래밍 (AWS, Python, Terraform)
강의 순서 문의
강의 추천을 받아 구매하게 되었습니다. 무료 강의 + 구매한 강의 총 4개가 있는데 4개 순서를 어떤식으로 들으면 좋을지 문의드립니다. 감사합니다.
-
해결됨10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
4-C 어느 부분이 틀렸는지 모르겠습니다.
https://www.acmicpc.net/source/share/e76dff0067f048f28c1a105de7d81014강의를 봤는데도 코드가 왜 틀린건지 잘 이해가 안되네요. 테케는 통과했는데, 2%에서 틀립니다. 리뷰 부탁드립니다!
-
미해결김영한의 자바 입문 - 코드로 시작하는 자바 첫걸음
3번문제
[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예)[질문 내용]문제와 풀이 3번문제 선생님 풀이와 다르게 마지막 else 부분을 이렇게 작성했는데 이것도 정답이 될 수 있을까요? public class Ex3 { public static void main(String[] args) { int dollar = 5; if (dollar < 0) { System.out.println("잘못된 금액입니다."); } else if (dollar == 0) { System.out.println("환전할 금액이 없습니다."); } else { System.out.println("환전금액은 " + dollar*1300 + "원입니다." );
-
해결됨설계독학맛비's 실전 AI HW 설계를 위한 바이블, CNN 연산 완전정복 (Verilog HDL + FPGA 를 이용한 가속기 실습)
CNN Core에 weight 와 input feature map 관련해서 질문있습니다!
안녕하세요 맛비님 강의 아주 유용하게 잘 보고 있습니다.다름이 아니라 Full connected core를 설계하실 때는 Bram을 사용 하여 weight값과 input feature map 값을 읽어 왔던 것으로 기억을 하는데 CNN core에서는 Bram을 사용하지 않는것 같아서요. 혹시 이유가 있을까요?
-
해결됨CAN 통신 - 자동차 신입이 알아야 할 모든 것
혹시 무선 충전 관련해서 강의가 만들어질 수 있을까요?
CAN 통신을 사용하게 됬는데, 무선충전과 관련된 일을 하게 되었습니다. 혹시 무선충전 관련해서 강의 영상 찍을 계획이 있으신가요?
-
해결됨김영한의 실전 자바 - 기본편
println() 오류
java-basic 프로젝트를 생성했을 때 println()이 빨간색으로 되면서 실행이 안되었는데file-project structure-Modules-Dependencies에 들어가서 openjdk-21을 클릭하고 OK를 클릭하니 실행이 되는데 제가 해결한 방법이 옳은 방법인가요?
-
미해결김영한의 실전 자바 - 중급 1편
메인 함수 와 지역 클래스 간의 처리 순서 문의
해당 영상 문제처럼 LocalOuterV1 클래스 안에 localPrinter 클래스가 지역 클래스?등이 존재해도 main 함수가 아래 나오면 메인 함수로부터 프로그램이 우선으로 실행된다 생각 했는데 그거랑 상관없이 위에서 순서대로 결과가 나오나요?해당 문제의 동작 순서가 어떻게 될까요..?
-
미해결Vue3 완벽 마스터: 기초부터 실전까지 - "실전편"
건의
강의 시 폰트 크기 좀 키워주셨으면 좋겠습니다.IDE 폰트가 작아서 코드 보기가 힘드네요..
-
미해결홍정모의 따라하며 배우는 C언어
char* argv[]와 char** argv가 왜 같나요??
char* argv[]와 char** argv가 동일하다고 들었는데 예시를 들어 설명해주실 수 있나요?? ㅠ
-
해결됨코딩은 실전이다! - Git알못을 위한 깃린이코스(Git, Github 실습위주)
slack 초대 부탁드립니다.
kwk000530@naver.com 입니다.강의 잘 듣고 있습니다.
-
미해결
Looking For fullstack Java Training In Pune – IT Education Centre
You can gain a thorough understanding of the fundamentals of Java programming, including Core Java, J2EE, Java 8, JDBC architecture, Java EE, SOA, Spring frameworks, and JUnit, with this finest java training in Pune. With our advanced Java course in Pune, you may become an expert in Core Java Programming Language by acquiring the necessary skills. However, IT Education Centre also includes solutions to frequently requested Core Java and J2EE interview questions, as well as other java concept questions, in their fullstack java training in Pune. Java is a well-liked programming language that runs on all computer platforms and mobile devices. The Java Training in Pune is specifically created to help students become adept in the java concept, from fundamental programming approaches to more complex ones. The all-encompassing course covers the fundamentals of Java 8, web services, Hibernate, and the spring framework. Our students will be able to work towards obtaining their ideal career thanks to the well-structured Java training offered by IT Education Centre, which has curriculum modifications made in accordance with the needs of the modern business environment.
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
빅분기 8회차 시험질문있습니다.
제가 mae제출인지 모르고 mse로 제출해서 냈는데 크게 상관이 없을까요 ?ㅠㅠ
-
해결됨(2025) 일주일만에 합격하는 정보처리기사 실기
프로그래밍 점수가 필요하여 수강중입니다.
실기를 봐야하는데 강의의 내용에 나오는 코드를 처음부터 반복적으로 직접 노트에 한줄한줄 작성해가면서 해야하는걸까요? 아니면 강의의 설명을 들으면서 이해해야 하는걸까요?알고리즘이 어려워 아주 기초적인것이라 생각되는것부터 문의 드립니다.
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
D-Day 앱 만들기에서 에러가 나옵니다ㅠㅠ
하나는 "NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null" 이런 에러인거 같은데....대체 어디서 잘못된걸까요. 에러가 여러개 인건가요?FAILURE: Build completed with 2 failures.1: Task failed with an exception.-----------* What went wrong:Execution failed for task ':app:checkDebugAarMetadata'.> A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction> 5 issues were found when checking AAR metadata:* Try:> Run with --info or --debug option to get more log output.> Run with --scan to get full insights.* Exception is:org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:checkDebugAarMetadata'.Caused by: org.gradle.workers.internal.DefaultWorkerExecutor$WorkExecutionException: A failure occurred while executing com.android.build.gradle.internal.tasks.CheckAarMetadataWorkAction Caused by: java.lang.RuntimeException: 5 issues were found when checking AAR metadata:1. Dependency 'androidx.appcompat:appcompat-resources:1.7.0' requires libraries and applications thatdepend on it to compile against version 34 or later of theAndroid APIs.:app is currently compiled against android-33.Also, the maximum recommended compile SDK version for Android Gradleplugin 8.0.0 is 33.Recommended action: Update this project's version of the Android Gradleplugin to one that supports 34, then update this project to usecompileSdk of at least 34.Note that updating a library or application's compileSdk (whichallows newer APIs to be used) can be done separately from updatingtargetSdk (which opts the app in to new runtime behavior) andminSdk (which determines which devices the app can be installedon).2. Dependency 'androidx.appcompat:appcompat:1.7.0' requires libraries and applications thatdepend on it to compile against version 34 or later of theAndroid APIs.:app is currently compiled against android-33.Also, the maximum recommended compile SDK version for Android Gradleplugin 8.0.0 is 33.Recommended action: Update this project's version of the Android Gradleplugin to one that supports 34, then update this project to usecompileSdk of at least 34.Note that updating a library or application's compileSdk (whichallows newer APIs to be used) can be done separately from updatingtargetSdk (which opts the app in to new runtime behavior) andminSdk (which determines which devices the app can be installedon).3. Dependency 'androidx.core:core-ktx:1.13.0' requires libraries and applications thatdepend on it to compile against version 34 or later of theAndroid APIs.:app is currently compiled against android-33.Also, the maximum recommended compile SDK version for Android Gradleplugin 8.0.0 is 33.Recommended action: Update this project's version of the Android Gradleplugin to one that supports 34, then update this project to usecompileSdk of at least 34.Note that updating a library or application's compileSdk (whichallows newer APIs to be used) can be done separately from updatingtargetSdk (which opts the app in to new runtime behavior) andminSdk (which determines which devices the app can be installedon).4. Dependency 'androidx.core:core:1.13.0' requires libraries and applications thatdepend on it to compile against version 34 or later of theAndroid APIs.:app is currently compiled against android-33.Also, the maximum recommended compile SDK version for Android Gradleplugin 8.0.0 is 33.Recommended action: Update this project's version of the Android Gradleplugin to one that supports 34, then update this project to usecompileSdk of at least 34.Note that updating a library or application's compileSdk (whichallows newer APIs to be used) can be done separately from updatingtargetSdk (which opts the app in to new runtime behavior) andminSdk (which determines which devices the app can be installedon).5. Dependency 'androidx.annotation:annotation-experimental:1.4.0' requires libraries and applications thatdepend on it to compile against version 34 or later of theAndroid APIs.:app is currently compiled against android-33.Also, the maximum recommended compile SDK version for Android Gradleplugin 8.0.0 is 33.Recommended action: Update this project's version of the Android Gradleplugin to one that supports 34, then update this project to usecompileSdk of at least 34.Note that updating a library or application's compileSdk (whichallows newer APIs to be used) can be done separately from updatingtargetSdk (which opts the app in to new runtime behavior) andminSdk (which determines which devices the app can be installedon). ==============================================================================2: Task failed with an exception.-----------* What went wrong:Execution failed for task ':app:mergeExtDexDebug'.> Could not resolve all files for configuration ':app:debugRuntimeClasspath'.> Failed to transform appcompat-resources-1.7.0.aar (androidx.appcompat:appcompat-resources:1.7.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.> Execution failed for DexingNoClasspathTransform: C:\Users\abc14\.gradle\caches\transforms-3\c494794d48d9429ce3837ff3d9162578\transformed\appcompat-resources-1.7.0-runtime.jar.> Error while dexing.> Failed to transform appcompat-1.7.0.aar (androidx.appcompat:appcompat:1.7.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.> Execution failed for DexingNoClasspathTransform: C:\Users\abc14\.gradle\caches\transforms-3\d251d80cfc588f74172158875c7b2196\transformed\appcompat-1.7.0-runtime.jar.> Error while dexing.* Try:> Run with --info or --debug option to get more log output.> Run with --scan to get full insights.* Exception is:org.gradle.api.tasks.TaskExecutionException: Execution failed for task ':app:mergeExtDexDebug'.Caused by: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is nullCaused by: java.util.concurrent.ExecutionException: com.android.tools.r8.utils.P0: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is nullCaused by: [CIRCULAR REFERENCE: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null]Cause 2: org.gradle.api.internal.artifacts.transform.TransformException: Failed to transform appcompat-1.7.0.aar (androidx.appcompat:appcompat:1.7.0) to match attributes {artifactType=android-dex, asm-transformed-variant=NONE, dexing-enable-desugaring=true, dexing-enable-jacoco-instrumentation=false, dexing-is-debuggable=true, dexing-min-sdk=24, org.gradle.category=library, org.gradle.dependency.bundling=external, org.gradle.libraryelements=aar, org.gradle.status=release, org.gradle.usage=java-runtime}.Caused by: org.gradle.api.internal.artifacts.transform.TransformException: Execution failed for DexingNoClasspathTransform: C:\Users\abc14\.gradle\caches\transforms-3\d251d80cfc588f74172158875c7b2196\transformed\appcompat-1.7.0-runtime.jar. Caused by: com.android.builder.dexing.DexArchiveBuilderException: Error while dexing.at com.android.builder.dexing.D8DexArchiveBuilder.getExceptionToRethrow(D8DexArchiveBuilder.java:189) Caused by: com.android.tools.r8.CompilationFailedException: Compilation failed to complete, origin: C:\Users\abc14\.gradle\caches\transforms-3\d251d80cfc588f74172158875c7b2196\transformed\appcompat-1.7.0-runtime.jar:androidx/appcompat/app/ActionBarDrawerToggle$1.classCaused by: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is nullSuppressed: java.lang.RuntimeException: java.util.concurrent.ExecutionException: com.android.tools.r8.utils.P0: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is nullCaused by: java.util.concurrent.ExecutionException: com.android.tools.r8.utils.P0: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is nullCaused by: com.android.tools.r8.utils.P0: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is nullCaused by: [CIRCULAR REFERENCE: java.lang.NullPointerException: Cannot invoke "String.length()" because "<parameter1>" is null]
-
해결됨(2025) 일주일만에 합격하는 정보처리기사 실기
다차원 배열과 문자열 배열 예시 중 질문
안녕하세요~arr[5] 설명해주실 때 case 1: int arr[5] -> 5개 들고있다고 선언!case 2: arr[5] -> 6번째 값 하면서 case 2 예시로arr = { 1,2,3,4,5,6 } 을 들어주셨는데arr[5] -> 6번째 값이면 6번째에 있는 6이 아닌가요?7이라고 설명하셨는데 실수하신건지 제가 이해를 잘 못했는지 궁금해서 질문드립니다!
-
해결됨스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
itemRepository의 itemAll 질문
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]여기에 질문 내용을 남겨주세요.public List<Item> findAll(){ return new ArrayList<>(store.values()); }이게 강의 내용의 코드인데 이런식이 아니고 말씀하신 컬렉션으로 그대로 반환해준다는게 어떤 방식인지 궁금합니다. 그런식으로도 한번 짜보고싶어서요..
-
해결됨Ruby on Rails 공식 가이드 따라잡기
show api 작성시 생성된 @article을 instance 변수로 만드는 이유가 있나요??
강의를 다 듣고나서 공식문서를 다시 보다, 문득 궁금한점이 생겨 질문 남겨봅니다.예를 들어 강의에서 작성하는 다음 코드가 있었는데, def show @article = Article.find(params[:id]) end이때 article 앞에 @을 추가하여 instance 변수로 만드는 이유가 있나요?instance 변수로 만들었다는 것은, 동일한 class 내의 다른 method에서 참조가 가능해지는데…?이는 좋지 못하다고 생각됩니다만? 혹 이렇게 선언하는 이유가 있을까요? Spring진영으로 생각하면 다음과 같은 코드를 작성하는 느낌인데??public class ArticleQueryApiV1 { private ArticleDto article; @GetMapping("/articles") public ResponseEntity<BaseResponse<ArticleDto>> show() { ArticleDto article = articleQueryUseCase.lookupFirst() this.article = article; // 이 부분을 어떠한 이유에서 수행하는??? return ResponseEntity.ok().body(new BaseResponse<>(articles)); } }Spring만 공부해왔던 저에게는 다소 생소한 "코드"라 생각되어 질문 남겨봅니다!!!