묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨외워서 끝내는 네트워크 핵심이론 - 기초
REST API 와 RESTful API에 대해
안녕하세요 강사님,항상 유익한 강의들 감사합니다.강사님 강의들로 인해 많은 걸 배우고 있어요.수업을 듣던 중 한가지 궁금한 점이 있어 글을 남깁니다.RESTful API 는 강사님의 설명 덕분에 너무 잘 알겠는데.. REST API 는 무엇인가요? 그리고 RESTful API 와 REST API 의 차이점이 무엇인가요? 항상 감사합니다. Best regards,Minji Kim
-
미해결김영한의 실전 자바 - 기본편
자바 메모리 구조와 static 질문있습니다.
첫번째 코드(접근 제어자 문제2번)는 배열을 선언안하고 세번째 코드(자바 메모리 구조와 static 문제1번)는 배열을 선언했는데요. 관리하기 쉬울려고 배열 선언하는건가요? ex:static Item[] tota_llist=new Item[3]; 두번째 문제 질문있습니다.혹시 static변수안에서는 static int total=0; 이런식으로 static 매개변수 사용 못하나요? average()함수에서 사용할 목적입니다. 생성자로 static int total;이 방법 밖에 없나요?package ex4; public class MathArrayUtils { private int[] values; private MathArrayUtils(int[] value) { this.values = value; } public static int sum(int[] values) { static int total=0; for (int ii : values) { total+=ii; } return total; } public static int average(int[] values) { } public static String min(int[] values) { } public static String max(int[] values) { } }
-
미해결대세는 쿠버네티스 (초급~중급편)
CA 방식 관련 질문입니다.
강의 자료에서 제공된 vagrantfile을 이용하여 쿠버네티스 클러스터를 구축한 상태이고 여기에 CA방식을 추가로 사용하려고 합니다. AWS IAM이나 네이버 클라우드 플랫폼을 사용하여 현재 구성된 클러스터에 CA방식을 접목한 방식을 사용하려면 어떻게 해야하나요?
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
7회 기출 소문제 2-1 궁금합니다!
학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요!질문과 관련된 영상 위치를 알려주면 더 빠르게 답변할 수 있어요먼저 유사한 질문이 있었는지 검색해보세요알찬 강의 너무너무 감사드립니다!선생님의 강의와 함께 다음달 시험을 위해서 열심히 달려가는 중입니다..😊😊 기출7회의 소문제 2-1에서 상관관계가 가장 높은 변수를 찾으라고 할때7회의 작업형 1처럼df_corr=df.corr().abs()print(df_corr[1:].idxmax()) 값으로 구했는데요!상관관계 값을 보고싶을 때는 어떤 함수를 작성하면 될까요 ?df_corr.sort_values(ascending=False)이렇게 정렬한 다음에df_corr[1]이렇게 확인하는 것이 맞을까요 ?다른 좋은 방법이 있을까요 ?
-
미해결[핵집] 2025 빅데이터 분석기사(필기)_과목 3~4
회귀방정식에서의 신뢰구간 구하는법 문의드려요
안녕하세요 1~2듣고 3~4듣고있는 수강생입니다2차 회귀방정식에서 신뢰구간을 구하고 싶습니다 혹 1차 회귀방정식에서 구하는 신뢰구간 구하는 공식과 동일할까요?
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
POST 컨트롤러를 수행한 뒤에도 현재 페이지를 보여주는 방법
POST 매핑 동작을 수행한 뒤에도 기존에 머물렀던 페이지로 리다이렉트 하는 방법이 있을까요?예를 들어, 로그아웃 버튼을 클릭한 뒤에도 기존 페이지를 보여주는 상황이 이에 해당됩니다.그렇다면 현재 페이지의 주소에 대한 정보를 컨트롤러에서 가지고 있어야 할텐데 어떤 방식으로 구현하는 것이 좋을지 궁금해서 질문 남깁니다.
-
미해결
firestore subcollection 삭제 질문
firestore에서 subcollection을 삭제하는 함수를 지원하지 않아서subcollection안의 모든 doc을 삭제하는걸로 대체하려고 하는데모든 doc을 삭제하려면 또 doc들의 ID가 필요합니다.doc들의 ID 없이도 특정 컬랙션 안의 doc들을 모두 삭제할 수 있는 방법이 있을까요?
-
미해결김영한의 실전 자바 - 기본편
접근 제어자-문제풀이1번 질문있습니다.
package ex3; public class MaxCounter { static int count; private int maxcount; public MaxCounter(int x) { this.maxcount=x; } public void increment(){ if (count<maxcount){ count++; } else{ System.out.println("최대값을 초과할 수 없습니다."); } } public int getCount(){ return count; } }위에처럼 풀어도 되나요? 작동되긴 합니다.
-
미해결호돌맨의 요절복통 개발쇼 (SpringBoot, Vue.JS, AWS)
JPAQueryFactory(em)의 객체 생성자 오류에 대해서 질문이 있습니다ㅜㅜ
자꾸 이 오류가 뜹니다..제가 gradle로 하기엔 지금 프로젝트를 하고 있는게 maven이라 메이븐으로 따라가고 있는데 자꾸 생성자를 못찾는다고 뜨네요...ㅠㅠ 왜이러는지 모르겠어요.. 뭔가 설정이나 그런걸 잘못한건가요?
-
미해결대세는 쿠버네티스 (초급~중급편)
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 AI 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 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 is a revolutionary AI-powered essay writing tool enabling 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 caliber. 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 improving 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 grammar errors, 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> ); }