묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결Vue.js 시작하기 - Age of Vue.js
학생증 인증이 안되요.
안녕하세요 현재 vue js 제일 초급을 듣고 있는데요. 현재 취업을 준비하고 있고 vue js 중급이랑 웹팩을 듣고 싶어서 50%할인 강의 신청을 하려했는데 학생증인식이 안되더라구요. 어떻하면 될까요..? 다른분 보니까 메일을 보내는거 같더라구요. 학생증, 졸업예정증명서 외 다른 취업준비 관련 증명 사진들 보내 드리고 강의 보고싶은데.ㅠㅠ 가능할까요?
-
미해결[2021] 요즘 누가 유료로 웹서비스 구축하나, 파이어베이스의 모든 것 - Vue.js
node-sass 때문에 서버실행이 안됩니다
어떻게 해결해야 할까요? 강의 진행을 못하고 있습니다 ㅜㅜ
-
해결됨프로젝트로 배우는 Vue.js 3
라우터 40강 <router-view/> 관련 질문 입니다
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요 강의를 듣다가 40강에서 <router-view/> 를 넣었는데 빈 화면이 나오는 오류가 발생하였습니다 구글링도 해보고 강의 게시판에서 검색도 하였으나 해결방법을 찾지못하여 이렇게 질문을 드려봅니다 강의를 3번씩 따라서 해보아도 같은 오류가 나왔습니다 감사합니다 콘솔에서 보이는 오류를 사진첨부하였습니다
-
미해결스프링 핵심 원리 - 기본편
Provider @Autowired에 대해 질문드립니다.
안녕하세요. 항상 양질의 답변 감사드립니다 Provider의 의존관계 주입에 대해 문의드리고 싶은 것이 있습니다. static class ClientBean{ @Autowired private Provider<PrototypeBean> prototypeBeanProvider; 위 코드에서 ClientBean은 필드변수로 prototypeBeanProvider가 선언되는데, 초기에는 null값을 가지는 것으로 보입니다. 그리고 의존관계 주입 단계에서 @Autowired에서 스프링 빈 컨테이너에 있는 특정한 빈이 prototypeBeanProvider에 주입되는 것으로 보입니다. 이 때, prototypeBeanProvider에 주입되는 빈은 어떤 것인지 알려주실 수 있을까요? protoTypeBeanProvider에 주입된 빈이 있고, 그 빈에서 DL 기능을 지원하는 것으로 보이는데.. 어떤 빈이 주입되는지 잘 이해가 되지 않습니다.
-
미해결딥러닝 CNN 완벽 가이드 - TFKeras 버전
8:19 질문있습니다.
1."0으로 최적 수렴~~"부터는 이해가 잘 안됩니다 쌤. 2. Residual blok의 target이 0이면 이미지 학습은 어떻게 진행되는 건가요? 기존에는 사람이면 사람이미지를 주고 지도학습을 하는데 이번 경우는 그냥 숫자 0이 target 값이잖아요. 이런상태에서 입력 이미지의 FM을 어떤 기준으로 연산되는지 알고 싶습니다.
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
MVC 패턴의 탄생 배경과 RequestDispatcher 의 관계
이전 강의에서 서블릿과 jsp 각각의 비효율적인 부분 때문에 MVC 패턴이 등장하게 된 것으로 이해를 했습니다. MVC 패턴이 동작하기 위해서는 RequestDispatcher 를 통하여 jsp 부분으로 forwarding 해주는 기능이 필수적으로 필요해 보이는데요. 이 기능이 서블릿의 단점을 보완하기 위해 서블릿 버전이 업데이트 되면서 MVC 를 지원하기 위해 나중에 나온 기능인지, 원래 부터 있었던 기능인데, "고대 개발자"들이 모르고 비효율적으로 쓰고 있었던 건지 궁금합니다.
-
미해결누구나 할 수 있다! 이모티콘 만들기
포토샵
- 어떤 포토샵 사용하세요?
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
덕분에 완강하였습니다.
허나 강의를 촬영하신 시기와 지금의 차이가 있어서 그런지 강의 내용보다 버전차이에서 오는 다름을 찾는 것이 더욱 어려웠던 강의입니다. 그래서 강사님의 깃 중 https://github.com/jaewonhimnae/boiler-plate-ko을 클론하여 완벽히 돌아가는 상태를 보려고 하는데 config폴더에 dev.js를 잘 넣고 맞는 디렉토리에서 npm install을 하였습니다. 하지만 이리저리 시도를 해봐도 npm install에서 다량의 오류가 발생하여 답답해하던 중 여기에 질문을 올려봅니다. ero@Kimui-MacBookAir:~/Downloads/boiler-plate-ko-master » npm install > bcrypt@3.0.7 install /Users/ero/Downloads/boiler-plate-ko-master/node_modules/bcrypt > node-pre-gyp install --fallback-to-build 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.7/bcrypt_lib-v3.0.7-node-v83-darwin-x64-unknown.tar.gz node-pre-gyp WARN Pre-built binaries not found for bcrypt@3.0.7 and node@14.18.1 (node-v83 ABI, unknown) (falling back to source compile with node-gyp) No receipt for 'com.apple.pkg.CLTools_Executables' found at '/'. No receipt for 'com.apple.pkg.DeveloperToolsCLILeo' found at '/'. No receipt for 'com.apple.pkg.DeveloperToolsCLI' found at '/'. gyp: No Xcode or CLT version detected! gyp ERR! configure error gyp ERR! stack Error: `gyp` failed with exit code: 1 gyp ERR! stack at ChildProcess.onCpExit (/usr/local/lib/node_modules/npm/node_modules/node-gyp/lib/configure.js:351:16) gyp ERR! stack at ChildProcess.emit (events.js:400:28) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:282:12) gyp ERR! System Darwin 20.6.0 gyp ERR! command "/usr/local/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "configure" "--fallback-to-build" "--module=/Users/ero/Downloads/boiler-plate-ko-master/node_modules/bcrypt/lib/binding/bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=/Users/ero/Downloads/boiler-plate-ko-master/node_modules/bcrypt/lib/binding" "--napi_version=8" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v83" gyp ERR! cwd /Users/ero/Downloads/boiler-plate-ko-master/node_modules/bcrypt gyp ERR! node -v v14.18.1 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 '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/ero/Downloads/boiler-plate-ko-master/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/Users/ero/Downloads/boiler-plate-ko-master/node_modules/bcrypt/lib/binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (/Users/ero/Downloads/boiler-plate-ko-master/node_modules/node-pre-gyp/lib/util/compile.js:83:29) node-pre-gyp ERR! stack at ChildProcess.emit (events.js:400:28) node-pre-gyp ERR! stack at maybeClose (internal/child_process.js:1058:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:293:5) node-pre-gyp ERR! System Darwin 20.6.0 node-pre-gyp ERR! command "/usr/local/bin/node" "/Users/ero/Downloads/boiler-plate-ko-master/node_modules/.bin/node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd /Users/ero/Downloads/boiler-plate-ko-master/node_modules/bcrypt node-pre-gyp ERR! node -v v14.18.1 node-pre-gyp ERR! node-pre-gyp -v v0.13.0 node-pre-gyp ERR! not ok Failed to execute '/usr/local/bin/node /usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js configure --fallback-to-build --module=/Users/ero/Downloads/boiler-plate-ko-master/node_modules/bcrypt/lib/binding/bcrypt_lib.node --module_name=bcrypt_lib --module_path=/Users/ero/Downloads/boiler-plate-ko-master/node_modules/bcrypt/lib/binding --napi_version=8 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v83' (1) npm WARN boiler-plate@1.0.0 No description npm WARN boiler-plate@1.0.0 No repository field. npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! bcrypt@3.0.7 install: `node-pre-gyp install --fallback-to-build` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the bcrypt@3.0.7 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! /Users/ero/.npm/_logs/2021-11-12T19_29_54_727Z-debug.log
-
미해결[리뉴얼] 파이썬입문과 크롤링기초 부트캠프 [파이썬, 웹, 데이터 이해 기본까지] (업데이트)
googletrans 라이브러리 설치 후 코드가 실행되지 않는 현상이 있습니다.
https://inf.run/RZry 정확히 이 글과 같은 현상인 것 같고요, 파이썬이 가장 프로그래밍하기 쉬운 이유 - 파이썬 라이브러리 사용법2 library_20201223 파일에서 라이브러리를 주피터 노트북으로 직접 설치한 다음 실행해도 동일합니다. 이 코드를 실행하면 from googletrans import Translator dave = Translator() word = dave.translate('나는 가방을 매고 학교에 갔습니다.', dest='en', src='ko') print (word.text) 이런 타입의 에러가 나오고, 다른 코드들을 실행해도 거의 비슷한 유형의 에러가 뜨는 것 같습니다.--------------------------------------------------------------------------- AttributeError Traceback (most recent call last) <ipython-input-11-c115971908ad> in <module> 1 from googletrans import Translator 2 dave = Translator() ----> 3 word = dave.translate('나는 가방을 매고 학교에 갔습니다.', dest='en', src='ko') 4 print (word.text) ~/opt/anaconda3/lib/python3.8/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. ~/opt/anaconda3/lib/python3.8/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) ~/opt/anaconda3/lib/python3.8/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 ~/opt/anaconda3/lib/python3.8/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' 다른 코드들은 attribute error가 뜨고, 설치 바로 밑에 있는 코드는 약간 다른 타입의 에러가 나는데 내용은 다음과 같습니다.
-
해결됨[리뉴얼] React로 NodeBird SNS 만들기
모바일버전 대응
일반 데스크탑화면일때 뷰량 모바일일때 뷰량 헤더부분(네비게이션) 을 다르게 구성해서 모바일로 가면 화면을 다른걸로 보여줘야되는데 어떻게 해야되나요?
-
미해결함수형 프로그래밍과 JavaScript ES6+
reduceF함수 내부에서
a instanceof Promise ? a.then(a=> f(acc,a), e=> e == nop ? acc : Promise.reject(e)) reduceF함수 내부에서 e => e== nop이라면 acc를 반환하기로 되어있는데, 쉼표를 하고 e가 nop과 같은지 검사하는 이유는 앞에 a=>f(acc,a)가 실패했을 때 호출이 되고 이것이 nop인지 아니면 함수 전체를 reject하려고하는 건지를 확인하려는 의미인 것인가요? 그리고 위의 코드에서 nop은 Lfilter로 부터 전달된 게 맞나요?
-
미해결[개정판 2023-11-27] Spring Boot 3.x 를 이용한 RESTful Web Services 개발
필터링 대신에 dto를 사용하면 안되나요?
예를들면 UserSimpleDto 클래스로 id, name, joinDate만 내려주고 전체 데이터는 User에서 가져오는 방식은 문제가 있을까요? 제가 rest api를 처음 제대로 접해봐서 뜬금없는 질문인것 같긴한데 궁금해서 질문드립니다.
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part1: C# 기초 프로그래밍 입문
ㅠ
오류로 지금까지 작성했던게 안보이네요 이유가 뭘까요?
-
미해결설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
Hello world 강의에서 문제가 있습니다.
강의를 따라하면서 편집 할때도 동일한 에러가 나서 신택스 에러라길래 원래의 파일대로 빌드 해도 같은 에러가 반복됩니다...
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
__analysis_assume
__analysis_assume 사용하지 않고 다른 방법으로 하려면 어떻게 해야하나요? 조건문으로 구별하면 안되나요?
-
미해결프로그래밍, 데이터 과학을 위한 파이썬 입문
backend.ai 설치 시 에러 발생
cmd 창에서 pip install -U backend.ai-client==19.03.2 입력 시, 잘 진행되다가 아래와 같이 에러가 발생하고 설치가 안되네요 ---------------------------------------------- Building wheels for collected packages: multidict Building wheel for multidict (PEP 517) ... error ERROR: Command errored out with exit status 1: command: 'C:\ProgramData\Miniconda3\python.exe' 'C:\ProgramData\Miniconda3\lib\site-packages\pip\_vendor\pep517\in_process\_in_process.py' build_wheel 'C:\Users\rheeh\AppData\Local\Temp\tmpqn5_snyt' cwd: C:\Users\rheeh\AppData\Local\Temp\pip-install-8z643arz\multidict_b65ea9a8b4244633981ffcb13708283a Complete output (41 lines): ********************** * Accellerated build * ********************** running bdist_wheel running build running build_py creating build creating build\lib.win-amd64-3.9 creating build\lib.win-amd64-3.9\multidict copying multidict\_abc.py -> build\lib.win-amd64-3.9\multidict copying multidict\_compat.py -> build\lib.win-amd64-3.9\multidict copying multidict\_multidict_base.py -> build\lib.win-amd64-3.9\multidict copying multidict\_multidict_py.py -> build\lib.win-amd64-3.9\multidict copying multidict\__init__.py -> build\lib.win-amd64-3.9\multidict running egg_info writing multidict.egg-info\PKG-INFO writing dependency_links to multidict.egg-info\dependency_links.txt writing top-level names to multidict.egg-info\top_level.txt reading manifest file 'multidict.egg-info\SOURCES.txt' reading manifest template 'MANIFEST.in' warning: no previously-included files matching '*.pyc' found anywhere in distribution warning: no previously-included files found matching 'multidict\_multidict.html' warning: no previously-included files found matching 'multidict\*.so' warning: no previously-included files found matching 'multidict\*.pyd' warning: no previously-included files found matching 'multidict\*.pyd' no previously-included directories found matching 'docs\_build' adding license file 'LICENSE' writing manifest file 'multidict.egg-info\SOURCES.txt' copying multidict\__init__.pyi -> build\lib.win-amd64-3.9\multidict copying multidict\_multidict.c -> build\lib.win-amd64-3.9\multidict copying multidict\py.typed -> build\lib.win-amd64-3.9\multidict creating build\lib.win-amd64-3.9\multidict\_multilib copying multidict\_multilib\defs.h -> build\lib.win-amd64-3.9\multidict\_multilib copying multidict\_multilib\dict.h -> build\lib.win-amd64-3.9\multidict\_multilib copying multidict\_multilib\istr.h -> build\lib.win-amd64-3.9\multidict\_multilib copying multidict\_multilib\iter.h -> build\lib.win-amd64-3.9\multidict\_multilib copying multidict\_multilib\pair_list.h -> build\lib.win-amd64-3.9\multidict\_multilib copying multidict\_multilib\views.h -> build\lib.win-amd64-3.9\multidict\_multilib running build_ext building 'multidict._multidict' extension error: Microsoft Visual C++ 14.0 or greater is required. Get it with "Microsoft C++ Build Tools": https://visualstudio.microsoft.com/visual-cpp-build-tools/ ---------------------------------------- ERROR: Failed building wheel for multidict Failed to build multidict ERROR: Could not build wheels for multidict which use PEP 517 and cannot be installed directly C:\workspace>
-
미해결스프링 핵심 원리 - 기본편
프로토타입, 싱글톤 스코프 같이 쓸 때 궁금한 점이 있습니다!
안녕하세요, 항상 양질의 답글 감사드립니다. 이번 강의를 들으면서 싱글톤 스코프, 프로토타입 스코프를 같이 사용할 때 발생하는 일이 정확히 어떤지 궁금해서 문의드립니다. public class SingletonTypeTestWithProtoTyepBean { @Test void prototypeTest(){ AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(PrototypeBean.class); PrototypeBean prototypeBean1 = ac.getBean(PrototypeBean.class); PrototypeBean prototypeBean2 = ac.getBean(PrototypeBean.class); prototypeBean1.addCount(); prototypeBean2.addCount(); System.out.println("prototypeBean2.getCount() = " + prototypeBean2.getCount()); System.out.println("prototypeBean1.getCount() = " + prototypeBean1.getCount()); Assertions.assertThat(prototypeBean1.getCount()).isEqualTo(prototypeBean2.getCount()); } @Test void SingletonTestWithProto(){ AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(ClientBean.class, PrototypeBean.class); ClientBean bean1 = ac.getBean(ClientBean.class); ClientBean bean2 = ac.getBean(ClientBean.class); int count1 = bean1.logic(); int count2 = bean2.logic(); System.out.println("count1 = " + count1); System.out.println("count2 = " + count2); Assertions.assertThat(count1).isNotEqualTo(count2); ac.close(); } @RequiredArgsConstructor @Scope("singleton") static class ClientBean{ private final PrototypeBean prototypeBean; public int logic(){ prototypeBean.addCount(); return prototypeBean.getCount(); } @PostConstruct public void initSingleton(){ System.out.println("ClientBean.initSingleton"); } @PreDestroy public void singltonend(){ System.out.println("ClientBean.singltonend"); } } @Scope("prototype") static class PrototypeBean { private int count = 0 ; public void addCount() { count++; } public int getCount(){ return count; } @PostConstruct public void init(){ System.out.println("PrototypeBean.init"); } @PreDestroy public void destory(){ System.out.println("PrototypeBean.destory"); } }} 위 코드의 실행 결과는 아래와 같습니다. 코드 실행 결과를 바탕으로 실행 과정을 유추해보면 다음과 같은 것 같은데, 제가 생각하는 것이 맞는지 한번 알려주실 수 있을까요? 1. 스프링 컨테이너 생성과 함께 클라이언트 클래스의 빈 객체는 생성된다. 2. 클라이언트 클래스의 빈 객체는 생성자 주입을 통해서 되기 때문에, 생성되는 시점에서 프로토타입 클래스 빈 객체를 호출한다 3. 이 때 프로토타입 빈 객체는 생성되고, 의존관계 주입되고, 초기화 메서드까지 진행되고 스프링 컨테이너에 저장된다. (프로토타입 초기화 메서드 실행 로그 확인) 4. 스프링 컨테이너에서 프로토타입 빈 객체를 찾아와 클라이언트 클래스 빈 객체에 주입시켜준다. 이 때 스프링 컨테이너에서 프로토타입 빈 객체는 사라진다. 5. DI 단계는 이미 완료되었으며, 클라이언트 초기화 메서드 실행됨. 위의 단계로 진행되는 것이 맞을까요? 앞에 설명해주신 내용을 좀 더 생각해봐서 위와 같이 정리했는데... 뇌피셜로는 맞는 것 같은데, 정말로 맞을지 궁금합니다. 항상 감사드립니다.
-
미해결팀 개발을 위한 Git, GitHub 입문
수업자료) 부탁드립니다 magicst7784@gmail.com
^-^
-
미해결자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)
와 이게 1판왕이엿던듯 간신히 풀어서 걍 글냄겨요
기본적인 아이디어는 걍 각 막대기마다 가지고 있는 레이저의 개수를 기록하자 이게 다임 function solution(s){ let a = s.split(''); let laser = sum = originPos = 0; let stack = []; for(let i=0; i<s.length; ++i) { if(a[i] === '(' && a[i+1] === '(') { originPos = i; do { if(a[i] === '(') sum++; else sum--; if(a[i] === '(' && a[i+1] === ')') laser++; ++i; } while (sum !== 0); i = originPos; stack.push([i,laser+1]); sum = laser = 0; } } sum = stack.reduce((acc,v)=>{return acc + v[1];},0) return sum; } let b ='(((()())(())()))'; let a="()(((()())(())()))(())"; console.log(solution(a));
-
미해결쉬우면서 강력한 유니티(Unity) 에디터 프로그래밍
영상에서 소리가 너무 작게 들립니다.
해당 영상에 소리가 너무 작게 들리는 것 같아서 게시판에 글 남깁니다. 확인 부탁드려요~