묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
redirect의 param값 사용에 질문이 있습니다
안녕하십니까 강사님!강의를 듣다가 의문점이 생겨서 질문 드립니다.리다이렉트를 통해 만약 저장이 완료되었을 경우쿼리 파라미터 status를 true로 세팅해서 GET을 요청하면저장 완료 문구가 나타나는 부분에서status값을 false로 세팅해도 저장 완료가 나타납니다 타임리프 문법을 찾아봐도 if는 조건이 참일 때에만 해당 요소를 나타내 주는 걸로 알게 되었는데,그게 아닌 해당 파라미터가 존재만 한다면 true로 인식이 되는 것인지 궁금합니다. 감사합니다!!
-
미해결타입스크립트 입문 - 기초부터 실전까지
할일 관리 애플리케이션 - 실습풀이1
할일 목록 실습풀이1 - 변수,함수 타입 2:20에서let todoItems : object[];이렇게 써주셨는데 let todoItems : Array<object>;이렇게는 못쓰는건가요?
-
미해결[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
챕터별 소스코드 버전(Github)
안녕하세요 훌륭하고 열정적인 강의에 항상 감사합니다. 열심히 따라하고 있지만 아직 많이 부족합니다.강의 챕터별로 메인프로젝트 소스코드가 github에 올라가 있는데요.강의별로 버전을 알려주시면 도움이 될 것 같습니다. 감사합니다.
-
미해결더 개발자, 인터뷰 가이드
미션 수업의 오른쪽 깃발이 안보여요?
화면 오른쪽에 미셧 수업 깃발이 안보여요.운영쪽에도 문의 남겨두겠습니다.
-
해결됨[코드캠프] 시작은 프리캠프
백엔드 강의는 없나요?
인프런에 올라온 건 거의 프론트엔드 강의인듯 해서요~강의 설명이나 그림 서체등이 깔끔하고 명확해서 좋습니다
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
사용자 정의 함수 (rank 함수)
안녕하세요.사용자 정의 함수 등록을 통해 rank 함수를 사용하고 싶은데 rank 함수는 rank()와 over() 두개의 함수로 이루어져 있는데 rank() 와 over() 모두 정의를 해줘야 되나요??그리고 사용할 경우 인자 값은 어떻게 줘야 될까요?"PARTITION BY [변수명] ORDER BY [변수명] DESC"이런식으로 스트링 값을 넣어주면 되는걸까요?DB는 mysql 8버전 이상 사용하고 있습니다.
-
미해결프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
함수 질문
def first_func(w): print("Hello, ", w) # main word = "Hyeonmin" first_func(word) def return_func(w1): return "Hello, ", str(w1) # main x = return_func('Good boy') print(x) 안녕하세요, 함수 관련하여 질문 드립니다. 상기 코드를 작성 하였을 때, 출력값이 아래와 같이 나오는데, 두 번째 return_func에는 왜 괄호와 ' ' 가 출력이 되는지 모르겠습니다ㅠㅠ Hello, Hyeonmin('Hello, ', 'Good boy')
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 레딧 사이트 만들기(NextJS)(Pages Router)
포스트목록에서 삭제버튼을 구현한다고 해봤는데 작동하지가않아서
선생님 혹시 실례가 안된다면axios.delete요청 이랑 getRepository(Post) 같은게 이해가안되서 포스트 삭제버튼을한번 구현 해보고 싶은데 코드 자세히 알려주실수 있으신지 여쭤봅니다 번외 질문이라 .. 곤란하시면 답장 안해주셔도 괜찮습니다 !!
-
해결됨Blazor로 빠르게 홈페이지 만들기 ASP.NET core 6
@code { using(var context~) }
안녕하세요!컴포넌트.razor 에서 코드 상단에 @using ~~ 을 사용하는 의미는 사용하고자하는 클래스 또는 폴더의 경로로 이해하였습니다.@code{ using(~) } 부분에서 등장하는 using은 어떤 의미일까요 ?using(var context = factory.CreateDbContext())
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
핸들러와 어댑터
안녕하세요 클라이언트 요청시 핸들러와 어댑터가 호출되는 흐름이 제가 이해한게 맞는지 질문드리고 싶어요springmvc(강의)에서는 RequestMappingHandlerMapping 클래스를 이용해서 어댑터를 찾았는데요@Controller public class MyController { @RequestMapping("/hello") public ModelAndView hello() { return new ModelAndView("hello"); }위 코드대로 질문을 드려보면요로컬에서 localhost:8080/hello 요청하면dispatcher servlet이 우선 RequestMappingHandlerMapping 빈을 이용해서 MyController을 얻게 되고,그리고 RequestMappingHandlerAdapter 빈을 이용해서 어댑터를 얻어서 어댑터가 MyController의 hello 메소드를 실행한다.이게 맞나요? 근데 어댑터는 구현한적이 없는데 어떻게 실행한다는것인지 ..ㅎㅎ
-
미해결스프링 시큐리티 OAuth2
파라미터로준 start-dev의 역할이 뭔지 궁금합니다.
제목 그대로파라미터로준 start-dev의 역할이 뭔지 궁금합니다.바쁘실텐데 죄송해여 하지만 공부하는 중이고 궁금해서 물어봅니다.
-
해결됨홍정모의 따라하며 배우는 C++
난수를 만드는 함수를 보면
내용에서는 '난수처럼 보이는' 수를 만들어내는 것이고더 나아가서 시간값을 이용해 시드 자체를 난수로 만들어결과를 반환받는 것 같은데,쓰레기값을 이용해서 난수를 만드는 것은 어려울까요 ?아직 수업을 4분 정도까지만 봐서 뒷부분에 나올지 모르겠지만듣는 동안 누군가 답변 해주실까 싶어 질문 먼저 남겨봅니다.
-
미해결빠르게 git - 핵심만 골라 배우는 Git/Github
원격 branch를 checkout 하면서 새 branch를 만드는 방법
안녕하세요.원격 브랜치를 checkout 할 때 새브랜치 이름으로 checkout 하려면, 아래와 같이 하면 될지 문의 드립니다. checkout -b {new-branch-name} {origin/branch-name} 아래의 상황에서 branch1에서 branch3을 만드는 방법에 대해 제가 생각하는 것이 맞는 지 문의 드립니다.# local $ git branch * branch1 branch2 master # Remote $ git branch -r origin/branch1 origin/branch2 origin/master 이 때 로컬에서 branch1 브랜치에서 새브랜치 branch3을 생성하려면 아래 두방법이 결과는 같은 지 문의 드립니다. git checkout origin/branch1 git branch branch3 또는 git checkout -b branch3 origin/branch1 감사합니다.
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
함수내에서 인스턴스 생성전 사용하기위해선 static 메소드를 부여해야된다고 이해하면 될까요?
parseItemCode() 메소드에 static 을 부여해야 사용시 에러가 발생하지 않는데,제가 알기론 static 메소드는 Class에서 instance를 생성하지 않고 사용가능한 메소드를 생성하기 위해 사용하는 것으로 압니다. 함수내에서 인스턴스 생성전 사용하기위해선 static 메소드를 부여해야된다고 이해하면 될까요?
-
해결됨[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
함수내에 타입을 선언시 에러가 나오는데 함수내에서는 타입 지정이 되지 않는 것인가요?
void main() { enum ItemCode { // 미세먼지 PM10, // 초미세먼지 PM25, // 이산화질소 NO2, // 오존 O3, // 일산화탄소 CO, // 이황산가스 SO2, } final dd = ItemCode.values.firstWhere((element) => element.name == 'PM10'); print(dd == ItemCode.PM10); } 위와 같이 함수내에 타입을 선언시 에러가 나오는데 함수내에서는 타입 지정이 되지 않는 것인가요?
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
hello-spring 빌드가 안되요.
[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]시작부터 막히니 머리가 핑 돌아요.자바 버전이 문제인가, 싶어서 처음엔 프로젝트 스트럭쳐 건들다가 결국 자바 11 제외하고는 전부 삭제하고 환경 변수도 다시 건들고, 구글링과 질문란 이것저것 살펴보면서 시도해봤는데 머리만 더 꼬이고 해결은 되지 않아요 ㅠㅠ A problem occurred configuring root project 'hello-spring'.> Could not resolve all files for configuration ':classpath'.> Could not resolve org.springframework.boot:spring-boot-gradle-plugin:3.0.0.Required by:project : > org.springframework.boot:org.springframework.boot.gradle.plugin:3.0.0> No matching variant of org.springframework.boot:spring-boot-gradle-plugin:3.0.0 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.5.1' but:- Variant 'apiElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.0.0 declares a library, packaged as a jar, and its dependencies declared externally:- Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 11- Other compatible attribute:- Doesn't say anything about org.gradle.plugin.api-version (required '7.5.1')- Variant 'javadocElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.0.0 declares a runtime of a component, and its dependencies declared externally:- Incompatible because this component declares documentation and the consumer needed a library- Other compatible attributes:- Doesn't say anything about its target Java version (required compatibility with Java 11)- Doesn't say anything about its elements (required them packaged as a jar)- Doesn't say anything about org.gradle.plugin.api-version (required '7.5.1')- Variant 'mavenOptionalApiElements' capability org.springframework.boot:spring-boot-gradle-plugin-maven-optional:3.0.0 declares a library, packaged as a jar, and its dependencies declared externally:- Incompatible because this component declares an API of a component compatible with Java 17 and the consumer needed a runtime of a component compatible with Java 11- Other compatible attribute:- Doesn't say anything about org.gradle.plugin.api-version (required '7.5.1')- Variant 'mavenOptionalRuntimeElements' capability org.springframework.boot:spring-boot-gradle-plugin-maven-optional:3.0.0 declares a runtime of a library, packaged as a jar, and its dependencies declared externally:- Incompatible because this component declares a component compatible with Java 17 and the consumer needed a component compatible with Java 11- Other compatible attribute:- Doesn't say anything about org.gradle.plugin.api-version (required '7.5.1')- Variant 'runtimeElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.0.0 declares a runtime of a library, packaged as a jar, and its dependencies declared externally:- Incompatible because this component declares a component compatible with Java 17 and the consumer needed a component compatible with Java 11- Other compatible attribute:- Doesn't say anything about org.gradle.plugin.api-version (required '7.5.1')- Variant 'sourcesElements' capability org.springframework.boot:spring-boot-gradle-plugin:3.0.0 declares a runtime of a component, and its dependencies declared externally:- Incompatible because this component declares documentation and the consumer needed a library- Other compatible attributes:- Doesn't say anything about its target Java version (required compatibility with Java 11)- Doesn't say anything about its elements (required them packaged as a jar)- Doesn't say anything about org.gradle.plugin.api-version (required '7.5.1')* Try:> Run with --stacktrace option to get the stack trace.> Run with --info or --debug option to get more log output.> Run with --scan to get full insights. 짧은 영어 실력으로는 아무리 봐도 자바 버전 호환이 안되는 것 같은데, 11 제외하고 모두 삭제했는데도 이러네요 ㅠㅠ 다음은 cmd 에서 버전 확인 한 결과인데요 C:\Users\user>javac -versionjavac 11.0.2C:\Users\user>java -versionopenjdk version "11.0.2" 2019-01-15OpenJDK Runtime Environment 18.9 (build 11.0.2+9)OpenJDK 64-Bit Server VM 18.9 (build 11.0.2+9, mixed mode)C:\Users\user> 어떻게 해야 할까요...
-
해결됨10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
1-A 질문있습니다.
http://boj.kr/d77ee0664b7049ed849e1aa6776fb359다른 코드들과 비교해보는데도 왜 틀렸다고 하는지 모르겠습니다 ㅜㅜㅜ
-
해결됨웹 애니메이션을 위한 GSAP 가이드 Part.01
❗️긴급❗️ 선생님 실습파일이 잘못된것 같습니다.
다른 수업자료 같은데 확인 부탁드려요 ㅠㅠㅎ잘못 올리신거같은데 ㅠㅠ자료 변경하시면 이 글은 지울게용 답글좀 달아주세요 ㅠ
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
질문
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.마지막 풀이에서 if(a[i][j] && visited[i] == 0) 이 부분이 잘 이해가 안 갑니다. 둘 중 하나라도 0이 있으면 go(i)이 실행되어야 하는 것 같은데, 왜 a[i][j]가 1, visited[i]가 0일 때 go(i)가 실행 되는지 모르겠습니다.
-
해결됨실전! 코틀린과 스프링 부트로 도서관리 애플리케이션 개발하기 (Java 프로젝트 리팩토링)
도메인 객체를 data class로 작성하지 않은 이유가 따로 있을까요?
java의 코드를 그대로 옮기기 위해서 class로 진행을 하신건지 아니면 data class로 하면 안 되는 이유가 있는지요?