묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결면접과 취업을 부르는 '퍼블리셔 개인 포트폴리오 홈페이지' 제작
클론코딩 싸이트 리뉴얼 질문있습니다.
제가 클론코딩 싸이트 리뉴얼을 도대체 어떻게 해야되는지 감이안오는데 클론코딩 리뉴얼 싸이트도 기획작업 ui디자인을 먼저 설계한다음에 만드는건가요? ui 디자인 참고는 테마포레스트나 핀터레스트로 보면 될까요?
-
해결됨자바 ORM 표준 JPA 프로그래밍 - 기본편
영속성 전이 + 고아객체
안녕하세요 영한님! 영속성 전이 + 고아객체에 대해서 질문이 있습니다.! 강의 20분12초 쯤부터 설명하시는 내용을 들어보면 CascadeType.ALL + orphanRemovel = true를 설정하게 되면 부모 엔티티를 통해서 자식의 생명주기를 관리 할 수 있다고 말씀하셨는데 그러면 아래와 같은 코드가 있을때 public Parent findParent(Long id) { return em.find(Parent.class, id); } public void deleteParent(String name) { em.createQuery("delete from Parent p" + " where p.name = :name") .setParameter("name", name) .executeUpdate(); } @Transactional public void delete() { Parent parent = parentRepository.findParent(1L); parentRepository.deleteParent(parent.getName()); } 이런식으로 코드를 작성하면 자식도 함께 삭제가 안되는게 맞는 걸까요? 위와 같이 진행하면 무결성 참조 에러가 발생하여서 질문 남깁니다..! 😭 Referential integrity constraint violation 감사합니다. 장세웅 드림.
-
해결됨데이터 분석 SQL Fundamentals
레벨이라는 표현이 정확히 무엇을 의미하는건가요?
안녕하세요, "조인 개요 및 조인 시 데이터 집합 레벨의 변화 이해 - 01 강의"를 듣다가 어느순간 "레벨"이라는 표현이 나옵니다. 정확히 이 "레벨"이라는 표현이 무엇을 의미하는지 잘 모르겠습니다.
-
미해결얄코의 반응형 프로그래밍 - 자바스크립트로 쉽게 배우는 ReactiveX
subscribe를 사용했을 때 처럼~
7:40초부터, subscribe를 사용했을 때 처럼, 이 혹시 subject를 사용했을 때 처럼을 의미하신걸까요 ?
-
미해결[아파치 카프카 애플리케이션 프로그래밍] 개념부터 컨슈머, 프로듀서, 커넥트, 스트림즈까지!
etc/hosts 에서 127.0.0.1를 my-kafka로 바꿔줬는데, server.properties는 안바꿔줘도 되나요?
안녕하세요 테스트 편의를 위해서 127.0.0.1 주소를 localhost가 아니라 my-kafka로 설정을 했었습니다. 주키퍼,카프카를 실행하기 위해 콘솔에서 bin/zookeeper-server-start.sh config/zookeeper.properties bin/kafka-server-start.sh config/server.properties 로 켜는데요 zookeeper.properties, server.properties 항목에 존재하는 localhost주소는 안바꿔줘도 에러가 안나는지 궁금합니다!
-
해결됨Slack 클론 코딩[백엔드 with NestJS + TypeORM]
인터셉터를 통한 응답의 관련된 질문입니다.
안녕하세요 조현영님. 인터셉터 관련해서 궁금한게 있어 질문드립니다. 아래는 제가 만들어 놓은 인터셉터입니다. intercept(context: ArgumentsHost, next: CallHandler<any>): Observable<any> { // controller 도달 전 const req = context.switchToHttp().getRequest(); const res = context.switchToHttp().getResponse(); console.log(`Receive request from ${req.method} ${req.originalUrl}`); const now = Date.now(); return next.handle().pipe( map((data: JSON<null>) => { // controller 도달 후 console.log( `Send response from ${req.method} ${ req.originalUrl } :: time taken : ${Date.now() - now}ms`, ); return res.status(data.statusCode).setHeader("X-Powered-By", "").json({ success: true, ...data}); }), ); } 이전까지는 이런식으로 인터셉터를 구성해서 포스트맨으로 사용할 땐 문제없이 요청과 응답이 오고 갈수 있었습니다. 그런데 시험삼아서 브라우저에 서버 url을 입력후 get메서드를 사용하는 api를 사용해봤는데 응답은 잘 갔었지만 서버 콘솔에 cannot set headers 오류가 났습니다. 이 오류는 꽤나 익숙해서 응답이 두번 보내져서 그런가 싶어 인터셉터 응답을 아래처럼 바꿔보았습니다. intercept(context: ArgumentsHost, next: CallHandler<any>): Observable<any> { // controller 도달 전 const req = context.switchToHttp().getRequest(); const res = context.switchToHttp().getResponse(); console.log(`Receive request from ${req.method} ${req.originalUrl}`); const now = Date.now(); return next.handle().pipe( map((data: JSON<null>) => { // controller 도달 후 console.log( `Send response from ${req.method} ${ req.originalUrl } :: time taken : ${Date.now() - now}ms`, ); res.status(data.statusCode).setHeader("X-Powered-By", ""); return { success: true, ...data }; }), ); } 이상한게 get, delete 메서드를 사용하는 api는 return문을 거쳤을 때 응답이 잘 도달되었지만 post,patch등은 응답이 가고 계속 로딩중입니다. 계속 기다려도 이러한 상태여서 디버깅을 통해 문제를 해결하고자 return문에서 부터 계속 디버깅을 시도했습니다. 그리고 문제였던 아래 코드를 발견했습니다. return async (result, res) => { result = await this.responseController.transformToResult(result); !isResponseHandled && (await this.responseController.apply(result, res, httpStatusCode)); }; 위의 코드는 node_modules/@nestjs/core/router/router-execution-context.js 라는 파일의 174 ~ 177줄의 코드입니다. 아마 result 변수가 인터셉터에서 리턴된 값으로 사용되는 변수 같은데 그 아래 있는 코드 실행 이후 계속 응답이 닿지 않는 모습이었습니다. 그래서 저는 아래처럼 다시 수정해봤습니다. return async (result, res) => { result = await this.responseController.transformToResult(result); await this.responseController.apply(result, res, httpStatusCode); }; 이후에는 post, patch메서드의 응답이 잘 닿았지만 과연 이게 올바른 해결 방법인지는 잘 모르겠습니다. 만약 이 프로젝트를 git에서 pull, clone등을 할 때 node_modules는 .gitignore에 등록해놓아서 위 처럼 변경 사항을 불러올 수가 없어서 git에서 pull, clone하려면 npm i로 모듈들을 받은 후 계속 저런식으로 수정을 해야 되서 이 방법은 좀 아닌거 같지만 일단 임시방편으로 해놓은 상태입니다. 조현영님께서는 이렇게 어떤 문제가 해결이 안될때 node_modules를 건드려서 해결하신적이 있으신가요?
-
미해결파이썬 무료 강의 (기본편) - 6시간 뒤면 나도 개발자
잘 모르겠습니다ㅠㅠ
함수 자체에는 문제가 없는 것 같은데 실행을 하면 사진과 같이 나옵니다.. 대체 어디가 틀렸는지 모르겠습니다ㅠㅠ
-
미해결파이썬 증권 데이터 수집과 분석으로 신호와 소음 찾기
데이터 시각화 도구 소개와 한글폰트 설정 에러
데이터 시각화 도구 소개와 한글폰트 설정 에러 위에 강좌를 실습 중에 에러가 발생합니다. 우분투, 주피터노트북 사용, 나눔바른고딕 폰트 있습니다. 도와주세요!!!! 1. 우분투에 나눔바른고딕 폰트 있음: 제가 실습하는 환경 (base) root@gd-virtual-machine:/usr/share/fonts/truetype/nanum# lsb_release -d Description: Ubuntu 20.04.4 LTS (base) root@gd-virtual-machine:/usr/share/fonts/truetype/nanum# (base) root@gd-virtual-machine:/usr/share/fonts/truetype/nanum# (base) root@gd-virtual-machine:/usr/share/fonts/truetype/nanum# ls NanumBarunGothic.ttf NanumBarunGothic.ttf (base) root@gd-virtual-machine:/usr/share/fonts/truetype/nanum# 2. 에러 발생(강의 코드) def get_font_family(): import platform system_name = platform.system() if system_name == "Darwin" : font_family = "AppleGothic" elif system_name == "Windows": font_family = "Malgun Gothic" else: import matplotlib.font_manager as fm fontpath = '/usr/share/fonts/truetype/nanum/NanumBarunGothic.ttf' font = fm.FontProperties(fname=fontpath, size=9) fm._rebuild() font_family = "NanumBarunGothic" return font_family AttributeError Traceback (most recent call last) /tmp/ipykernel_1662/385091406.py in <module> ----> 1 get_font_family() /tmp/ipykernel_1662/3056356644.py in get_font_family() 11 fontpath = '/usr/share/fonts/truetype/nanum/NanumBarunGothic.ttf' 12 font = fm.FontProperties(fname=fontpath, size=9) ---> 13 fm._rebuild() 14 font_family = "NanumBarunGothic" 15 return font_family AttributeError: module 'matplotlib.font_manager' has no attribute '_rebuild' 3. 에러 발생(수업자료 소스 코드) def get_font_family(): """ 시스템 환경에 따른 기본 폰트명을 반환하는 함수 """ import platform system_name = platform.system() if system_name == "Darwin" : font_family = "AppleGothic" elif system_name == "Windows": font_family = "Malgun Gothic" else: # Linux(colab) !apt-get install fonts-nanum -qq > /dev/null !fc-cache -fv import matplotlib as mpl mpl.font_manager._rebuild() findfont = mpl.font_manager.fontManager.findfont mpl.font_manager.findfont = findfont mpl.backends.backend_agg.findfont = findfont font_family = "NanumBarunGothic" return font_family /usr/share/fonts: caching, new cache contents: 0 fonts, 6 dirs /usr/share/fonts/X11: caching, new cache contents: 0 fonts, 4 dirs /usr/share/fonts/X11/Type1: caching, new cache contents: 8 fonts, 0 dirs /usr/share/fonts/X11/encodings: caching, new cache contents: 0 fonts, 1 dirs /usr/share/fonts/X11/encodings/large: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/X11/misc: caching, new cache contents: 89 fonts, 0 dirs /usr/share/fonts/X11/util: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/cMap: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/cmap: caching, new cache contents: 0 fonts, 5 dirs /usr/share/fonts/cmap/adobe-cns1: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/cmap/adobe-gb1: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/cmap/adobe-japan1: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/cmap/adobe-japan2: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/cmap/adobe-korea1: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/opentype: caching, new cache contents: 0 fonts, 3 dirs /usr/share/fonts/opentype/malayalam: caching, new cache contents: 7 fonts, 0 dirs /usr/share/fonts/opentype/noto: caching, new cache contents: 28 fonts, 0 dirs /usr/share/fonts/opentype/urw-base35: caching, new cache contents: 35 fonts, 0 dirs /usr/share/fonts/truetype: caching, new cache contents: 0 fonts, 50 dirs /usr/share/fonts/truetype/Gargi: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/Gubbi: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/Nakula: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/Navilu: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/Sahadeva: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/Sarai: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/abyssinica: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/arphic: caching, new cache contents: 0 fonts, 0 dirs /usr/share/fonts/truetype/dejavu: caching, new cache contents: 6 fonts, 0 dirs /usr/share/fonts/truetype/droid: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/fonts-beng-extra: caching, new cache contents: 6 fonts, 0 dirs /usr/share/fonts/truetype/fonts-deva-extra: caching, new cache contents: 3 fonts, 0 dirs /usr/share/fonts/truetype/fonts-gujr-extra: caching, new cache contents: 5 fonts, 0 dirs /usr/share/fonts/truetype/fonts-guru-extra: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/fonts-kalapi: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/fonts-orya-extra: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/fonts-telu-extra: caching, new cache contents: 2 fonts, 0 dirs /usr/share/fonts/truetype/fonts-yrsa-rasa: caching, new cache contents: 10 fonts, 0 dirs /usr/share/fonts/truetype/freefont: caching, new cache contents: 12 fonts, 0 dirs /usr/share/fonts/truetype/kacst: caching, new cache contents: 15 fonts, 0 dirs /usr/share/fonts/truetype/kacst-one: caching, new cache contents: 2 fonts, 0 dirs /usr/share/fonts/truetype/lao: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/liberation: caching, new cache contents: 16 fonts, 0 dirs /usr/share/fonts/truetype/liberation2: caching, new cache contents: 12 fonts, 0 dirs /usr/share/fonts/truetype/lohit-assamese: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-bengali: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-devanagari: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-gujarati: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-kannada: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-malayalam: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-oriya: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-punjabi: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-tamil: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-tamil-classical: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lohit-telugu: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/lyx: caching, new cache contents: 11 fonts, 0 dirs /usr/share/fonts/truetype/malayalam: caching, new cache contents: 10 fonts, 0 dirs /usr/share/fonts/truetype/nanum: caching, new cache contents: 31 fonts, 0 dirs /usr/share/fonts/truetype/noto: caching, new cache contents: 2 fonts, 0 dirs /usr/share/fonts/truetype/openoffice: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/padauk: caching, new cache contents: 4 fonts, 0 dirs /usr/share/fonts/truetype/pagul: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/samyak: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/samyak-fonts: caching, new cache contents: 3 fonts, 0 dirs /usr/share/fonts/truetype/sinhala: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/tibetan-machine: caching, new cache contents: 1 fonts, 0 dirs /usr/share/fonts/truetype/tlwg: caching, new cache contents: 58 fonts, 0 dirs /usr/share/fonts/truetype/ttf-bitstream-vera: caching, new cache contents: 10 fonts, 0 dirs /usr/share/fonts/truetype/ttf-khmeros-core: caching, new cache contents: 2 fonts, 0 dirs /usr/share/fonts/truetype/ubuntu: caching, new cache contents: 14 fonts, 0 dirs /usr/share/fonts/type1: caching, new cache contents: 0 fonts, 1 dirs /usr/share/fonts/type1/urw-base35: caching, new cache contents: 35 fonts, 0 dirs /root/anaconda3/fonts: skipping, no such directory /root/.local/share/fonts: skipping, no such directory /root/.fonts: skipping, no such directory /usr/share/fonts/X11: skipping, looped directory detected /usr/share/fonts/cMap: skipping, looped directory detected /usr/share/fonts/cmap: skipping, looped directory detected /usr/share/fonts/opentype: skipping, looped directory detected /usr/share/fonts/truetype: skipping, looped directory detected /usr/share/fonts/type1: skipping, looped directory detected /usr/share/fonts/X11/Type1: skipping, looped directory detected /usr/share/fonts/X11/encodings: skipping, looped directory detected /usr/share/fonts/X11/misc: skipping, looped directory detected /usr/share/fonts/X11/util: skipping, looped directory detected /usr/share/fonts/cmap/adobe-cns1: skipping, looped directory detected /usr/share/fonts/cmap/adobe-gb1: skipping, looped directory detected /usr/share/fonts/cmap/adobe-japan1: skipping, looped directory detected /usr/share/fonts/cmap/adobe-japan2: skipping, looped directory detected /usr/share/fonts/cmap/adobe-korea1: skipping, looped directory detected /usr/share/fonts/opentype/malayalam: skipping, looped directory detected /usr/share/fonts/opentype/noto: skipping, looped directory detected /usr/share/fonts/opentype/urw-base35: skipping, looped directory detected /usr/share/fonts/truetype/Gargi: skipping, looped directory detected /usr/share/fonts/truetype/Gubbi: skipping, looped directory detected /usr/share/fonts/truetype/Nakula: skipping, looped directory detected /usr/share/fonts/truetype/Navilu: skipping, looped directory detected /usr/share/fonts/truetype/Sahadeva: skipping, looped directory detected /usr/share/fonts/truetype/Sarai: skipping, looped directory detected /usr/share/fonts/truetype/abyssinica: skipping, looped directory detected /usr/share/fonts/truetype/arphic: skipping, looped directory detected /usr/share/fonts/truetype/dejavu: skipping, looped directory detected /usr/share/fonts/truetype/droid: skipping, looped directory detected /usr/share/fonts/truetype/fonts-beng-extra: skipping, looped directory detected /usr/share/fonts/truetype/fonts-deva-extra: skipping, looped directory detected /usr/share/fonts/truetype/fonts-gujr-extra: skipping, looped directory detected /usr/share/fonts/truetype/fonts-guru-extra: skipping, looped directory detected /usr/share/fonts/truetype/fonts-kalapi: skipping, looped directory detected /usr/share/fonts/truetype/fonts-orya-extra: skipping, looped directory detected /usr/share/fonts/truetype/fonts-telu-extra: skipping, looped directory detected /usr/share/fonts/truetype/fonts-yrsa-rasa: skipping, looped directory detected /usr/share/fonts/truetype/freefont: skipping, looped directory detected /usr/share/fonts/truetype/kacst: skipping, looped directory detected /usr/share/fonts/truetype/kacst-one: skipping, looped directory detected /usr/share/fonts/truetype/lao: skipping, looped directory detected /usr/share/fonts/truetype/liberation: skipping, looped directory detected /usr/share/fonts/truetype/liberation2: skipping, looped directory detected /usr/share/fonts/truetype/lohit-assamese: skipping, looped directory detected /usr/share/fonts/truetype/lohit-bengali: skipping, looped directory detected /usr/share/fonts/truetype/lohit-devanagari: skipping, looped directory detected /usr/share/fonts/truetype/lohit-gujarati: skipping, looped directory detected /usr/share/fonts/truetype/lohit-kannada: skipping, looped directory detected /usr/share/fonts/truetype/lohit-malayalam: skipping, looped directory detected /usr/share/fonts/truetype/lohit-oriya: skipping, looped directory detected /usr/share/fonts/truetype/lohit-punjabi: skipping, looped directory detected /usr/share/fonts/truetype/lohit-tamil: skipping, looped directory detected /usr/share/fonts/truetype/lohit-tamil-classical: skipping, looped directory detected /usr/share/fonts/truetype/lohit-telugu: skipping, looped directory detected /usr/share/fonts/truetype/lyx: skipping, looped directory detected /usr/share/fonts/truetype/malayalam: skipping, looped directory detected /usr/share/fonts/truetype/nanum: skipping, looped directory detected /usr/share/fonts/truetype/noto: skipping, looped directory detected /usr/share/fonts/truetype/openoffice: skipping, looped directory detected /usr/share/fonts/truetype/padauk: skipping, looped directory detected /usr/share/fonts/truetype/pagul: skipping, looped directory detected /usr/share/fonts/truetype/samyak: skipping, looped directory detected /usr/share/fonts/truetype/samyak-fonts: skipping, looped directory detected /usr/share/fonts/truetype/sinhala: skipping, looped directory detected /usr/share/fonts/truetype/tibetan-machine: skipping, looped directory detected /usr/share/fonts/truetype/tlwg: skipping, looped directory detected /usr/share/fonts/truetype/ttf-bitstream-vera: skipping, looped directory detected /usr/share/fonts/truetype/ttf-khmeros-core: skipping, looped directory detected /usr/share/fonts/truetype/ubuntu: skipping, looped directory detected /usr/share/fonts/type1/urw-base35: skipping, looped directory detected /usr/share/fonts/X11/encodings/large: skipping, looped directory detected /root/anaconda3/var/cache/fontconfig: cleaning cache directory /root/.cache/fontconfig: not cleaning non-existent cache directory /root/.fontconfig: not cleaning non-existent cache directory fc-cache: succeeded --------------------------------------------------------------------------- AttributeError Traceback (most recent call last) /tmp/ipykernel_1662/385091406.py in <module> ----> 1 get_font_family() /tmp/ipykernel_1662/3296694249.py in get_font_family() 16 17 import matplotlib as mpl ---> 18 mpl.font_manager._rebuild() 19 findfont = mpl.font_manager.fontManager.findfont 20 mpl.font_manager.findfont = findfont AttributeError: module 'matplotlib.font_manager' has no attribute '_rebuild'
-
미해결홍정모의 따라하며 배우는 C언어
9.12 11:20 질문 있습니다.
int *a_ptr = &a;가 변수a의 주소를 저장하는 변수라고 하셨고 실제로 a_ptr를 출력해보니 a의 주소값이 나오더라구요. 그런데 int b = &a;로 해도 똑같은 주소값이 나오던데 굳이 포인터 변수가 아니더라도 주소를 저장 할 수 있지만 포인터 변수는 일반 변수와 다르게 값을 가르킬 수 있는 것에 의의가 있는 건가요??
-
미해결[개정판] 파이썬 머신러닝 완벽 가이드
이미지와 일반 속성을 이용한 분류는 어떻게 적용해야 하나요?
강의 잘듣고 있습니다. 평소 이해하기 힘든 부분 잘 설명해주셔서 감사합니다. 강의를 듣다 의문이 있어 질의드립니다. 이미지와 일반적인 속성을 이용해서 분류를 해야 하는 경우 어떤식을 적용해야 하나요? 예를들면 음식 이미지와 온도, 습도 데이터를 통해 부패여부를 알고자 한다면, 이미지를 딥러닝을 통해 1차로 분류한 후, 그 결과를 온도, 습도와 같이 머신러닝을 시켜야 하는지, 아니면 한번에 학습하는 방법이 있는지, 또는 다른 방법이 있을지 궁금하네요. 실제 프로젝트에서는 이미지와 같이 사용하는 경우가 많을거 같아 질문드립니다.
-
미해결스프링 핵심 원리 - 기본편
테스트코드에 피라미터를 넣게되면 오류가 발생하는 이유를 알 수 있을까요??
안녕하세요. 해당 수업 실습중에 실수로 테스트코드에 피라미터를 넣게되었습니다. 그래서 피라미터를 지우고 테스트가 정상적으로 통과되는 것을 확인하긴 했는데 여기서 왜 테스트코드에 피라미터를 넣으면 오류가 발생하는지가 궁금하더라구요 그래서 구글링으로 찾아봤는데 그에 대한 해답이 정확히 없더라구요 ㅠㅠ 혹시 테스트코드에 피라미터를 넣게된다면 왜 오류가 발생하는지 알 수 있을까요?? 제가 실수로 작성했던 코드와 오류 메세지입니다. 에러 코드 :org.junit.jupiter.api.extension.ParameterResolutionException: No ParameterResolver registered for parameter [java.lang.Long arg0] in method [void xik.ShoppingMall.Service.OrderServiceImpTest.createOrder(java.lang.Long,java.lang.String,int)].
-
미해결파이썬(Python)으로 데이터 기반 주식 퀀트 투자하기 Part2
4.4 Rolling correlation : 상관계수를 구할때 의문이 생겼습니다.
안녕하세여. 강의 잘 듣고 있습니다. 지금까진 잘 이해가 되다가 4.4 상관계수 들으면서 이해가 안되는부분이 생겨서 질문드립니다. 강의에서는 상관계수를 구할때 두 자산군의 일별 수익률로 구하셨는데, 두 자산군의 상관계수를 구할때 일별 주가로 구하면 안되는건가요? 왜 일별 수익률로 한번 가공을 거친후에 상관계수를 구하는지 헷갈립니다. 일별수익률의 상관계수와 가격 자체로 구한 상관계수가 차이가 있는것 보면, 구분해서 상관계수를 구해야 될거 같은데, 어떻게 구분을 해야 하는지 궁금합니다
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
메세지 컨버터 질문있습니다.
좋은 강의로 실력이 자라나고 있습니다. 주말에 질문 한가지만 드리고 싶어서 여쭈어봤어요 .... 메세지 컨버터는 결국에 오브젝트의 값을 읽어주는 역할을 해서 리스폰스바디와 리퀘스트 바디에서 자동으로 변형된다는 말씀이시죠? (쉽게 말하면 통역을 한번 해준다는 의미시죠?) 또한 7분02초에서 말씀하신 V2기능이 메세지 컨버터에 담긴 코드와 같다고 이야기 해주신 거 맞나요? 메세지 바디라는 것이 결국에 HTML에서 <Body> 테그 속에 있는 메세지를 이야기 하는 것이 맞나요?
-
미해결실전! 웹사이트제작! Step by Step! ('크루알라모드'_반응형웹 제작)
scrolla 플러그인을 이용한 애니메이션이 동작하지 않습니다
안녕하세요 강사님 프론트엔드와 퍼블리셔로 취업하기 위해 학습 준비중인 학생입니다. 강의 중 제이쿼리 설치와 scrolla 플러그인 설치는 정상적으로 되었는데 애니메이션 동작이 구현되지 않습니다. 혼자 몇시간 끙끙대다 결국 문의를 드립니다 ㅜㅜ 다른 강의 질문글에 강사님 이메일이 보여서 파일을 먼저 이메일로 전송드렸습니다. 코드 확인 후 답변주시면 감사하겠습니다.
-
미해결[실전 게임 코드 리뷰] 유니티 클리커 게임
UI 강의 질문입니다
안녕하세요 루키스님 강좌 잘 듣고있습니다. 강의 중간에 UI Manager 만드는 강의를 언급하시던데 어떤 강의를 구매해야 들을수있는지 궁금합니다
-
미해결파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)
답이 계속 16이 나와서 질문드립니다...
안녕하세요 교수님 강의 잘 보고 있습니다. 다름이 아니라 해주신대로 혼자 해보았는데 계속 답이 16이 나와요 ㅠㅠ 강의랑 비교해서 다른 곳을 못찾겠는데 어디가 잘못된걸까요? ㅠㅠ import sysfrom tempfile import tempdirsys.stdin = open("input.txt","rt") n,m = map(int,input().split())li = list(map(int,input().split())) lt = 1rt = sum(li) def Count(capa): cd = 1 sum = 0 for x in li: if sum + x > capa: cd += 1 sum = x else: sum += x return cd while lt <= rt: mid = (lt + rt) // 2 if Count(mid) <= m : res = mid rt = mid -1 else: lt = mid + 1 print(mid)
-
미해결스프링 배치
JobBuilderFactory StepBuilderFactory 오류 문의건
안녕하세요 아래와 같이 오류가 나는데.. 도저히 이유를 모르겠습니다.. github에 있는 코드를 그대로 복사해도 같은오류가 나에여 ㅠ..
-
미해결블렌더 처음 시작부터 로우폴리 3D 애니메이션 까지
오브젝트 특정 부분 익스트루드
저 라인만 바깥으로 익스트루드하고 싶은데 아래로만 익스트루드 됩니다.ㅠㅠ 이럴때는 어떻게 해야하나요??
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
hello.html 에러
안녕하세요! 스프링 강의를 듣고 있는 수강생입니다 모든 코드를 똑같이 작성하고도 오류가 나서 혹시 몰라서 pdf에 있는 코드 자체를 복사해서 붙여넣었는데도 오류가 나서 질문 드립니다!
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
클릭해서 해당 클래스로 이동
강의 7분50초처럼 다른 곳에서 클래스를 클릭할때, 해당 클래스로 이동하는 설정은 어떻게 하는 것인가요? 윈도우 사용중인데 안 되어서 질문 드립니다. 단축키는 ctrl+B인것을 아는데 클릭해서 가는건 어떻게 하는지 모르겠네요 ㅠㅠ