묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결차량 번호판 인식 프로젝트와 TensorFlow로 배우는 딥러닝 영상인식 올인원
split 함수 문제
제가 만든 custom data로 split 함수하나 추가하라고해서 했는데 문제가 일어납니다. split함수 저렇게 추가하는거 다르게 만드는걸까요?
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
자동완성 기능 관련 질문
Sleact에서 useState를 import 하지 않았을 경우 빠른수정을 통해서 자동으로 import가 되도록 할 수 있었는데 여기에서는 그게 안되더라고요. 그게 typescript의 기능인지 따로 eslint에서 옵션을 정한건지 궁금해서 질문 드립니다.
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
질문이 있습니다
페이지에서 로그인이 잠깐 풀렸다가 로그인되어 보이는 현상 때문에 모든 페이지에 서버사이드 렌더링 하는 함수 넣으셨잖아요 그러면 그냥 모든 컴포넌트가 공통으로 사용하는 front 폴더에 _app.js 파일 에 서버사이드 렌더링 하는 함수 넣어놓으면 공 통으로 적용되는거 아닌가요 ???
-
해결됨그로스해킹 - 데이터와 실험을 통해 성장하는 서비스를 만드는 방법
고객이탈비율 관련하여 질문 드립니다.
Lifetime Value=ARPU * (1/Churn)이라고 하셨는데, 이때 고객이탈비율을 의미하는 Churn은 어떻게 측정하는 것인지 궁금합니다. 특정 기간 내에 이탈하는 고객의 비율을 계산하는 건지, 수익 발생 전에 이탈하는 고객의 비율을 계산하는 건지 이해가 안 되네요...
-
해결됨실전 리액트 프로그래밍
redux useSelector에 대해 질문있습니다.
강의 내용중 const user = useSelector((state) => { console.log("User useSelector"); return state.user; }); const product = useSelector((state) => { console.log("product useSelector"); return state.product; }); useSelector 로그를 찍어 봤는데 User render User useSelector Product render product useSelector 까지는 예상된 결과였는데 그 후 User useSelector product useSelector는 왜 찍히는 건지 궁금합니다.
-
미해결피그마(Figma)를 활용한 UI디자인 입문부터 실전까지 A to Z
프로토타이핑 질문입니다.
피그마에서 UI를 디자인하고 프로토타이핑을 해 놓으면, 애플워치에서 인터랙션이 확인 가능한가요?
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
_app.js 관련
지금 page에서 공통적으로 사용 할 것들을 _app.js에서 정의를 해야한다는것을 이해하였습니다. 이 _app.js의 파일명이 꼭 _app.js여야 하는거죠? next라는 프레임워크 안에서 그 규칙에 따라서 코딩을 해야되기 때문에요. 그리고 질문들을 읽다가 보니 import 'antd/dist/antd.css' 같은 경우는 _app.js에 정의를 하였을때 공통으로 적용이 되는데 import Head from 'next/head'의 경우 파일마다 해줘야하는 이유는 파일과 변수의 차이일까요? 파일 정의시에는 공통적용이 가능하나 변수의 경우에는 파일마다 적용을 해줘야한다.라 할까요. 그리고 이전에 제로초님이 말씀해주신 sleact 후에 nodebird를 수강하라는 의미가 이해가 갑니다. 직접 웹팩이나 바벨을 sleact에서 해보고 next로 넘어오니.. next가 편한점도 있고 자동으로 해준다는 말에 어떻게 동작하는지 이해가가니.. 좋은 커리큘럼인듯합니다.
-
미해결앵귤러 파이어베이스 완전정복 - PetStore 쇼핑몰 프로젝트
섹션2 FireBase의 petList활용하기에서 에러나네요
설명대로 다운로드받은 폴더에서 복사하고 새로 생성한 프로젝트에 붙여넣기했는데 저도 저 위와 같은 오류문구가 나오네요 ./src/app/services/item.service.ts:2:0-41 - Error: Module not found: Error: Can't resolve 'firebase/app' in 'C:\Users\jun\Documents\angular-08liter\angular-petlist\src\app\services' ./src/app/services/item.service.ts:3:0-27 - Error: Module not found: Error: Can't resolve 'firebase/database' in 'C:\Users\jun\Documents\angular-08liter\angular-petlist\src\app\services' Error: src/app/classes/item.ts:2:5 - error TS2564: Property 'key' has no initializer and is not definitely assigned in the constructor. 2 key: string; ~~~ Error: src/app/classes/item.ts:3:5 - error TS2564: Property 'id' has no initializer and is not definitely assigned in the constructor. 3 id: string; ~~ Error: src/app/classes/item.ts:4:5 - error TS2564: Property 'name' has no initializer and is not definitely assigned in the constructor. 4 name: string; ~~~~ Error: src/app/classes/item.ts:5:5 - error TS2564: Property 'available' has no initializer and is not definitely assigned in the constructor. 5 available: boolean; ~~~~~~~~~ Error: src/app/item/item.component.html:4:27 - error TS2341: Property 'item' is private and only accessible within class 'ItemComponent'. 4 <input [(ngModel)]="item.id" placeholder="ID"/> ~~~~ src/app/item/item.component.ts:8:16 8 templateUrl: './item.component.html', m ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component ItemComponent. Error: src/app/item/item.component.html:4:27 - error TS2341: Property 'item' is private and only accessible within class 'ItemComponent'. 4 <input [(ngModel)]="item.id" placeholder="ID"/> ~~~~ src/app/item/item.component.ts:8:16 8 templateUrl: './item.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component ItemComponent. Error: src/app/item/item.component.html:9:27 - error TS2341: Property 'item' is private and only accessible within class 'ItemComponent'. 9 <input [(ngModel)]="item.name" placeholder="Name"/> ~~~~ src/app/item/item.component.ts:8:16 8 templateUrl: './item.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component ItemComponent. Error: src/app/item/item.component.html:9:27 - error TS2341: Property 'item' is private and only accessible within class 'ItemComponent'. 9 <input [(ngModel)]="item.name" placeholder="Name"/> ~~~~ src/app/item/item.component.ts:8:16 8 templateUrl: './item.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component ItemComponent. Error: src/app/item/item.component.html:14:27 - error TS2341: Property 'item' is private and only accessible within class 'ItemComponent'. 14 <input [(ngModel)]="item.available" type="checkbox"/> ~~~~ src/app/item/item.component.ts:8:16 8 templateUrl: './item.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component ItemComponent. Error: src/app/item/item.component.html:14:27 - error TS2341: Property 'item' is private and only accessible within class 'ItemComponent'. 14 <input [(ngModel)]="item.available" type="checkbox"/> ~~~~ src/app/item/item.component.ts:8:16 8 templateUrl: './item.component.html', ~~~~~~~~~~~~~~~~~~~~~~~ Error occurs in the template of component ItemComponent. Error: src/app/item/item.component.ts:34:9 - error TS2322: Type 'Item | undefined' is not assignable to type 'Item'. Type 'undefined' is not assignable to type 'Item'. 34 this.item = this.itemService.getItem(id); ~~~~~~~~~ Error: src/app/services/item.service.ts:4:27 - error TS2307: Cannot find module 'firebase/app' or its corresponding type declarations. 4 import * as firebase from 'firebase/app'; ~~~~~~~~~~~~~~ Error: src/app/services/item.service.ts:36:33 - error TS7006: Parameter 'snapshot' implicitly has an 'any' type. 36 this.itemList.on('value', snapshot => { ~~~~~~~~ Error: src/app/services/item.service.ts:37:27 - error TS7006: Parameter 'snap' implicitly has an 'any' type. 37 snapshot.forEach( snap => { 라고 나고있는데 진행이 안되고있어요
-
미해결예제로 살펴보는 PyQt Tutorial
QSlider 부분 자료 파일
따로 png 파일이 없는건가요? mute.png min.png medium.png max.png 파일이 없네요 ㅠㅠ
-
미해결mongoDB 기초부터 실무까지(feat. Node.js)
궁금한 사항이 있습니다.
항상 좋은강의 해주셔셔 감사합니다. 다름이 아니라 관계를 하게 될 경우 index를 따로 생성해주셔야 한다고 말씀해주셨는데 부모 - 자식의 관계를 key로 생성한다면 결국 부모랑 자식이 가지고 있는 id는 모두 index로 생성이 되어있고 부모는 자식의 key를 자식은 부모의 key를 가지고 있는 상태인데 왜 따로 index를 부여해야 하는지 궁금합니다..
-
미해결자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)
봉우리문제
선생님 봉우리 문제에서 flag변수를 사용하셨는데, 정확히 flag변수는 어떤 경우에 사용해야하는지 알 수 있을까요? 언제써야하는건지 확실히 모르겠습니다.
-
미해결Google 공인! 텐서플로(TensorFlow) 개발자 자격증 취득
중학생도 가능?
안녕하세요, 좋은 강의 감사 드립니다. 제 아들이 중학교 1학년인데, 이쪽에 관심이 많습니다. 중학생 또는 초등학생고학년도 이 자격을 취득할 수 있나요? 아이가 소프트웨어를 정말 좋아합니다^^
-
미해결언리얼 핵앤슬래쉬 게임 만들기
앉아서 무기 뽑기 강의 중 질문
앉아서 무기 뽑기 애니메이션 블루프린트에서 캐쉬포즈 메뉴가 없습니다.(4.26버전) 강의 내용에는 캐쉬포즈를 선택해서 진행하시던데, 캐쉬포즈 메뉴가 왜 없는지 모르겠습니다. 별도로 설정해줘야되는 부분이 있을까요?
-
미해결일주일 완성! 3dsmax 입문 (자동차 및 캐릭터 만들기)
서로 다른 맥스 파일 간 오브젝트 이동
안녕하세요, 파일 간 오브젝트 이동에 관한 문제입니다. 예를 들어, 제가 맥스 파일을 열고 자동차 오브젝트를 만들었는데 다른 맥스 파일을 새로 열어서 이 자동차 오브젝트를 그 파일로 복사붙여넣기 하고 싶을 때 다른 파일로의 이동은 어떻게 하는건가요?
-
미해결[개정판] 파이썬 머신러닝 완벽 가이드
오류 문의
1. 피처별 상관도를 시각화하는 과정에서 사용된 아래의 코딩에서 오류가 나고 있습니다. plt.figure(figsize=(9, 9)) corr = card_df.corr() sns.heatmap(corr, camp='RdBu') 결과 : AttributeError: 'QuadMesh' object has no property 'camp' 아래와 같이 camp를 제거하고 실행하면 오류없이 수행이 되기는 합니다. plt.figure(figsize=(9, 9)) corr = card_df.corr() sns.heatmap(corr) 구글링을 해도 해당 오류에 대한 것을 찾을 수가 없어서 파라미터를 제거한 것인데 버전이 업그레이드 되면서 camp라는 속성이 사라진 건가요? 아니면 다른 패키지의 설치가 더 필요한 것일까요? 2. pip install -U imbalanced-learn 설치 후 from imblearn.over_sampling import SMOTE smote = SMOTE(random_state=0) X_train_over, y_train_over = smote.fit_sample(X_train, y_train) 위와 같이 실행하면 'SMOTE' object has no attribute 'fit_sample' 라는 오류가 나옵니다. from imblearn.over_sampling import SMOTE smote = SMOTE(random_state=0) X_train_over, y_train_over = smote.fit_resample(X_train, y_train) 로 실행하면 수행이 되는데 문제가 없을까요? 버전 문제일수 있다고 해서 pip install -U scikit-learn 도 수행을 했는데 문제가 해결되지는 않고 있습니다. fit_sample() 함수 대신 fit_resampe()를 사용해도 되는 것일까요? 테스트 환경은 아나콘다가 아니고 윈도우에 파이썬을 설치후 vscode에서 작업을 하고 있습니다.
-
미해결내 업무를 대신 할 파이썬(Python) 웹크롤링 & 자동화 (feat. 주식, 부동산 데이터 / 인스타그램)
네이버 부동산 크롤링 헤더 오류
네이버 부동산 크롤링 작업 중 아래와 같은 오류가 계속 발생합니다. 어떻게 해결할 수 있나요?
-
미해결비전공자를 위한 진짜 입문 올인원 개발 부트캠프
저는 왜 open in browser가 안보일까요?
저는 왜 open in browser가 안보일까요?
-
미해결프로그래밍, 데이터 과학을 위한 파이썬 입문
에러확인부탁드립니다.
import random random_number = random.randint(1,100) print("숫자를 맞춰보세요(1~100):") user_input = int(input()) while (user_input != random_number): if user_input > random_number: print("숫자가 너무 큽니다.") elif user_input < random_number: print("숫자가 너무 작습니다.") print("정답입니다. 정답은", user_input,"입니다" ) partially initialized module 'random' has no attribute 'randint'
-
미해결실전! 스프링 부트와 JPA 활용2 - API 개발과 성능 최적화
@Transactional 어노테이션 질문드립니다
안녕하세요 영한님 Jpa 로 단순 조회기능을 이용하게될때 Service Layer 에서 @Transactional(readOnly=true) 를 메소드에 선언해서 사용했었는데요 테스트하다보니 @Transactional 어노테이션 없이 사용해도 조회도되고 controller 단에서도 영속성컨텍스트가 살아있는걸로 확인이 되었습니다 (osiv 는 켜놓았습니다) findById or findAll 같은 단순 조회기능에서는 @Transactional 은 없어도 되는건가요? spring 에서는 기본적으로 트랜잭션범위와 영속성컨텍스트의 범위가 동일하다고 알고있는데 @Transactional 설정을 안해줘도 조회기능에선 영속성컨텍스트가 유지된다고 보면될까요 ? 아니면 @Transactional(readOnly=true) 는 @Transactional 없이 동작하는것과 어떤 차이가 있는걸까요 ㅠㅠ
-
미해결자바 스프링부트 활용 웹개발 실무용
MyBastisConfiguration설정시
@Autowired DataSource dataSource; @Bean public SqlSessionFactory sqlSessionFactory(DataSource dataSource, ApplicationContext applicationContext) throws Exception{ 이렇게 선언하는건랑 @Bean public SqlSessionFactory sqlSessionFactory(@Autowired DataSource dataSource, ApplicationContext applicationContext) throws Exception{ 강의에서처럼 메소드안에 직접 @Autowired 를 선언하면서 인자로 넣는거랑 차이가 있나요?