inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

173만명의 커뮤니티!! 함께 토론해봐요.

부탁이 있습니다 ^^

미해결

스프링 웹 MVC

강의 잘 듣고 있습니다. 한가지 바람이 있다면 인텔리제이 진행하실때 Presentation Assistant 같은 플러그인을 쓰시면 화면에 단축키하고 메뉴가 표시되어서 좋을것 같아요

  • MVC
  • java
  • spring
Johnson Steve 댓글 1 좋아요 0 조회수 194

처음 vue를 접하다보니 로직 흐름이 잘 이해가 안됩니다..ㅠㅠ

미해결

실습 UI 개발로 배워보는 순수 javascript 와 VueJS 개발

처음 vue를 배우는데 강좌를 계속 듣다보니 의아한게 있어서 질문드립니다.. 로직 흐름이 어려워서 이런 문의를 드리게 됬습니다..ㅠㅠ 예를들어 말씀드리면, 1. 검색창 input태그(HTML)로 작성한 부분을 템플릿(#search-form) 으로 바꾸고 , 기존에 검색창 input(html)이 있던 자리에 디렉토리(search-form)를 만드셨는데 왜 이렇게 하신건가요? 2.템플릿(#search-form)에 검색창에 필요한 기능들이 있는데, 아래 예시와 같이 디렉토리(search-form)에 추가 기능을 넣는 이유가 먼가요? ex. <search-form v-bind:value="query" v-on:@submit="onSubmit" v-on:@reset="onReset"></search-form> 3. app.js만 작성하다가 개발이 완료된 후, 컴포넌트 작성이 추가됬는데요. 왜 컴포넌트 작성을 추가하신건가요? 그리고 인스턴스와 컴포넌트 무슨 관계라고 생각하면 될까요?

  • vuejs
  • javascript
최주희 댓글 0 좋아요 0 조회수 177

과제관련

미해결

밑바닥 부터 시작하는 머신러닝 입문

홈페이지 업데이트가 된 이후로 과제가 다 사라져있는데 이거는 언제 복귀가 가능한가요? 과제를 다시 풀어보고싶은데 못하고 있습니다. ㅠㅠ

  • 머신러닝 배워볼래요?
ds.wook 댓글 1 좋아요 0 조회수 194

혹시 광고성 강좌인가요?

Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습

삭제된 글입니다

  • blockchain
rapanui 댓글 2 좋아요 0 조회수 84

키에러가 납니다

미해결

파이썬 입문 및 웹 크롤링을 활용한 다양한 자동화 어플리케이션 제작하기

뉴버전 보고있는데 Close Open High Low Volume Change Date 2019-04-22 204.53 202.83 204.94 202.34 19440000.0 0.0033 2019-04-23 207.48 204.43 207.75 203.90 23320000.0 0.0144 2019-04-24 207.16 207.36 208.48 207.05 17540000.0 -0.0015 2019-04-25 205.28 206.83 207.76 205.12 18540000.0 -0.0091 2019-04-26 204.30 204.90 205.00 202.12 18650000.0 -0.0048 2019-04-29 204.61 204.40 205.97 203.86 22200000.0 0.0015 2019-04-30 209.95 202.69 209.95 199.17 1730000.0 0.0261 Traceback (most recent call last): File "pandas/_libs/index.pyx", line 457, in pandas._libs.index.DatetimeEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 811, in pandas._libs.hashtable.Int64HashTable.get_item TypeError: an integer is required During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/hyeonseongjun/anaconda3/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2525, in get_loc return self._engine.get_loc(key) File "pandas/_libs/index.pyx", line 421, in pandas._libs.index.DatetimeEngine.get_loc File "pandas/_libs/index.pyx", line 459, in pandas._libs.index.DatetimeEngine.get_loc File "pandas/_libs/index.pyx", line 465, in pandas._libs.index.DatetimeEngine._date_check_type KeyError: '2016-02-25' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "pandas/_libs/index.pyx", line 457, in pandas._libs.index.DatetimeEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 811, in pandas._libs.hashtable.Int64HashTable.get_item TypeError: an integer is required During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/hyeonseongjun/anaconda3/lib/python3.6/site-packages/pandas/core/indexes/datetimes.py", line 1435, in get_loc return Index.get_loc(self, key, method, tolerance) File "/Users/hyeonseongjun/anaconda3/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2527, in get_loc return self._engine.get_loc(self._maybe_cast_indexer(key)) File "pandas/_libs/index.pyx", line 421, in pandas._libs.index.DatetimeEngine.get_loc File "pandas/_libs/index.pyx", line 459, in pandas._libs.index.DatetimeEngine.get_loc File "pandas/_libs/index.pyx", line 465, in pandas._libs.index.DatetimeEngine._date_check_type KeyError: '2016-02-25' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "pandas/_libs/index.pyx", line 449, in pandas._libs.index.DatetimeEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 811, in pandas._libs.hashtable.Int64HashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 817, in pandas._libs.hashtable.Int64HashTable.get_item KeyError: 1456358400000000000 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/hyeonseongjun/anaconda3/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2525, in get_loc return self._engine.get_loc(key) File "pandas/_libs/index.pyx", line 421, in pandas._libs.index.DatetimeEngine.get_loc File "pandas/_libs/index.pyx", line 451, in pandas._libs.index.DatetimeEngine.get_loc KeyError: Timestamp('2016-02-25 00:00:00') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "pandas/_libs/index.pyx", line 449, in pandas._libs.index.DatetimeEngine.get_loc File "pandas/_libs/hashtable_class_helper.pxi", line 811, in pandas._libs.hashtable.Int64HashTable.get_item File "pandas/_libs/hashtable_class_helper.pxi", line 817, in pandas._libs.hashtable.Int64HashTable.get_item KeyError: 1456358400000000000 During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/hyeonseongjun/anaconda3/lib/python3.6/site-packages/pandas/core/indexes/datetimes.py", line 1444, in get_loc return Index.get_loc(self, stamp, method, tolerance) File "/Users/hyeonseongjun/anaconda3/lib/python3.6/site-packages/pandas/core/indexes/base.py", line 2527, in get_loc return self._engine.get_loc(self._maybe_cast_indexer(key)) File "pandas/_libs/index.pyx", line 421, in pandas._libs.index.DatetimeEngine.get_loc File "pandas/_libs/index.pyx", line 451, in pandas._libs.index.DatetimeEngine.get_loc KeyError: Timestamp('2016-02-25 00:00:00') During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/Users/hyeonseongjun/Desktop/inflearn/section2/test/bnmva23-1/download4-7-3.py", line 24, in <module> print(df_app.ix['2016-02-25']) File "/Users/hyeonseongjun/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 127, in __getitem__ return self._getitem_axis(key, axis=axis) File "/Users/hyeonseongjun/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 1108, in _getitem_axis return self._get_label(key, axis=axis) File "/Users/hyeonseongjun/anaconda3/lib/python3.6/site-packages/pandas/core/indexing.py", line 145, in _get_label return self.obj._xs(label, axis=axis) File "/Users/hyeonseongjun/anaconda3/lib/python3.6/site-packages/pandas/core/generic.py", line 2344, in xs loc = self.index.get_loc(key) File "/Users/hyeonseongjun/anaconda3/lib/python3.6/site-packages/pandas/core/indexes/datetimes.py", line 1446, in get_loc raise KeyError(key) KeyError: '2016-02-25' 에러메세지인데요 혹시나 해서 복붙해봤는데 역시나 마찬가지입니다

  • python
  • 웹-크롤링
TV 으악맨 (읅!) 댓글 2 좋아요 0 조회수 657

함수들을 배열에 저장하는 부분에서 let i로 선언한 값들이 어떻게 함수내에 저장되는지 잘 이해가 안갑니다.

미해결

Javascript ES6+ 제대로 알아보기 - 초급

let funcs = [] for (let i = 0; i < 10; i++) { funcs.push(function() { console.log(i) }) } funcs.forEach(function(f) { f() }) forEach로 f함수를 실행시키는 부분에서 i의 스코프가 어디서 살아 있는 건가요? 제가 이해하기로는 funcs = [ ..., function() { console.log(i) }, ...]로 i에 대한 값은 없이 함수만 저장되어 있고 forEach로 실행시키는 부분에서는 for문 밖에서 실행시키기 때문에 for 문의 스코프에 영향을 받지 않을 것이라 예상되는데 만약 i가 for 문의 스코프에 영향을 받는다면 어떤 방식으로 받는 것인지, 그것이 왜 메모리 측면에서 효율적인지 알고 싶습니다!

  • es6
  • javascript
hyuk22 댓글 3 좋아요 2 조회수 321

topology_interface 단축키

미해결

3dsmax 초급부터 전문가까지 - 한방에 끝내는 3dsmax 강좌

안보여서 설정을 못했어요..

  • 3ds-max
- beanpect 댓글 1 좋아요 0 조회수 264

pip install requests

해결됨

파이썬으로 구현하는 거래 자동화 봇 (챗봇)

Pycharm terminal 에서 pip install requests 라고 입력하면 아래와 같이 나옵니다. 이미 설치가 되었다는 것 같은데... 그리고 메인창에 import requests 를 입력하면 아무것도 안나오는데요. -------------------------------------------------------- Microsoft Windows [Version 10.0.17763.437] (c) 2018 Microsoft Corporation. All rights reserved. (base) C:\Users\USER\PycharmProjects\autobot>pip install requests Requirement already satisfied: requests in c:\anaconda3\lib\site-packages (2.21.0) Requirement already satisfied: chardet<3.1.0,>=3.0.2 in c:\anaconda3\lib\site-packages (from requests) (3.0.4) Requirement already satisfied: certifi>=2017.4.17 in c:\anaconda3\lib\site-packages (from requests) (2019.3.9) Requirement already satisfied: urllib3<1.25,>=1.21.1 in c:\anaconda3\lib\site-packages (from requests) (1.24.1) Requirement already satisfied: idna<2.9,>=2.5 in c:\anaconda3\lib\site-packages (from requests) (2.8)

  • python
  • chatbot
이동희 댓글 1 좋아요 0 조회수 353

왜 node 환경과 브라우저 환경에서 전역 this의 동작이 다른가요?

미해결

Javascript ES6+ 제대로 알아보기 - 초급

강의 중간에 나온 함수에서 `this.value = 3`이 브라우저 환경에선 window.value로 할당되는 반면 노드 환경에서는 왜 그렇게 동작하지 않는지 궁금합니다.

  • javascript
  • es6
hyuk22 댓글 6 좋아요 0 조회수 530

npm start 후 error

미해결

Node.js로 웹 크롤링하기

UnhandledPromiseRejectionWarning: SequelizeConnectionError: Client does not support authentication protocol requested by server; consider upgrading MySQL client 이런 오류가 생기는데, 어떤게 문제인지 모르겠습니다. 원래 강의대로라면 crawler schema에 table이 생겨야하는데, 위 오류가 발생합니다. mysql 설치시 validation을 설치했는데 그거 때문에 생긴 문제일까요? 코드는 다음 코드에서 돌렸습니다. const puppeteer = require ( "puppeteer" ); const dotenv = require ( "dotenv" ); const db = require ( "./models" ); dotenv . config (); const crawler = async () => { await db . sequelize . sync (); try { let browser = await puppeteer . launch ({ headless: false , args: [ "--window-size=1920,1080" , "--disable-notifications" ] }); let page = await browser . newPage (); await page . setViewport ({ width: 1080 , height: 1080 }); await page . goto ( "http://spys.one/free-proxy-list/KR/" ); const proxies = await page . evaluate (() => { const ips = Array . from ( document . querySelectorAll ( "tr > td:first-of-type > .spy14" ) ). map ( v => v . textContent . replace ( /document \. write \( . +\) / , "" )); const types = Array . from ( document . querySelectorAll ( "tr > td:nth-of-type(2)" ) ) . slice ( 5 ) . map ( v => v . textContent ); const latencies = Array . from ( document . querySelectorAll ( "tr > td:nth-of-type(6) .spy1" ) ). map ( v => v . textContent ); return ips . map (( v , i ) => { return { ip: v , type: types [ i ], latency: latencies [ i ] }; }); }); const filtered = proxies . filter ( v => v . type . startsWith ( "HTTP" )) . sort (( p , c ) => p . latency - c . latency ); await Promise . all ( filtered . map ( async v => { return db . Proxy . upsert ({ ip: v . ip , type: v . type , latency: v . latency }); }) ); await page . close (); await browser . close (); const fastestProxies = await db . Proxy . findAll ({ order: [[ "latency" , "ASC" ]] }); browser = await puppeteer . launch ({ headless: false , args: [ "--window-size=1920,1080" , "--disable-notifications" , `--proxy-server= ${ fastestProxies [ 0 ]. ip } ` ] }); const browser2 = await puppeteer . launch ({ headless: false , args: [ "--window-size=1920,1080" , "--disable-notifications" , `--proxy-server= ${ fastestProxies [ 1 ]. ip } ` ] }); const browser3 = await puppeteer . launch ({ headless: false , args: [ "--window-size=1920,1080" , "--disable-notifications" , `--proxy-server= ${ fastestProxies [ 2 ]. ip } ` ] }); // const context = await browser.createIncognitoBrowserContext(); // const context2 = await browser.createIncognitoBrowserContext(); // const context3 = await browser.createIncognitoBrowserContext(); // console.log(await browser.browserContexts()); const page1 = await browser . newPage (); const page2 = await browser2 . newPage (); const page3 = await browser3 . newPage (); await page1 . goto ( "https://search.naver.com/search.naver?sm=top_hty&fbm=1&ie=utf8&query=%EB%82%B4+%EC%95%84%EC%9D%B4%ED%94%BC" ); await page2 . goto ( "https://search.naver.com/search.naver?sm=top_hty&fbm=1&ie=utf8&query=%EB%82%B4+%EC%95%84%EC%9D%B4%ED%94%BC" ); await page3 . goto ( "https://search.naver.com/search.naver?sm=top_hty&fbm=1&ie=utf8&query=%EB%82%B4+%EC%95%84%EC%9D%B4%ED%94%BC" ); // page = await browser.newPage(); // await page.goto('https://search.naver.com/search.naver?sm=top_hty&fbm=1&ie=utf8&query=%EB%82%B4+%EC%95%84%EC%9D%B4%ED%94%BC'); // await page.waitFor(10000); // await page.close(); // await browser.close(); await db . sequelize . close (); } catch ( e ) { console . error ( e ); } }; crawler ();

  • nodejs
  • javascript
  • 웹-크롤링
  • puppeteer
이재형 댓글 2 좋아요 0 조회수 224

강의 소리가 너무 작아요

미해결

자바 스프링 프레임워크(renew ver.) - 신입 프로그래머를 위한 강좌

카페에서 노트북으로 듣고 있는데 이강의는 무소음 장소에서 듣는 용도 인가요?

  • java
  • spring
핵심국사 댓글 5 좋아요 18 조회수 1494

강의 예제 파일

미해결

실전 HTML & CSS 강좌

강의 예제 파일을 첨부해주시면 좋겠는데... 불가한가요?

  • HTML/CSS
문성심 댓글 0 좋아요 0 조회수 164

질문입니다

미해결

리눅스 시스템 프로그래밍 - 이론과 실습

혹시 개인적으로 리눅스 분야 관련해서 여쭤봐도 될까요?? 취업진로긴합니다..

  • linux
젓인 댓글 1 좋아요 0 조회수 139

길이 이동이 어렵네요 ㅠㅠ

미해결

리눅스 시스템 프로그래밍 - 이론과 실습

저 프로그램은 결국 buf가 EOF까지가면 끝나는 프로그램이군요...

  • linux
젓인 댓글 1 좋아요 0 조회수 140

for 문에서 invalid syntax

해결됨

프로그래밍, 데이터 과학을 위한 파이썬 입문

for i in range(i, 10): i <10 i += 1 print(i) 이렇게 했을 때 invalid syntax 가 나는 이유가 i 가 for 문 안에 있어서 그 밖으로 나오면 모르는 값이라고 해서 그런 건가요?

  • bigdata
  • python
박미나 댓글 2 좋아요 0 조회수 606

for 문

해결됨

프로그래밍, 데이터 과학을 위한 파이썬 입문

for i in range(i, 10): i < 10 i += 1 print(i) 이렇게 하니까 True 2 True 3 True 4 True 5 True 6 True 7 True 8 True 9 True 10 이렇게 나오던데 왜 True 가 나오는 건가요?

  • bigdata
  • python
박미나 댓글 1 좋아요 0 조회수 178

수업자료 관련 질문

미해결

디자인 1도 몰라도 쉽게 배우는 Sketch App 모바일 UI 디자인 [초급]

예제파일은 어디서 다운받을 수 있나요?

  • sketch
  • 모바일-디자인
강민준 댓글 0 좋아요 0 조회수 147

태그 단축키

미해결

CSS 기본부터 활용까지

#small+#large 적고 바로 태그로 만드는 단축키가 있나요??

  • HTML/CSS
정재욱[음악학부] 댓글 0 좋아요 0 조회수 326

인기 태그

인프런 TOP Writers

주간 인기글