묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
중앙정렬
- 학습 관련 질문 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 4분 15초 에 중앙정렬을 ^으로 하는 거에서 저는 vscode를 사용하는데 그냥 ^^^^^^nice로 나옵니다. vscode에서는 어떻게 중앙정렬을 하나요?
-
해결됨[리뉴얼] React로 NodeBird SNS 만들기
사가에 있는 function* login(action)이 작동을 안합니다
로그인을 눌러 디스패치를 할 시에 request는 되는데 success로 가지 않고 login함수에 있는 콘솔로그도 찍히지 않는걸로 보아 sagas/user에 있는 login함수가 동작하지 않는 것 같아 해결방법을 고민해보았는데 쉽게 해결이 되지 않습니다 혹시 오류가 보이시면 한 번 봐주시면 감사하겠습니다 해당 코드 깃허브 주소 첨부하겠습니다 https://github.com/lost731/react-sns-app
-
미해결탄탄한 백엔드 NestJS, 기초부터 심화까지
error) 질문 있습니다^^
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 어떻게 해결할 수 있나요?
-
미해결자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)
안녕하세요, 코드리뷰 부탁드립니다. 감사합니다!
function solution(k, arr) { let answer = 0; let n = arr.length; let max = Number.MIN_SAFE_INTEGER; let sum = 0; for (let i = 0; i < n; i++) { sum = arr[i] + arr[i + 1] + arr[i + 2]; if (sum > max) max = sum; answer = max; } return answer; }
-
미해결
할인율 최대 몇%까지 가능한가요?
이번에 30% 할인 있던데 할인율 높은 건지 궁금하네요 https://www.inflearn.com/roadmaps/149 이 강의 결제하려고 합니다.
-
미해결타입스크립트 입문 - 기초부터 실전까지
@ts-check가 동작하지 않습니다.
안녕하세요 현재 타입스크립트에 대해 관심이 생겨 선생님 강의를 듣고 있습니다! 선생님과 함께 예제를 따라하면서 개발하다가 @ts-check를 적어줘도 빨간 밑줄이 제 코드에는 생기지 않아 원인을 알고자 질문을 남깁니다. settings.json파일에 아래 코드를 추가해주어도 @ts-check가 동작하지 않습니다. "typescript.validate.enable": false, "javascript.validate.enable": false, 또한, 혹시 몰라 true로 변경했음에도 작동하지 않습니다.원인을 알고자 질문을 남깁니다.
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
th:filed 디버그 어떻게 하나요?
<input type="checkbox" th:field="*{regions}" th:value="${region.key}" class="form-check-input"> 여기에서 th:value를 없애면 에러가 나오는데요 th:field가 채워주는게 value, id, name인데, 채워주는 값을 확인하고 싶으면 어떻게 가능한지 궁금합니다.
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
@Transactional rollback이 안되네요
안녕하세요. 강의 너무 잘 듣고 있습니다. @Transactional을 붙이면 종료하면서 rollback이 되어 테이블에 커밋되지 않는다고 이해했습니다. 로그상에는 rollback이 되었다고 나오는데 쿼리 조회해보면 데이터가 조회가 되네요.. 로그는 다음과 같습니다. 2021-09-21 16:23:07.767 INFO 15576 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@3700ec9c testClass = MemberServiceIntegrationTest, testInstance = hello.hellospring.service.MemberServiceIntegrationTest@27dc627a, testMethod = 회원가입@MemberServiceIntegrationTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@2002348 testClass = MemberServiceIntegrationTest, locations = '{}', classes = '{class hello.hellospring.HelloSpringApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@4d14b6c2, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@2657d4dd, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@387a8303, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7eecb5b8, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@5dafbe45, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@71623278], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]]; transaction manager [org.springframework.jdbc.support.JdbcTransactionManager@570ba13]; rollback [true] 2021-09-21 16:23:09.376 INFO 15576 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@3700ec9c testClass = MemberServiceIntegrationTest, testInstance = hello.hellospring.service.MemberServiceIntegrationTest@27dc627a, testMethod = 회원가입@MemberServiceIntegrationTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@2002348 testClass = MemberServiceIntegrationTest, locations = '{}', classes = '{class hello.hellospring.HelloSpringApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@4d14b6c2, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@2657d4dd, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@387a8303, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@7eecb5b8, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@5dafbe45, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@71623278], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]] 2021-09-21 16:23:09.428 INFO 15576 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2021-09-21 16:23:09.466 INFO 15576 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. 어떤 문제일까요?
-
미해결스프링 시큐리티
초보같은 질문 하나만 하겠습니당..
SecurityContext contextAfterChainExecution = SecurityContextHolder.getContext();// Crucial removal of SecurityContextHolder contents before anything else.SecurityContextHolder.clearContext();this.repo.saveContext(contextAfterChainExecution, holder.getRequest(), holder.getResponse()); SecurityContextPersistenceFilter의 코드를 보면 위와 같이 되어있습니다. 중간에 clearContext()를 하면 contextAfterChainExecution 도 null이 된다고 생각했는데, 실제로는 null이 안되더라구요... 왜 그런건지 궁금합니다...
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part3: 유니티 엔진
UnassignedReferenceException에 대해 문의드립니다.
UnassignedReferenceException: The variable _player of CameraController has not been assigned. You probably need to assign the _player variable of the CameraController script in the inspector. CameraController.LateUpdate () (at Assets/Scripts/Controllers/CameraController.cs:29) 위 오류가 뜨면서 실행하면 카메라가 플레이어를 따라가지 않습니다. 올린 파일을 그대로 사용해도 여전히 오류가 생기네요. 유니티와 비주얼 스튜디오 버전은 최신버전입니다.
-
미해결중급자를 위한 1 minute, 스낵 파이썬
repeat 함수
repeat 함수를 설명하시면서, 보통 이런 메서드들은 iter 트루쓰에 선언이 되어있어요. 특수한 경우에 내가 직접 만들어 써야해요. 여기서 질문 드립니다. 질문 1 iter truth?에 선언되어 있다고 하셨는데, 어디인지, 잘 이해가 되지 않습니다. iter 객체의 어디에[ 있따고 하시는것 같은데 알려주세요.. iter 매직 메소드인가...요?
-
미해결내 업무를 대신 할 파이썬(Python) 웹크롤링 & 자동화 (feat. 주식, 부동산 데이터 / 인스타그램)
강의 15.1 네이버 부동산 사이트 데이터 파악하기 part1
-선생님 강의 잘 듣고 있습니다. 강의 15.1 네이버 부동산 사이트 데이터 파악하기 part1 중 authorization 삭제하지 않고, 그대로 실행하였는데 데이터를 가져올 수 없네요.
-
미해결
스프링입문 강의 오류 질문
스프링 입문 강의 22강 JPA 연결후 회원 가입 TEST 과정에서 오류가 나는데 해결이 안되네요 ㅠ 1. config class 2. service 2. test class join 확인시 하이버네이트 db 연결 오류가 나요 application.properites
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
&& 연산과 & > div 에 대한 질문
안녕하세요. 제로초 님. 드리고 싶은 질문이 두 가지가 있는데요. 1) https://github.com/ZeroCho/react-nodebird/blob/master/ch3/front/components/PostCard.js#L20 에서 const id = useSelector((state) => state.user.me && state.user.me.id); 에 대해 질문드리고 싶은 점이 있습니다. 1-a) state.user.me && state.user.me.id 와 같이 && 연산을 하는 이유는 무엇일까요? 1-b) && 연산 이후 id에는 사용자의 id가 아닌 true/false의 boolean 값이 저장되는 것인가요? 2) https://github.com/ZeroCho/react-nodebird/blob/master/ch3/front/components/ImagesZoom/styles.js#L54 에서 & > div 의 의미를 검색해 봤지만, 잘 이해가 안 되어서 질문을 드리게 되었습니다. 어떤 의미인지 간략하게라도 말씀해 주실 수 있으신지요? 혹시 추천해 주실 문서가 있으신지요? 읽어주셔서 감사합니다.
-
미해결실전! Querydsl
질문있습니다
확실히 컴포넌트처럼 분리해서 사용하니 재사용성이 아주 좋다는것을 알았는데요. 그렇다면 실무에서 어떤 식으로 분리하는지 알고 싶습니다. 예전에 임플리먼트도 JpaEl 이런식으로 네이밍 규칙의 권장사항이 있는것처럼 해당 메소드만 쓰는 적당한 네이밍규칙이라던가,,(물론 실무 프로젝트에 따라 많이 다를 수 도 있겠지만요! 감이 잘 잡히지않아서 질문드리는거라서 ㅠㅠ) 여튼, 하나에 서비스(ex, MemberService)에 모든 Eq 를(name, age, 등등) 다 몰아넣기는 너무 많을 경우에는 어떻게 하시는지(지저분해보여서 생각보다..) 따로 클래스를 만들어서 분리시킨다면 어떤식의 네이밍 규칙을 사용하는지 알고 싶습니다. 질문이 너무 초급적이라 죄송합니당 ㅠㅠ
-
미해결[리뉴얼] 파이썬입문과 크롤링기초 부트캠프 [파이썬, 웹, 데이터 이해 기본까지] (업데이트)
선생님
저는 데이터사이언스...머신러닝 딥러닝 이런 걸 염두에 두고 파이썬 공부를 시작했습니다.. 그런데 크롤링 같은 주제도 열심히 공부를 해야하나요? 어차피 공부하면 깨닫게 되겠지만... 공부하기 전에 참고라도 하고 싶어 여쭙습니다. 꾸벅...
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
MemberService에서 MemberRepository를 생성자로 초기화하는 부분에서 에러가 생깁니다.
Could not autowire. No beans of 'MemberRepository' type found. 라고 나옵니다.
-
미해결단 2주간 키운 블로그로 월 80만원 용돈 벌기
후기남겼어요
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 강의 잘 들었습니다 후기 남겼어요 메일 bida9525@naver.com입니다 소중한 자료 잘 사용하겠습니다
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
질문드립니다.
1. 기존의 WEB-INF/views의 역할을 resources/templates이 대체하는것인지 궁금합니다. (컨트롤러를 통해서만 접근할 수 있는지 여부 등) 2. AOP의 개념을 템플릿 레이아웃으로 구현한것이 맞는지 궁금합니다.
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
link 인자 줄바꿈 질문입니다.
<link rel="stylesheet" th:href="@{/css/bootstrap.min.css}"><link rel="stylesheet" th:href="@{/themes/smoothness/jquery-ui.css}"> 렌더링 될때 이렇게 줄바꿈 없이 나오는데요 이 부분 각 <link> 마다 줄바꿈 하는 방법은 없나요?