묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨외워서 끝내는 네트워크 핵심이론 - 응용
VPN Client 문의드립니다.
선생님, 강의 잘 듣고 있습니다.VPN G to E 의 경우, VPN Client 프로그램이 필수인 것 같은데요. VPN 연결하였을 때, Client 가 향하는 SG 는 VPN Client 프로그램에 설정이 되어 있는 것일까요?중국에서 접속해도 부산에 있는 SG 로 연결되는 것으로 예시를 들어주셨는데 서울에 있는 SG 로 연결될 수도 있다면 이것은 client 에 설정을 강제 설정을 하는 것인지 궁금합니다.
-
해결됨프로젝트로 쉽게 배우는 Svelte(SvelteKit + Supabase)
화면 구성 설명용 도구 이름
화면 구성 설명하실 때 보여주는 도구 이름이 궁금합니다.
-
미해결실전! 스프링 부트와 JPA 활용2 - API 개발과 성능 최적화
(재질문)토이프로젝트에서 spring data jpa 기반으로 페이징 처리 중 궁금한 점 있습니다.
[질문 템플릿]1. 강의 내용과 관련된 질문인가요? 예2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? 아니오3. 질문 잘하기 메뉴얼을 읽어보셨나요? 예[질문 내용]저번에도 같은 질문을 올렸다가 질문이 두서가 없다보니 여쭤보려고 한 것을 잘못 물어본거같아서 다시 질문드립니다. Spring Data JPA를 바탕으로 토이프로젝트를 개발하고있고 Pageable 인터페이스를 활용하고 있습니다. 프로젝트에서 Item(품목)의 하위 개념으로 Product(제품)을 가지고 있습니다.(1:N - 품목 하나에 대해 여러개의 제품을 등록 할 수 있음)예를 들어 핸드폰이라는 Item(품목) 정보를 등록하고, 그 품목에 대한 Product(제품) ( 이를테면 아이폰10, 갤럭시S25, 샤오미)의 정보들을 등록합니다.이때 특정 품목(itemId)을 클릭하면 해당 품목에 대한 정보와 내가 등록한 product 리스트가 띄어지도록 하는 api 기능을 구현하려 했습니다. 처음에는 요청이 item컨트롤러로 디스패치하고, product와 itemId를 기준으로 패치조인하여 데이터를 받아오는 식으로 구현을 했는데.. product리스트를 불러오는 과정에서 페이징을 하고자 기존의 로직을 수정하니, 메인i 테이블인 item을 기준으로 페이징이 되는 문제가 발생했습니다. // page처리 시 문제가 발생하는 respository method@Query(value = "SELECT DISTINCT i FROM Item i LEFT JOIN FETCH i.productList WHERE i.id = :itemId",countQuery = "SELECT COUNT(p) FROM Product p WHERE p.item.id = :itemId")Page<Item> findWithProductsByItemId(@Param("itemId") long itemId, Pageable pageable); 그래서 제가 생각한 두가지 안이 있는데 이중에 어떤 것으로 개발해야할지 판단이 잘 서지않아 질문드립니다. 1) 응용계층에서 item에 대한 정보를 불러오는 item서비스 호출 + 위 item에 해당되는 product 리스트 정보들을 paging 하여 불러오는 페이징하여 불러오는 product서비스 호출 2) product를 메인으로 item과 n:1 패치조인하는 메소드를 productRepository에서 생성. 1번 방법이 맞는 것 같지만,, paging으로 데이터를 불러올 때마다 item쿼리를 한번씩 날려야하는게 비효율적인거 같기도하고,, 2번으로 하자니... 구현하고자 하는 기능은 item을 메인으로 product 목록을 불러오는 것인데,, 실제 동작은 Product가 메인으로(Product컨트롤러로 디스패치) 처리가 되다보니 이렇게 해도 될까 하는 의문이 들었습니다.이런 상황에서는 어떤 식으로 구현을 하는게 좋을지요. 고견을 여쭙니다 ㅠㅠ
-
미해결[Level 1] Qt를 이용한 Python 프로그래밍: 입문편
self가 있는 거와 없는 버튼
안녕하세요. 어느 강의에서는 hBtn1 = QPushButton("One")어느 강의에서는 self.pbtShowDialog = QPushButton(self)Button 객체를 선언할 때 self가 있는 거와 없는 것이 있습니다. 어떤 차이가 있는 것이며, 어떨때 self를 붙이나요?
-
해결됨Flutter 앱 개발 실전
강의 수강 기간 연장 요청드립니다.
안녕하세요.강의를 한번 더 기초부터 공부하고싶은데,만료시간이 다가와 혹시 시간이 부족하게 될까봐Flutter 앱 개발 기초 / 실전 강의 모두 기간 요청 드리고 싶습니다.
-
미해결
Flutter GetX의 사용 방식 질문
StatefulWidget을 사용하는 대신 StatelessWidget으로 변경하고 UI 상태 관리용 컨트롤러를 따로 만들어 상태 관리를 위임하여 사용하는 게 나쁜 방식이려나요?비즈니스 로직용 컨트롤러는 ~Service 로 작명하고, UI 상태 관리용 컨트롤러는 ~ScreenController 로 작명하여 SRP도 최대한 유지하려고 하는데요.
-
미해결비전공자를 위한 넓고 얇은 IT 지식 & 나의 개발 유형 알아보기! <M.B.I.T>
자료전체적으로업데이트바랍니다.구름모양이어딨나요??
자료전체적으로업데이트바랍니다.구름모양이어딨나요??
-
미해결Flutter 초입문 왕초보편
webview 영상처럼 3.0.4 버전으로 할경우 AGP 문제
webview 버전 3.0.4 진행중에 현재 영상처럼 지금 하고 있는데....agp 문제로 안된다고 하네요...어디에선 namespace가 잘못 잡혀 있다고 하기도 하고 ....수정 하고 접근하려고 하는데 .... 안되네요.. 어떻게 접근해야할지 모르겠네요.일단 flutter create . 명령어로 잘못된 부분을 수정했음에도 되지 동일한 로그로 고생중입니다.확인해주시면 감사하겠습니다.
-
미해결멀티OS 사용을 위한 가상화 환경 구축 가이드 (Docker + Kubernetes)
vagrant up 할때 해당 에러가 발생합니다
PS C:\Users\96tmd\Desktop\hsb\work\k8s-install\vagrant\scripts> vagrant upBringing machine 'k8s-master' up with 'virtualbox' provider...==> k8s-master: Box 'generic/ubuntu2004' could not be found. Attempting to find and install... k8s-master: Box Provider: virtualbox k8s-master: Box Version: >= 0==> k8s-master: Box file was not detected as metadata. Adding it directly...==> k8s-master: Adding box 'generic/ubuntu2004' (v0) for provider: virtualbox k8s-master: Downloading: https://vagrantcloud.com/generic/ubuntu2004 k8s-master:The box failed to unpackage properly. Please verify that the boxfile you're trying to add is not corrupted and that enough disk spaceis available and then try again.The output from attempting to unpackage (if any):bsdtar.EXE: Error opening archive: Unrecognized archive format
-
미해결비전공자도 이해할 수 있는 MySQL 성능 최적화 입문/실전 (SQL 튜닝편)
[실습] 인덱스 직접 설정해보기 / 성능 측정해보기 강의에서요.
-- 높은 재귀(반복) 횟수를 허용하도록 설정-- (아래에서 생성할 더미 데이터의 개수와 맞춰서 작성하면 된다.)SET SESSION cte_max_recursion_depth = 1000000; -- 더미 데이터 삽입 쿼리INSERT INTO users (name, age)WITH RECURSIVE cte (n) AS( SELECT 1 UNION ALL SELECT n + 1 FROM cte WHERE n < 1000000 -- 생성하고 싶은 더미 데이터의 개수)SELECT CONCAT('User', LPAD(n, 7, '0')), -- 'User' 다음에 7자리 숫자로 구성된 이름 생성 FLOOR(1 + RAND() * 1000) AS age -- 1부터 1000 사이의 랜덤 값으로 나이 생성FROM cte;-- 잘 생성됐는 지 확인SELECT COUNT(*) FROM users; SELECT n + 1 FROM cte WHERE n < 1000000 -- 생성하고 싶은 더미 데이터의 개수SELECT n + 1 이 먼저 실행되고 FROM cte WHERE n < 1000000 이부분이 실행되니까.n이 999999까지 실행되고 n + 1 =1000000 이니까 FROM cte WHERE n < 1000000이부분에 걸려서 1000000이 실행 안되는게 맞지 않나요?
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
3-K 시간초과 질문
안녕하세요, 선생님. 새해복 많이 받으시길 바랍니다. 3-K(#3179, 백조의 호수) 문제를 강의내용 기반으로 혼자 짜보았는데 2%채점 중에 항상 시간초과가 발생하여 질문 드립니다. 코드는 아래 링크와 같습니다.http://boj.kr/9a423cb3ee32415a8e66d7d1516881fe 기탐색한 큐를 재탐색하지 않도록 q.size가 끝날 때마다 q를 tempQ로 교체하도록 코드는 수정하였으나, 어디선가 불필요한 중복탐색이 발생하는 것으로 예상됩니다.다만, 저 혼자서는 해당 중복탐색 부분을 발견 못하여 도움을 요청 드립니다... 감사합니다.
-
미해결비전공자도 이해할 수 있는 MySQL 성능 최적화 입문/실전 (SQL 튜닝편)
커버링 인덱스(Covering Index)강의에서 질문이있습니다.
1.제가 비전공도 할수있는 데이터베이스강의를 듣고 이 강의를 듣고있는데요. user테이블에 name의 fk가 들어가는게 맞지 않나요? 빨간색 글씨로요. name id pk도 빨간색처럼 pk를 적어야 하지 않나요?아니면 name테이블과 name인덱스 테이블이 따로 있는건가요?2.인덱스가 새로운 테이블을 생성하는건가요?3.풀인덱스스캔 강의 질문있습니다.CREATE INDEX idx_name ON users (name); 이 구문이아래처럼 테이블을 미리 만드는건가요?
-
해결됨실리콘밸리 엔지니어가 가르치는 파이썬 장고 웹프로그래밍
0.0.0.0:8000 접속이 안됩니다
도커컴포즈 명령으로 실행시 localhost:8000은 접속이 되는데 .. 0.0.0.0:8000 도커서버로는 연결이 안됩니다 왜 그런가요?
-
해결됨10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
3-D 불! 문제 반례 질문
안녕하세요, 선생님. 새해복 많이 받으시길 바랍니다. #4179불! 문제에 대해, 아래 링크와 같이 코드를 짜봤습니다.(강의에서 설명해주신 반례(F가 없는 경우)를 처리하지 못하는 부분은 선생님 코드를 참고하여 수정을 해봤습니다.)http://boj.kr/a026e22915944cc9b8bfd1b8a9fd9905 지훈이에 대해 j_bfs 함수로 탈출가능한 경로를 탐색하여 j_bfs_visited에 거리값을 기록하고,불에 대해서도 f_bfs 함수로 별도로 경로를 탐색하여 f_bfs_visited에 거리값을 기록한 다음,마지막에 compare_bfs 함수에서 j_bfs_visited와 f_bfs_visited를 비교하는 조건을 추가하여, 탈출 가능한지 탐색하는 방식으로 코드를 짜보려 했습니다. 허나, 틀렸다고 결과(채점중11%에서 틀렸다고 판정됩니다.)가 나오네요... 나름대로 이것저것 경우를 생각하며 반례를 찾고 있는데 쉽지가 않아 도움을 요청 드립니다. 지훈이와 불에 대해 각각 BFS를 한 후, visited를 비교한다는 점에서 선생님 코드와 유사한 방식으로 풀릴 것이라 생각했는데, 미처 생각하지 못한 오류가 제 코드에 있는 것 같습니다. 혹시 제 코드에서 논리적으로 의심되는 바를 짚어주시면 감사드리겠습니다.
-
미해결3D 모델링 입문을 위한 라이노(Rhino) '꿀팁' Part.1
립스틱 모델링1
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - ★ 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.립스틱 모델링2 는 저부분 필렛을 주면 바깥으로 필렛이 들어가는데모델링1은 필렛을 주니 안으로 들어가요! 형태가 저렇게 되어도 괜찮은가요?
-
해결됨스프링부트로 직접 만들면서 배우는 대규모 시스템 설계 - 게시판
논리적 샤드를 구분 할 때 클라이언트의 해시 함수변경에 대하여
9:33논리적샤딩을 할 때에 해시함수를 %2 에서 %4로 바꿔야 하지 않나요? 그래서 클라이언트서버에서 분산디비 처리용 해시함수코드 내용을 바꿔야 한다고 생각이 들었습니다.제가 이해한바로분산 디비 처리를 위해서논리적 샤딩 처리물리적 샤딩 처리이렇게 순서대로 분산디비설정? 을 해야 하는 것으로 이해 했습니다.
-
미해결
Unlocking the Potential of Online Education: A Comprehensive Guide to Taking Classes Online
Online education has transformed the academic landscape, making learning more accessible, flexible, and efficient. Whether you are a high school student, college learner, or professional looking to upskill, taking classes online can offer numerous advantages. However, excelling in an online learning environment requires strategic planning, self-discipline, and an understanding of digital tools. This comprehensive guide explores the benefits, challenges, and best practices for successfully navigating online education.The Benefits of Taking Classes Online1. Flexibility and ConvenienceOne of the biggest advantages of online education is the ability to learn from anywhere at any time. Unlike traditional in-person classes, which require students to be present at a specific location, online courses provide greater flexibility. This makes it easier to balance education with work, family, and other responsibilities.Self-Paced Learning: nurs fpx 4035 assessment 2 allow students to complete assignments at their own speed, which is beneficial for those who prefer to study at different times of the day.Access to Global Institutions: Online classes remove geographical barriers, enabling students to enroll in prestigious universities and programs worldwide without relocating.2. Cost-EffectivenessOnline education is often more affordable than traditional schooling. Many universities and institutions offer online courses at reduced tuition fees, and students save on transportation, housing, and other associated costs. Additionally, digital learning materials replace expensive textbooks, further reducing expenses.3. Diverse Course OfferingsFrom degree programs to skill-based certifications, online education provides access to a vast array of subjects. Whether you're interested in business, computer science, healthcare, or creative arts, there are countless courses available to suit your academic and professional goals.4. Personalized Learning ExperienceOnline learning allows students to tailor their education to their needs. Many platforms use artificial intelligence (AI) and adaptive learning techniques to personalize content, recommend resources, and track progress.Interactive Learning: Multimedia elements such as videos, simulations, and quizzes enhance engagement.One-on-One Support: Many online programs offer tutoring sessions, discussion forums, and direct instructor access for additional guidance.5. Career Advancement OpportunitiesTaking online courses can boost career prospects by helping individuals gain certifications, enhance technical skills, and stay competitive in evolving job markets. Many employers recognize and value online degrees, particularly those from accredited institutions.Challenges of Online Learning and How to Overcome ThemDespite its advantages, online education presents challenges that students must address to succeed.1. Lack of Motivation and DisciplineWithout a structured classroom environment, some students may struggle with procrastination and motivation.Solution:Set clear academic goals and deadlines.Create a dedicated study space free from distractions.Establish a consistent study routine to stay on track.2. Limited Face-to-Face InteractionOnline learning can sometimes feel isolating due to a lack of in-person communication.Solution:Participate in virtual study groups and discussion forums.Engage with instructors and peers through video calls and messaging platforms.Attend live webinars and networking events to build connections.3. Technical Issues and Digital LiteracyA stable internet connection and familiarity with online learning tools are crucial for success.Solution:Ensure you have nurs fpx 4045 assessment 2 including a good computer and internet connection.Familiarize yourself with learning management systems (LMS) such as Canvas, Blackboard, or Moodle.Take advantage of tech support and tutorials offered by online programs.4. Managing Screen Time and Avoiding FatigueSpending extended hours on screens can lead to eye strain and decreased focus.Solution:Follow the 20-20-20 rule: every 20 minutes, look at something 20 feet away for 20 seconds.Take regular breaks to move around and refresh your mind.Use blue light filters or glasses to reduce eye strain.Best Practices for Succeeding in Online Classes1. Develop Strong Time Management SkillsEffective time management is key to excelling in an online learning environment.Use digital calendars or planners to schedule coursework and deadlines.Break large assignments into smaller, manageable tasks.Set aside dedicated study hours each day to build consistency.2. Actively Engage in Online DiscussionsEngagement is crucial for retaining information and making the most of online education.Participate in discussion boards and ask questions.Collaborate with classmates through group projects and shared documents.Attend live Q&A sessions or office hours to interact with instructors.ConclusionOnline education has revolutionized learning by offering flexibility, accessibility, and diverse academic opportunities. By leveraging technology, staying organized, and developing strong time management skills, students can maximize their online learning experience. While challenges such as lack of motivation, technical issues, and screen fatigue exist, they can be overcome with strategic approaches and self-discipline. As the digital landscape continues to evolve, online education will play a pivotal role in shaping the future of learning and career advancement. Whether you’re looking to earn a degree, upskill in your profession, or explore new subjects, embracing online education opens doors to endless possibilities.
-
해결됨LangGraph를 활용한 AI Agent 개발 (feat. MCP)
repository 클로닝 오류
git clone 하는 중에 error: inavalid path '2.6 SubGraph: LangGraph Agent를 Node로 활용하는 방법.ipynb'뜨면서 클론리포가 안되서요. 파일경로에 포함된 (:) 특수문자 때문이라고 gpt가 알려줬는데 원격저장소에서 파일 이름을 변경하기를 권장하네요..
-
미해결자바(javafx) 실전 데스크탑앱 프로젝트 - 유튜브관리앱
java11 ClipboardAssistance 를 찾지 못합니다.
다른 질문에서 eclipse 설정은 있는데혹시 intellij 에서 설정하는 법을 알 수 있을까요?
-
미해결김영한의 자바 입문 - 코드로 시작하는 자바 첫걸음
src가 안떠요
[질문 템플릿]1. 강의 내용과 관련된 질문인가요? 예2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? 아니오3. 질문 잘하기 메뉴얼을 읽어보셨나요? 예[질문 내용]여기에 질문 내용을 남겨주세요.강의에서는 src가 뜨는데 제 화면에는 src가 안떠요