Example app listening at http://localhost:5000 MongoDB Connected... 이렇게 정상적으로 서버 올라갔다는 메세지는 나오는데 브라우져로 접근시 접근이 되지 않습니다(당연히 postman도 응답이 계속 오지않습니다) 어떻게 해야하나요? *app.use 함수를 주석처리하고 서버를 실행시켰을 경우, 정상적으로 접근이 됩니다.
windows를 사용 중이고 vscode를 사용하여 수업을 듣고있습니다. module_test.py에서 모듈 경로 삽입까지는 강사님과 똑같이 print되는 것을 확인했는데 그 뒤 작업인 import가 아무리해도 안되서 이렇게 끝내 글 올립니다. import test_module 이 자동완성안되는 건 어쩔 수 없다고 생각하고 직접 타이핑하면 밑줄이 생기며 예외 처리가 됩니다ㅠㅠ 절대경로로 from . import test_module 이렇게 적었을 때는 밑줄은 안생기는데, 실행시 확실히 에러가 뜨며 안됩니다. 비슷한 현상을 겪으신 분들의 답변 다 읽어보고 이것 저것 시도해보았는데.. 잘 안됩니다. 답변 부탁드릴게요.. 감사합니다
from math import * print (floor( 4.99 )) #소수점을 내림, 4 print (ceil( 3.14 ) #소수점을 올림, 4 print (sqrt( 16 )) #제곱근, 4 터미널 내용 /Users/-----/Desktop/pythonworkspace/practice.py The default interactive shell is now zsh. To update your account to use zsh, please run `chsh -s /bin/zsh`. For more details, please visit https://support.apple.com/kb/HT208050. -----ui-MacBook-Pro:~ -----$ python /Users/-----/Desktop/pythonworkspace/practice.py File "/Users/-----/Desktop/pythonworkspace/practice.py", line 79 print(sqrt(16)) #제곱근, 4 ^ SyntaxError: invalid syntax -----ui-MacBook-Pro:~ -----$ 맥북 프로 사용중입니다 파이썬은 처음 배워보는데 이런 경우는 무엇이 문제고 어떻게 해결할 수 있을까요? ㅠㅠ
int main(void) 여기에 정의 하는해 구현하는 것 과 함수 void int main (.....) 여기에 구현하는 것이 어떤 차이가 있는지 궁금합니다. 추가로 cursor = arrayFish; 는 미션맨 = &철수; 미션맨 = &영희; 미션맨 = &민수; 와 같이 arrayFish의 주소값을 갖는 것인가요
< script > function solution ( n , k , card ){ let answer = 0 ; for ( let i = 0 ; i < n ; i ++ ) { for ( let j = 0 ; j < n ; j ++ ) { for ( let s = 0 ; s < n ; s ++ ) { if ( i !== j !== s ) { console . log ( card [ i ] , card [ j ] , card [ s ]) ; } else break ; } } } return answer ; } let arr = [ 13 , 15 , 34 , 23 , 45 , 65 , 33 , 11 , 26 , 42 ] ; console . log ( solution ( 10 , 3 , arr)) ; </ script > 이렇게 구현했을 때, i = j = s 인 경우가 찍히는 이유가 뭔지 알 수 있을까요?
안녕하세요 좋은강의 항상 감사드립니다. 질문이 있습니다. 저는 현재 작은회사에서 Java Spring Boot로 Back-End개발일을 하고있습니다. 저같은 경우는 규모가 작아서인지 설계를 제대로하지 않은채 빠르게 개발하는것에만 집중한다는 느낌을 많이 받습니다. 강의중에 도메인 협력관계, 클래스 다이어그램, 객체 다이어그램등을 설계하시고 구현하시는데, 영한님의 회사에서는 어느정도 선까지 설계를 해놓고 구현하는지 궁금합니다. 또, 영한님께서 설계하실때 사용하시는 툴도 어떤것을 사용하는지 궁금합니다. 항상 감사합니다.
안녕하세요? 선생님! 버츄얼박스 설치 관련하여 문의 드립니다. 파일럿 환경 구성에서 버츄얼 박스 설치 내용으로 진행하였으나 버츄얼박스 5.0.40 버전은 다운로드가 안되어 5.1.0 버전을 설치했는데요. "이 앱은 이 장치에서 실행할 수 없습니다" 라고 나오네요. 무슨 문제인지는 모릅니다. 혹시 다른 버전의 버츄얼박스를 설치해야 되는지 문의 드리며, 다른 버전은 몇으로 설치하면 되는지요. 저는 개발자가 아니라 이런한 부분에 대해서 잘 해결할 수 없어 문의 드립니다. 시작한지 3일차된 수강생입니다.
안녕하세요 그랩님 npm install -g sequelize-cli가 안깔립니다ㅜ 혹시나 해서 global을 제외하고 npm install sequelize-cli로만 했더니 깔렸는데 이렇게 사용해도 괜찮은건가요? 에러코드 올려봅니다 매번 감사합니다 그랩님 npm ERR! code EACCES npm ERR! syscall symlink npm ERR! path ../lib/node_modules/sequelize-cli/lib/sequelize npm ERR! dest /usr/local/bin/sequelize npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, symlink '../lib/node_modules/sequelize-cli/lib/sequelize' -> '/usr/local/bin/sequelize' npm ERR! [OperationalError: EACCES: permission denied, symlink '../lib/node_modules/sequelize-cli/lib/sequelize' -> '/usr/local/bin/sequelize'] { npm ERR! cause: [Error: EACCES: permission denied, symlink '../lib/node_modules/sequelize-cli/lib/sequelize' -> '/usr/local/bin/sequelize'] { npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'symlink', npm ERR! path: '../lib/node_modules/sequelize-cli/lib/sequelize', npm ERR! dest: '/usr/local/bin/sequelize' npm ERR! }, npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'symlink', npm ERR! path: '../lib/node_modules/sequelize-cli/lib/sequelize', npm ERR! dest: '/usr/local/bin/sequelize' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /Users/sumin/.npm/_logs/2021-06-08T10_23_16_558Z-debug.log sumin@192-168-1-117 grab-market-server % npm install -g sequelize-cli npm ERR! code EACCES npm ERR! syscall symlink npm ERR! path ../lib/node_modules/sequelize-cli/lib/sequelize npm ERR! dest /usr/local/bin/sequelize npm ERR! errno -13 npm ERR! Error: EACCES: permission denied, symlink '../lib/node_modules/sequelize-cli/lib/sequelize' -> '/usr/local/bin/sequelize' npm ERR! [OperationalError: EACCES: permission denied, symlink '../lib/node_modules/sequelize-cli/lib/sequelize' -> '/usr/local/bin/sequelize'] { npm ERR! cause: [Error: EACCES: permission denied, symlink '../lib/node_modules/sequelize-cli/lib/sequelize' -> '/usr/local/bin/sequelize'] { npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'symlink', npm ERR! path: '../lib/node_modules/sequelize-cli/lib/sequelize', npm ERR! dest: '/usr/local/bin/sequelize' npm ERR! }, npm ERR! errno: -13, npm ERR! code: 'EACCES', npm ERR! syscall: 'symlink', npm ERR! path: '../lib/node_modules/sequelize-cli/lib/sequelize', npm ERR! dest: '/usr/local/bin/sequelize' npm ERR! } npm ERR! npm ERR! The operation was rejected by your operating system. npm ERR! It is likely you do not have the permissions to access this file as the current user npm ERR! npm ERR! If you believe this might be a permissions issue, please double-check the npm ERR! permissions of the file and its containing directories, or try running npm ERR! the command again as root/Administrator. npm ERR! A complete log of this run can be found in: npm ERR! /Users/sumin/.npm/_logs/2021-06-08T10_25_06_402Z-debug.log sumin@192-168-1-117 grab-market-server % npm install sequelize-cli npm WARN grab-market-server@1.0.0 No description npm WARN grab-market-server@1.0.0 No repository field. + sequelize-cli@6.2.0 added 72 packages from 46 contributors and audited 258 packages in 3.405s 5 packages are looking for funding run `npm fund` for details found 0 vulnerabilities
안녕하세요. 만약 WebSecurityConfigurerAdapter 를 상속받는 Config 클래스가 2개 있다고 할때 각각의 클래스에서 각기다른 SecurityContextHolder.setStrategyName 를 설정하면 어떻게 되나요? 예를 들어 @Order(1) public class SecurityConfig1 extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception { ... SecurityContextHolder.setStrategyName(SecurityContextHolder.MODE_INHERITABLETHREADLOCAL); } } @Order(2) public class SecurityConfig2 extends WebSecurityConfigurerAdapter { @Override protected void configure(HttpSecurity http) throws Exception { ... SecurityContextHolder.setStrategyName(SecurityContextHolder.MODE_THREADLOCAL); } } 와 같이 되어 있다고 하면 @Order 가 마지막인 설정이 적용되는건가요? (참고로 @Order 붙이니깐 오버라이드 한 configure 메서드도 호출 순서에 영향 받더라구요) SecurityContextHolder 클래스에 에 private static SecurityContextHolderStrategy strategy; 로 되어 있는걸로 봐서는 마지막에 설정된 값이 들어 가는거 같긴한데 제 예상이 맞나요? 그리고 SecurityContextHolder 클래스안에 private static int initializeCount = 0; 는 왜 만들어 놨는지 궁금하네요. 딱히 사용하는곳도 없는거 같아서요. 그냥 혹시나 개발자가 몇번 재정의 되었는지 확인할수도 있을거라 예상해서 그냥 만들어 놓은 걸까요?
[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part7: MMO 컨텐츠 구현 (Unity + C# 서버 연동 기초)
제가 잘 이해하고 있는것이 맞는지 확신이 안서서 질문드립니다. 우선은 JobSerializer에서 Push를 할때 하나의 쓰레드가 접근하여 멤버변수(Flush)를 바꾸고 자신이 들어가서 Flush를 통해 Que안에 있는 잡들을 실행하는것이 JobSerializer이 하는 일이라고 이해했습니다 그렇기 때문에 JobSerializer를 상속받아서 사용하는 클래스들이 Player들을 수정하더라도 큐에 담겨져 있는 순서대로 실행되기때문에 FindPlayer를 호출해도 안전하다고 생각 할 수 있는 것이고, 관련이 없는 ( JobSerializer 상속 X ) 클래스들은 Player를 읽는것이 아니라 수정을 하게 된다면 JobQue를 비워줄때, 데이터가 변하기 때문에 사용을 하면 안된다고 생각하면 되는걸까요?