묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
??page.addItem_ko_KR?? 관련 질문 드립니다.
따라하던 중 위 이미지 처럼 ??page.addItem_ko_KR?? 라고 출력되는 현상이 발생되어 질문 드립니다. addForm.html messages.properties 위처럼 작성하여 따라하던 중 정상적으로 반영이 안되는 것 같아서 질문 드립니다. 항상 감사합니다.
-
미해결[초급편] 안드로이드 커뮤니티 앱 만들기(Android Kotlin)
강의 잘 들었습니다. 강의중 궁금한 사항이 있어 글남깁니다.
1. 레이아웃 정리 나머지 정리 - 1 에서 스토어탭에 가면 StoreFragment에 WebView로 인프런 주소를 넣고 안드로이드 시뮬레이터로 실행해서 스토어 탭을 누르면 강의화면과는 다르게 에뮬레이터의 기본브라우저인 외부 크롬으로 해당 인프런 사이트가 열리더라구요 이건 왜그럴까요? 1.1 위 질문과 같은데 강의에서도 그런건데 꿀팁의 레시피를 누르면 해당 웹뷰에서 실행이 안되고 외부 브라우저에서 실행이 되는데 왜 프로그램 내부에서 안보여질까요? 강의에서도 외부브라우저가 실행이 되는데 그냥 넘어갔네요. 2. 하단 탭을 눌러서 이동하는걸 네비게이션+프래그먼트로 구현하셨는데 프래그먼트에 매번 같은 뷰를 붙이고 같은 클릭 이벤트를 넣어주는게 번거로운데 이걸 개선하는 방법이 있나요? 2-1 그래서 찾아본게 BottomNavigation이 있더라구요 이걸 안쓰고 강의처럼 하는 이유가 있을까요? 2-2 탭이동시 프래그먼트를 매번 만드는게 아니라 한번 만들어진 프래그먼트를 계속 재활용 할 순 없을까요 A탭의 프래그먼트의 리스트를 끝까지 내렸는데 B탭으로 갔다가 다시 A탭으로 가면 A탭의 프래그먼트가 초기화 되는데 초기화 안시킬수 있을까요(프래그먼트 재사용) 2-3 ViewPager2를 사용하는거에 비해서 Navigation으로 구현하는게 장점이 모가 있을까요 인터넷에 찾아봤지만 딱히 원하는 답이 없어 여기다 물어봅니다.ㅠㅠ
-
미해결홍정모의 따라하며 배우는 C언어
10.5 8:40 질문 있습니다.
arr[0]이 3개짜리 사이즈에 대응한다고 하셨는데 왜 그런지 잘 모르겠습니다. 부연 설명 해주시면 감사하겠습니다. 또한 2차원 배열을 초기화 할 때, 예를 들어 int arr[ ][ ] = { {1,2,3}, {4,5,6}}; 이렇게 하면 위 빈칸에 각각 3 3이 들어가는게 아니라 오류가 난다고 어렴풋이 알고 있는데 이유 설명 부탁드립니다.
-
해결됨14일만에 배우는 ASP.NET CORE
강사님 레이아웃이 없습니다.
현재 2022 visual studio로 학습 중입니다. 깃허브가서 봐도 완성된 코드여서 보기가 어렵고 현재 기준으로 Views 아래 Shared에 Error.cshtml 말고는 존재하지 않습니다. 그래서 View에서 경로 설정이 잘못되는거 같습니다. 그리고 Program.cs도 var builder = WebApplication.CreateBuilder(args); // Add services to the container. builder.Services.AddControllers();// Learn more about configuring Swagger/OpenAPI at https://aka.ms/aspnetcore/swashbucklebuilder.Services.AddEndpointsApiExplorer();builder.Services.AddSwaggerGen(); var app = builder.Build(); // Configure the HTTP request pipeline.if (app.Environment.IsDevelopment()){ app.UseSwagger(); app.UseSwaggerUI();} app.UseHttpsRedirection(); app.UseAuthorization(); app.MapControllers(); app.Run(); 이렇게 되어있습니다. 초반부터 막히게 되어서 문의글 남깁니다.
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part2: 게임 수학과 DirectX12
안녕하세요 최적화 관련 질문 드립니다.
우선 양질의 강의 감사합니다. 완강 후 추천해주셨던 "Directx12를 이용한 3D게임 프로그래밍 입문 - 프랭크 D.루나" 책을 보며 실습하는데 많은 도움이 되었습니다. 이제 언리얼이나 유니티를 접하기 전에 Directx를 이용해 포트폴리오를 만들고 싶습니다. (C언어에서 Python을 접하고 다시 C언어로 코딩하고 싶지 않은 느낌입니다.) 최적화 기법에 대해 좀 더 공부하고 구현해서 포트폴리오의 장점으로 부각시키고싶어 질문드립니다. 3가지 최적화 기법(오브젝트 및 터레인 LOD, Static Batching, 멀티 쓰레딩)을 강조하고싶습니다. 멀티 쓰레딩은 안되겠다 싶으면 포기할겁니다. 기법들의 난이도가 면접관 입장에서 포폴의 강점이 될 수 있는지 궁금합니다. "DirectX12를 이용한 3D게임 프로그래밍 입문" 책에서 Frame Resource(cmd_allocate 및 버퍼를 여러개 만들어 cmd_list가 끝나는것을 기다리지 않고 다음 프레임의 명령리스트를 미리 작성하는 것)와 같은 자잘한? 기법들의 명칭들을 알고싶습니다. 또 DX12를 이용해 포폴을 만들려면 추가적으로 어떤것들을 알아야하는지 궁금합니다. 마지막으로 IA단계를 지나 버텍스쉐이더 단계에 들어오면 버텍스 쉐이더에서 컨스턴트 버퍼를 이용하여 인덱스 버퍼를 결정하거나 수정하는것은 지원하는 기능이 없나요? 추가적으로 강의에서 말씀하셨었지만... 출시되어있는 게임의 클라이언트에서 리소스(메쉬, 텍스처 등등)를 추출해서 포폴을 만들고 유튜브에 올려도 수익창출만 없다면 문제가 없을까요? 강의 외적인 질문이 많아 죄송합니다. 답변 미리 감사드립니다.
-
미해결Vue.js - Django 연동 웹 프로그래밍 (실전편)
No module named 'mysite.settings 가 뜹니다
ubuntu20.04 로 vscode를 사용하여 강의를 듣고 있는 학생입니다. 다름이 아니라 python manage.py makemigrations 명령어를 실행하면 계속 ModuleNotFoundError: No module named 'mysite.settings'라는 오류가 발생해서 인터넷으로 찾아보고 하는데도 잘 해결되지가 않네요ㅜㅜ 어떻게 하면 좋을까요?
-
미해결비전공자를 위한 진짜 입문 올인원 개발 부트캠프
저 방대한 내용들을 순차적으로 배우기가 가능한가요?
어떤 특정내용을 배우기 시작하며 그 내용과 관련된(의존적인) 내용들을 추가적으로 탐색해보고 익히는게 더욱 효율적이지 않을까요? 약간 색칠에 비유하자면, 위에서부터 색칠하기시작해서 아래까지 도달하는 것보다, 본인이 칠하고 싶은 영역을 먼저 칠한 뒤, 그 영역과 가까운 영역들을 천천히 칠해나가는게 더 효율적인 것처럼요.
-
미해결면접과 취업을 부르는 '퍼블리셔 개인 포트폴리오 홈페이지' 제작
클론코딩 싸이트 리뉴얼 질문있습니다.
제가 클론코딩 싸이트 리뉴얼을 도대체 어떻게 해야되는지 감이안오는데 클론코딩 리뉴얼 싸이트도 기획작업 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> 테그 속에 있는 메세지를 이야기 하는 것이 맞나요?