묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
라벨 인코딩 반복문
수치형 민맥스 스케일링 할때는 반복문을 사용하지 않고 한번에 함수에 넣고 fit_transform하였는데 왜 라벨 인코딩 (문자열)은 한번에 처리 안되고 반복문을 통해서 하나씩 함수에 넣어야 하나요?
-
미해결Practical Testing: 실용적인 테스트 가이드
OrderRepositoryTest에서 단위테스트가 가능한가요?
@SpringBootTest class OrderRepositoryTest { @Autowired private OrderRepository orderRepository; @Autowired private ProductRepository productRepository; @DisplayName("해당 날짜의 모든 결제 내역을 조회한다.") @Test void findAllByDate() { // given LocalDateTime time1 = LocalDateTime.of(2024, 5, 11, 10, 0); LocalDateTime time2 = LocalDateTime.of(2024, 5, 10, 10, 0); Product product1 = createProduct("001"); Product product2 = createProduct("002"); Product product3 = createProduct("003"); Product product4 = createProduct("004"); productRepository.saveAll(List.of(product1, product2, product3, product4)); Order order1 = Order.builder() .products(List.of(product1, product2)) .now(time1) .build(); Order order2 = Order.builder() .products(List.of(product3, product4)) .now(time2) .build(); orderRepository.saveAll(List.of(order1, order2)); // when LocalDate findDate = LocalDate.of(2024, 5, 11); List<Order> findOrders = orderRepository.findAllByDate( findDate.atStartOfDay(), findDate.plusDays(1).atStartOfDay(), OrderStatus.INIT ); // then Assertions.assertThat(findOrders).hasSize(1); } private static Product createProduct(String number){ return Product.builder() .productNumber(number) .productType(ProductType.HAND_MADE) .sellingType(ProductSellingType.SELLING) .name("test") .price(1000) .build(); } } OrderRepositoryTest에서 매서드 테스트를 할 때, Order와 Product는 1대다 다대1로 연관관계 매핑되어 있는 상태인데, 그러면 위와 같이 작성할 경우, productRepository와 관련된 코드가 들어가니, 단위테스트가 깨지는거 아닌가요? 이럴때 어떻게 해야하나요?
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part1: C++ 프로그래밍 입문
이중포인터 질문
처음 const char* msg = "hello";를 선언하고Setmassge(msg)실행해서Setmassage(const char* a){ a = "bye"; }이 코드가 "bye"로 바뀌지 않는 이유가 const타입이라서 *a 를 사용할 수 없어서 바뀌지 않는 건가요? 그래서 a = "bye"라는 문법을 사용한거고 근데 이 문법은 인자로 받은 msg(hello)를 원본을 건드리는게 아닌 대입하는 식이어서 bye의 주소를 대입만하고프로그램이 종료되니 아무 쓸모가 없는게 맞나요? 만약 맞다 하면 이중 포인터도 const 타입인데 어떻게 *a를 사용할수 있는건지 궁금합니다(원본을 건듬) 잘이해가 가지않네요 ㅠㅠ
-
미해결설계독학맛비's 실전 Verilog HDL Season 2 (AMBA AXI4 완전정복)
valid/ready handshake에서 질문있습니다
=================현업자인지라 업무때문에 답변이 늦을 수 있습니다. (길어도 만 3일 안에는 꼭 답변드리려고 노력중입니다 ㅠㅠ)강의에서 다룬 내용들의 질문들을 부탁드립니다!! (설치과정, 강의내용을 듣고 이해가 안되었던 부분들, 강의의 오류 등등)이런 질문은 부담스러워요.. (답변거부해도 양해 부탁드려요)개인 과제, 강의에서 다루지 않은 내용들의 궁금증 해소, 영상과 다른 접근방법 후 디버깅 요청, 고민 상담 등..글쓰기 에티튜드를 지켜주세요 (저 포함, 다른 수강생 분들이 함께보는 공간입니다.)서로 예의를 지키며 존중하는 문화를 만들어가요.질문글을 보고 내용을 이해할 수 있도록 남겨주시면 답변에 큰 도움이 될 것 같아요. (상세히 작성하면 더 좋아요! )먼저 유사한 질문이 있었는지 검색해보세요.잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.==================\ 안녕하세요 !! 우선 강의 너무 잘듣고 있습니다1.제가 궁금한질문이 강의 초반 46초 강의자료에서는 A가 master로 valid신호를 output으로 내보내고, B가 slave로 ready신호를 내보내는데, 이 반대가 되어야 하는거 아닌가요??Master에서 ready신호를 내보내, slave에서 data받을 준비가 되었다고 알고, handshake가 일어나도록 해야하는것으로 알고 있었는데 제가 알고있던것과 정 반대가 되어서 질문입니다.두번째로 실습자료보면 i_hs와 o_hs로 input side와 output side에서 handshake가 일어난다고 보셨는데 이는 inputside에서 slave와 master가 있는것이고 outputside에서 slave와 master가 있어, 각 2개의 master와 slave가 존재하는 것인가요??
-
미해결선형대수학개론
27분 40초 Example 3. 질문 있습니다.
Example 3에 나온 행렬에서 pivot position이 2개가 있다는 건 echelon form을 구해봐야 알 수 있는 건가요??
-
미해결실전! Querydsl
Querydsl 설정과 검증 질문있습니다.
Querydsl 설정과 검증 12분에서 QHello파일에서 public static final QHello hello=new QHello("hello"); 이렇게 있는데Hello resutlt=query.selectFrom(qhello).fatchOne(); 이코드에서 어떻게 result값이 Hello@10909가나오는건가요?qhello이란 단어가 QHello파일에서 없어요.
-
해결됨파이썬 API 마스터! FastAPI
파라미터 문의
안녕하세요.from typing import list 추가해줬고, 다음과 같이 작성하였는데 docs 에서 테스트 하려고 보니 파라미터를 받는 부분이 없네요.설명 부탁드립니다.아울러 fast api를 처음 접하는 사람들은 이게 실행이 어떻게 되고 어떻게 swagger ui를 활용하고 타입힌트가 뭐고 등등의 세부적인 설명이 필요할 듯한데 이러한 부분이 좀 더 추가되었으면 합니다. 완전 초심자를 타켓층으로 하는 강의인데 생각보다 생략되는 부분이 많네요.from typing import List@app.get("/test_items/") async def read_items(q : List[str] = None): query_items = {"q" : q} return query_i
-
해결됨MySQL 성능 최적화
innodb deadlock detect 비활성화 질문
https://fromdual.com/innodb-deadlock-detect-rather-hands-off요 글을 보면 페이스북과 같은 엄청난 동시성 트랜잭션을 처리하는 서버가 아닌이상 웬만하면 innodb_deadlock_detect=on으로 하는걸 권장하는 글로 보입니다. 국내 기업 한정에서 실무에선 off로 하는 경우가 있을까요? 제 생각엔 lock으로 인한 성능상 문제가 있다면 off로 하는 것 보단 아키텍처 관점(레디스 사용 등)에서 성능 문제를 해결하는게 더 좋을것 같아서요..! 저 글과 같이 off로 했을 경우 스레드의 잠금이 계속해서 쌓여서 어느순간 max_connections을 초과하게 되었다는데.. off로 할 경우 innodb_lock_wait_timeout을 줄이고 max_connections을 높여 가면서 성능 테스트를 해서 적절한 값을 세팅하는 것이 좋을까요? off로 했을 경우 성능상 큰 이점이 있는 건지 감이 잘 오지 않습니다 ㅠ 강의 자료 노션에는 practice가 있는데 영상은 없네요 ㅠㅠ 의도하신 건지 궁금합니다아
-
미해결Vue3 완벽 마스터: 기초부터 실전까지 - "실전편"
vscode 자동완성 관련하여 동작하지않을 때가 있습니다..
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요. 현재 vue3 강의 열심히 듣고 있는데요, 가끔 vscode에서 vue 파일을 생성하고 나면 해당 파일을 인식하지 못해서 자동완성 같은 것이 안될 때가 있습니다. 이럴 때 vscode를 껐다가 키면 다시 인식하기는 하는데 원인을 찾아봐도 알 수가 없네요.. 이는 짐코딩님이 알려주신 환경이 아닌 vscode로 vue를 사용할 때 전반적으로 나타나는 현상 같은데요, 혹시 이런 현상이 발생하지않으시나요? 혹시 발생하신다면 극복 방법이나 팁 같은 것 있으신가요? 안될 때마다 vscode를 껐다 키는 것이 너무 불편하네요..
-
미해결[따라하면 취업되는 게임기획]역기획서/BM분석과개선제안서/창작기획서
1, 2강 관계시스템 레퍼런스 게임 제목 아시는 분 계시나요?
1, 2강에 사용된 관계시스템 역기획서 레퍼런스 게임을 해보고 싶은데,써니라이더님께서는 굉장히 유명한 게임이라고 하셨는데... 저는 이 게임을 잘 몰라서 여쭈어봅니다.혹시 해당 강의의 레퍼런스가 된 게임의 원작 제목을 아시는 분 있나요?
-
해결됨MySQL 성능 최적화
ssd 에선 innodb_flush_neighbors을 0으로 하면 될까요?
hdd에서 유용한것 같아서 ssd를 사용하면 1이나 2로 안해도 성능상 영향이 없는걸로 봐도 될까요?
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
MVC와 API
안녕하세요!!다름이 아니라 제가 그럼 프론트엔드 기술(react, vue 등)을 모르는데 혼자 화면까지 나오는 프로젝트를 진행하고 싶다면 SSR인 템플릿 엔진을 이용한 MVC패턴으로 개발하는 게 API 방식보다 더 나을까요?? 그러기엔 템플릿 엔진을 사용하더라도 JS나 css는 기본적으로 할 줄 알아야 하는데 ㅜㅜ 따로 JS나 CSS를 배우지 않고서는 혼자서는 무리겠죠?? 아 그리고 MVC 패턴이 SSR방식이고 API가 CSR 방식이라고 이해해도 괜찮을까요??
-
해결됨MySQL 성능 최적화
innodb_buffer_pool_instances 기준 질문 드립니다
강의나 real mysql 책을 보면 os memory 기준으로 innodb_buffer_pool_instances 수를 조절하는것으로 나와있는데요.좀더 검색해보니 어디든 core 수 * 2 기준으로 하는 글도 있더라구요..!! 어떤걸 기준으로 잡아야 하는지 궁금해서 질문드립니닷 참고한 블로그https://owlyr.tistory.com/23
-
미해결
Flexibility Redefined: Navigating NURS FPX Programs with Capella FlexPath
In an ever-evolving healthcare landscape, nursing professionals seek dynamic and flexible learning experiences to meet their academic and career aspirations. Capella University's FlexPath model, combined with the capella flexpath assessments, provides a flexible approach to nursing education that caters to the diverse needs of students. This unique educational experience offers students the autonomy to tailor their learning journey while acquiring the knowledge and skills necessary for success in the nursing field. Flexibility Meets Personalizationnurse writing services learning approach allows students to work at their own pace, offering the freedom to advance quickly through material they understand or take their time with more challenging content. This flexibility helps students balance their studies with work, family, and other commitments, making education more accessible and manageable.The FlexPath model also emphasizes personalized learning paths. Students can focus on areas of interest or align their coursework with their career goals, making the learning experience more relevant and engaging. Competency-Based Assessments for Real-World ReadinessThe NURS FPX programs integrate competency-based assessments to evaluate students' proficiency and readiness for real-world nursing practice. These assessments require students to apply their knowledge in practical scenarios, fostering critical thinking, problem-solving, and decision-making skills. This approach prepares students for the complexities of healthcare and equips them with the tools to succeed in Annotated Bibliography on Technology in Nursing. Expert Support and MentorshipCapella FlexPath students benefit from dedicated support and mentorship throughout their educational journey. Faculty mentors, academic advisors, and peer support networks provide guidance, feedback, and encouragement to help students navigate their coursework and assessments. This collaborative environment fosters growth and confidence, empowering students to excel in Informatics and Nursing Sensitive Quality Indicators. Collaborative Learning and Networking OpportunitiesWhile FlexPath offers self-paced learning, students can still engage in collaborative projects and discussions with their peers. These opportunities for interaction and networking enrich the learning experience, enabling students to gain new perspectives and insights. Collaboration also prepares students for teamwork and interprofessional collaboration in Preliminary Care Coordination Plan. Emphasizing Evidence-Based Practice and LeadershipThe NURS FPX programs emphasize evidence-based practice, quality improvement, and leadership development. This focus equips students with the skills and knowledge needed to drive positive change in healthcare and lead interdisciplinary teams. By mastering these competencies, students can become influential leaders and innovators in the nursing profession. Adapting to Changing Healthcare NeedsCapella FlexPath and NURS FPX programs are designed to adapt to the ever-changing needs of the healthcare industry. Students learn to navigate emerging trends and challenges, ensuring they stay current with best practices and advancements in nursing. This adaptability is crucial for delivering high-quality patient care and improving healthcare outcomes. ConclusionCapella FlexPath and NURS FPX programs offer a flexible approach to nursing education that empowers students to take control of their learning journey. By combining personalized learning paths, competency-based assessments, and expert support, students gain the knowledge and skills needed to excel in their nursing careers. As healthcare continues to evolve, this innovative approach ensures that nursing professionals are well-prepared to meet the demands of the industry and make a positive impact on patient care and healthcare delivery.
-
해결됨한 입 크기로 잘라 먹는 리액트(React.js) : 기초부터 실전까지
코드보관소 코드랑 강의내용이랑 씽크가 안되있음
코드보관소 코드랑 강의내용이랑 씽크가 안되는거 단원들이 몇개 있는거 같습니다.10강,11강 보면 코드보관소 코드의 내용이 한챕터씩 밀려서 올라가 있는거 같습니다.예를 들어 실제 코드보관소 section 11의 chapter2 열어보면 10.4강 내용의 소스입니다.section 11의 chapter3을 열어보면 11.2 강의 내용 같구요.그 이전강의도 있었는데 몇강인지 기억이 안나네요..전반적으로 씽크가 안맞는게 좀 있습니다.수정 부탁드려요..
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
webapp폴더는 그냥 만들기만 하면 url매핑 안해도 접근이 가능한데 이유가 뭔가요?
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]webapp폴더는 그냥 만들면 url매핑 안해도 접근이 가능한데 이유가 뭔가요?
-
미해결AWS Certified Solutions Architect - Associate 자격증 준비하기
IAM Policy Simulator
안녕하세요,Mone.Kim이 역할로서 EC2 Full Access 권한 정책이 할당되어 있다면 (섹션 2의 IAM 역할 실습에서 했던 그대로), IAM Policy Simulator 에서 EC2를 simulate했을 때 모두 Denied 로 뜨는 것이 맞는 건가요?저는 역할로 EC2 Full Access 권한이 있기 때문에 Allowed 가 뜰 줄 알았는데 All Denied로 표시되어서요.감사합니다.
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
로그인 회원가입에서 더 붙이기
로그인 회원가입 로직만 떼어서, 디자인패턴을 1군데 이용해서 3클래스 이상 변화시킬라고 하는데요추가로 더 보완하는 느낌이에요이 패턴중에서 적용할만한 패턴과, 어디에 적용해야할지 가이드좀 잡아주실 수 있나요?
-
해결됨자바와 스프링 부트로 생애 최초 서버 만들기, 누구나 쉽게 개발부터 배포까지! [서버 개발 올인원 패키지]
MVC vs API
아 아까 MVC와 API의 차이에 대해 질문했었는데요...제가 그럼 프론트엔드 기술 (react, vue 등)을 모르는데 혼자 화면까지 나오는 프로젝트를 진행하고 싶다면 SSR인 템플릿 엔진을 이용한 MVC패턴으로 개발하는 게 더 나을까요??그러기엔 템플릿 엔진을 사용하더라도 JS나 css는 기본적으로 할 줄 알아야 할 거 같은데 ㅜㅜ혼자서는 무리겠죠??
-
미해결설계독학맛비's 실전 FPGA를 이용한 HW 가속기 설계 (LED 제어부터 Fully Connected Layer 가속기 설계까지)
[Board 49-71] 보드가 잡히지않는다고 에러가 뜹니다.
우선 보드를 추가하는 과정에서 동영상과 달리 오른쪽 상단에 추가버튼이 없어 고민하는 중에 refresh 버튼을 눌러보니 사진처럼 생성되어 다운로드하고 넘겼습니다 이것이 문제가 되었는지 Generate Bitstream 을 하는 과정에서 에러가 발생되었습니다. 그리고 제 파일에는 zybo z7파일을 넣을 board_parts가 없고 다른 폴더에 있습니다.