묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결데이터 분석 SQL Fundamentals
having절에서 alias 사용은 안되는건가요?
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.Group By 실습 -01 강의 ,1분 20초select deptno, max(sal) as maxsal , min(sal) as minsal, round(avg(sal),2) as avgsal from hr.emp egroup by e.deptno having round(avg(sal), 2) >=2000;avgsal >= 2000 을 사용하려했는데, 안되더군요. 원래 having절에서는 안되나요?
-
해결됨[리뉴얼] 맛집 지도앱 만들기 (React Native & NestJS)
갑자기 실행이 안됩니다..
error: node_modules\react-native-reanimated\src\reanimated2\index.ts: Cannot find module 'babel-plugin-module-resolver'Require stack:- C:\Users\gimse\Documents\dogfoot\dogfeet\front\node_modules\@babel\core\lib\config\files\plugins.js- C:\Users\gimse\Documents\dogfoot\dogfeet\front\node_modules\@babel\core\lib\config\files\index.js- C:\Users\gimse\Documents\dogfoot\dogfeet\front\node_modules\@babel\core\lib\index.js- C:\Users\gimse\Documents\dogfoot\dogfeet\front\node_modules\metro-transform-worker\src\index.js- C:\Users\gimse\Documents\dogfoot\dogfeet\front\node_modules\metro\src\DeltaBundler\Worker.flow.js- C:\Users\gimse\Documents\dogfoot\dogfeet\front\node_modules\metro\src\DeltaBundler\Worker.js- C:\Users\gimse\Documents\dogfoot\dogfeet\front\node_modules\jest-worker\build\workers\processChild.jsMake sure that all the Babel plugins and presets you are using are defined as dependencies or devDependencies in your package.jsonfile. It's possible that the missing plugin is loaded by a presetyou are using that forgot to add the plugin to its dependencies: youcan workaround this problem by explicitly adding the missing packageto your top-level package.json.
-
미해결
Affenhuahua Socialization: Helping Your Dog Make Friends
Do you have an Affenhuahua? These small dogs are a mix of Affenpinscher and Chihuahua. They are full of energy and love to play. But to be their best, they need to meet new people and other dogs. This is called socialization, and it helps them become friendly and well-behaved.Socializing your Affenhuahua is very important. It helps them feel happy and relaxed in different places and with different people. This article will guide you on how to help your Affenhuahua make friends and enjoy life to the fullest.The Importance of Socialization for AffenhuahuasSocialization is crucial for Affenhuahuas because it helps them feel comfortable in various situations. This process starts when they are puppies and continues as they grow. By meeting new people, playing with other dog breeds, and exploring different places, your Affenhuahua learns to be confident and less anxious.Without proper socialization, Affenhuahuas can become fearful or aggressive. This can lead to problems like excessive barking, biting, or hiding. Early and consistent socialization teaches them how to behave appropriately and enjoy the company of others, making them more pleasant companions.Socialization is especially important for Affenhuahuas that serve as emotional support animals (ESAs). These dogs need to be well-behaved and calm in various settings to provide comfort and support to their owners effectively. An ESA letter, which certifies your dog as an emotional support animal, often requires that the animal is well-behaved and can handle different social situations. By ensuring your Affenhuahua is well-socialized, you help them fulfill their role as a supportive ESA, enhancing their ability to assist you and improving their quality of life.The Affenhuahua TemperamentAffenhuahuas is a mix between Affenpinschers and Chihuahuas, inheriting traits from both breeds. They are known for their lively and playful nature, but they can also be a bit stubborn and independent. These small dogs are often very affectionate with their families but can be wary of strangers.Understanding their temperament helps in planning socialization activities. Knowing that they can be cautious with new people and dogs, you can introduce them gradually to new experiences. This approach helps build their confidence and ensures they have positive interactions.The Benefits of Socializing Your AffenhuahuaSocializing your Affenhuahua is crucial for their overall well-being and development. It helps them become well-rounded dogs who are comfortable and confident in various situations. Here are some key benefits of socializing your Affenhuahua:Reduces Fear and Anxiety: Exposure to different people, places, and sounds helps them adapt and feel secure. This reduces the chances of developing phobias or anxiety-related behaviors.Prevents Behavioral Problems: Dogs that are not socialized may become aggressive or overly timid. By meeting other dogs and people, your Affenhuahua learns appropriate behavior, reducing issues like excessive barking or biting.Enhances Physical Health: Playdates and walks with other dogs encourage exercise, which is vital for maintaining a healthy weight and cardiovascular health. Regular physical activity also helps prevent obesity-related problems.Improves Mental Stimulation: New experiences challenge your dog’s brain, keeping them mentally sharp. This can prevent boredom, which often leads to destructive behaviors like chewing or digging.Increases Adaptability: Whether it's moving to a new home or meeting new pets, a well-socialized Affenhuahua can adjust more easily. This adaptability makes them more resilient and less stressed by changes in their environment.Promotes Good Manners: Through positive interactions, your Affenhuahua learns good manners, like greeting people politely and playing gently with other dogs. This makes them more pleasant to be around and welcomed in various settings.Some Resources for Dogs InformationRealESALetter.com: This website provides information on emotional support animals (ESAs) and how to get your dog certified as an ESA. It's a valuable resource for understanding the benefits and requirements of having an ESA, and it offers guidance on housing and travel regulations for pets.AKC.org: The American Kennel Club (AKC) is a well-known and trusted source for information about dog breeds, training, and health. AKC.org offers detailed articles, expert advice, and resources for dog owners. It's an excellent place to learn about breed-specific traits, training tips, and general dog care.Dogtime.com: Dogtime.com provides comprehensive information on various dog breeds, training advice, and health tips. It features articles on dog behavior, grooming, and nutrition. This site is great for both new and experienced dog owners looking for practical advice and interesting articles about dogs.To Sum it Up, Socializing your Affenhuahua is essential for their happiness and well-being. By understanding their temperament and gradually introducing them to new experiences, you help them become well-adjusted and friendly companions. Utilizing resources from reputable websites can provide you with the knowledge and support you need to ensure your dog thrives in social situations. With patience and consistent effort, your Affenhuahua will enjoy making friends and exploring the world around them.Helpful ResourcesEmotional Support Animals in the Workplace: What You Should KnowHow to Obtain an ESA Letter: A Step-by-Step GuideUnderstanding Dog Behavior: What Your Dog is Trying to Tell YouHow to Choose the Right Dog Breed for Your Lifestyle
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
카이제곱 독립성(동질성 검정) 코드에서요~
처음에 노션 이론 부분에서 stats.chi2_contingency(table, 이 담에 correction=True) 로 되어있었는데 코랩 실습에서 "correction=True"를 안 쓰셔서요. 안 써도 되는 건가요???
-
해결됨Next + React Query로 SNS 서비스 만들기
react-query onMutate vs onSuccess / mutate vs mutateasync 가장 적절한 쓰임이 궁금합니다.
안녕하세요. 첫번째 질문은 onMutate vs onSuccess 인데 사실 낙관적 업데이트를 해주냐 안해주냐에 따라서 기호에 따라 다른 경우는 알겠습니다. 제가 궁금한거는 onSuccess invalidatequeries를 무지성으로 사용해도 query-key외 따로 전달 되는 params값이 중요하진 않은 것 같아서 쉽게 적용 했었던 기억이 있는 것 같습니다/ 예를 들면 onSuccess를 해주는 mutation에 invalidatequeries로 invalidatequeries(['key', {...}])를 굳이 안하고 invalidatequeries(['key']) 요거만 해줘도 새로 캐싱된 API를 새로 조회 하는 것 같더라구요. 근데 onMutate를 쓰려는 경우에 getQueryData에 query-key 정보와 그에 매칭하는 파라메터를 정확하게 넘겨주지 않으면 undefined 같은데 애초 설계 할때 getQueryData뒤에 보내는 파라메터를 잘 가져 올 수 있게 해야 할지 혹시 다른 방법이 있는지 궁금합니다. query에서 find해서 찾기는 보장이 안되는 것 같구요? 이건 사용자가 셀렉트 박스로 막 선택해서 조회 다시 이전것 조회 요런식으로 하다보니 마지막으로 선택된 파람 정보가 명확하진 않더라구요. 현재는 혹시 모르니 전부 searchParams로 개편은했지만.... 실제 프로젝트에서는 어드민성(?) 서비스를 제공 해서 ux는 딱히...?????? 엄청 중요한 않기도 했고 지식도 부족해서 onMutate 대신에 onSuccess를 썼지만 보통은 좀 어떻게 잘 써야하는지 궁금합니다. 2번째 질문은 이건 진짜 뭘 더 써야하는지 모르겠습니다.쓰임에 따라 다르게 써야한다면 어떤 경우인지 취향에 차이라면 취향것 쓰면 되는건지 궁금합니다
-
미해결[코드팩토리] [입문] 9시간만에 끝내는 코드팩토리의 Javascript 무료 풀코스
혹시 공부한 내용을 개인 블로그(티스토리 등)에 요약해서 올려도 될까요 ?
제목 그대로입니다. 출처 명시하여 요약된 내용을 정리해서 올려도 될까요 ?
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
bits/stdc++.h 파일을 추가하고 실행을 하려고 하는데 cin, cout 등 기본 함수에 에러가 발생합니다,
stdc++.h를 추가하기 위해서 gcc --version를 통해 경로를 확인하고 해당 경로로 가서 include폴더 안에 bits폴더를 생성해서 stdc++.h파일을 추가하고a.cpp파일을 만들어서 실행을 했는데 가장 기본 함수인 cin, cout그리고 string자체가 에러가 납니다,,,환경은 맥 m2 프로이고 vscode로 실행했습니다추가) #include <iostream>으로 변경했더니 됩니다ㅠㅠ 뭐가 문제일까요?추가22) 해결했습니다!! iostream은 되길래 iostream파일 경로로 가서 확인했더니 /Applications/Xcode.app/contents/Developer/~이 경로가 아니고 다른 경로였고 해당 경로에 있던 bits폴더의 stdc++.h에 넣어놨던 내용들이 다 초기화되서 아무것도 없더라구요,,, 그래서 다시 넣어줬더니 잘 실행이됩니다!!찾아보니까 xcode를 업데이트 하면서 내용들이 날아간것 같더라구욥! 혹시 다른 분들께 도움이 될 수도 있어 해결방법까지 남겨놓겠습니다!
-
해결됨[코드팩토리] [초급] NestJS REST API 백엔드 완전 정복 마스터 클래스 - NestJS Core
yarn add express 를 해도 Cannot find module 이슈
yarn add express 을 여러번 하고,구글링을 통해 현재는 node_modules 가 생성되지 않는 것까지 파악했습니다.{ "name": "NestJS", "packageManager": "yarn@4.2.2", "dependencies": { "express": "^4.19.2" } } 현재 의존성이 다음과 같이 세팅되어 있는데 맨 위 사진처럼 cannot find modules 가 나오는데, 방법이 있을까요? - 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.코드팩토리 통합 링크https://links.codefactory.aiFlutter 강의를 구매하시면 코드팩토리 디스코드 서버 플러터 프리미엄 채널에 들어오실 수 있습니다! 디스코드 서버에 들어오시고 저에게 메세지로 강의를 구매하신 이메일을 보내주시면 프리미엄 채널에 등록해드려요! 프리미엄 채널에 들어오시면 모든 질의응답 최우선으로 답변해드립니다!
-
미해결실리콘밸리 엔지니어와 함께하는 샐러리(Celery)
셀러리 사용에 문의드립니다.
현재상황은 다음과 같습니다. 윈도우 gui 오토메이션을 해야하는 task 가 있습니다.큐(sqs)는 우선큐 일반큐 두개를 스위칭 해야하는 상황입니다.우선큐에 메세지가 없을경우만 일반큐를 컨슘해야합니다.메세지를 처리하는 인스턴스는 윈도우 gui 를 사용하기 때문에 한대의 장비에서 동시에 하나의 task 만 실행될 수 있습니다. 위의 제약조건들로 인하여 gui 기반의 셀레니움 자동화 스크립트를 구성하고 우선큐와 일반큐를 스위칭하면서 10개 이상의 윈도우 장비가 큐를 폴링하고 있습니다. 이를 윈도우 장비 하나에 하나의 스탠드얼론 워커를 띄우는 형태로 구성하고. 예를 들어 열개의 인스턴스에 각각하나씩 열개의 스탠드얼론 셀러리 워커를 띄우려고 합니다. 하나의 스탠드 얼론 워커가 두개의 큐를 priority 따라서 폴링하는게 가능할까요? 스펙상에서는 되는거 같긴한데 문서를 봐도 잘 모르겠어서 혹시나 문의드립니다. 안된다면 각각의 큐를 폴링하는 스탠드 얼론 워커를 인스턴스에 브로커의 개수만큼 띄우고 (하나의 인스턴스 두개의 스탠드얼론워커) 뒤에 별도의 자동화 로직을 구성하고 큐의 우선순윈는 서비스로직으로 풀어야 하나 고민중입니다.
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
6회 기출 유형(작업형1) 문제 질문
좋은 강의 감사드립니다. 기출 문제를 풀던 중 의문사항이 몇 가지 생겨 질문드립니다.<첫 번째 질문>2번 문제의 '전체 교사 수'를 구하라고 되어있는데, 선생님의 풀이를 보면 교사1인당 수가 출력되어 있습니다. 전체 교사 수를 출력해야하니 교사수 열의 값이 답으로 도출되어야 하지 않습니까? 문제의 오타인지, 제가 오해하고 있는 것인지 알려주시면 감사하겠습니다. <두 번째 질문> 총 범죄 건수의 월평균 값을 출력하라고 되어 있는데, 선생님의 풀이를 보면 월합계가 출력되어 있습니다. 해당 연도의 총 범죄 건수의 월평균 값을 구하려면 월합계 / 6이 되어야 하는 것이 아닌가 싶어 질문드립니다. 감사합니다.
-
미해결[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
retrofit multipartfile 리스트 보내기
@POST('/boards') @Headers({'Authorization': 'true'}) @MultiPart() Future<HttpResponse> createBoard({ @Part() required BoardRequestModel boardCreateModel, @Part() List<MultipartFile>? files, });이렇게 multipartfile 리스트로 이미지를 보내려고 하는데생성된 g.dart 파일을 보면 이렇게 에러가 발생합니다현재 getx 에서 Multipartfile을 hide 해주고 사용했습니다혹시 retrofit을 이용할때 multipartfile 리스트를 보내는 방법이 따로 있을까요?
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
점수의 기준은 어떻게 되는건가요?
여기서 나온대로 코드를 짜진 않았고 제 마음대로 했는데요.macro f1-score으로 평가한다고 해서 평가모델을 만들어서 넣어봤는데, 0.52가 나왔습니다..이 0.52 라는 숫자가 작은 것 같은데 하이퍼파라미터튜닝을 해도 고만고만 하더라고요.근데 3회차에서 roc_auc_score로 검증해봤을땐0.7 정도가 나왔던거 같아요..제가 검증하는 숫자가 낮은지 높은지 기준은 없는건가요? 그리고 최종 파일을 컴피티션에 올리면 점수가 나온다고 했는데, 거기서는 0.31이 나왔는데요..선생님은 0.3 쯤이 나왔는데 별 신경을 안쓰시길래.. 무슨 차이인지 몇점이 나오든 그거는 상관 없나요? @.@;;
-
미해결[리뉴얼] 코딩자율학습 제로초의 자바스크립트 입문
5강 async/await으로 가독성 높이기에서
async/await 그리고 promise 에 대한 부분이 윗부분 강의에서 나오지 않았는데 어디를 먼저 듣고 와야하는 걸까요 ?아니면 이 부분은 제가 따로 책으로 공부하고 들어야하는 건가요 ?
-
미해결스프링 시큐리티 완전 정복 [6.x 개정판]
JWT 사용관련 질문드립니다.
안녕하세요 현재 강의 초반부 수강중인 수강생입니다. 혹시 실전프로젝트 자료에 포함된 내용중에 JWT를 사용하여 인증을 하는 예제도 제공이될까요?아니면 JWT에 대한 예제는 없는걸까요?github에서 제가 못찾는건지 궁금하여 질문드립니다. 사내 업무에서 전통적인 세션기반인증이 아닌 JWT를 사용한 인증을 사용하려다보니 해당내용이 강의자료에는 없는것 같아 질문드립니다.강의를 전부 수강하지 못하고 질문드리는 점 양해부탁드립니다.
-
미해결김영한의 실전 자바 - 기본편
메서드 영역의 메서드 질문
안녕하세요.메서드 관련 질문입니다.메서드는 공통된 기능이기 때문에 인스턴스 변수처럼 내부에 가지고 있지는 않고 메서드 영역에 있는 걸 필요할 때(호출할 때) 가져와서 쓴다.이것과 관련하여 질문 3가지 문의 드립니다.1. 각각의 객체에는 필드값만 가지고 있고 메서드는 아예 가지고 있지 않은거죠 ?2. 컴파일이 될 때 메서드 영역 > 클래스 영역 이 부분에 클래스의 관련 코드들이 다 들어가 있는 걸로 이해했는데 그러면 다음의 두 경우는 어떻게 이해하면 될까요 ? (두 경우 다 추상 클래스, 인터페이스에는 메서드의 바디가 작성되어 있지 않고 나중에 작성되는 경우) -> 메서드 영역의 클래스 영역에 처음에는 바디가 없으니 관련 정보가 전혀 없을 거 같은데 이와 같이 나중에 오버라이딩을 해주었을 때 메서드 영역의 클래스 영역에서 어떻게 되는지 궁금합니다. 새로운 클래스 영역에 메서드로 정의되는 부분이 아니라 기존에 클래스 영역에서 정의가 되어야 하는데 문제는 클래스 영역의 기존 메서드를 수정하자니 다음의 두 케이스는 해당 객체를 생성할 때에만 적용되는 일회성 코드라 ...2.1 AbstractAnimal은 추상클래스로 sound()가 추상 메서드입니다.AbstractAnimal animal = new AbstractAnimal() { @Override public void sound() { System.out.println("test"); } };2.2 InterfaceAnimal interface 입니다.InterfaceAnimal interfaceAnimal = new InterfaceAnimal() { @Override public void sound() { System.out.println("test"); } @Override public void move() { System.out.println("test"); } };
-
미해결김영한의 실전 자바 - 기본편
타입과 참조값
[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]안녕하세요 강사님 다형성 참조를 보다가 질문합니다Parent poly = new Child();부모 타입의 변수는 부모의 데이터를 사용 할 수 있으므로 자식 타입을 대입 할 수 있고 Child poly = new Parent();자식 타입의 변수는 자식 데이터를 사용 할 수 있지만 부모 타입이 범위가 더 커 자식이 담을 수 없는게 맞을까요?
-
미해결홍정모의 따라하며 배우는 C언어
숫자의 배열 비트 바이트
숫자의 배열에서 10개의 배열이 있으니 40바이트라고 말씀하셨는데, 1바이트 = 8비트 이므로, 10개의 칸이 있으므로 10바이트 = 80비트가 되는게 아닌가요?
-
해결됨[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
빌드가 되지 않습니다
실행하려고 하면 위와 같이 빌드에 실패했다는 말과 함께 오류가 뜹니다. 전체 폴더를 구글 드라이브에 올려두었습니다. https://drive.google.com/drive/folders/1mbyI-lZ2UKh4nxh15dJqfDuF1pAWuNP-?usp=sharing
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
3-d 불 메모리 초과 때문에 질문드립니다!
안녕하세요 큰돌님, 언제나 좋은 강의 감사드립니다.http://boj.kr/3ec7adf276a74ad89e779cb5b1839dbd3-d 불 문제를 풀고있는데 계속해서 메모리 초과가 발생해서요.혹시 몰라 큰돌님 예제 소스 확인했는데 로직상 거의 유사한것같은데 계속해서 메모리 초과가 발생하고 있습니다.검토 한 번 부탁드려도 될까요?다시 한번 좋은 강의 감사드립니다
-
미해결스프링 부트 - 핵심 원리와 활용
어디까지 모니터링으로 커버하고, 어디까지 테스트로 커버해야할까요?
모니터링이란, 테스트로 잡지 못한 버그들이 발생했을 때 그 버그의 원인들을 빠르게 알게 해주는데 목적이 있다고 생각합니다. (비즈니스 지표 모니터링은 여기에선 고려하지 않겠습니다.) 그런데, 어디까지 테스트로 해결해야하고 어디서부터는 모니터링으로 해결해야 할까요? 버그를 꼼꼼히 잡겠다고 가능한 모든 루트를 테스트 하려는 것도 생산성 측면에서 옳은 방법은 아니라고 생각합니다. 또한, 서비스의 규모가 작을 때와 서비스의 규모가 클 경우 어떻게 테스트하고 모니터링 할 지 또한 바뀐다고 생각합니다. 제가 생각하는 방법은중요하거나 복잡한 도메인 로직은 유닛테스트로 꼼꼼히 테스트한다프레임워크 및 외부 장치들과 잘 통신하는지는 통합테스트로 happy path 정도만 테스트한다.그 외에 못잡는 버그들은 모니터링을 통해 해결한다.이렇게인데요, 제가 맞는 방향으로 생각하고 있는건지 궁금합니다.또한 서비스의 규모의 차이에 따라 어떻게 테스트하고 모니터링 하는 방법이 달라지는지가 궁금합니다.