묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결쉽고 자연스럽게 배워보는 Javascript 입문 - 코드스쿼드 마스터즈 코스 레벨1
숫자로 변환할때 변수을 새로 만들어 줄 필요가 있는지 궁금해요 !!
변수 n1 , n2 를 따로 선언 및 정의 해주셨는데 그냥 s1, s2에 덮어쓰기 해서 사용 해도 되지 않나요 ?? 아 그리고 prompt로 입력 받을때 자료형을 string으로만 받을 수 있나요 ?? Number 형으로 받을 수 있는 메소드가 있는지 궁금하네요
-
미해결파이썬 무료 강의 (기본편) - 6시간 뒤면 나도 개발자
강의하고 똑같으 썼는데 왜 에러가 날까요?
안녕하세요 profile.pickle 파일이 왼쪽에 만들어 졌습니다.
-
미해결[리뉴얼] Node.js 교과서 - 기본부터 프로젝트 실습까지
var express = require('express'); var app = express(); 질문
명강의 감사합니당 재밌는 설명에 node.js 배우는데 즐거움을 느끼는데 궁금한게 생겨서 여쭤보겠습니당 var express = require('express'); var app = express(); 이 2줄이 궁금해서 질문드리는데 첫번째 줄은 npm에서 express모듈을 가져와서 express변수에 객체를 할당하더라고여 console.dir()해서 찍어보니 [Function: createApplication] { application: { 여러 메소드 }, response: ServerResponse { 여러메소드 }, Router: [Function (anonymous)] { 여러 메소드 } 그런데 2번째줄 const app = express() 이게 이해가 안되는게 app.set() , app.post같이 메소드를 쓰니까 객체를 리턴하는건데 그러면 생성자 함수로써 쓰인건가요?? 생성자함수는 맨날 new function () 이런식으로 써서 낯선데
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
Wrong user name or password ?
안녕하세요. 테스트 코드 작성시 아래와 같은 코드 오류가 나서 문의 드립니다. user & password 는 지정한 부분이 없습니다. 확인해할 부분이 있을까요? org.h2.jdbc.JdbcSQLInvalidAuthorizationSpecException: Wrong user name or password [28000-200] at org.h2.message.DbException.getJdbcSQLException(DbException.java:461) ~[h2-1.4.200.jar:1.4.200] at org.h2.engine.SessionRemote.done(SessionRemote.java:611) ~[h2-1.4.200.jar:1.4.200] at org.h2.engine.SessionRemote.initTransfer(SessionRemote.java:147) ~[h2-1.4.200.jar:1.4.200] at org.h2.engine.SessionRemote.connectServer(SessionRemote.java:435) ~[h2-1.4.200.jar:1.4.200] at org.h2.engine.SessionRemote.connectEmbeddedOrServer(SessionRemote.java:321) ~[h2-1.4.200.jar:1.4.200]
-
미해결일주일 완성! 3dsmax 입문 (자동차 및 캐릭터 만들기)
이상한 정체불명
무슨 이상한게 떠요ㅠㅡㅠ 이런식 UI Scheme Macros Revision History: Oct 25 2001; Max 4 implementation August 14 2003; Pierre-Felix Breton Max 6 modifications/refactoring of functions Added UI/Defaults switcher Macro Added localization comments and cleaned code comments August 19 2003;Pierre-Felix Breton removed hardcoded refs to the 3dsmax.ini file December 12 2003; Pierre-Felix Breton added product switcher: this macro file can be shared with all Discreet products April 2006; Chris Johnson removed activeX controls, and added .NET controls October 2011: Joey Gaspe Adjusted to be Language Pack compliant Nov.30 2012: Chengqing Zhou Added ui schemes and default settings from plug-ins installed via Exchange Store. --*********************************************************************************************** -- MODIFY THIS AT YOUR OWN RISK */ --------------------------------------------------------------------------------------------------- /* CUI and Defaults switcher Provide a choice to select the market specific toolbar and defaults settings. Save this choice for subsequent launches by: -changing the 3dsmax.ini file to point to the desired defaults settings folder -saving a MaxStartUI.cui file and loading the desired CUI file set (this is identical to the Load Custom UI scheme command in MAX) Dependencies: --hardcoded dependency on the following folder/files names (all prefixed by the localized file directory): <langdir>\defaults\MAX\ <langdir>\defaults\DesignVIZ\ <langdir>\UI\DefaultUI.* (*.ui, *.cui, *.mnu, *.clr) etc <langdir>\UI\MaxstartUI.CUI\ <langdir>\html\cui.defaults.switcher\*.html -functions defined in the [maxinstall]/stdplugs/scripts/customUIschemes_functions.ms */ --------------------------------------------------------------------------------------------------- MacroScript CustomUISchemeDefaultsSwitcher category:~CUSTOMUISCHEMEDEFAULTSSWITCHER_CATEGORY~ internalCategory:"Customize User Interface" tooltip:~CUSTOMUISCHEMEDEFAULTSSWITCHER_TOOLTIP~ ButtonText:~CUSTOMUISCHEMEDEFAULTSSWITCHER_BUTTONTEXT~ SilentErrors:(Debug != True) ( --decalres variables local rlt_main local rlt_size local axMargin local ctrlMargin local topUIMargin local botUIMargin local btnWidth local btnHeight local strWebDocPath local uiSchemePaths = #() local defaultSettingPaths = #() ------------------------------------------------------------------------- -- getCUISchemesList -- function that parses the [maxinstall]\ui folder -- to obtain the list of ui schemes (defined by the *.ui extension) -- returns an array containing the list of UI schemes ------------------------------------------------------------------------------ function getCUISchemesList = ( uiSchemePaths = #() local arStrUISchemesFnames = #() local i, j arStrUISchemesFnames = getFiles (pathconfig.appendPath (getdir #UI) "*.ui") j = 0 for i in arStrUISchemesFnames do ( j = j + 1 local strFname = getFileNameFile i arStrUISchemesFnames[j] = strFname uiSchemePaths[j] = getFileNamePath i ) -- now check the ui schemes installed via Exchange Store. local customUISchemePath local customPathCount = ExchangeStorePackageManager.GetUISchemeCount() for pathIndex = 1 to customPathCount do ( j = j + 1 customUISchemePath = ExchangeStorePackageManager.GetUISchemeFullPath(pathIndex) arStrUISchemesFnames[j] = getFileNameFile customUISchemePath uiSchemePaths[j] = getFileNamePath customUISchemePath ) --re arrange the list so the DefaultUIs we ship are always on top of the list (first in the array), to make this easier to non-educated users, as per design decision --if they disappear from the builds in next releases or renamed, theses lines of code will simply do nothing local intArIndex = 0 local intOrder = 1 intArIndex = findItem arStrUISchemesFnames "DefaultUI" --LOC_NOTES: do not localize this if intArIndex != 0 do ( deleteItem arStrUISchemesFnames intArIndex customUISchemePath = uiSchemePaths[intArIndex] deleteItem uiSchemePaths intArIndex insertItem "DefaultUI" arStrUISchemesFnames intOrder --LOC_NOTES: do not localize this insertItem customUISchemePath uiSchemePaths intOrder intOrder = intOrder + 1 ) intArIndex = findItem arStrUISchemesFnames "ModularToolbarsUI" --LOC_NOTES: do not localize this if intArIndex != 0 do ( deleteItem arStrUISchemesFnames intArIndex customUISchemePath = uiSchemePaths[intArIndex] deleteItem uiSchemePaths intArIndex insertItem "ModularToolbarsUI" arStrUISchemesFnames intOrder --LOC_NOTES: do not localize this insertItem customUISchemePath uiSchemePaths intOrder intOrder = intOrder + 1 ) intArIndex = findItem arStrUISchemesFnames "ame-light" --LOC_NOTES: do not localize this if intArIndex != 0 do ( deleteItem arStrUISchemesFnames intArIndex customUISchemePath = uiSchemePaths[intArIndex] deleteItem uiSchemePaths intArIndex insertItem "ame-light" arStrUISchemesFnames intOrder --LOC_NOTES: do not localize this insertItem customUISchemePath uiSchemePaths intOrder intOrder = intOrder + 1 ) intArIndex = findItem arStrUISchemesFnames "ame-dark" --LOC_NOTES: do not localize this if intArIndex != 0 do ( deleteItem arStrUISchemesFnames intArIndex customUISchemePath = uiSchemePaths[intArIndex] deleteItem uiSchemePaths intArIndex insertItem "ame-dark" arStrUISchemesFnames intOrder --LOC_NOTES: do not localize this insertItem customUISchemePath uiSchemePaths intOrder intOrder = intOrder + 1 ) arStrUISchemesFnames --returns the array of string )--end function ------------------------------------------------------------------------------------------ --IsValidDefaultDirectory -- Check if the input directory has the necessary default setting components. -- A default directory should contain "FactoryDefaults" inside it. -- return false if the "FactoryDefaults" doesn't exist, otherwise return true. ----------------------------------------------------------------------------------------- function IsValidDefaultDirectory inputDir = ( local factoryPath = pathconfig.AppendPath inputDir "\\FactoryDefaults" factoryPath = pathconfig.normalizePath factoryPath return (doesDirectoryExist factoryPath) ) ------------------------------------------------------------------------------------------- -- getDefaultsList -- function that parses the [maxinstall]\defaults folder -- to obtain the list of defaults schemes (defined by foldersnames) -- returns an array containing the of the Defaults names ------------------------------------------------------------------------------------------- function getDefaultsList = ( defaultSettingPaths = #() local arStrDefaultsFoldNames = #() local i, j local bValid local defaultsPath = pathconfig.AppendPath (getdir #maxroot) (Sysinfo.getMaxLanguage())[5] defaultsPath = pathconfig.AppendPath defaultsPath "defaults\\*" arStrDefaultsFoldNames = getDirectories defaultsPath --LOC_NOTES: do not localize this --removes the path info from the folder names j = 0 for i in arStrDefaultsFoldNames do ( bValid = IsValidDefaultDirectory i if (bValid == true) then ( j = j + 1 defaultSettingPaths[j] = i i = pathconfig.stripPathToLeaf i arStrDefaultsFoldNames[j] = substituteString i "\\" "" --we don't want "\\" displayed in the list box. ) ) -- now check the defaults installed via Exchange Store. local customDefaultPath local customPathCount = ExchangeStorePackageManager.GetDefaultSettingCount() for pathIndex = 1 to customPathCount do ( customDefaultPath = ExchangeStorePackageManager.GetDefaultSettingFullPath(pathIndex) bValid = IsValidDefaultDirectory customDefaultPath if (bValid == true) then ( j = j + 1 defaultSettingPaths[j] = customDefaultPath customDefaultPath = pathconfig.stripPathToLeaf customDefaultPath arStrDefaultsFoldNames[j] = substituteString customDefaultPath "\\" "" ) ) --re arrange the list so the Defaults we ship are always on top of the list (first in the array), to make this easier to non-educated users, as per design decision --if they disappear from the builds in next releases or renamed, theses lines of code will simply do nothing local intArIndex = 0 local intOrder=1 intArIndex = findItem arStrDefaultsFoldNames "MAX" --LOC_NOTES: do not localize this if intArIndex != 0 do ( deleteItem arStrDefaultsFoldNames intArIndex customDefaultPath = defaultSettingPaths[intArIndex] deleteItem defaultSettingPaths intArIndex insertItem "Max" arStrDefaultsFoldNames intOrder --LOC_NOTES: do not localize this insertItem customDefaultPath defaultSettingPaths intOrder intOrder = intOrder + 1 ) intArIndex = findItem arStrDefaultsFoldNames "DesignVIZ" --LOC_NOTES: do not localize this if intArIndex != 0 do ( deleteItem arStrDefaultsFoldNames intArIndex customDefaultPath = defaultSettingPaths[intArIndex] deleteItem defaultSettingPaths intArIndex insertItem "DesignVIZ" arStrDefaultsFoldNames intOrder --LOC_NOTES: do not localize this insertItem customDefaultPath defaultSettingPaths intOrder intOrder = intOrder + 1 ) arStrDefaultsFoldNames )--end function on execute do ( --init variables rlt_size = point2 700 650 axMargin = 30 ctrlMargin = 30 topUIMargin = 110 botUIMargin = 50 btnWidth = 100 btnHeight = 25 strWebDocPath = (getdir #maxroot + (sysinfo.GetMaxLanguage())[5] + "\\html\\cui.defaults.switcher\\") -- LOC_Notes: do not localize this ------------------------------------------------------(끝은 아님) 이게뭐예요? 제발 알려주세요ㅜㅁㅜ 그리고 이것도 떠요 '현재 사용하고 계신 3ds max가 유효하지 않습니다' 아..... 아무것도 모르게써요ㅠㅡㅠ 저에게 필요한 것을 좀 알려주세요ㅜㅡㅜ
-
미해결실전! Querydsl
querydsl sorting 조건에 대한 질문입니다
안녕하세요, querydsl 강의를 듣고있는 학생입니다. querydsl을 이용하여 토이 프로젝트를 진행하고 있는데, 한가지 여쭤볼 것이 있어서 질문 남깁니다... 다름이 아니라, querydsl의 경우 sorting 조건이 필드네임만 가능한 것일까요?? 저는 entity에서 정의한 함수값을 이용하여 sorting 하고 싶은데 관련 내용을 검색해 보았는데, 딱히 해결 방법이 나오지 않아서 고민중입니다ㅠㅠ 좋은 강의 감사합니다!! 저는 이렇게 board entity에서 정의한 함수 getRemainRecruitNumber 값에 따라 sorting 하려는 시도 중입니다.. public class Board extends BaseEntity { ... public int getRemainRecruitNumber() { return this.recruitCount - getApprovedCount(); } }
-
미해결따라하며 배우는 도커와 CI환경 [2023.11 업데이트]
mysql연결 오류
db.pool.query('SELECT * FROM lists', (err, results, fileds) => { if (err) return res.status(500).send(err); else return res.json(results); }); }); 위에의 소스에서 밑에 적혀있는 에러가 발생하네요ㅜ 원인을 잘 모르겠어서, 질문합니다 app_backend | Error: connect ECONNREFUSED 127.0.0.1:3306 app_backend | at TCPConnectWrap.afterConnect [as oncomplete] (node:net:1128:16) app_backend | -------------------- app_backend | at Protocol._enqueue (/app/node_modules/mysql/lib/protocol/Protocol.js:144:48) app_backend | at Protocol.handshake (/app/node_modules/mysql/lib/protocol/Protocol.js:51:23) app_backend | at PoolConnection.connect (/app/node_modules/mysql/lib/Connection.js:118:18) app_backend | at Pool.getConnection (/app/node_modules/mysql/lib/Pool.js:48:16) app_backend | at Pool.query (/app/node_modules/mysql/lib/Pool.js:202:8) app_backend | at /app/server.js:42:11 app_backend | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) app_backend | at next (/app/node_modules/express/lib/router/route.js:137:13) app_backend | at Route.dispatch (/app/node_modules/express/lib/router/route.js:112:3) app_backend | at Layer.handle [as handle_request] (/app/node_modules/express/lib/router/layer.js:95:5) { app_backend | errno: -111, app_backend | code: 'ECONNREFUSED', app_backend | syscall: 'connect', app_backend | address: '127.0.0.1', app_backend | port: 3306, app_backend | fatal: true app_backend | }
-
미해결일주일 완성! 3dsmax 입문 (자동차 및 캐릭터 만들기)
제발 하이버전 첨부파일 좀 직접 보여주세요ㅠㅡㅠ
암것도 안돼서 제발좀 직접보여주시면 안됄까요? (추가영상 좀.....)
-
미해결[리뉴얼] 처음하는 MongoDB(몽고DB) 와 NoSQL(빅데이터) 데이터베이스 부트캠프 [입문부터 활용까지] (업데이트)
chmod 400로 퍼미션 설정을 했는데 aws 접근이 안됩니다...
윈도우 10 사용하고 있습니다.putty 윈도우 창 기능과 ui가 너무 보기 불편해서, 원도우10에서 linux 사용하는 방법을 찾아 Ubuntu 20.04 LTS 앱을 깔았습니다.(다음 블로그 내용 참조 https://forbes.tistory.com/543) 윈도우 파워셀이나 우분투 앱에서 chmod 명령을 사용해서 오류 없이 정상 실행됐는데, 첨부한 캡쳐와 같이 여전히 퍼미션 문제로 aws 서버 접근이 되지 않아서 어떻게 해야 할지 문의 드립니다. 감사합니다.
-
미해결해외취업 ASP.NET Core 웹개발 기본 강좌
razor syntax 질문
위 사진처럼 인풋에는 razor 문법대로 @를 사용했고span 에는 그냥 Student.Name 을 적었는데 인텔리전스도 정상작동하는데 두가지 기능을 제공하는건가요?마우스를 올려봐도 참조되는 위치는 같은곳으로 나옵니다.
-
미해결프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
강의문의요
first.py 만들고 동영상강의 대로 print......쭉쓰고 shift+ ctrl+b 눌렀더니 python was not found ......... 요런식으로뜨는데 왜구럴까요
-
해결됨파이썬 데이터시각화 분석 실전 프로젝트
크리애플 파일이 어디에 있나요?
강의에서 사용하는 소스 파일을 크리애플 회원가입하고 들어가서도 찾을 수가 없습니다. 동일 강의를 다시 구매해야 볼 수 있는지는 모르겠지만요...... 파일이 없으니 더이상 강의 진행도 되지 않네요.. 확인 부탁드립니다.
-
[리뉴얼] React로 NodeBird SNS 만들기
개인적인 질문
삭제된 글입니다
-
미해결MOS Excel Core 2016 자격증 따기
모의고사4의 24번 문항
1. 데이타 통합방식으로는 할 수 없나요? 제가 한 방식은 상반기 시트 표 지정하고, 1분기, 2분기 추가해서 위쪽 왼쪽 label지정하고 ok 눌럴는데 "No data is consolidated"라는 에러 메세지만 뜸니다. 아마도 오른쪽에 지역과 담당자 2개의 비계산 항목이 포함되서 그런가요????
-
미해결실전 리액트 프로그래밍
useImperativeHandle 훅에 관련된 내용은 어느 회차에서 볼수 있을까요??
함수형 컴포넌트 에서도 마치 클래스형 컴포넌트의 멤버 변수가 메서드를 접근하는 것처럼 함수형 컴포넌트 내부의 변수와 함수를 외부로 노출시킬수 있는 useImperativeHandle 에 대해 좀 더 알고 싶은데요. 나중에 설명해주신다고 나와 있는데 어느 회차에 있는지, 알수 있을까요?
-
미해결사물인터넷 통신은 내 손에 (Arduino, MQTT, Nodejs, MongoDB, Android,VS Code)
첨부파일
강의자료 PDF 파일은 어디에서 다운받을까요? 깃허브에는 없는거 같아서요
-
미해결쉽게 배우는 Webpack
리뉴얼 쿠폰 요청 드려도 될까요?
새소식에 있는 쿠폰번호는 유효기간이 만료되어서요. 예전에 구매해둔 강좌인데, 보려고 들어왔다가 리뉴얼 소식을 알게됐어요 리뉴얼 쿠폰 받을 수 있을까요?
-
미해결자바스크립트 비기너: 튼튼한 기본 만들기
undefined와 null의 사용
둘다 값이 없을 때 사용하는 것으로 이해가 됩니다. 사용자로부터 값을 받아올 때, 입력값이 없으면 어떤 것을 실행하는 프로그램이 있다고 가정할 때, if(input == null) {...}로 사용이 되나요? 아니면 if(input == undefined) {...}로 사용이 되나요? ㅎㅎ
-
해결됨자바스크립트 비기너: 튼튼한 기본 만들기
진수
안녕하세요 강사님! 매일 아침마다 강사님의 재치있는 강의로 하루를 시작합니다ㅎㅎ 이번 강좌에서 진수에 대해서 배웠는데, 진수는 컴퓨터가 이해하기 위한 것으로 알고 있는데, 저희가 GUI에서 화면에 입력을 하면 컴퓨터가 자동으로 처리를 하는데 16진수 8진수 2진수를 익혀둬야할 이유가 궁금합니다 ㅎㅎ 혹시 나중에 머신러닝, 딥러닝과 같은 분야에서 다루게 되나요? 공부하고 싶게 되는 강의를 만들어주셔서 무한한 감사를 표합니다 ㅎㅎ
-
미해결따라하며 배우는 TDD 개발 [2023.11 업데이트]
문의드립니다
productModel.create... productController.createProduct(req, res, next)... 이 둘의 순서를 바꾸어도 괜찮은가요?