묻고 답해요
130만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결대세는 쿠버네티스 [초급~중급]
hpa 추가할 때 이런 메시지가 떠요!
apiVersion: autoscaling/v2beta2 kind: HorizontalPodAutoscaler metadata: name: hpa-resource-cpu spec: maxReplicas: 10 minReplicas: 2 scaleTargetRef: apiVersion: apps/v1 kind: Deployment name: stateless-cpu1 metrics: - type: Resource resource: name: cpu target: type: Utilization averageUtilization: 50
-
미해결앨런 iOS 앱 개발 (15개의 앱을 만들면서 근본원리부터 배우는 UIKit) - MVVM까지
safe area와 view차이 질문입니다.
위에서 보여주는 예시가 BMI만드는 예시인데요 stack view의 왼쪽 오른쪽에 제약을 거는 건데요. 제약을 걸때 view와 safe area중 정하는데 여기서 view라 함은 super view를 말하는 건지요? 그렇다면 제가 검색을 해보니까 safe area와 super view는 위 아래는 다르지만 왼쪽과 오른쪽에선 범위 차이가 없던데 맞나요? 그래서 제약을 하실때 safe area를 안하시고 그냥 view로 하셨는지 궁금합니다. 감사합니다.
-
미해결자바(Java) 알고리즘 문제풀이 입문: 코딩테스트 대비
코드 확인 부탁드립니다 ㅠ
import java.util.*; public class Main { public static void main(String[] args){ Scanner sc = new Scanner(System.in); int n = sc.nextInt(); int[][] arr = new int[n][n]; for(int i = 0; i < n; i++) { for(int j = 0; j < n; j++) { arr[i][j] = sc.nextInt(); } } int m = sc.nextInt(); int[] moves = new int[m]; for(int i = 0; i < m; i++){ moves[i] = sc.nextInt(); } ArrayList<Stack<Integer>> board = new ArrayList<>(); for(int i = 0; i < n; i++) { Stack<Integer> temp = new Stack<>(); for(int j = 0; j < n; j++) { if(arr[n-1-j][i] == 0) break; temp.push(arr[n-1-j][i]); } board.add(temp); } Stack<Integer> basket = new Stack<>(); int result = 0; for(int i = 0; i < m; i++) { int num = moves[i]-1; Stack<Integer> stack = board.get(num); if(stack.empty()) continue; int popNum = stack.pop(); if(!basket.isEmpty() && basket.peek() == popNum) { basket.pop(); result += 2; } else { basket.push(popNum); } } System.out.print(result); } }어느 부분에서 틀린지 모르겠습니다. 확인 해주시면 감사하겠습니다.ㅠㅠ
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
1-A. 문제가 왜 틀렸는지 모르겠습니다
http://boj.kr/bc50e94cb11649708526317af568f56e이렇게 코드를 짜고, 예제1도 제대로 돌아가는데 어디서 왜 틀렸는지를 잘 모르겠습니다. ㅜㅜ 그리고 저는 조합만 생각했었는데, 왜 순열로도 풀이를 하시는지 이해가 잘 안됩니다. 순열은 순서가 중요하다고 알고있는데, 현재 여기서는 순서가 아무 상관 없지 않나요? 조금만 더 자세히 설명 해주시면 감사하겠습니다그리고, 2:03 부분 쯤에 순열을 가리키시면서 순서에 상관 없이 뽑는다고 하시는 부분이 이해가 안됩니다.
-
미해결김영한의 실전 자바 - 중급 1편
열거형 Stringing - ENUM 에서 질문
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]안녕 하세여. 궁금중이 생겨서 질문을 남깁니다.영한님 코드 중에, String에서 ENUM으로 변환 하는 방법을 보여주셨습니다.근데. 왜? 쓰는지 이유를 모르겠더라고요.(귀찮아 보이고요)사진에 보인 것 처럼그냥 name() 메서드를 써서 바로 불려내면 될 것이란 생각도 되고,Grade gold1 처럼 그냥 Grade.GOLD를 써서 바로 담으면 되는 거 아닌가? 라는 생각도 하게 됩니다.왜 이렇게 쓰는 이유 좀 알켜 주시면 안되나요?추가 - 코드를 이렇게 쳐보니 되더라고요.답변 부탁 드립니다.
-
미해결
REST Api 뷰 페이지 반환
제가 @RestController 를 사용해서 백엔드 API로 구현을 했는데view 페이지도 만들어 보려고 합니다.아직 관련 개념이 정확하게 잡히지 않은 것 같아서 질문 드립니다.이럴 경우 @Controller로 새로운 클래스를 만들어야 하나요아니면 기존 @RestController의 return값들을 제가 만든 view 페이지로 설정해주면 되나요?
-
미해결
AI Essay Writer: Your Free Essay Writing Tool
Against the quickly changing backdrop of writing tools, MyEssayWriter.ai is a shining example of efficiency and creativity. This free essay writing tool uses artificial intelligence (AI) to change the writing experience for users in a variety of fields, from professionals creating engaging content to students managing academic projects. Advanced AI Technology at Your FingertipsWith sophisticated algorithms and machine learning powers, MyEssayWriter.ai offers unparalleed essay-writing assistance. Because of its ability to comprehend and assess material, it may provide users with smart edits, suggestions, and ideas that help them write better. Intelligent AssistanceOne of the hallmark features of MyEssayWriter.ai is its intelligent assistance. The tool goes beyond simple grammar checks by analyzing the context of the text. It offers suggestions to improve clarity, coherence, and overall quality, empowering users to refine their ideas and communicate them effectively. Grammar and Style EnhancementEffective communication hinges on impeccable grammar and style. MyEssayWriter.ai aids users in enhancing their writing by highlighting grammatical errors and offering suggestions for corrections. It ensures that every sentence is polished and professional, leaving a lasting impact on the reader. Plagiarism Detection and PreventionIt is crucial to write with originality and academic integrity. A powerful plagiarism detection tool in MyEssayWriter.ai thoroughly examines the content to find any instances of plagiarism. The application gives users confidence that their work is genuine by encouraging uniqueness. Customizable Settings for Personalized WritingWriting is a deeply personal endeavour, shaped by individual preferences and styles. MyEssayWriter.ai recognizes this diversity and offers customizable settings such as tone, voice, and complexity level. Users can tailor the tool to align with their writing preferences, ensuring a seamless and personalized writing experience. Unlocking Efficiency and Skill DevelopmentMyEssayWriter.ai is not just a tool; it's a catalyst for efficiency and skill development. By streamlining the writing process and providing real-time feedback and suggestions, the tool saves users time and effort. This efficiency allows users to focus on refining their writing skills and crafting compelling, well-structured essays. Real-Time Feedback for Continuous ImprovementThe real-time feedback system of the tool plays a crucial role in promoting ongoing enhancement. Users can pinpoint areas for growth and gradually enhance their writing abilities by using the targeted comments and assistance that they receive. MyEssayWriter.ai is a journey of expertise and evolution. Seamless User Experience for AllUser experience is given top priority at MyEssayWriter.ai, guaranteeing usability and accessibility for users of all skill levels. Regardless of the user's level of experience, navigating around it is simple thanks to its intuitive and user-friendly interface. MyEssayWriter.ai improves writing for everyone, from pros creating impactful material to students handling academic essays. How MyEssayWriter.ai Works: A Closer LookLet's explore deeper into the workings of MyEssayWriter.ai which is an AI essay writer | free essay writing tool, to understand how it empowers users to write with confidence and precision. 1. Input Text and AnalysisFirst, users enter their essay topic or draft into the interface of this tool. Subsequently, the tool does a thorough analysis of the text, pointing out any grammatical mistakes, making recommendations for style and structural changes, and offering an overall coherence assessment. 2. Editing and RefinementEquipped with enlightening recommendations, individuals can go ahead and revise their essay using MyEssayWriter.ai. They can even rephrase their content by using a paraphraser. The program provides a smooth editing experience, enabling users to fine-tune their ideas, make the required changes, and guarantee a polished and expert product. 3. Final Output and PublicationOnce the editing is finished, MyEssayWriter.ai produces a polished and expertly written essay. The finished product perfectly captures the user's thoughts and is prepared for submission or publishing. To sum up, MyEssayWriter.ai proves to be a revolutionary AI-powered essay writing tool that enables users to realise their complete writing potential. Its sophisticated features, adaptable settings, and smooth user interface make it an invaluable tool for anyone trying to improve their writing and generate essays of the highest calibre. Writing is made to be more than simply a chore with MyEssayWriter.ai, which opens doors to success in school and the workplace.FAQsWhat are essay writing tools powered by AI?Artificial intelligence-powered software programs are known as AI-driven essay-writing solutions. They help users create high-quality written content by evaluating text, making comments and recommendations, finding mistakes, and giving advice on how to improve writing abilities. How do essay writing solutions powered by AI operate?AI-driven essay writing solutions employ complex algorithms and machine learning skills to analyze and comprehend content entered by users. They offer feedback on coherence and clarity, identify errors in grammar, offer style and structure recommendations, and occasionally even possess plagiarism detecting capabilities. Are AI-powered essay writing tools suitable for students?Without a doubt, students stand to gain from AI-driven essay writing tools as they can aid in the development of writing abilities, provide guidance on essay structure and topic, offer grammar and style checks, and assist in producing original and well-written essays. Can artificial intelligence-based essay writing software identify plagiarism?Several AI-driven essay writing systems have plagiarism detection tools that scan the content for any instances of plagiarism. This guarantees that the written work respects requirements for academic integrity and fosters originality. Do essay writing tools powered by AI supplant human writers?Essay writing tools driven by artificial intelligence (AI) are designed to support human writers, not to replace them. Even while these technologies can automate some writing processes and offer insightful feedback, human authors' creative and critical thinking abilities remain vital. Can MyEssayWriter.ai identify plagiarism?Actually, the advanced plagiarism detection algorithm of MyEssayWriter.ai searches the content for instances of plagiarism. It makes it easier for users to write honestly, which promotes creativity and preserves academic integrity.
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
영속성에 대해
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]강의 듣다가 궁금해져서요!@Transactional 어노테이션 안에 메소드에선 영속성이고 그게 아니면 준영속성이라는 말씀이신건가요??
-
미해결
QueryDSL 의 조회 결과가 이상합니다.
오늘 날짜 기준으로 지난 예약건들을 조회하고 싶어서 QueryDSL 을 사용하게 되었는데 조회 결과가 이상하게 나와서 질문 올립니다. INSERT INTO Reservation (client_id, guide_id, name, reservated_at) VALUES (1, 2, 'Reservation -1Y', DATETIME('now', '-1 years')), (1, 2, 'Reservation -72', DATETIME('now', '-3 days')), (1, 2, 'Reservation -48', DATETIME('now', '-2 days')), (1, 2, 'Reservation -20', DATETIME('now', '-20 hours')), (1, 2, 'Reservation -16', DATETIME('now', '-16 hours')), (1, 2, 'Reservation -12', DATETIME('now', '-12 hours')), (1, 2, 'Reservation -8', DATETIME('now', '-8 hours')), (1, 2, 'Reservation -4', DATETIME('now', '-4 hours')), (1, 2, 'Reservation now', CURRENT_TIMESTAMP), (1, 2, 'Reservation +4', DATETIME('now', '+4 hours')), (2, 1, 'Reservation +8', DATETIME('now', '+8 hours')), (2, 1, 'Reservation +12', DATETIME('now', '+12 hours')), (1, 2, 'Reservation +16', DATETIME('now', '+16 hours')), (1, 2, 'Reservation +20', DATETIME('now', '+20 hours')), (1, 2, 'Reservation +48', DATETIME('now', '+2 days')), (1, 2, 'Reservation +120', DATETIME('now', '+5 days')); 해당 쿼리를 통해 데이터를 삽입하였으며, 삽입된 날짜 데이터는 [2024-05-10 03:57:51] 이렇게 들어가있습니다. Hibernate: select r1_0.id, r1_0.client_id, r1_0.guide_id, r1_0.name, r1_0.reservated_at from reservation r1_0 where r1_0.reservated_at<? 2024-05-10T16:57:52.472+09:00 TRACE 20848 --- [ Test worker] org.hibernate.orm.jdbc.bind : binding parameter (1:TIMESTAMP) <- [2024-05-10T16:57:52.185060600] 우선 공통적으로 모든 쿼리들의 로그는 위와 같습니다. 하지만 해당 결과로는 0 건이 조회됩니다. SELECT r1_0.id, r1_0.client_id, r1_0.guide_id, r1_0.name, r1_0.reservated_at FROM reservation r1_0 WHERE r1_0.reservated_at > '2024-05-10T16:57:52.185060600'; 위와 같이 진행했을 때에는 T 때문인지 5월 11일 이후의 데이터들만 조회되고 SELECT r1_0.id, r1_0.client_id, r1_0.guide_id, r1_0.name, r1_0.reservated_at FROM reservation r1_0 WHERE r1_0.reservated_at > '2024-05-10 16:09:14.649686900'; 위와 같이 진행했을 때에는 시간에 맞게 잘 조회되는 모습입니다. return queryFactory .selectFrom(reservation) .where(reservation.reservatedAt.lt(LocalDateTime.now())) .fetch(); return queryFactory .selectFrom(reservation) .where(reservation.client.id.eq(clientId) .and(reservation.reservatedAt.before(LocalDateTime.now()))) .fetch();위 처럼 QueryDSL 을 사용하였을 때도 처음 로그가 발생하며 데이터가 0개 조회되고 List<Reservation> findByClientIdAndReservatedAtBefore(Long client_id, LocalDateTime reservatedAt); List<Reservation> findByClientIdAndReservatedAtLessThanEqual(Long client_id, LocalDateTime reservatedAt);JPA 를 사용하였을 때도 마찬가지로 동일한 로그와 0건의 데이터가 조회됩니다.도대체 뭐가 문제인지 모르겠습니다...참고로 엔티티에서 reservatedAt 은 LocalDateTime 으로 설정하였습니다.
-
미해결실전! FastAPI 입문
PyCharm 내 Python Console 사용 질문
WSL2를 사용해 강의를 따라가고 있습니다.파이참에서 파이썬 콘솔을 실행하면 위와 같이 재시작, 정지, 한 줄씩 실행 버튼이 잘 보이는 경우가 있고, 아래처럼 보이지 않는 경우가 있습니다. 이런 경우는 뭐가 문제일까요?또한, 파이썬 콘솔에서 코드를 작성한 이후 엔터를 입력해도 다음 줄로 넘어가기만 하고 실행이 되지 않습니다.한 줄씩 실행하려면 alt + shift + e 이렇게 입력해야 하는데, 이렇게 코드를 실행하게 되면 여러 줄은 또 실행되지 않습니다... 뭐가 문제인지 알려주시면 감사하겠습니다.
-
미해결Next + React Query로 SNS 서비스 만들기
searchParams props
안녕하세요search 페이지 props에서 searchParams props가 기본적으로 제공된다고 알고있는데 저는 콘솔로 찍어보니 나오지 않습니다..! 혹시 제가 잘못적용한건지 아니면 다시한번 확인해야 될곳이 있을까요?/import SelectBox from "@/components/common/SelectBox"; import SelectStack from "@/components/common/SelectStack"; import Peoples from "@/components/people/Peoples"; import SearchForm from "@/components/common/SearchForm"; type Props = { searchParams: { page: string; size: string; sort?: string; keyword?: string; position?: string; teckStack?: string; }; }; export default function Page({ searchParams }: Props) { console.log("??", searchParams); return ( <div> <div className="relative flex items-center gap-4"> <h1 className="text-[36px] font-bold">People</h1> </div> <div className="flex justify-between"> <div className="flex gap-3"> <SelectBox options={option} title="포지션" /> <SelectStack /> </div> <SearchForm keyword={searchParams.keyword as string} /> </div> <Peoples searchParams={searchParams} /> </div> ); }
-
미해결퀘이사(Quasar) 완벽 마스터: Vue 프론트 웹을 빠르게 만들고 싶다면! (Based Vue3)
q-upload 문의 드립니다.
안녕하세요quasar 강좌를 듣고파일 업로드 관련하여 q-upload 를 사용 하여 파일 업로드를 진행 하였습니다.백엔드는 fastapi 를 사용 하였으며소스는 아래와 같습니다.<q-uploader class="full-width" label="첨부파일 (for <78k size)" no-thumbnails v-model="files" accept=".jpg,.jpeg,.png,.gif,.pdf,.doc,.docx,.xls,.xlsx, .mp4" multiple hide-upload-btn auto-upload :factory="handleFileAdded" :upload_progress-label="uploadProgress" @rejected="onRejected" @removed="handleFileRemoved" /> <script setup> 부분 const files = ref([]); // 업로드된 파일 목록을 담을 배열 const uploadFile2 = async (file, uploadId, fileKey) => { const formData = new FormData(); formData.append('file', file); formData.append('uploadId', uploadId); formData.append('fileKey', fileKey); try { const response = await axios.post( `http://127.0.0.1:8000/api/v1/attachFile/Create`, formData, { headers: { 'Content-Type': 'multipart/form-data', Authorization: `Bearer ${localStorage.getItem('auth/access_token')}`, }, onUploadProgress: function (progressEvent) { const { loaded, total } = progressEvent; const progress = Math.round((loaded * 100) / total); uploadProgress.value = progress; console.log('uploadProgress.value', uploadProgress.value); console.log(`Upload Progress: ${progress}%`); }, }, ); return response.data; } catch (error) { console.error('Error uploading file:', error); throw error; } }; const handleFileAdded = async newFiles => { for (const file of newFiles) { try { const attachFile = await uploadFile2(file, uploadId, file.__key); console.log(attachFile.attach_id); console.log(`File uploaded successfully:`, attachFile); files.value.push(file); } catch (error) { console.error(`Error uploading file ${file.name}:`, error); } } }; 실행 하면 파일은 정상적으로 백엔드 서버에 등록되고등록된 파일 정보도 리턴되어 잘 받아 집니다.하지만 주의 표시아이콘과 파일 업로드 상태가 0% 로 표시 됩니다.선배님들의 조언 부탁 드립니다.감사합니다.
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part9: MMO 컨텐츠 구현 (DB연동 + 대형 구조 + 라이브 준비)
3~4일 간격으로 CPU 99% 사용되는 문제
안녕하세요? 루키즈님 덕분에 서버에 대해 많은 것을 배우고 저만의 프로젝트도 개발하고 있는 개발자 입니다.(항상 감사하게 생각하고 있습니다.) 질문은3~4일 간격으로 CPU가 99% 사용되는 문제가 발생하여 원인 분석 차CPU가 99% 사용되는 현상이 발현된 시점에 visual studio 성능 프로파일러를 통한 결과를 얻었습니다.헌데 ServerCore.Listner.OnAcceptCompleted에서 많은 양의 CPU를 사용하고 있는 것으로 파악되는데실제로 Connect요청은 없었습니다.심지어 DummyClient를 이용해 1000명의 플레이어가 기본플레이 까지 했을때도 발생안하다가, 3~4일 후 아무도 접속안하고있는 시점에 발생합니다. 아래 RecvBuffer 코드와 diagsession 정보를 보시고 답변 부탁드립니다.혹여 정보가 부족하거나 추가로 확인 필요한 부분 말씀해주시면 다시 확인해서 질문드리겠습니다.감사합니다.diagsession 캡쳐화면RecvBuffer 코드buffer size : 65535public class RecvBuffer { ArraySegment<byte> _buffer; int _readPos; int _writePos; public RecvBuffer(int bufferSize) { _buffer = new ArraySegment<byte>(new byte[bufferSize], 0, bufferSize); } // [r] [] [] [w] [] [] [] [] [] [] [] 일때 // <Data>[r] [] []</Data> <Free>[w] [] [] [] [] [] [] []</Free> // read의 위치 public int DataOffset => _buffer.Offset + _readPos; // read ~ write까지의 사이즈 public int DataSize => _writePos - _readPos; // write의 위치 public int FreeOffset => _buffer.Offset + _writePos; // wirte ~ buffer의 마지막 public int FreeSize => _buffer.Count - _writePos; public ArraySegment<byte> ReadSegment => new ArraySegment<byte>(_buffer.Array, DataOffset, DataSize); public ArraySegment<byte> WriteSegment => new ArraySegment<byte>(_buffer.Array, FreeOffset, FreeSize); public void Clean() { int dataSize = DataSize; if (dataSize == 0) { // 남은 데이터가 없으면 커서 위치만 리셋 _readPos = _writePos = 0; return; } // 남은 데이터가 있으면 시작위치로 복사 Array.Copy(_buffer.Array, DataOffset, _buffer.Array, _buffer.Offset, dataSize); _readPos = 0; _writePos = dataSize; } public bool OnRead(int numOfBytes) { if (numOfBytes > DataSize) return false; _readPos += numOfBytes; return true; } public bool OnWrite(int numOfBytes) { if(numOfBytes > FreeSize) return false; _writePos += numOfBytes; return true; } }
-
미해결견고한 결제 시스템 구축
UPDATE_PAYMENT_EVENT_EXTRA_DETAILS_QUERY 실행 시 오류
안녕하세요 강사님실제 결제 테스트 진행 시 아래와 같은 오류가 발생하는데혹시 토스에서 리턴하는 값이 달라져서 값 타입이 안맞아서 그런걸까요..?강사님이 제공해주신 깃헙으로 진행하더라도 동일한 에러가 발생합니다ㅠㅠ
-
미해결ASP.NET Core MVC +ASP.NET Core +REST API +.NET 8.0
CS1963 오류
안녕하세요 강사님현재 올려주신 강의를 근간으로 현업에서 새로운 페이지를 개발중입니다...그런데 제가 뭘 잘 못 했는지 아래와 같은 오류를 계속 발생시키는데 뭐가 문제일까요..?
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
"상품 목록 - 타임리프" 강의 관련 질문입니다.
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]여기에 질문 내용을 남겨주세요.thymeleaf 템플릿을 이용하여 만든 items.html의 코드 상에 <link th:href="@{/css/bootstrap.min.css}" href="../css/bootstrap.min.css" rel="stylesheet">이 부분에 대해서 질문이 있습니다.localhost:8080/basic/items 로 접속을 하면 BasicController의 items 메소드에 의해서 /basic/items.html 인 뷰 템플릿을 렌더링 하는것 까지는 이해했습니다.제가 아직 html 코드에 익숙하지 않아서 궁금한 점인데, 1번째 질문.th:href="@{/css/bootstrap.min.css}" 이 부분에서 thymeleaf가 자동으로 내부에서 localhost:8080/css/bootstrap.min.css 를 호출해서 정적 리소스 내에 존재하는 bootstrap.min.css 파일을 찾고 items.html 과의 관계(rel="stylesheet")를 정의해주는건가요...??? 2번째 질문.그래서 th: 태그가 없는 경우에는 정적으로 static/html/items.html이기 때문에 href="../css/bootstrap.min.css" ../를 통해서 static 디렉토리로 올라간 다음 거기서 부터 다시 static/css/bootstrap.min.css 를 탐색하는건가요??
-
미해결워드프레스(WordPress) 완전정복
wordpress에서 js파일 모듈작업
wordpress에서 js파일을 작게 쪼개서 관리를 하려고 모듈작업을 하려고 좀 찾아봤는데 시원하게 나온게 별로 없더라구요. webpack을 이용해서 하는 방법도 있는거 같은데 좀 이해가 되지 않는거 같구요. 혹시 강사님이 쓰시는 방법이 있으시다면 소개좀 부탁드립니다.^^여기서 지금 일주일째 못나가고 있네요.ㅠㅠ
-
미해결Next + React Query로 SNS 서비스 만들기
하트 클릭 시 Hearts 배열 업데이트 관련 질문
하트 버튼을 눌러서 Heart 배열에 userId를 넣어줄 때Hearts: [...value.pages[pageIndex][index].Hearts, { userId: session?.user?.email as string }],위와 같이 기존 Hearts 배열에 본인 userId 값을 추가하는 방식이 아니라Hearts: [{ userId: session?.user?.email as string }],이렇게 Hearts 배열에 본인 userId 값만 넣어주는 이유는 무엇인가요? 어차피 보여지는 결과는 동일하기 때문에 굳이 배열을 복사하는 과정을 거치지 않아 성능을 높이기 위함이라고 보면 될까요?
-
미해결Next + React Query로 SNS 서비스 만들기
프리즈마로 api만드시는 강의는 언제쯤 나올지 알 수 있을까요?
안녕하세요 선생님프리즈마로 api만드시는 강의는 언제쯤 나올지 알 수 있을까요?직접만든 api랑 이번수업에서 배울next로 플젝을 만들고 싶은데 궁금합니다.
-
미해결김영한의 실전 자바 - 중급 2편
4. 컬렉션 프레임워크 - LinkedList 오타 수정
[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예)[질문 내용]여기에 질문 내용을 남겨주세요. 4 컬렉션 프레임워크 - LinkedList pdf 파일의 33 페이지 MyLinkedListV3.java 코드의 toString() 메서드에 반환이 MyLinkedListV1으로 되어있습니다. MyLinkedListV3으로 수정 해주시면 감사하겠습니다.