묻고 답해요
130만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결코드로 배우는 React with 스프링부트 API서버
useParam() 사용 질문
학습을 하던 중 코드에 궁금중이 생겨 질문드립니다.현재 modifyPage.js를 보면 인자에 tno를 받아와 사용하고 있습니다.그리고 readPage.js에서는 useParam()을 이용해 tno 값을 받아와 사용하고있는걸 확인하고 readPage에서도 ModifyPage 에서 처럼 useParam()을 사용하지 않고 인자로 받아와 사용하는 방식으로 해보았는데 오류가 나는데 왜그런걸까요?위의 코드를이렇게 바꾸면 오류가 납니다.
-
미해결실전! Querydsl
환결설정 질문입니다.
https://www.inflearn.com/questions/979214/hello-unittest%EC%97%90%EB%9F%AC 와 같은에러가 납니다. 코드도 같아요. 현재 프로젝트 환경설정 부분중이구요. 그런데 답변에서 시퀀스를 생성하라는데 어떻게 하는건가요? 강의 교재에서도 HELLO_SEQ 이런단어는 없고 제 인텔리제이에도 이런단어는 없습니다.
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
@GetMapping("variable")이라고 작성해도 되는 이유
실습시 BasicController에서 @GetMapping("/variable")@GetMapping("variable")둘 다 http://localhost:8080/basic/variable입력시 컨트롤러 호출이 되는것을 확인할 수 있었습니다. 왜 후자의 variable도 가능한건가요?
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
시험에서 질문이 있습니다.
시험에 전반적으로 궁금한 점인데요예를 들어 작업형1 모의문제1에서 2번문제 같은경우 주어진 데이터에서 결측치가 30%이상 되는 컬럼을 찾고 해당 컬럼에 결측치가 있는 데이터(행)를 삭제 함. 이런 조건이 있는데요 이런 문제를 풀때 그냥전체 갯수에서 30%에 해당하는 갯수 확인하고isna().sum()이용해서 30% 넘어가는것 갯수확인하고해당하는 column 확인해서 그냥 지정해서 지워주고 이런식으로 풀면 되는건가요? 아니면count=len(df)*0.3 check=df.columns for i in check: if df[i].isna().sum()>count: df=df.dropna(subset=i)이런 식으로 코드 내에 30%를 확인해서 지워주는 부분을포함해야 하는지 궁금합니다.
-
미해결이득우의 언리얼 프로그래밍 Part2 - 언리얼 게임 프레임웍의 이해
클래스로 매크로만들기 되나요?
안녕하세요.질문1. uproject로 regenrate되는게 계속 안보여서,(윈11이지만,며칠전까진 보였거든요) 매크로를 못만들어서 수업을 중단했습니다 ㅠㅠvs다시깔고,언리얼5.3(현재사용버전)다시깔려면,,시간이2시간은 날아갈거라(헤매면서 깔거든요) 아까워서,하지만,그방법밖엔 없는거같은데, 매크로를 못만들면,진행이 안되서...에디터에서 클래스만들듯이 만들진 못하나요? vs , ue5.3 다 새로 설치했는데, 메뉴만 안뜹니다.질문2. 작업할게있어서,커스텀엔진을 쓰고있는데,빌드된 에디터라 간혹 재빌드할거냐고 팝업이 뜰때가 있었는데(물론 소스코드없이 에디터만 있는거라 빌드하진않았습니다),그때 비주얼스튜디오를 켜놓은적이 있습니다. 혹시 그거때문에 프로그램이 바뀔수도 있나요?혹시나 지워봤는데, 상관이 없는거같습니다...
-
미해결[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형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파일에서 없어요.
-
해결됨[2024, 강의록 업로드] 나도 파이썬 백엔드 개발자!: 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.
-
해결됨[2024] 한입 크기로 잘라 먹는 리액트(React.js) : 기초부터 실전까지
코드보관소 코드랑 강의내용이랑 씽크가 안되있음
코드보관소 코드랑 강의내용이랑 씽크가 안되는거 단원들이 몇개 있는거 같습니다.10강,11강 보면 코드보관소 코드의 내용이 한챕터씩 밀려서 올라가 있는거 같습니다.예를 들어 실제 코드보관소 section 11의 chapter2 열어보면 10.4강 내용의 소스입니다.section 11의 chapter3을 열어보면 11.2 강의 내용 같구요.그 이전강의도 있었는데 몇강인지 기억이 안나네요..전반적으로 씽크가 안맞는게 좀 있습니다.수정 부탁드려요..