묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)
안녕하세요!
선생님 이런 에러는 왜 생기는걸까요 ? ㅜㅜ
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
문의드립니다.
삭제된 글입니다
-
해결됨홍정모의 따라하며 배우는 C언어
realloc함수 질문드립니다.
안녕하세요. 강의 내용인 교수님의 코드를 요약해서 적어보았습니다. 여기서 calloc함수에 대해 free함수로 메모리를 해제 하지않았는데, 이렇게 된다면 calloc함수에 대한 메모리가 남아있게 되나요? 아니면 realloc함수가 calloc함수에 대한 메모리를 알아서 해제 시키나요? (프로그램이 종료되면 알아서 해제되겠지만, 프로그램이 종료되지 않았다는 가정하입니다.)
-
미해결일주일 완성! 3dsmax 입문 (자동차 및 캐릭터 만들기)
bridge 버그인가요?
bridge를 쓰는데 엣지를 한꺼번에 잡고 쓸때마다 엣지가 자꾸 대각선으로만 선이 연결됩니다. 또 하나씩만 짝지으면 정상적으로 되는데 일일히 하니 시간은 지나가고~ 버전은 2022버전인데 원래 이러나요? ㅠㅠ
-
미해결우리를 위한 프로그래밍 : 파이썬 중급 (Inflearn Original)
클래서& 메소드 심화 (1-2) 강의 문의 드립니다.
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요. 강의 내용중에서 [] 로 안에 넣은 코드를 딕셔너리로 pop 으로 지울수 있다고 하셨습니다. pop 이나 key 값을 가져올수 없어서 확인하니 list 타입이라고 나왔습니다. 강의 내용하고 다른거 같은데요 딕셔너리 형태를 리스트로 묶었다고 이해하면 될까요? 그러면 key 값을 가져올때는 리스트 안에 요소를 가져와서 key 를 가져오는게 맞는 방법일런지요? car_dicts = [ {'car_compayn': 'ferrai', 'car_detail' : {'color':'white','horsepower':400}}, {'car_compayn': 'ferrai', 'car_detail' : {'color':'white','horsepower':400}} ]
-
미해결비전공자를 위한 진짜 입문 올인원 개발 부트캠프
반응형 웹으로 수정할 때 조금 이상하네요
화면을 크게하면 양쪽으로 가는데 상품 업로드가 이렇게 중간에서 고정되고 움직이고, media screen 이 product card는 적용되는데 또 배너랑 헤더에서는 적용이 안돼네요.. 그 외에도 조금씩 전체적으로 글자가 깨진다거나 그런 이상하게 되는데 코드의 문제인걸까요? 반응웹이 잘 안먹히는데 모바일 앱으로 할 수 있을지 걱정이네요..
-
미해결
pyautogui 관련 질의입니다. 도와주세요 ㅠㅠ
python / pyautogui / pillow 모두 최신 버젼으로 되어 있습니다. vscode 상에서 b=pyautogui.locateCenterOnScreen('five.png', confidence=0.7) print(b) 다음처럼 five.png 이미지 파일 가운데 좌표를 출력하고 싶은데 런하면 터미널에 다음과 같은 에러가 뜹니다 ㅠㅠ PyScreezeException('The Pillow package is required to use this function.') 이미 pillow 라이브러리가 설치가 되어 있음에도 이런 에러가 왜 발생할까요? 이걸 해결하기 위해서 1) pillow > pyautogui 순으로 재설치 2) cmd 관리자 실행으로 해서 강제 재설치 3) 과거 PIL 라이브러리 있으면 삭제 모두 해보았지만 그대로 에러가 뜨는 상황입니다. python이 3.9.6 버젼인데 호환이 안 맞는게 문제인걸까요? 도와주세요 ㅠㅠ
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
프론트 서버는 어떤거로 해야 할가요?
next의 빌드후 웹서버는 어떻게 연결시키나요? ssr 이 없는 일반 react 엔 dist 를 ngnix 에 연결시켜서 사용했는데요. ssr 이 들어가는 next 의 경우는 웹서버를 어떻게 해야 하는건지 궁금합니다 기존에 하던데로 하면될지 아니면 ssr 을 위한 프론트 서버가 있는건지요.
-
미해결해커를 위한 iOS 앱 모의 해킹 전문 과정
앱실행이 안돕니다
삭제된 글입니다
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
linger와 shutdown에 관한 질문입니다.
궁금한것이 생겨서 질문남깁니다. 1. linger옵션을 이용해서 onoff를 1로 두고, 시간을 적당히 셋팅한 후에 위에 옵션을 적용한 소켓을 대상으로 shutdown을 호출해서 SD_SEND로 Send를 막으면 어떻게 되는지 궁금합니다. 2. 상대방이 할말이 있어도 closesocket을 호출해도 상관은 없다는 점에 있어서 만약, 아주 극적이게도 아이템 거래같은 중요한 정보가 서버로 날라오는 도중에 서버에서 closesocket을 호출해서 닫혀 있으면 해당 정보가 DB에 적용되지 않을 것 같은데, 이런 경우는 없는 것인지 궁금합니다.
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
next typescript 적용해보려는데 한가지 질문좀 드리겠습니다.
타입스크립트 next 전부 세팅을 하고 적용하고 있는데요. 테스트중인데 분명 타입스크립트를 적용하지 않으면 vscode내에서는 오류가 나오는데 브라우저에서는 오류가 나오지 않는데 혹시 짐작가시는 부분이 있을까요.. 찾아보려 하였지만 셋팅도 그렇고 잘못된 부분이 없는데 나와 답답해서 여쭤봅니다.
-
미해결Slack 클론 코딩[백엔드 with NestJS + TypeORM]
[HMR] Update failed 에러
서버에 코드를 고치고 저장하면 자꾸 이런 에러가 뜹니다. 저 에러가 뜨고난 후에도 정삭적으로 build 한다고 뜨기는 뜨는데 이후에 수정을 해도 전혀 변경사항이 적용이 안됩니다. 강의중에 종종 네스트가 핫리로딩이 잘 안된다고 말씀하셨지만 제 경우엔 특히 매번 끄고 켜야될만큼 오류가 많이 일어나네요.. 혹시 뾰족한 수가 있을까요?
-
미해결[리뉴얼] 처음하는 MongoDB(몽고DB) 와 NoSQL(빅데이터) 데이터베이스 부트캠프 [입문부터 활용까지] (업데이트)
Mac M1에서도 mongodb 설치할 수 있는 튜터리얼 만들어주시면 감사하겠습니다.
Mac M1에서도 mongodb 설치할 수 있는 튜터리얼 만들어주시면 감사하겠습니다. 선생님 강의 보면서 재미있게 따라하고 있는 수강생입니다. 그런데 제가 mac M1으로 바꾸었는데 그대로 따라할려고 하다보니 path도 꼬이고 유튜브나 블로그에서도 약간 중구난방식으로 설명이 된거 같아서 선생님께서 mac유저 앞으로 향후 M1사용자가 증가될 것이 자명하기 때문에 추가로 튜터리얼 작성해주시면 감사하겠습니다. 다른 설명 따라할려고 하는데 터미널쪽하고는 전혀 친하지 않아서... ㅜㅜ
-
미해결10분만에 만드는 github blog for Pythonista
오류 질문
colab에서 작성한 ipython파일 말고 주피터 노트북에서 작성한 ipython 파일을 업로드 했는데 이런 결과가 나옵니다. 혹시 colab에서 작성한 것만 적용되나요? 혹시 몰라서 이것도 올려봅니다. 감사합니다.
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
섹션1의 빌드하고 실행하기 부분에서 질문이 있습니다.
섹션 1의 빌드하고 실행하기 부분 실습을 따라하던 중 에러가 나 해결하려고 노력했으나 결국 해결하지 못해 질문을 남깁니다. 자바 버전이 맞지 않아 gradle이 불가능하다고 메시지가 뜨는데 이럴 경우 어떻게 해결해야 할까요..? 실습 환경은 Window 입니다..!
-
미해결Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)
gateway domain 변경
gatway에서 실제 msa real 서버에 요청을 보낼 때 위와 같이 host.docker.internal로 변경되어 http .authorizeRequests().antMatchers("/**") .hasIpAddress("127.0.0.1") .and() .addFilter(authenticationFilter()); user-service의 spring security 코드가 위와 같을 때 hasIpAddress로 인해서 403 error가 나오는걸 확인하였습니다. 혹시 gateway 프로젝트에서 domain주소를 127.0.0.1과 같이 실제 ip address를 직접 넣어주는 방법이 존재하나요?
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
에러 발생
java.lang.IllegalStateException: Failed to load ApplicationContext at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:132) at org.springframework.test.context.support.DefaultTestContext.getApplicationContext(DefaultTestContext.java:124) at org.springframework.test.context.web.ServletTestExecutionListener.setUpRequestContextIfNecessary(ServletTestExecutionListener.java:190) at org.springframework.test.context.web.ServletTestExecutionListener.prepareTestInstance(ServletTestExecutionListener.java:132) at org.springframework.test.context.TestContextManager.prepareTestInstance(TestContextManager.java:244) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.createTest(SpringJUnit4ClassRunner.java:227) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner$1.runReflectiveCall(SpringJUnit4ClassRunner.java:289) at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:12) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.methodBlock(SpringJUnit4ClassRunner.java:291) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:246) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.runChild(SpringJUnit4ClassRunner.java:97) at org.junit.runners.ParentRunner$3.run(ParentRunner.java:290) at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:71) at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:288) at org.junit.runners.ParentRunner.access$000(ParentRunner.java:58) at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:268) at org.springframework.test.context.junit4.statements.RunBeforeTestClassCallbacks.evaluate(RunBeforeTestClassCallbacks.java:61) at org.springframework.test.context.junit4.statements.RunAfterTestClassCallbacks.evaluate(RunAfterTestClassCallbacks.java:70) at org.junit.runners.ParentRunner.run(ParentRunner.java:363) at org.springframework.test.context.junit4.SpringJUnit4ClassRunner.run(SpringJUnit4ClassRunner.java:190) at org.junit.runner.JUnitCore.run(JUnitCore.java:137) at com.intellij.junit4.JUnit4IdeaTestRunner.startRunnerWithArgs(JUnit4IdeaTestRunner.java:69) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:220) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:53) Caused by: org.springframework.boot.context.properties.bind.BindException: Failed to bind properties under 'logging.level' to java.util.Map<java.lang.String, org.springframework.boot.logging.LogLevel> at org.springframework.boot.context.properties.bind.Binder.handleBindError(Binder.java:363) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:323) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:308) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:238) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:212) at org.springframework.boot.context.logging.LoggingApplicationListener.setLogLevels(LoggingApplicationListener.java:373) at org.springframework.boot.context.logging.LoggingApplicationListener.initializeFinalLoggingLevels(LoggingApplicationListener.java:340) at org.springframework.boot.context.logging.LoggingApplicationListener.initialize(LoggingApplicationListener.java:282) at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEnvironmentPreparedEvent(LoggingApplicationListener.java:239) at org.springframework.boot.context.logging.LoggingApplicationListener.onApplicationEvent(LoggingApplicationListener.java:216) at org.springframework.context.event.SimpleApplicationEventMulticaster.doInvokeListener(SimpleApplicationEventMulticaster.java:176) at org.springframework.context.event.SimpleApplicationEventMulticaster.invokeListener(SimpleApplicationEventMulticaster.java:169) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:143) at org.springframework.context.event.SimpleApplicationEventMulticaster.multicastEvent(SimpleApplicationEventMulticaster.java:131) at org.springframework.boot.context.event.EventPublishingRunListener.environmentPrepared(EventPublishingRunListener.java:82) at org.springframework.boot.SpringApplicationRunListeners.lambda$environmentPrepared$2(SpringApplicationRunListeners.java:63) at java.base/java.util.ArrayList.forEach(ArrayList.java:1510) at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:117) at org.springframework.boot.SpringApplicationRunListeners.doWithListeners(SpringApplicationRunListeners.java:111) at org.springframework.boot.SpringApplicationRunListeners.environmentPrepared(SpringApplicationRunListeners.java:62) at org.springframework.boot.SpringApplication.prepareEnvironment(SpringApplication.java:375) at org.springframework.boot.SpringApplication.run(SpringApplication.java:333) at org.springframework.boot.test.context.SpringBootContextLoader.loadContext(SpringBootContextLoader.java:123) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContextInternal(DefaultCacheAwareContextLoaderDelegate.java:99) at org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate.loadContext(DefaultCacheAwareContextLoaderDelegate.java:124) ... 24 more Caused by: org.springframework.core.convert.ConverterNotFoundException: No converter found capable of converting from type [java.lang.String] to type [java.util.Map<java.lang.String, org.springframework.boot.logging.LogLevel>] at org.springframework.core.convert.support.GenericConversionService.handleConverterNotFound(GenericConversionService.java:322) at org.springframework.core.convert.support.GenericConversionService.convert(GenericConversionService.java:195) at org.springframework.boot.context.properties.bind.BindConverter$CompositeConversionService.convert(BindConverter.java:170) at org.springframework.boot.context.properties.bind.BindConverter.convert(BindConverter.java:96) at org.springframework.boot.context.properties.bind.BindConverter.convert(BindConverter.java:88) at org.springframework.boot.context.properties.bind.MapBinder.bindAggregate(MapBinder.java:64) at org.springframework.boot.context.properties.bind.AggregateBinder.bind(AggregateBinder.java:56) at org.springframework.boot.context.properties.bind.Binder.lambda$bindAggregate$3(Binder.java:414) at org.springframework.boot.context.properties.bind.Binder$Context.withIncreasedDepth(Binder.java:571) at org.springframework.boot.context.properties.bind.Binder$Context.access$100(Binder.java:512) at org.springframework.boot.context.properties.bind.Binder.bindAggregate(Binder.java:414) at org.springframework.boot.context.properties.bind.Binder.bindObject(Binder.java:375) at org.springframework.boot.context.properties.bind.Binder.bind(Binder.java:319) 다음과 같은 에러가 계속 발생하는데 무엇이 문제일까요? ㅠㅠ
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part2: 자료구조와 알고리즘
BFS는 길찾기 DFS는 어떤걸 만들수있나요??
DFS를 사용하면 굉장히 다양한 방법으로 사용될 수 있다고 하셨는데 게임으로 비유하면 대체로 어떤 걸 만들 수 있는지 알 수 있을까요??
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
org.junit.runners.model.InvalidTestClassError: Invalid test class 'jpabook.jpashop.MemberRepositoryTest' 에러...
안녕하세요~ 아래와 같이 계속 오류가 발생하고 있는데,,, 해결 방법이 있을까요?? org.junit.runners.model.InvalidTestClassError: Invalid test class 'jpabook.jpashop.MemberRepositoryTest': 1. The class jpabook.jpashop.MemberRepositoryTest is not public. 2. Test class should have exactly one public constructor MemberRepositoryTest.java package jpabook.jpashop;import org.assertj.core.api.Assertions;import org.junit.Test;import org.junit.runner.RunWith;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.boot.test.context.SpringBootTest;import org.springframework.test.annotation.Rollback;import org.springframework.test.context.junit4.SpringRunner;import org.springframework.transaction.annotation.Transactional;import javax.persistence.EntityManager;@RunWith(SpringRunner.class)@SpringBootTestclass MemberRepositoryTest { @Autowired MemberRepository memberRepository; @Test @Transactional @Rollback(false) public void testMember() throws Exception{ //given Member member = new Member(); member.setUsername("memberA"); //when Long savedId = memberRepository.save(member); Member findMember = memberRepository.find(savedId); //then Assertions.assertThat(findMember.getId()).isEqualTo(member.getId()); Assertions.assertThat(findMember.getUsername()).isEqualTo(member.getUsername()); }} gradle 설정 (강의자료 그대로 copy) plugins { id 'org.springframework.boot' version '2.4.1' id 'io.spring.dependency-management' version '1.0.10.RELEASE' id 'java'}group = 'jpabook'version = '0.0.1-SNAPSHOT'sourceCompatibility = '11'configurations { compileOnly { extendsFrom annotationProcessor }}repositories { mavenCentral()}dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.springframework.boot:spring-boot-starter-web' compileOnly 'org.projectlombok:lombok' runtimeOnly 'com.h2database:h2' annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test'//JUnit4 추가 testImplementation("org.junit.vintage:junit-vintage-engine") {exclude group: "org.hamcrest", module: "hamcrest-core" }}test { useJUnitPlatform()} 비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
미해결스프링 핵심 원리 - 기본편
토비의 스프링 책 읽고 알듯말듯 했던 내용들이 이 강의듣고 와닿네요.
쌤~~~!!! 토비의 스프링 책 읽으면서 알듯 말듯 이해한거 같은데 돌아서면 뭐였지 했던 그런 부분들이 이 강의 보면서 정리가 되었습니다. ㅋㅋㅋ 감사합니다. 쌤 강의 계속 시리즈로 더!!더!! 만들어주세욧.!!! 저는 지금 올라온 강의 만으로 부족합니다. 질문글 아닌데.. 글 주제 수정하려고 하는데 수정에서는 주제 변경이 안되네요. ㅠㅠ 지송합니다.