묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결설계독학맛비's 실전 FPGA를 이용한 HW 가속기 설계 (LED 제어부터 Fully Connected Layer 가속기 설계까지)
[4장] vitis serial terminal에 대한 질문
[1. 질문 챕터] : 4장 마지막 부분[2. 질문 내용] : 안녕하세요 맛비님 강의 시청중에 사소한? 질문을 드리고싶어 작성하게 되었습니다. 터미널에서 10입력 이후에 계속해서 로그가 올라오는데, 어떻게 멈출수 있나요?음 그러니까 while(1)때문에 무한문 인것은 알겠는데, 이걸 정지하는 방법이 어디에 있는지 궁금합니다.없다면 어떤 방식으로 보드와 pc의 연결을 끊는 것이 가장 안전한 방법인지 알려주시면 감사하겠습니다! 일단은 vitis프로그램을 종료하는 것으로 마무리하기는 했습니다ㅎㅎ 좋은 강의해주셔서 감사합니다. [3. 시도했던 내용, 그렇게 생각하는 이유] : 영상에서는 따로 나와있지 않아서 여쭤봅니다! ================ 다음 내용은 읽어보시고 지우시면 됩니다.=================질문 내용을 작성해주실 때, 위의 3단계로 제가 이해할 수 있게 작성해주시면 정확한 답변을 드릴 수 있을 것 같아요!!현업자인지라 업무때문에 답변이 늦을 수 있습니다. (길어도 만 3일 안에는 꼭 답변드리려고 노력중입니다 ㅠㅠ)강의에서 다룬 내용들의 질문들을 부탁드립니다!! (설치과정, 강의내용을 듣고 이해가 안되었던 부분들, 강의의 오류 등등)이런 질문은 부담스러워요.. (답변거부해도 양해 부탁드려요)개인 과제, 강의에서 다루지 않은 내용들의 궁금증 해소, 영상과 다른 접근방법 후 디버깅 요청, 고민 상담 등..글쓰기 에티튜드를 지켜주세요 (저 포함, 다른 수강생 분들이 함께보는 공간입니다.)서로 예의를 지키며 존중하는 문화를 만들어가요.질문글을 보고 내용을 이해할 수 있도록 남겨주시면 답변에 큰 도움이 될 것 같아요. (상세히 작성하면 더 좋아요! )먼저 유사한 질문이 있었는지 검색해보세요.잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.==================
-
해결됨이득우의 언리얼 프로그래밍 Part2 - 언리얼 게임 프레임웍의 이해
언리얼5.4에서 빌드오류가 발생합니다.
이번에 깃허브에 올려주신 언리얼엔진5.4버전으로 빌드 후 실행할려고 하는데 계속 오류가 발생합니다. LogInit: Warning: Incompatible or missing module: ArenaBattleRunning C:/UE5/UE_5.4/Engine/Build/BatchFiles/Build.bat Development Win64 -Project="H:/Unreal Project/MyGame/UnrealProgrammingPart2-15/ArenaBattle.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDEUsing bundled DotNet SDK version: 6.0.302Running UnrealBuildTool: dotnet "..\..\Engine\Binaries\DotNET\UnrealBuildTool\UnrealBuildTool.dll" Development Win64 -Project="H:/Unreal Project/MyGame/UnrealProgrammingPart2-15/ArenaBattle.uproject" -TargetType=Editor -Progress -NoEngineChanges -NoHotReloadFromIDELog file: C:\Users\cwi02\AppData\Local\UnrealBuildTool\Log.txtCreating makefile for ArenaBattleEditor (no existing makefile)@progress push 5%Parsing headers for ArenaBattleEditor Running Internal UnrealHeaderTool "H:\Unreal Project\MyGame\UnrealProgrammingPart2-15\ArenaBattle.uproject" "H:\Unreal Project\MyGame\UnrealProgrammingPart2-15\Intermediate\Build\Win64\ArenaBattleEditor\Development\ArenaBattleEditor.uhtmanifest" -WarningsAsErrors -installedTotal of 76 writtenReflection code generated for ArenaBattleEditor in 2.0740478 seconds@progress popBuilding ArenaBattleEditor...Using Visual Studio 2022 14.38.33140 toolchain (C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130) and Windows 10.0.22621.0 SDK (C:\Program Files (x86)\Windows Kits\10).[Adaptive Build] Excluded from ArenaBattle unity file: ArenaBattle.cpp, ABAIController.cpp, BTDecorator_AttackInRange.cpp, BTService_Detect.cpp, BTTask_Attack.cpp, BTTask_FindPatrolPos.cpp, BTTask_TurnToTarget.cpp, ABAnimInstance.cpp, AnimNotify_AttackHitCheck.cpp, ABCharacterBase.cpp, ABCharacterControlData.cpp, ABCharacterNonPlayer.cpp, ABCharacterPlayer.cpp, ABComboActionData.cpp, ABCharacterStatComponent.cpp, ABGameMode.cpp, ABGameSingleton.cpp, ABStageGimmick.cpp, ABAnimationAttackInterface.cpp, ABCharacterAIInterface.cpp, ABCharacterHUDInterface.cpp, ABCharacterItemInterface.cpp, ABCharacterWidgetInterface.cpp, ABGameInterface.cpp, ABItemBox.cpp, ABItemData.cpp, ABPotionItemData.cpp, ABScrollItemData.cpp, ABWeaponItemData.cpp, ABPlayerController.cpp, ABSaveGame.cpp, ABFountain.cpp, ABCharacterStatWidget.cpp, ABHpBarWidget.cpp, ABHUDWidget.cpp, ABUserWidget.cpp, ABWidgetComponent.cppDetermining max actions to execute in parallel (6 physical cores, 6 logical cores) Executing up to 6 processes, one per physical coreUsing Parallel executor to run 43 action(s)------ Building 43 action(s) started ------[1/43] Resource Default.rc2[2/43] Compile [x64] SharedPCH.UnrealEd.Project.ValApi.Cpp20.cpp[3/43] Compile [x64] ABCharacterAIInterface.cpp[4/43] Compile [x64] ABAnimationAttackInterface.cpp[5/43] Compile [x64] ABCharacterControlData.cpp[6/43] Compile [x64] ABCharacterHUDInterface.cpp[7/43] Compile [x64] ABAnimInstance.cpp[8/43] Compile [x64] ABCharacterItemInterface.cpp[9/43] Compile [x64] ABAIController.cpp[10/43] Compile [x64] ABCharacterStatComponent.cpp[11/43] Compile [x64] ABCharacterWidgetInterface.cpp[12/43] Compile [x64] ABCharacterBase.cpp[13/43] Compile [x64] ABCharacterNonPlayer.cpp[14/43] Compile [x64] ABComboActionData.cpp[15/43] Compile [x64] ABCharacterStatWidget.cpp[16/43] Compile [x64] ABFountain.cpp[17/43] Compile [x64] ABGameInterface.cpp[18/43] Compile [x64] ABCharacterPlayer.cppC:\UE5\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(88): error C2027: 정의되지 않은 형식 'AGameModeBase'을(를) 사용했습니다.C:\UE5\UE_5.4\Engine\Source\Runtime\Engine\Classes\Engine\GameInstance.h(29): note: 'AGameModeBase' 선언을 참조하십시오.C:\UE5\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(88): note: 템플릿 인스턴스화 컨텍스트(가장 오래된 인스턴스화 컨텍스트)가H:\Unreal Project\MyGame\UnrealProgrammingPart2-15\Source\ArenaBattle\Character\ABCharacterPlayer.cpp(89): note: 컴파일되는 함수 템플릿 인스턴스화 'To Cast<IABGameInterface,AGameModeBase>(From )'에 대한 참조를 확인하세요. with [ To=IABGameInterface, From=AGameModeBase ]C:\UE5\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(88): error C2338: static_assert failed: 'Attempting to cast between incomplete types'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\INCLUDE\type_traits(1298): error C2139: 'AGameModeBase': 정의되지 않은 클래스는 컴파일러 내장 형식 특성 '__is_base_of'에 대한 인수로 사용할 수 없습니다.C:\UE5\UE_5.4\Engine\Source\Runtime\Engine\Classes\Engine\GameInstance.h(29): note: 'AGameModeBase' 선언을 참조하십시오.C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\INCLUDE\type_traits(1298): note: 템플릿 인스턴스화 컨텍스트(가장 오래된 인스턴스화 컨텍스트)가C:\UE5\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(135): note: 컴파일되는 변수 템플릿 'const bool is_base_of_v<UObject,AGameModeBase>'에 대한 참조를 확인하세요.C:\UE5\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(135): error C2338: static_assert failed: 'Attempting to use Cast<> on a type that is not a UObject or an Interface'[19/43] Compile [x64] ABGameMode.cpp[20/43] Compile [x64] ABGameSingleton.cpp[21/43] Compile [x64] ABItemData.cpp[22/43] Compile [x64] ABPotionItemData.cpp[23/43] Compile [x64] ABHUDWidget.cpp[24/43] Compile [x64] ABSaveGame.cpp[25/43] Compile [x64] ABHpBarWidget.cpp[26/43] Compile [x64] ABItemBox.cpp[27/43] Compile [x64] ABScrollItemData.cpp[28/43] Compile [x64] ABPlayerController.cpp[29/43] Compile [x64] ABWeaponItemData.cpp[30/43] Compile [x64] ABStageGimmick.cppC:\UE5\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(88): error C2027: 정의되지 않은 형식 'AGameModeBase'을(를) 사용했습니다.C:\UE5\UE_5.4\Engine\Source\Runtime\Engine\Classes\Engine\GameInstance.h(29): note: 'AGameModeBase' 선언을 참조하십시오.C:\UE5\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(88): note: 템플릿 인스턴스화 컨텍스트(가장 오래된 인스턴스화 컨텍스트)가H:\Unreal Project\MyGame\UnrealProgrammingPart2-15\Source\ArenaBattle\Gimmick\ABStageGimmick.cpp(198): note: 컴파일되는 함수 템플릿 인스턴스화 'To Cast<IABGameInterface,AGameModeBase>(From )'에 대한 참조를 확인하세요. with [ To=IABGameInterface, From=AGameModeBase ]C:\UE5\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(88): error C2338: static_assert failed: 'Attempting to cast between incomplete types'C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\INCLUDE\type_traits(1298): error C2139: 'AGameModeBase': 정의되지 않은 클래스는 컴파일러 내장 형식 특성 '__is_base_of'에 대한 인수로 사용할 수 없습니다.C:\UE5\UE_5.4\Engine\Source\Runtime\Engine\Classes\Engine\GameInstance.h(29): note: 'AGameModeBase' 선언을 참조하십시오.C:\Program Files\Microsoft Visual Studio\2022\Community\VC\Tools\MSVC\14.38.33130\INCLUDE\type_traits(1298): note: 템플릿 인스턴스화 컨텍스트(가장 오래된 인스턴스화 컨텍스트)가C:\UE5\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(135): note: 컴파일되는 변수 템플릿 'const bool is_base_of_v<UObject,AGameModeBase>'에 대한 참조를 확인하세요.C:\UE5\UE_5.4\Engine\Source\Runtime\CoreUObject\Public\Templates\Casts.h(135): error C2338: static_assert failed: 'Attempting to use Cast<> on a type that is not a UObject or an Interface'[31/43] Compile [x64] ArenaBattle.cpp[32/43] Compile [x64] AnimNotify_AttackHitCheck.cpp[33/43] Compile [x64] ABUserWidget.cpp[34/43] Compile [x64] ABWidgetComponent.cpp[35/43] Compile [x64] BTTask_Attack.cpp[36/43] Compile [x64] BTDecorator_AttackInRange.cpp[37/43] Compile [x64] BTService_Detect.cpp[38/43] Compile [x64] BTTask_TurnToTarget.cpp[39/43] Compile [x64] BTTask_FindPatrolPos.cpp[40/43] Compile [x64] Module.ArenaBattle.cppTotal time in Parallel executor: 62.75 secondsTotal execution time: 70.98 secondsLogInit: Warning: Still incompatible or missing module: ArenaBattleLogCore: Engine exit requested (reason: EngineExit() was called)LogExit: Preparing to exit.LogXGEController: Cannot use XGE Controller as Incredibuild is not installed on this machine.LogXGEController: Cleaning working directory: C:/Users/cwi02/AppData/Local/Temp/UnrealXGEWorkingDir/LogPakFile: Destroying PakPlatformFileLogExit: Exiting.
-
미해결하루 10분 한달완성 선형대수학
행렬연산 가우스 조던소거
반갑습니다.행렬의 정의와 연산에x+2y+ z=1 -- (1) 1 2 1 13x+7y+3z=2 --(2) 3 7 3 24x+8y+2z=8 --(3) 4 8 2 81 식에 3을 곱하여 2식에 더하면-3 -6 -3 -3 3 7 3 2 4 8 3 2 로 계산되어 0 1 0 -1 4 8 3 2 가 되지 않 1 2 1 1 0 1 0 -1 4 8 3 2 가 되는이유가 궁금합니다,질문 : 1 2 1 1 을 2단계 식에 그대로 두는 이유가 무엇인지요
-
미해결[따라하면 취업되는 게임기획]MORPG 게임밸런스 기획
스테이지별 몬스터의 기준 능력치 중 체력과 공격력 비 설정
안녕하세요.금일 강의에서 추세선을 사용하여 공격력 및 체력의 밸런싱을 조절하는 방법을 배웠는데 제 생각에 체력이나 공격력을 추세선으로 밸런싱 잡은 후 체력과 공격력의 비율을 유지해도 될 것 같은데 따로 따로 공식화하여 잡으시는 이유가 있을까요?밸런싱이 제대로 되지 않을경우 체력과 공격력의 값 차이가 점점 벌어질 것 같아서 궁금증이 생겨서 질문드립니다.
-
미해결피그마(Figma)를 활용한 UI디자인 입문부터 실전까지 A to Z
섹션 12는 따로 파일이 없나요?
섹션12에 나오는 강의는 따로 수업 노트에 예제 파일이 안보여서 그러는데 공유가 안 되는 자료인가요?
-
해결됨실습으로 손에 잡히는 SQLD의 정석(2과목)
도커 환경설정 오류
도커 환경설정을 하려고 하는데 오류가 뜨네요..위 처럼 hello-world 명령어는 잘 실행되는 듯 한데 오류나는 이유를 잘 모르겠습니다.혹시 해결방법이 있을까요?
-
해결됨설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
./build 시 .v파일이 다른폴더에 있는경우도 실행가능한가요?
안녕하세요 맛비님chapter2 폴더의 build기준으로chapter2 안에 abc라는 폴더를 생성하고chpater2 안에 clock_gating_model.vabc 안에 tb_clock_generator.v 이 있다고 가정할때 build를 어떻게 수정해야 실행 가능할까요? 회사에서 rtl코드와 tb코드를 다른 폴더에 보관하라고 해서 부득이하게 질문드립니다.
-
해결됨한 입 크기로 잘라먹는 Next.js(v15)
SSR실습 질문
파라미터를 받아서 특정 도서 상세페이지로 이동하는 [id].tsx에서 이전에 사용하던export default async function fetchBooks(q?: string): Promise<BookData[]> { let url = `http://localhost:12345/book`; export default async function fetchBooks(q?: string): Promise<BookData[]> { let url = `http://localhost:12345/book`; if (q) { url += `/search?q=${q}`; } try { const response = await fetch(url); if (!response.ok) { throw new Error(); } return await response.json(); } catch (err) { console.error(err); return []; } }이 코드에서 아래와 같은 방식도 가능할까요? export default async function fetchBooks(q?: any): Promise<BookData[]> { let url = `http://localhost:12345/book`; if (typeof q === "string") { url += `/search?q=${q}`; } else if (typeof q === "number") { url += `/${q}`; } try { const response = await fetch(url); if (!response.ok) { throw new Error(); } return await response.json(); } catch (err) { console.error(err); return []; } }
-
미해결모든 개발자를 위한 HTTP 웹 기본 지식
특정 사례에 대한 PUT 실제 구현에 대한 질문입니다.
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? 예2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? 예3. 질문 잘하기 메뉴얼을 읽어보셨나요? 예[질문 내용]안녕하세요.PUT method를 사용할 때, 특정한 case에 대해서 현업에서는 어떤 방식으로 구현을 하는지 궁금합니다. 상황은 이렇습니다. DB에 다음과 같은 리소스가 있습니다. {'A':1,'B':2}. 이 것을 수정하기 위해 PUT method로 body에 {'B':3, 'C':4}를 담아서 요청을 날립니다.이 때의 결과는 PATCH 메서드와 다르게 replace의 의미를 충분히 고려하여 'A' 리소스를 삭제하고 {'B':3, 'C':4}가 되어야 하는지,아니면 요청으로 들어온 'B'와 'C'만을 고려하여 {'A':1, 'B':3, 'C':4}가 되어야 하는건지보통 어떤 식으로 구현하는지 궁금합니다. 저는 PATCH와 구분되게 첫 번째 방식이 맞지 않나 싶은데, 이런 것을 허용했을 때 PUT 메서드를 사용하면 리소스가 오염될 확률이 높지 않은 건지 궁금합니다.
-
미해결
"From Struggle to Success: Transformative Online Class Help for Every Student"
As education increasingly shifts towards online platforms, the need for additional support has grown, giving rise to online class help services. These services are designed to assist students with various aspects of their online learning experience, providing support that ranges from individualized tutoring to comprehensive exam preparation. This essay delves into the role of online class help services, the benefits they offer, and the challenges they face in the context of today’s digital education landscape.Online class help services are diverse, encompassing a range of offerings aimed at enhancing students’ academic performance. One common form of support is tutoring, where students receive personalized instruction in specific subjects or topics. This one-on-one interaction allows for a focused approach to learning, addressing areas where students may struggle and helping them build a deeper understanding of the material. Additionally, homework help services provide assistance with assignments, guiding students through the process of completing their work while ensuring they grasp the underlying concepts. For those preparing for exams, online platforms offer practice tests and review sessions to help students reinforce their knowledge and improve their test-taking skills.A major advantage of online class help services is the flexibility they provide. Traditional educational support often requires students to adhere to fixed schedules and attend sessions in person, which can be challenging for those with busy or unpredictable routines. Online services, however, offer the convenience of accessing online class help services help at any time and from any location. This flexibility is particularly beneficial for students who may be balancing work, family responsibilities, or other commitments alongside their studies. Furthermore, the ability to connect with experts from around the world introduces students to a variety of teaching styles and perspectives, enriching their learning experience.Personalization is another key benefit of online class help services. Unlike conventional classroom settings, where instruction is often generalized, online services can tailor their support to meet individual students’ needs. For instance, a student struggling with a particular math problem can receive targeted assistance from a tutor who specializes in that area, providing a customized approach that addresses their specific challenges. This level of personalized support can enhance students’ comprehension and performance, helping them achieve their academic goals more effectively.Despite these benefits, online class help services face several challenges. One significant issue is the variability in quality among different providers. With a plethora of options available, it is crucial for students to carefully evaluate the credentials and reputation of online help services to ensure they receive effective support. Inconsistent quality can lead to dissatisfaction and hinder academic progress, emphasizing the need for students to select reliable and reputable services.Additionally, the virtual nature of online interactions can sometimes create barriers to building meaningful relationships with tutors and peers. Face-to-face interactions often foster a sense of connection and correction
-
미해결[2025년 출제기준] 웹디자인기능사 실기시험 완벽 가이드
D유형 최종본제작 - D1 갤러리 이미지
D유형 최종본제작 - D1갤러리 이미지 3개 사용하라고 나와있는데 저렇게 많이 나열하는게 맞나요? 그리고 완성본 화면줄이면 이미지 전부 갤러리 탭보더 밖으로 나와서 배열되는데.. css제대로 된게 맞을까요
-
미해결키샷 입문•초급 : 극 사실적인 제품 이미지를 위한 키샷 렌더링 & 후보정 Part.1
엔비디아 설치 후 gou활성화되지 않는 이유
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - ★ 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.
-
해결됨[풀스택 완성] Supabase로 웹사이트 3개 클론하기 (Next.js 14)
reactQuery와 supabase의 channel등
reactQuery의 queryFn : ['users']supabase의 channel의const channel = supabase.channel("online_users", {부분users와 online_users의 쓰임새를 모르겠습니다.queryFn : ['users', userId]를 하면 useEffect의 의존성 배열처럼 userId의 값에 따라 실행되는게 맞나요?그럼 'users'는 뭔가요? 구조가 잘 와닿지 않습니다.ㅜㅜconst channel = supabase.channel("online_users", {도 "online_users"라는 이름값을 다른곳에서 사용할 때 쓰임새가 있는건가요?
-
미해결[개정판] 딥러닝 컴퓨터 비전 완벽 가이드
섹션5 <공지>
섹션5 <공지> 코드 https://github.com/chulminkw/DLCV <여기에 있나요?? 찾아도 없어서요.
-
미해결홍정모의 따라하며 배우는 C++
산술연산 질문
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. %연산은 근데 int만 되나요? int main(){int n, m;n = 3;m = 4;float a = 3.0;float b = 7.0;cout << a % b << endl;cout << (float)m%n<< endl;cout << m % n << endl;cout << m%(float)n << endl;} 이런식으로 찍어봤는데 다 오류가 나더라고요.왜 float는 안되는걸까요?
-
미해결비전공자도 이해할 수 있는 Docker 입문/실전
Access denied for user ‘root’@’localhost’ (using password:YES)
compose.ymlservices:instagram-server:image: 420787877062.dkr.ecr.ap-northeast-2.amazonaws.com/instargram-serverports:- 8080:8080depends_on:my-db:condition: service_healthymy-cache-server:condition: service_healthymy-db:image: mysqlenvironment:MYSQL_ROOT_PASSWORD: 00000000MYSQL_DATABASE: mydbvolumes:- ./mysql_data:/var/lib/mysqlports:- 3306:3306healthcheck:test: [ "CMD", "mysqladmin", "ping" ]interval: 5sretries: 10my-cache-server:image: redisports:- 6379:6379healthcheck:test: [ "CMD", "redis-cli", "ping" ]interval: 5sretries: 10 이렇게 yml을 설정하고docker inspect 명령어를 사용하여 mysql 정보를 gpt 한테 물어봤더니 아래와 같은 답변이 있었습니다. 현재 MySQL 컨테이너의 상태는 “healthy”로 보이며, 전체적으로 Docker Compose 설정이 잘 작동하고 있다. 하지만 MySQL의 Healthcheck가 Access denied for user 'root'@'localhost' (using password: YES) 오류 메시지를 출력하고 있다. 이는 MySQL이 root 사용자로 접속을 시도할 때 비밀번호 인증에 실패했다는 것을 의미한다. 이를 해결하기 위해서, 비밀번호를 ' 로 감싸서 String으로 인식하도록 유도 하기도 했지만 여전히 문제는 해결되지 않고 있습니다. 구글링을 해본 결과 도커 볼륨과 연관있는 것 같지만 정확한 이유를 모르겠습니다.
-
미해결리눅스 커널의 구조와 원리: 디버깅 - Basic [저자 직강 1부-2]
강의자료 관련 문의입니다.
안녕하세요 강사님. Arm 아키텍쳐 강의에 이어 리눅스 강의를 수강중인 학생입니다. 혹시 리눅스 강의도 Arm 아키텍쳐 강의처럼 강의자료 pdf 업로드가 가능한지 궁금합니다! 유익한 강의 항상 감사합니다.
-
해결됨한 입 크기로 잘라먹는 Next.js(v15)
On-Demand-ISR 방식을 index 페이지에 적용하는 방법
안녕하세요 선생님!해당 수업에서 On-Demand-ISR을 적용하기 위해 page/api/revalidate.ts 파일에 재 생성을 요청하는 handler 함수를 정의를 했습니다.// 강의에서 작성한 handler 코드 export default async function handler( req: NextApiRequest, res: NextApiResponse ) { try { // 인덱스 페이지를 요청받을 때 revalidate 되도록 하기 await res.revalidate("/"); // 재 생성이 잘 완료되었다는 걸 리턴함 return res.json({ revalidate: true }); } catch (err) { // 재생성 실패 했을 떄 실행할 코드 res.status(500).send("실패"); console.error(err); } } 현재 강의에서는 직접 localhost:3000/api/revalidate 를 입력해 수동으로 페이지를 재 생성했는데, 만약 인덱스 페이지 접속할 때마다 자동으로 페이지를 재 생성하고 싶으면 useEffect 훅을 사용하면 될까요? 아래는 제가 작성한 코드입니다! useEffect(() => { fetch("/api/revalidate") .then((res) => res.json()) .then((data) => { if (data.revalidate) { console.log("페이지가 성공적으로 재생 성되었습니다."); } }); }, []);
-
미해결Slack 클론 코딩[실시간 채팅 with React]
배포 방법
제가 백엔드 강의는 수강한 적이 없어서요, 대신 노드js 교과서 책을 구매해서 가지고 있는데..우선 프론트는 네트리파이로 배포 완료했습니다https://admirable-donut-f22cc6.netlify.app/백엔드 배포는 선생님 책 노드js 교과서 722쪽 AWS 배포하기 부터 보면서 하면 별 문제없지 진행할 수 있을까요? 추가적으로 백엔드쪽 코드 수정이 필요할지..배포할 레포 구조는 아래 처럼 루트 폴더 하위에 백엔드, 프론트 폴더 각각 있습니다
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
JPA강의에서 Build and run using 을 Gradle로 사용하는 이유 알 수 있을까요?
다른 강의에선 작동 속도때문에 전부 인텔리제이로 바꿔서 진행했었는데 강의 교안을 보면 스프링부트 3.2 이상부터는 gradle로 하라고 나와있어 궁금하여 질문드립니다.