176만명의 커뮤니티!! 함께 토론해봐요.
미해결
Vue.js - Django 연동 웹 프로그래밍
< body > < div id = 'app' > < h1 > 소모품대장 계산 도우미 </ h1 > < div class = "inputBox" > < small > 현재 재고는 < b > {{ inStock }} </ b > 입니다. </ small > < input class = "use" type = "text" placeholder = "불출량 입력하세요" v-model = "use" > < button v-on:click = "usingInStock(use)" v-on:keyup.enter = "usingInStock(use)" > 사용 </ button > </ div > < div class = "inputBox" > < small > 추가 입고분이 있다면 입력해주세요. </ small > < input class = "store" type = "text" placeholder = "입고량 입력하세요" v-model = "store" > < button v-on:click = "storingInStock(store)" v-on:keyup.enter = "storingInStock(store)" > 사용 </ button > </ div > < ul class = "todoList" > < li v-for = "(record, index) in records" > < span > {{index}} :: 날짜는 : {{record.Today_date}} - 재고는 : {{ record.currunt_data }} </ span > </ li > </ ul > </ div > < script src = "https://unpkg.com/vue@2.6.10/dist/vue.js" > < / script > < script > function getRandomIntInclusive ( min , max ) { return Math . floor ( Math . random () * ( max - min + 1 )) + min ; } var vm = new Vue ({ el: '#app' , data: { inStock: '1581' , use: '' , store: '' , str1: '' , tempDate: new Date ( 2018 , 0 , 1 ), fistDate: '' , records: [ { Today_date: '' , currunt_data: '' } ], }, methods: { usingInStock : function ( use ){ this . inStock -= this . use var d = new Date (); var week = new Array ( '일' , '월' , '화' , '수' , '목' , '금' , '토' ); // this.tempDate.setDate(this.tempDate.getDate() + getRandomIntInclusive(6, 7)) this . tempDate . setDate ( this . tempDate . getDate () + 7 ) // this.str1 = week[this.tempDate.getDay()] // console.log("하하하", this.str1, d.getDate(), d.getDay()) this . records . unshift ({ Today_date: this . tempDate . toLocaleString ( 'ko-KR' , { year: "numeric" , month: "2-digit" , day: "2-digit" , weekday: 'short' }), currunt_data: this . inStock }) }, storingInStock : function ( store ){ this . store = parseInt ( this . store ) this . inStock = parseInt ( this . inStock ) this . inStock += this . store } } } ) < / script > </ body > 위와 같이 코드를 만들어봤는데요 this.inStock에서 -= 변수 하면 instock이 int형으로 잘 반응합니다. *= 도 잘 반응합니다. 근데 왜 +=하면 str + str로 되버려서 제가 따로 저렇게 형변환을 해줘야됩니다. 왜이런지 궁금합니다.
김동혁
2019-05-28T02:59:57.955Z
댓글 1
좋아요 0
조회수 174
미해결
파이썬 입문 및 웹 크롤링을 활용한 다양한 자동화 어플리케이션 제작하기
2018.5.27 기준 python =3.5 version 으로 pyqt5-tools 설치가 불가능하다고 나옵니다.
최문규 Choi
2019-05-28T01:31:27.450Z
댓글 2
좋아요 0
조회수 365
미해결
프로그래밍, 데이터 과학을 위한 파이썬 입문
안녕하세요. 강좌 잘 듣고 있습니다. 인프런에서 과제 제출 후, 정답확인할 수 있는 페이지가 있었으면 합니다. 틀린 문제에 대해 피드백이 없으니 공부하는데 어려움이 있습니다. 이 부분 고려 부탁 드립니다. 감사합니다.
도전적인 사자
2019-05-27T23:39:01.064Z
댓글 1
좋아요 0
조회수 337
미해결
3dsmax 초급부터 전문가까지 - 한방에 끝내는 3dsmax 강좌
혹시 괜찮으시면 단축키 파일을 올려주시는건 어떠실까합니다!!아무래도 수업중간중간마다 계속 단축키를 저장하고 추가하다보니 집중이 흐려지는경우가 있을꺼같아 선생님의 단축키 파일을 올려주시면 학생들도 단축키를 저장하느라 시간을 아낄수있는거같아 하는 마음에 글 남겨드려봅니다..
라수
2019-05-27T16:09:07.524Z
댓글 1
좋아요 0
조회수 335
미해결
입문자를 위한 웹해킹 완벽 실습 with Beebox
macOS mojave 10.14.5 / vmware fusion 11.1 / bWAPP v1.6 환경인데 bWAPP-start를 하면 404 not found 뜹니다. 칼리에서 접속해도 당연히 똑같이 뜨구요. 참고로 Metasploitable 2는 잘 실행이 됩니다. 그리고 보통 virtual lab 설정을 설명하려면 windows환경 / macOS 환경 / linux 에서 최소 2개에서 각각 virtualbox / vmware player 모두 시범을 보여야 하는거 아닌가요? 제가 Udemy 강좌에 익숙해서 그런가요... 아무튼 인터넷 접속은 되는데 bWAPP에 접속 에러가 나는데 이유를 모르겠네요..
Dong Yun Kim
2019-05-27T15:14:15.476Z
댓글 6
좋아요 0
조회수 849
해결됨
함수형 프로그래밍과 JavaScript ES6+
[Symbol.iterator]() { ... } 라고 메소드명을 대괄호로 묶었는데 이건 왜그런건가요?
whysee Song
2019-05-27T14:48:08.991Z
댓글 6
좋아요 2
조회수 523
해결됨
리눅스 IPC 프로그래밍 - 이론과 실습
프로스세스간 부모와 자식은 반드시 1:1인가요? 즉 부모와 자식 관계는 각각 하나의 프로세스만 존재하는건가요? 하나의 부모당 2개의 자식이 있을 순 없나요? 이진트리처럼요 생각해보면 부모 프로세스에서 pipe, fork를 2번 실행한다고 하더라도 매칭이 잘 안될 것 같아서요.
젓인
2019-05-27T14:15:18.633Z
댓글 3
좋아요 0
조회수 221
인터랙티브 웹 개발 제대로 시작하기
삭제된 글입니다
javascript HTML/CSS 인터랙티브-웹
Hwan Soo Lee
2019-05-27T13:54:12.129Z
댓글 1
좋아요 0
조회수 125
미해결
3dsmax 초급부터 전문가까지 - 한방에 끝내는 3dsmax 강좌
안녕하세요 목마하임님 ! main UI 세팅 , editable poly 세팅을 이미지 파일 올려주신대로 그대로 했는데요 ! connect 나 extrude 같은 기능들을 사용할때 "수치기입창(settings)" 이 같이 안뜨고 그냥 실행되버리고 끝나더라구요 ㅜ.ㅜ .. 그래서 단축키 세팅이 잘못됬나 싶어서 초기화시키고 이미지보고 다시 세팅하고 했는데도 그대로네요 ㅜ.ㅜ 무슨 문제가 있는걸까요?.. 수치기입창이 안떠서 단축키 안쓰고 하려니 안좋은습관 들여질까봐 이렇게 물어봅니다 ㅎ 도와주세요!
anstjq1036
2019-05-27T13:16:50.718Z
댓글 2
좋아요 0
조회수 345
미해결
Node.js 교과서 - 기본부터 프로젝트 실습까지
nodemon으로 서버 실행시 해당 문제가 자꾸 발생합니다. 누군가는 mysqlbench에서 root 비밀번호를 다시 설정하는쿼리문을 쏴주면 해결된다고 구글링에는 나오지만, 그렇게 root 유저의 비밀번호를 ''(null)로 설정해도 오류가 계속 생기네요. 해결책이 있을까요? ㅠㅠ
javascript nodejs mongodb mysql
eunho lee
2019-05-27T13:15:07.814Z
댓글 1
좋아요 0
조회수 273
리버스쿨 Level2 - 리버싱 분석 초급과정
삭제된 글입니다
박재헌
2019-05-27T11:06:14.065Z
댓글 1
좋아요 0
조회수 129
미해결
리눅스 시스템 프로그래밍 - 이론과 실습
시그널 블록킹을 하는 이유는 해당 signal을 실행할 경우 인터럽트 처리에서 글로벌 데이터가 손상될 가능성이 있기 때문인가요?? sigprocmask API를 사용하는 상황이 잘 이해가 안갑니다 ㅠㅠ
문수미
2019-05-27T10:24:08.989Z
댓글 5
좋아요 0
조회수 448
미해결
Flutter 입문 - 안드로이드, iOS 개발을 한 번에 (with Firebase)
registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) 오류가 납니다. 스텍플로우를 찾아보면 4.2.0의 고질적인 문제인것 같은데 어떻게 해결하셨나요?
이득기 Lee
2019-05-27T09:51:07.965Z
댓글 1
좋아요 0
조회수 292
미해결
디지털 포렌식 전문가 2급 실기 과정
노트북에 설ㄹ 치 할려구요
envyrose
2019-05-27T08:35:26.054Z
댓글 1
좋아요 0
조회수 205
미해결
언리얼4 블루프린트로 안드로이드 게임 만들기
안녕하세요 강좌 잘보고 있습니다.!~ 이번강의에서 custom 이벤트명을 한글로 작성해도 상관없다고 말씀하셔서 생각 나서 드리는 질문입니다. 혹시 변수명과 함수명 블루프린트 이름도 한글로 작성해도 문제가 없는지 궁금합니다. 프로그램을 계속 한다면 영문명이 맞지만 차후에 네임을 영문으로 한다고 해도 적응 하기전까지는 한글도 상관없다면 한글로 하고 싶은데 괞찮은지 궁금합니다.!~
별이오빠
2019-05-27T05:55:16.645Z
댓글 1
좋아요 0
조회수 343
해결됨
Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
yelcow@yelcow:~/bapp/addition-game-starter$ sudo npm install [sudo] password for yelcow: > scrypt@6.0.3 preinstall /home/yelcow/bapp/addition-game-starter/node_modules/scrypt > node node-scrypt-preinstall.js > keccak@1.4.0 install /home/yelcow/bapp/addition-game-starter/node_modules/keccak > npm run rebuild || echo "Keccak bindings compilation fail. Pure JS implementation will be used." > keccak@1.4.0 rebuild /home/yelcow/bapp/addition-game-starter/node_modules/keccak > node-gyp rebuild gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/yelcow/bapp/addition-game-starter/node_modules/keccak/build' gyp ERR! System Linux 4.15.0-50-generic gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/yelcow/bapp/addition-game-starter/node_modules/keccak gyp ERR! node -v v10.15.3 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! keccak@1.4.0 rebuild: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the keccak@1.4.0 rebuild script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm WARN Local package.json exists, but node_modules missing, did you mean to install? npm ERR! A complete log of this run can be found in: npm ERR! /home/yelcow/.npm/_logs/2019-05-27T05_16_02_930Z-debug.log Keccak bindings compilation fail. Pure JS implementation will be used. > scrypt@6.0.3 install /home/yelcow/bapp/addition-game-starter/node_modules/scrypt > node-gyp rebuild gyp ERR! configure error gyp ERR! stack Error: EACCES: permission denied, mkdir '/home/yelcow/bapp/addition-game-starter/node_modules/scrypt/build' gyp ERR! System Linux 4.15.0-50-generic gyp ERR! command "/usr/bin/node" "/usr/local/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild" gyp ERR! cwd /home/yelcow/bapp/addition-game-starter/node_modules/scrypt gyp ERR! node -v v10.15.3 gyp ERR! node-gyp -v v3.8.0 gyp ERR! not ok npm WARN klay-dapp-boilerplate@0.0.1 No repository field. npm WARN klay-dapp-boilerplate@0.0.1 No license field. npm WARN optional SKIPPING OPTIONAL DEPENDENCY: fsevents@1.2.7 (node_modules/fsevents): npm WARN notsup SKIPPING OPTIONAL DEPENDENCY: Unsupported platform for fsevents@1.2.7: wanted {"os":"darwin","arch":"any"} (current: {"os":"linux","arch":"x64"}) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! scrypt@6.0.3 install: `node-gyp rebuild` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the scrypt@6.0.3 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! /home/yelcow/.npm/_logs/2019-05-27T05_16_04_875Z-debug.log 어떻게 해결하나요? node -v 10.15.3 npm -v 6.9.0 truffle v 4.1.15
황성욱
2019-05-27T05:18:35.645Z
댓글 2
좋아요 0
조회수 362
미해결
영리한 프로그래밍을 위한 알고리즘 강좌
MAX-HEAPIFY(A,1) 가 뭔지 모르겠습니다. MAX-HEAPIFY 루트노드를 한번 해주면 된다는게 뭔지 모르겟습니다. MAX-HEAPIFY를 해주는건 아는데 (A,1) 이렇게 코드 작성 되는게 그게 뭐죠?
긍정게임
2019-05-27T05:04:18.245Z
댓글 1
좋아요 0
조회수 412
미해결
Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
PS C:\Users\su\bapp\addition-game-starter> truffle deploy --network klaytn Error: Cannot find module './build/Release/scrypt' at Function.Module._resolveFilename (internal/modules/cjs/loader.js:580:15) at Function.Module._load (internal/modules/cjs/loader.js:506:25) at Module.require (internal/modules/cjs/loader.js:636:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (C:\Users\su\bapp\addition-game-starter\node_modules\scrypt\index.js:3:20) at Module._compile (internal/modules/cjs/loader.js:688:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) at Module.load (internal/modules/cjs/loader.js:598:32) at tryModuleLoad (internal/modules/cjs/loader.js:537:12) at Function.Module._load (internal/modules/cjs/loader.js:529:3) at Module.require (internal/modules/cjs/loader.js:636:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (C:\Users\su\bapp\addition-game-starter\node_modules\scrypt.js\node.js:1:14) at Module._compile (internal/modules/cjs/loader.js:688:30) at Object.Module._extensions..js (internal/modules/cjs/loader.js:699:10) at Module.load (internal/modules/cjs/loader.js:598:32) at tryModuleLoad (internal/modules/cjs/loader.js:537:12) at Function.Module._load (internal/modules/cjs/loader.js:529:3) at Module.require (internal/modules/cjs/loader.js:636:17) at require (internal/modules/cjs/helpers.js:20:18) at Object.<anonymous> (C:\Users\su\bapp\addition-game-starter\node_modules\connect-privkey-to-provider\node_modules\caver-js\packages\caver-klay\caver-klay-accounts\src\index.js:34:16) at Module._compile (internal/modules/cjs/loader.js:688:30) 테스트넷과 연결이 안되네요 질문하신 다른분하고 유사한 오류인것 같은데 모듈이 안불러지는 건가요? node 10.13.0 npm 6.8.0 truffle 4.1.15
황성욱
2019-05-27T02:15:29.183Z
댓글 2
좋아요 0
조회수 387
미해결
3dsmax 초급부터 전문가까지 - 한방에 끝내는 3dsmax 강좌
proboolean기능을 써도 상관없는것인가요?? 아니면 꼭 저렇게 해야하는건가요??
라수
2019-05-26T17:12:56.416Z
댓글 3
좋아요 0
조회수 348
해결됨
Flutter 입문 - 안드로이드, iOS 개발을 한 번에 (with Firebase)
강사님의 타이핑 치시는대로랑 https://pub.dev/packages/firebase_auth#-readme-tab- 공식 라이브러리 대로 둘 다 해봤는데 아래와 같이 오류가 납니다. E/flutter (20218): [ERROR:flutter/lib/ui/ui_dart_state.cc(148)] Unhandled Exception: PlatformException(sign_in_failed, com.google.android.gms.common.api.ApiException: 12500: , null) E/flutter (20218): #0 StandardMethodCodec.decodeEnvelope (package:flutter/src/services/message_codecs.dart:564:7) E/flutter (20218): #1 MethodChannel.invokeMethod (package:flutter/src/services/platform_channel.dart:302:33) E/flutter (20218): <asynchronous suspension> E/flutter (20218): #2 GoogleSignIn._callMethod (package:google_sign_in/google_sign_in.dart:226:58) E/flutter (20218): <asynchronous suspension> E/flutter (20218): #3 GoogleSignIn._addMethodCall (package:google_sign_in/google_sign_in.dart:268:20) E/flutter (20218): #4 GoogleSignIn.signIn (package:google_sign_in/google_sign_in.dart:339:48) E/flutter (20218): #5 LoginPage._handleSignIn (package:instagram_clone/login_page.dart:43:64) E/flutter (20218): <asynchronous suspension> E/flutter (20218): #6 LoginPage.build.<anonymous closure> (package:instagram_clone/login_page.dart:28:19) E/flutter (20218): #7 _InkResponseState._handleTap (package:flutter/src/material/ink_well.dart:511:14) E/flutter (20218): #8 _InkResponseState.build.<anonymous closure> (package:flutter/src/material/ink_well.dart:566:30) E/flutter (20218): #9 GestureRecognizer.invokeCallback (package:flutter/src/gestures/recognizer.dart:166:24) E/flutter (20218): #10 TapGestureRecognizer._checkUp (package:flutter/src/gestures/tap.dart:240:9) E/flutter (20218): #11 TapGestureRecognizer.handlePrimaryPointer (package:flutter/src/gestures/tap.dart:177:9) E/flutter (20218): #12 PrimaryPointerGestureRecognizer.handleEvent (package:flutter/src/gestures/recognizer.dart:436:9) E/flutter (20218): #13 PointerRouter._dispatch (package:flutter/src/gestures/pointer_router.dart:73:12) E/flutter (20218): #14 PointerRouter.route (package:flutter/src/gestures/pointer_router.dart:101:11) E/flutter (20218): #15 _WidgetsFlutterBinding&BindingBase&GestureBinding.handleEvent (package:flutter/src/gestures/binding.dart:221:19) E/flutter (20218): #16 _WidgetsFlutterBinding&BindingBase&GestureBinding.dispatchEvent (package:flutter/src/gestures/binding.dart:199:22) E/flutter (20218): #17 _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerEvent (package:flutter/src/gestures/binding.dart:156:7) E/flutter (20218): #18 _WidgetsFlutterBinding&BindingBase&GestureBinding._flushPointerEventQueue (package:flutter/src/gestures/binding.dart:102:7) E/flutter (20218): #19 _WidgetsFlutterBinding&BindingBase&GestureBinding._handlePointerDataPacket (package:flutter/src/gestures/binding.dart:86:7) E/flutter (20218): #20 _rootRunUnary (dart:async/zone.dart:1136:13) E/flutter (20218): #21 _CustomZone.runUnary (dart:async/zone.dart:1029:19) E/flutter (20218): #22 _CustomZone.runUnaryGuarded (dart:async/zone.dart:931:7) E/flutter (20218): #23 _invoke1 (dart:ui/hooks.dart:233:10) E/flutter (20218): #24 _dispatchPointerDataPacket (dart:ui/hooks.dart:154:5) E/flutter (20218): 구글링 해봐도 뾰족한 수가 없어서 질문으로 남깁니다.
evanjin
2019-05-26T17:10:29.615Z
댓글 2
좋아요 1
조회수 1022