묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결웹 게임을 만들며 배우는 Vue
LottoBall 컴포넌트 computed의 return 부분에 대해 질문 있습니다.!
안녕하세요 제로초님! 제로초님의 강의 항상 정말 감사히 잘 듣고 있습니다.다름이 아니라, computed에서 backgorund의 색깔을 지정하고 return을 해주실 때, 왜 객체로 감싸야하는지 궁금해서 여쭤봅니다. retrun background;로 하니까 동작되지 않았고, return {background};로 하니까 잘 작동됐습니다. 왜 그런건가요??
-
미해결대세는 쿠버네티스 (초급~중급편)
kubeadm init시 connection refuse에러
환경은 AWS 환경이며, 실습환경과 똑같은 아이피로 해서centos 7으로 동일하게 구성하고 있습니다(제 커널버전은 Linux 3.10.0-1160.76.1.el7.x86_64)그런데 마지막에 kubeadm init 하는데 connection refused 이 뜨며 진행이 되지 않습니다.해당 에러 발생시 daemon.json을 확인하라는 내용이 있던데(구글링시) 이상이 없었습니다.아래는 전체로그 입니다.회신 주시면 감사드리겠습니다.[root@k8s-master centos]# kubeadm init --pod-network-cidr=20.96.0.0/12 --apiserver-advertise-address=192.168.0.30I0827 06:11:16.046030 2520 version.go:248] remote version is much newer: v1.25.0; falling back to: stable-1.15[init] Using Kubernetes version: v1.15.12[preflight] Running pre-flight checks[WARNING SystemVerification]: this Docker version is not on the list of validated versions: 20.10.17. Latest validated version: 18.09[preflight] Pulling images required for setting up a Kubernetes cluster[preflight] This might take a minute or two, depending on the speed of your internet connection[preflight] You can also perform this action in beforehand using 'kubeadm config images pull'[kubelet-start] Writing kubelet environment file with flags to file "/var/lib/kubelet/kubeadm-flags.env"[kubelet-start] Writing kubelet configuration to file "/var/lib/kubelet/config.yaml"[kubelet-start] Activating the kubelet service[certs] Using certificateDir folder "/etc/kubernetes/pki"[certs] Generating "etcd/ca" certificate and key[certs] Generating "etcd/server" certificate and key[certs] etcd/server serving cert is signed for DNS names [k8s-master localhost] and IPs [192.168.0.30 127.0.0.1 ::1][certs] Generating "etcd/healthcheck-client" certificate and key[certs] Generating "apiserver-etcd-client" certificate and key[certs] Generating "etcd/peer" certificate and key[certs] etcd/peer serving cert is signed for DNS names [k8s-master localhost] and IPs [192.168.0.30 127.0.0.1 ::1][certs] Generating "ca" certificate and key[certs] Generating "apiserver" certificate and key[certs] apiserver serving cert is signed for DNS names [k8s-master kubernetes kubernetes.default kubernetes.default.svc kubernetes.default.svc.cluster.local] and IPs [10.96.0.1 192.168.0.30][certs] Generating "apiserver-kubelet-client" certificate and key[certs] Generating "front-proxy-ca" certificate and key[certs] Generating "front-proxy-client" certificate and key[certs] Generating "sa" key and public key[kubeconfig] Using kubeconfig folder "/etc/kubernetes"[kubeconfig] Writing "admin.conf" kubeconfig file[kubeconfig] Writing "kubelet.conf" kubeconfig file[kubeconfig] Writing "controller-manager.conf" kubeconfig file[kubeconfig] Writing "scheduler.conf" kubeconfig file[control-plane] Using manifest folder "/etc/kubernetes/manifests"[control-plane] Creating static Pod manifest for "kube-apiserver"[control-plane] Creating static Pod manifest for "kube-controller-manager"[control-plane] Creating static Pod manifest for "kube-scheduler"[etcd] Creating static Pod manifest for local etcd in "/etc/kubernetes/manifests"[wait-control-plane] Waiting for the kubelet to boot up the control plane as static Pods from directory "/etc/kubernetes/manifests". This can take up to 4m0s[kubelet-check] Initial timeout of 40s passed.[kubelet-check] It seems like the kubelet isn't running or healthy.[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get http://localhost:10248/healthz: dial tcp [::1]:10248: connect: connection refused.[kubelet-check] It seems like the kubelet isn't running or healthy.[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get http://localhost:10248/healthz: dial tcp [::1]:10248: connect: connection refused.[kubelet-check] It seems like the kubelet isn't running or healthy.[kubelet-check] The HTTP call equal to 'curl -sSL http://localhost:10248/healthz' failed with error: Get http://localhost:10248/healthz: dial tcp [::1]:10248: connect: connection refused.
-
미해결게임 엔진을 지탱하는 게임 수학
20강 마지막 부분에서 "다음시간에는 ..." 으로 끝났는데
이게 뭐죠? 인프런이 해킹당해서 21강이 없어진걸까요? 🤨
-
미해결15일간의 빅데이터 파일럿 프로젝트
cloudera 로그인후 "Cloudera Enterprise 평가판이 만료 되었습니다." 처리 하는 방법을 알고 싶습니다.
클라우데라 로그인후 Selection Edition에서 강의 시간에 제시 되었던 ""Cloudera Enterprise 체험판" 내용이 없고, Express 와 Enterprise중에 선택할수 밖에 없습니다. Express 로 진행해본결과 여러 설정에 에러가 납니다. 해결 방법이 있을까요?VirtalBox6.1.36 +PilotProject3VM을 사용했습니다.
-
미해결스프링 프레임워크는 내 손에 [스프1탄]
강사님 질문있습니다!
강의 31분쯤 쿼리에 board를 myboard로 바꾸신 부분 똑같이 해도 계속 안되길래혹시나하고 select * from test.myboard order by idx desc로 변경했습니다 (myboard -> test.myboard)그랬더니 되는데 혹시 이거 쿼리에 계정 안붙이고 하는 설정이 있는지 궁급합니다
-
미해결[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
swagger 질문
실제 서버개발자가 저렇게 만들어 줄 때에값이 nullable인 파라미터들도 있을텐데 swagger에 nullable 형태로도 알려주나요?
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 레딧 사이트 만들기(NextJS)(Pages Router)
error: password authentication failed for user "postgres"
도커 컨테이너도 실행 잘 되고, 서버 연결도 잘되서localhost: 4000에서 서버도 잘 띄워집니다.그런데, 데이터베이스만 연결이 안되는 것 같아요 ㅠㅠnpm run dev 만 하면이런 에러가 납니다.// docker-compose.yml// data-source.ts환경변수로도 해봤는데 안되서,일단은 postgres, password로 입력해 놓은 상태입니당 ㅜDocker Desktop에 컨테이너에서 로그 같은 기능이 있길래 봤는데자꾸 비밀번호 인증에 실패 했다고만 나오고 구글링해도 모르겠어용 ㅠㅠreddit-postgres | 2022-08-28 02:13:17.747 UTC [1] LOG: database system is ready to accept connections reddit-postgres | 2022-08-28 02:13:52.751 UTC [33] FATAL: password authentication failed for user "postgres" reddit-postgres | 2022-08-28 02:13:52.751 UTC [33] DETAIL: Connection matched pg_hba.conf line 100: "host all all all scram-sha-256"
-
미해결[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
페이징 처리 질문입니다.
커뮤니티 게시판을 만들 때a라는 사람이 페이지를 쭉 봐서 펼쳐져 데이터가 많이 불러와진 상태에서 새 글을 쓰면 그 글만 기존 불러와진 리스트에 하나 집어넣는게 맞을까요? 아니면 일부분을 다시 불러와서 갈아 끼워넣는게 더 일반적인 요즘 앱의 형태인가요?
-
미해결설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
16bit Data Width 사용하기
안녕하십니까?열심히 강의를 보고 있습니다.현재 BRAM을 활용해서 DPRAM 구현을 해야 합니다. 외부에 연결되는 MCU와 16bit Data Width로 진행하고자 합니다. 설명 or 자료를 보면 최소 32bit인 것처럼 소개를 하고 있습니다.이런 경우, 어떻게 접근해야 하나요?편법(?)으로 상위 16bit를 내부적으로 'L'로 고정을 시켜버리고, 외부로는 하위 16bit만 핀 할당하는 방식으로 하면 될까요?이 경우, 순차적인 메모리 접근(주소 증가/감소)을 다르게 해야 할 듯 한데...BRAM을 할당할 때, 16bit로 해도 되는지요?
-
해결됨설계독학맛비's 실전 FPGA를 이용한 HW 가속기 설계 (LED 제어부터 Fully Connected Layer 가속기 설계까지)
AXI4 이외에 다른 I/F는 무엇을 사용하시는지 궁금합니다.
안녕하세요 맛비님! 2번째 정주행 중인 수강생입니다.Performance를 올리고 싶을 때는 AXI4-Lite 대신 다른 I/F를 쓴다고 영상에서 말씀하셨습니다. 그렇다면 당연히 실무에서는 AXI4-Lite가 아닌 다른 I/F를 쓰실 것 같습니다. 실무에서는(특히 영상 처리, AI 분야) 어떤 I/F들을 주로 사용하시는지 궁금합니다. AXI4-Lite의 원래 버전인 AXI4가 있긴 하지만 ,왠지 AXI4만 쓰실 것 같진 않아서 여쭤봅니다!
-
미해결Vue로 Nodebird SNS 만들기
v.trim()이 타입에러가 뜹니다...
trim()이 계속 오류떠서 replace로도 해보려고 했는데 아예 메서드가 다 오류 뜨네요 이거 버전이 달라서 그런건가요? 도무지 이해를 못하겠넹...
-
미해결다양한 사례로 익히는 SQL 데이터 분석
join 관련 질문
안녕하세요 선생님:)다름이 아니라 join 관련 질문이 있어요.저번 강의에서도 말씀하신 것처럼 join을 session_id로 하셔야 된다고 하셨는데, 만약에 user_id로 하면 결과 값이 드라마틱하게 달라질까요?전에 MAU를 신규 사용자와 기존 사용자로 구분할 때는 join을 하실 때 user_id로 하셨는데, 이때는 사용자를 수를 구하는 것에 집중하여 user_id로 한 것일까요?
-
해결됨IT 기업 취업을 위한: 코딩테스트 혼자서 정복하기 (C/C++)
수업하신 PPT 자료는 다운 못하나요?
강의 들으면서 허전한데 수업에 사용하시는 PPT 좀 올려주시면 안되시나요 ?소스코드 위주가 아니고 교안도 없어서 정리하기가 불편합니다 ㅠ
-
미해결[리뉴얼] 파이썬입문과 크롤링기초 부트캠프 [파이썬, 웹, 데이터 이해 기본까지] (업데이트)
라이브러리 실습에 자꾸 문제가 생겨요ㅠㅠ
가르쳐주신대로 cmd에서 라이브러리도 다 설치했는데,from googletrans import Translatordave = Translator()word = dave.translate('안녕하세요.', dest='en', src='ko')print (word.text)이거 실행하면--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-29-606a0c012f3e> in <module> 1 from googletrans import Translator 2 dave = Translator() ----> 3 word = dave.translate('안녕하세요.', dest='en', src='ko') 4 print (word.text) ~\anaconda3\lib\site-packages\googletrans\client.py in translate(self, text, dest, src, **kwargs) 180 181 origin = text --> 182 data = self._translate(text, dest, src, kwargs) 183 184 # this code will be updated when the format is changed. ~\anaconda3\lib\site-packages\googletrans\client.py in _translate(self, text, dest, src, override) 76 77 def _translate(self, text, dest, src, override): ---> 78 token = self.token_acquirer.do(text) 79 params = utils.build_params(query=text, src=src, dest=dest, 80 token=token, override=override) ~\anaconda3\lib\site-packages\googletrans\gtoken.py in do(self, text) 192 193 def do(self, text): --> 194 self._update() 195 tk = self.acquire(text) 196 return tk ~\anaconda3\lib\site-packages\googletrans\gtoken.py in _update(self) 60 61 # this will be the same as python code after stripping out a reserved word 'var' ---> 62 code = self.RE_TKK.search(r.text).group(1).replace('var ', '') 63 # unescape special ascii characters such like a \x3d(=) 64 code = code.encode().decode('unicode-escape') AttributeError: 'NoneType' object has no attribute 'group' 이렇게 뜨네요ㅠㅠ다른 연습문제들도 마찬가지에요!
-
미해결스프링 프레임워크는 내 손에 [스프1탄]
스프2탄
0
-
미해결비전공자를 위한 풀스택 맛집지도 만들기 프로젝트!: Front, Back-end 그리고 배포까지
이러한 경우에는 어떤문제인가요?
코딩을 처음 시작해서 따라하고있는대 다른곳에도 막혀도 어느정도 보면서 해결을 해보았는대 여기선 도저히 풀리지가않네요 ㅠㅠ
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
store
여기서 말하는 스토어란 db같은 건가요??
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part1: C++ 프로그래밍 입문
안녕하세요! vecotr<pair<int,int>> map
면접을 보다가 면접질문 중 map 과 정렬된 vector<pair<>> 비교하여 설명 하시오 라는 문제가 나왔습니다.답변을 map 는 레드블랙트리기반의 중복이 허용되지않고 key 로 오름차순 정렬되어있으며,안에 데이터는 pair 로 되어있다. vector<pair<>> 연속적인 메모리 구조를 가지고 있으며 랜덤엑세스가 가능하며, sort 시 pair<> 의 first 값의로 기본 정렬한다. 라고 답변을 했습니다.답변을 들으시더니 면접관님께서 "정렬된" 이라는 키워드를 중점으로 다시 생각해보라고 하셨는데 답변을 못했습니다.어떤의도로 문제를 내신지 알 수 있을까요?
-
미해결모든 개발자를 위한 HTTP 웹 기본 지식
잘들었습니다.
좋은 지식 나눠주셔서 너무 너무 도움 됐어요. 스프링 강의도 들으러 갑니다!!!감사합니다. 갓영한선생님!
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
깅의가 하나 빠진건가요? 53/54 로 표시되네요.
JPQL 벌크 연산이 마지막 강의인 줄 알았는데, 다음 강의가 또 있나요? 이것 때문에 진행도가 100%가 안 됩니다.