묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결Swift 언어로 만드는 고스톱 게임
배경 화면 크기 질문
아이폰 11프로 맥스 등 여러가지 설정해보았는데 bg() 실행 시 사진과 같이 화면에 꽉 차지 않습니다. 처음에는 무시하고 했는데, hidden 카드 생성시 문제가 발생하네요.. 어떻게 해야하나요?? 코드는 var dealer : CardDealer! override func didMove(to view: SKView) { Variable.scence = self bg() dealer = CardDealer() } func bg(){ let bg = SKSpriteNode() bg.texture = SKTexture(imageNamed: "bg") bg.size = view!.frame.size bg.name = "bg" bg.zPosition = -1 bg.anchorPoint = CGPoint(x: 0, y: 0) bg.position = CGPoint(x: 0, y: 0) addChild(bg) } 이렇게 되어 있습니다.
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
안녕하세요.
강의하면서 쓰시는 교안이 링크가 있을까요? 그 부분은 따로 공유가 안되는 것인지요? html복사 그런것들 복붙을 하려는데, 좀 힘들어서요;
-
해결됨리액트로 나만의 블로그 만들기(MERN Stack)
38강의 CKEditor에 대한 화면에 이상하게 나와서 문의 드립니다.
38강의 듣고 일부를 화면 작성을 들어가면 CKEditor의 텍스트 편집기 나와야 하는데,, 전혀 나오지 않고 이런식으로 나옵니다. 다른분이 질문을 한것이 있어서 저도 이미 했지만. client/ npm uninstall style-loader 과 client/npm i style-loader을 해서 2버젼이상으로 했습니다. 그런데... 전혀 변화가 없습니다. package.json 일부 내용입니다. "sass-loader": "8.0.2", "seamless-immutable": "^7.1.4", "semver": "6.3.0", "style-loader": "^2.0.0", 버젼을 높여 보았는데 똑 같은 현상이라서 <PostWrite.js> import React, { useState } from "react"; import { useSelector } from "react-redux"; import { Form, FormGroup, Label, Input, Button, Col, Progress, } from "reactstrap"; import {CKEditor} from "@ckeditor/ckeditor5-react"; import ClassicEditor from "@ckeditor/ckeditor5-editor-classic/src/classiceditor"; import { editorConfiguration } from "../../components/editor/EditorConfig"; import Myinit from "../../components/editor/UploadAdapter"; import dotenv from "dotenv"; dotenv.config(); const PostWrite = () => { const { isAuthenticated } = useSelector((state) => state.auth); const [form, setValues] = useState({ title: "", contents: "", fileUrl: "" }); //const dispatch = useDispatch(); const onChange = (e) => { setValues({ ...form, [e.target.name]: e.target.value, }); }; return ( <div> {isAuthenticated ? ( <Form> <FormGroup className="mb-3"> <Label for="title">Title</Label> <Input type="text" name="title" id="title" className="form-control" onChange={onChange} /> </FormGroup> <FormGroup className="mb-3"> <Label for="category">Category</Label> <Input type="text" name="category" id="category" className="form-control" onChange={onChange} /> </FormGroup> <FormGroup className="mb-3"> <Label for="content">Content</Label> <CKEditor editor={ClassicEditor} config={editorConfiguration} onReady={Myinit} onBlur='' /> <Button color="success" block className="mt-3 col-md-2 offset-md-10 mb-3" > 제출하기 </Button> </FormGroup> </Form> ) : ( <Col width={50} className="p-5 m-5"> <Progress animated color="info" value={100} /> </Col> )} </div> ); }; export default PostWrite; CKEditor 버젼이 조금 바꾸어지면서 import { CKEditor } 해주지 않으면 오류가 나더군요. 그리고 < CKEditor />에도 onInit 대신 onReady 변경해보았습니다. 그리고 onBlur={} 해보라고 화면에서 설명이 되어있었는데...이부분도 오류가 나서 ''으로 처리 했습니다. 오류는 없지만 ...편집기 제대로 실행이 안되는것 같아서. webpack.config.js의 css가 전혀 작동하지 않는것 같습니다. css는 https://ckeditor.com/docs/ckeditor5/latest/builds/guides/integration/frameworks/react.html 설명서 처럼 똑 같이 넣어 주었습니다. 확인 부탁드립니다.
-
미해결팝스타 공식 뮤비 제작 & 유튜브 2천만 뷰 크리에이터의 애니메이트 X 이모티콘 클래스
추천 도서 질문드립니다.
작가님. 마지막 추천 도서에서 '애니메이션 타이밍'은 저자 존 할라스, 해럴드 휘터커의 책인가요? 그리고, 애니메이트의 기능들에 대해서나, 참고 될 만한 추천하는 애니메이트 책이 있다면 추천 부탁드립니다~
-
미해결스프링 프레임워크 핵심 기술
질문!
여기서 싱글톤 안에 프로토타입 객체를 선언하면 그 값이 변경되지 못하여 Proxy를 둔다 이해했는데 Proxy를 중간에 거쳐서(Single과 Proxy 사이에) 사용하지 않는 이유가 있나요? Single -> Proxy -> Proto 지금 강의에서는 이해한것은 Single -> Proxy(Proto)
-
미해결[Django] 장고로 인프런 따라만들기
질문요
혹시 데이터를 찍어서 볼수있게 하는 함수 있나요?데이터 통으로 출력하는거요
-
미해결Svelte.js SPA 영화 검색 프로젝트
3. SCSS와 Autoprefixer 구성 강의에서 질문합니다
안녕하세요 3. SCSS와 Autoprefixer 구성 강의에서 똑같이 적었는데 마지막에 npm run dev 했는데요 코드가오류가생기네요 아무문제가없는데요 갑자기 오류가생기네요 사진을작게나오는데 어떻게크게할줄몰라서요
-
미해결[개정판] 딥러닝 컴퓨터 비전 완벽 가이드
selective search 시각화 실습 중에서 질문
### 오드리헵번 이미지를 cv2로 로드하고 matplotlib으로 시각화 img = cv2.imread('../../data/image/audrey01.jpg') img_rgb = cv2.cvtColor(img, cv2.COLOR_BGR2RGB) 를 보면 현재 디렉토리가 /preliminary 인듯한데, 왜그런가요?
-
해결됨iOS12 앱 개발 퍼펙트 가이드
질문드립니다.
안녕하세요. 테이블뷰 델리게이트 설정하실 때 @IBoutlet tableView { didSet { tableView.delegate = self tableView.dataSource = self } 이런식으로 델리게이트 설정을 옵저버 프로퍼티에 해주셨는데요, 프로퍼티 감시자 didSet은 값이 변경되기 직전에 사용되는걸로 알고있는데 테이블뷰에서 해당하는 값은 무엇인가요? 또한 이미지뷰에 didSet을 이용한다면 이미지뷰에서는 어떠한게 값의 변경으로 이용되는건지 궁금합니다!
-
미해결[개정판] 딥러닝 컴퓨터 비전 완벽 가이드
winscp로 파일 가져오기
winscp로 파일 가져오기를 하면 제 노트북으로 성공적으로 파일이 복사됩니다. 그런데 실행시키면 모두 오류가 나네요. audery01.jpg 도 열리지 않습니다. 구글 서버에서 파일을 가져와서 열어 보려면, 어떻게 가져와야 하나요? winscp로 단순 복사는 안되나요?
-
화이트해커가 되기 위한 8가지 웹 해킹 기술
vmware로 해도 되나요??
삭제된 글입니다
-
미해결모두를 위한 딥러닝 - 기본적인 머신러닝과 딥러닝 강좌
딥러닝 vs 머신러닝
두가지 모두 인공신경망을 사용하는 것은 알고 있습니다. 딥러닝 : 사용자가 데이터셋을 하지않아도됨 머신러닝 : 사용자가 데이터셋을 해야함 이정도만 알고 있는데 추가적인 내용을 설명해주시면 감사하겠습니다. 그리고 왜 딥러닝이 하위 모델인지 납득이 가지않습니다. 이 점도 꼭 객관적인 내용이 아니더라도 주관적인 설명해주실 수 있으면 감사히 받아들이겠습니다
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 쇼핑몰 사이트 만들기[전체 리뉴얼]
npm install 다시 질문 드립니다..!
아래쪽에 질문 드렸는데 답변 주셨던 방법과 똑같이 해도 똑같은 오류가 그대로 나옵니다. npm install bcryptjs --save 할때 일단 똑같은 오류 메시지가 나옵니다. User.js에서 const bcrypt = require('bcryptjs') 바꿔는 놨는데 앞에서 오류가 나서 의미가 없구요.. 다른 방법 있을까요? npm install bcryptjs --save 오류메시지------------------------------------- node-pre-gyp WARN Using needle for node-pre-gyp https download node-pre-gyp WARN Tried to download(404): https://github.com/kelektiv/node.bcrypt.js/releases/download/v3.0.8/bcrypt_lib-v3.0.8-node-v83-win32-x64-unknown.tar.gz node-pre-gyp WARN Pre-built binaries not found for bcrypt@3.0.8 and node@14.15.0 (node-v83 ABI, unknown) (falling back to source compile with node-gyp) gyp ERR! find Python gyp ERR! find Python Python is not set from command line or npm configuration gyp ERR! find Python Python is not set from environment variable PYTHON gyp ERR! find Python checking if "python" can be used gyp ERR! find Python - "python" is not in PATH or produced an error gyp ERR! find Python checking if "python2" can be used gyp ERR! find Python - "python2" is not in PATH or produced an error gyp ERR! find Python checking if "python3" can be used gyp ERR! find Python - "python3" is not in PATH or produced an error gyp ERR! find Python checking if the py launcher can be used to find Python 2 gyp ERR! find Python - "py.exe" is not in PATH or produced an error gyp ERR! find Python checking if Python is C:\Python27\python.exe gyp ERR! find Python - "C:\Python27\python.exe" could not be run gyp ERR! find Python checking if Python is C:\Python37\python.exe gyp ERR! find Python - "C:\Python37\python.exe" could not be run gyp ERR! find Python gyp ERR! find Python ********************************************************** gyp ERR! find Python You need to install the latest version of Python. gyp ERR! find Python Node-gyp should be able to find and use Python. If not, gyp ERR! find Python you can try one of the following options: gyp ERR! find Python - Use the switch --python="C:\Path\To\python.exe" gyp ERR! find Python (accepted by both node-gyp and npm) gyp ERR! find Python - Set the environment variable PYTHON gyp ERR! find Python - Set the npm configuration variable python: gyp ERR! find Python npm config set python "C:\Path\To\python.exe" gyp ERR! find Python For more information consult the documentation at: gyp ERR! find Python https://github.com/nodejs/node-gyp#installation gyp ERR! find Python ********************************************************** gyp ERR! find Python gyp ERR! configure error gyp ERR! stack Error: Could not find any Python installation to use gyp ERR! stack at PythonFinder.fail (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:307:47) gyp ERR! stack at PythonFinder.runChecks (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:136:21) gyp ERR! stack at PythonFinder.<anonymous> (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:225:16) gyp ERR! stack at PythonFinder.execFileCallback (C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\lib\find-python.js:271:16) gyp ERR! stack at exithandler (child_process.js:315:5) gyp ERR! stack at ChildProcess.errorhandler (child_process.js:327:5) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:275:12) gyp ERR! stack at onErrorNT (internal/child_process.js:465:16) gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:80:21) gyp ERR! System Windows_NT 10.0.18363 gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Program Files\\nodejs\\node_modules\\npm\\node_modules\\node-gyp\\bin\\node-gyp.js" "configure" "--fallback-to-build" "--module=E:\\node_\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding\\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=E:\\node_\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding" "--napi_version=7" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83" gyp ERR! cwd E:\node_\boilerplate-mern-stack-master\node_modules\bcrypt gyp ERR! node -v v14.15.0 gyp ERR! node-gyp -v v5.1.0 gyp ERR! not ok node-pre-gyp ERR! build error node-pre-gyp ERR! stack Error: Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=E:\node_\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=E:\node_\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (E:\node_\boilerplate-mern-stack-master\node_modules\node-pre-gyp\lib\util\compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:315:20) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1048:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:288:5) node-pre-gyp ERR! System Windows_NT 10.0.18363 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "E:\\node_\\boilerplate-mern-stack-master\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd E:\node_\boilerplate-mern-stack-master\node_modules\bcrypt node-pre-gyp ERR! node -v v14.15.0 node-pre-gyp ERR! node-pre-gyp -v v0.14.0 node-pre-gyp ERR! not ok Failed to execute 'C:\Program Files\nodejs\node.exe C:\Program Files\nodejs\node_modules\npm\node_modules\node-gyp\bin\node-gyp.js configure --fallback-to-build --module=E:\node_\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=E:\node_\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=7 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) npm WARN react-redux@5.1.2 requires a peer of react@^0.14.0 || ^15.0.0-0 || ^16.0.0-0 but none is installed. You must install peer dependencies yourself. npm WARN react-redux@5.1.2 requires a peer of redux@^2.0.0 || ^3.0.0 || ^4.0.0-0 but none is installed. You must install peer dependencies yourself. npm WARN react-boiler-plate@1.0.0 No repository field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.12 (node_modules\fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.12: wanted {"os":"darwin","arch":"any"} (current: {"os":"win32","arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! bcrypt@3.0.8 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bcrypt@3.0.8 install script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! C:\Users\cdg\AppData\Roaming\npm-cache\_logs\2020-12-11T13_55_07_916Z-debug.log
-
미해결남박사의 파이썬으로 실전 웹사이트 만들기
강의 자료는 (코드) 어디서 다운 받을수있나요?
수업 열심히 듣고있습니다. 강의 자료가 혹시 따로 있는지 궁금합니다. 화면을보고 따라 코딩하는대도 , 실행이 안될때가 있네요. 강의 자료가 있다면 어디서 다운받을수 있는지 알려주세요~
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
json 데이터 저장관련 문의드립니다.
안녕하세요. 강의가 너무 좋아서 재밌게 잘 듣고 있습니다 ^^ 강의 내용 중간에 상속관계인 경우 json으로 데이터를 저장하는 경우도 있다고 말씀하셨는데 그런경우 검색은 어떻게 처리를 하나요?
-
미해결남박사의 파이썬 기초부터 실전 100% 활용
윈도우 FTP서버세팅하기 강좌에서, "컴퓨터 관리" 창에서 "로컬 사용자 및 그룹"이 보이지 않아요.
안녕하세요 강의 잘듣고 있습니다. 네트워크의 "윈도우 FTP 서버 세팅하기"강좌에서 강의를 듣는데요. 강의 4분40초에서 보이는 " 컴퓨터 관리"창에서 세팅할때, "시스템도구" 아래에서, "로컬사용자 및 그룹"이 보이지 않는데요. 이런경우 세팅을 어떻게 할까요?
-
미해결[Django] 장고로 인프런 따라만들기
코드 작성할때 질문이요
맥에서 코드 작성할때 자꾸 블록으로 되는대요 블록 지정되서 편집하기 힘드는데 파이참 이거 설정 풀려면 어떻게해요?
-
미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 - 손흥민을 찾아라!
질문있습니다
아래 질문과 같아요... 정확한 답변이 듣고싶어서 재작성해봅니다~ 영상처럼 그림 창 띄워서 마우스 커서에 따라 좌표랑 rgb 값 어떻게 표시하도록 할 수 있나요. 파이참에 텐서플로우 연동해서 쓰고 있고 os는 윈도우입니다.
-
미해결8명의 비전공자는 어떻게 개발자로 취업했을까
오픈채팅 방이 없어진 걸까요??
들어가려고 하니까 안 열리는데 오픈채팅방이 없어진 걸까요~?
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 쇼핑몰 사이트 만들기[전체 리뉴얼]
props user data 질문
안녕하세요 선생님. 항상 강의 잘 보고 있습니다. ㄹ 궁금한게 props.user의 담긴 정보가 상품 디테일 페이지를 타고 CartPage로 왔다고 가정하면 props.user.userData의 정보가 있는데요. 즉, 다른 페이지를 타고 CartPage를 갈 경우에는 props.user.userData값이 존재해서 사진의 코드가 정상적으로 작동할텐데 그렇다면, CartPage를 새로고침 할 경우 state의 값이 빈배열로 초기화되고, useEffect에 props.user는 빈배열이더라고요. 질문 1) CartPage에서 새로고침 할 경우 발생하는 문제 2) reducer에서 state의 값을 가져올 때, landigPage 혹은 해당 페이지에서 새로고침 할 경우, useSelector나 props로 넘겨주는 방식일 때 userData를 받아올 수 있는 방법은 무엇인지가 궁금합니다 감사합니다!!