안녕하세요 개발자님! 3:00 에 나오는 return 부분 관련하여 질문 드립니다. 위에서 나오는 예제들과 다르게 해당 부분의 return "hello " + name;을 하면 여기서 나오는 hello 는 문자열로써의 기능만 하나요? 위에 예제들에서는 templates/ 디렉토리들로 렌더링이 되었는데 해당 return에서는 hello + "파라미터" 로 출력이 되는 문자열 용도만 되는 것인지 궁금합니다! 감사합니다. 즐거운 하루되시기를 바랍니다!!
저거 하고나서 비밀번호 설정했는데, 왜 나중에 access denied가 되는 건가요? 실제로 mysql에서 mysql database에 user 검색해보면 비밀번호 부분이 비어있거든요.. 이 프로그램(mysql_secure_installation) 에서 설정해주는게 validate_password라는데 공식문서에 아래와 같이 적혀있습니다. 이게 mysql 의 root 계정설정이 아니라 plugin이 사용될지 안될지 check할때 쓰는건가요.. 도대체 뭔 말인지 모르겠네요 The validate_password component can be used for password strength checking. If the plugin is not installed, mysql_secure_installation prompts the user whether to install it. Any passwords entered later are checked using the plugin if it is enabled.
강의의 6:11 때의 그림을 보다가 문득 궁금한 점이 생겼습니다. 현재 강의에서는 Bridge 라는 객체를 사용하는데, 그냥 Employee.prototype = Person.prototype 를 해주면 되는 거 아닌가요?? 아니면 혹시 어떤 차이점이 있기 때문에 Bridge를 쓰신건가요?
현업에서 스프링부트로 개발할 때 회사에서 JDK 8 혹은 11 이렇게 사용하는 기준이 이미 정해진게 있겠지만 최신버전을 쓰지않는 이유가 무엇일까요?? 예를들어 제가있는 회사에서는 노드를 사용하는데 안정화 버전이 나오면 노드10에서 12로 옮겨갑니다. 자바개발을 경험해보진 않았지만 대부분 회사가 자바8 버전을 사용하는것 같아 보이던데 최신안정화 버전을 사용하지 않는 이유가 영상에서 말씀해주신것 처럼 "JDK11은 상용화로 사용할 경우 유료이다." 이 이유때문 인가요???
제목 그대로 prototype chaining 강의 마지막에 나오는 코드를 따라했는데요, 일반적인 html에 script 태그 안에 넣어서 돌리면 잘됩니다. 콘솔창에 잘 뜹니다. 그런데 문제는 현재 이 강의를 재생하는 상태에서 제가 옆에 콘솔창을 띄우고 똑같이 해봤는데요 이런 에러가 납니다. 맨 처음 출력은 되는게 보이지만 그 이후로 무수한 에러가 납니다... 이유가 뭘까요? 궁금합니다!
안녕하세요! 강의 잘 듣고 있습니다. AVG(Price) AS avg_price 로 변수를 할당해준 후에 HAVING에 집어넣는 대신에, GROUP BY 한 후에, 그 아래에 WHERE AVG(Price) >= 100 을 쓰면 안되는 건가요? 반드시 SELECT 에서 변수 할당을 해주어야 하는 건가요? 그렇다면 LIKE를 WHERE과 묶어서 사용하듯이 GROUP BY는 HAVING과 무조건 같이 간다고 생각하면 될까요 ? ㅠㅠ
항상 좋은 강의로 감사합니다. 다름이 아니오라 Google colab 새로운 강의가 나와서 듣고 파일을 다운로드 후 DLCV_Colab_SrcCode.zip안에 Detection에서 preliminary, ssd, yolo폴더 안에 아무것도 없습니다. 제가 다운로드를 잘 못한거지 확인 부탁드립니다. 감사합니다.
좋은 강의 감사드립니다. 게임을 좀 더 박진감 있게 보이게 하기 위해 기존에 "2초 기다리기" "time을 time - 2로 정하기"에서 0.01초 단위로 바꿔 봤습니다. 그런데 게임이 종료하고 나면 남은 시간이 -0.01입니다. 단순한 버그인지, 생각해 볼 꺼리가 있는 현상인지 질문 드립니다. 감사합니다.
{ let k = 0 ; node . children [ k ]. onclick = function ( event ) { event . target . style . backgroundColor = "yellow" ; console . log ( k ); } } { let k = 1 ; node . children [ k ]. onclick = function ( event ) { event . target . style . backgroundColor = "yellow" ; console . log ( k ); } } { let k = 2 ; node . children [ k ]. onclick = function ( event ) { event . target . style . backgroundColor = "yellow" ; console . log ( k ); } } 선생님 예제에서 for문에서 k 가 증가할때마다 k의 블록 스코프가 생성된다고 이해했습니다. 이해가 잘되지 않는 반복문은 풀어서 쓰면 이해가 잘됬어서 위의 코드처럼 반복문을 풀어썼는데 저렇게 이해하는게 맞는건가요? 블록으로 지정하지 않고 k를 선언하니까 var 로 선언했을 때와 같이 3으로 출력되서 let k 를 각각의 블록으로 묶었더니 예제와 같이 동작하지만 for문을 위와같은 형태로 풀어써본적이 없어서 질문드립니다!
선생님과 비슷하게 코드를 짜서 콘솔로 in1 같은 경우 f11를 눌러 직접 입력하여 테스트를 해봤는데 out1과 동일하게 답이 나옵니다. 그러나 채점기로 돌려보면 Wrong_answer로 뜹니다! 혹시 제가 놓치는 부분이 있을까요?? 확인 부탁드립니다! #include <iostream> #include <vector> #include <algorithm> using namespace std; int main() { int i,j,cnt,n; scanf("%d",&n); vector<int> a(n); for(i=0;i<n;i++){ scanf("%d",&a[i]); } printf("1"); for(i=1;i<n;i++){ cnt=0; for(j=i;j>=0;j--){ if(a[j]>=a[i])cnt++; } printf(" %d",cnt); } return 0; }
메모리 동적 할당에서 메모리공간을 확장시킬 때, 50분쯤에 있는 코드에는 원래 array에 할당되어있던 메모리 공간이 쓰레기값이 되어버리는 하자가 있다고 하셨는데요. 그렇다면 저 코드 대신에 realloc을 사용하는 방법이 있는 걸로 알고있는데요! realloc을 쓰면 안좋은 점이라도 있는건가요?
function a () { var value = 456 ; console . log ( value ); function b () { console . log ( value ); function c () { console . log ( value ); function d () { console . log ( value ); } d (); } c (); } b (); } a (); 선생님 이 코드에서 value가 전부 456으로 출력이 되는 이유를 모르겠습니다. d() 함수에서 선언적 환경 레코드와 외부 렉시컬 환경참조 안에는 어떠한 변수도 참조되지 않을거같은데 1. 제가 스코프 영역에대해 잘못알고있는건가요? 2. d() 또는 c()의 스코프 영역이 어떻게되나요?
안녕하세요. 실습을 하다가 로그인시 맞는 비밀번호( 틀릴까봐 0000 으로 작성해봤습니다.)를 입력해도 "비밀번호가 틀렸습니다."라고 나옵니다. 혹시 제 코드가 잘못 되었나 해서 수정해보다가 혹시나 해서 선생님 git 에서 clone 받아서 실행시켜 봐도 같은 증상입니다. 그 이전에 회원가입시에 SequelizeDatabaseError: Data too long for column 'password' at row 1 라는 서버에러가 떠서 검색해보고 set global sql_mode='' 로 셋팅해서 회원가입을 하면 가입은 정상작동은 확인되는데 맞는 비밀번호를 입력해도 계속적으로 "비밀번호가 틀렸습니다." 라는 부분이 작동합니다. ㅜㅜ 제가 어느부분을 확인해봐야할까요?
안녕하세요. 동영상 강의로 전반적인 개념 이해 후 실습을 진행해보려는 수강생입니다. 당장 GCP에서 GPU할당 신청부터 거부당해 어떻게 해야할지 막막하네요 ㅠ 다른 질문들을 읽어보니 GPU 없이도 전반부 강의는 따라올수 있다고 해서 일단 GPU 신청과 별개로 실습을 따라가보고 싶네요. GPU 신청이 안될때는 VM 인스턴스를 어떻게 생성하면 될까요? 처음 예시로 보여준 'vm01' 인스턴스로 진행해도 문제가 없을지요. 도움 부탁드려요~
섹션 0 두번 째 강의에서 npm install 하는 곳부터 에러가 나는데 > bcrypt@3.0.8 install C:\Users\118dg\Downloads\boilerplate-mern-stack-master\boilerplate-mern-stack-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 Pre-built binaries not installable for bcrypt@3.0.8 and node@12.18.3 (node-v72 ABI, unknown) (falling back to source compile with node-gyp) node-pre-gyp WARN Hit error Remote end closed socket abruptly. 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:310:5) gyp ERR! stack at ChildProcess.errorhandler (child_process.js:322:5) gyp ERR! stack at ChildProcess.emit (events.js:315:20) gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:273:12) gyp ERR! stack at onErrorNT (internal/child_process.js:469:16) gyp ERR! stack at processTicksAndRejections (internal/process/task_queues.js:84:21) gyp ERR! System Windows_NT 10.0.18362 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=C:\\Users\\118dg\\Downloads\\boilerplate-mern-stack-master\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding\\bcrypt_lib.node" "--module_name=bcrypt_lib" "--module_path=C:\\Users\\118dg\\Downloads\\boilerplate-mern-stack-master\\boilerplate-mern-stack-master\\node_modules\\bcrypt\\lib\\binding" "--napi_version=6" "--node_abi_napi=napi" "--napi_build_version=0" "--node_napi_label=node-v72" gyp ERR! cwd C:\Users\118dg\Downloads\boilerplate-mern-stack-master\boilerplate-mern-stack-master\node_modules\bcrypt gyp ERR! node -v v12.18.3 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=C:\Users\118dg\Downloads\boilerplate-mern-stack-master\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\118dg\Downloads\boilerplate-mern-stack-master\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (1) node-pre-gyp ERR! stack at ChildProcess.<anonymous> (C:\Users\118dg\Downloads\boilerplate-mern-stack-master\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:1021:16) node-pre-gyp ERR! stack at Process.ChildProcess._handle.onexit (internal/child_process.js:286:5) node-pre-gyp ERR! System Windows_NT 10.0.18362 node-pre-gyp ERR! command "C:\\Program Files\\nodejs\\node.exe" "C:\\Users\\118dg\\Downloads\\boilerplate-mern-stack-master\\boilerplate-mern-stack-master\\node_modules\\node-pre-gyp\\bin\\node-pre-gyp" "install" "--fallback-to-build" node-pre-gyp ERR! cwd C:\Users\118dg\Downloads\boilerplate-mern-stack-master\boilerplate-mern-stack-master\node_modules\bcrypt node-pre-gyp ERR! node -v v12.18.3 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=C:\Users\118dg\Downloads\boilerplate-mern-stack-master\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding\bcrypt_lib.node --module_name=bcrypt_lib --module_path=C:\Users\118dg\Downloads\boilerplate-mern-stack-master\boilerplate-mern-stack-master\node_modules\bcrypt\lib\binding --napi_version=6 --node_abi_napi=napi --napi_build_version=0 --node_napi_label=node-v72' (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\118dg\AppData\Roaming\npm-cache\_logs\2020-07-31T21_23_04_559Z-debug.log 이 에러는 어떻게 해결하면 될까요? ㅠ 파이썬도 최신 버전으로 다시 설치해보고 이것저것 시도해봐도 안되네요 ㅠ
bool line_flag = false; 로 line_flag의 초기값이 false입니다. 4분 18초 경 if(!isspace(c) && !line_flag)에서 "line_flag가 false라면, 앞에 !이 붙었기 때문에 요거 자체가 true가 아니라면" 라고 말씀해주시는데 여기서 헷갈립니다 ㅠ line_flag가 false인데 !line_flag는 true여야 되지 않나요? 애초에 논리연산자 && 면 둘 다 true여야 if문의 body가 실행될텐데 !line_flag가 true여야 하는게 아닌지 궁금합니다 ㅠㅠ