묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결파이썬(Python)으로 데이터 기반 주식 퀀트 투자하기 Part1
한 셀에서 2줄의 명령을 하고 실행하면 저는 뒤에 명령만 반응해서 호출하는데 왜 그럴까요?
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! (스크린샷이 있으면 더더욱 좋습니다)- 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 선생님 화면에서는 한 셀을 실행하면 s3, s4 둘다 출력되는데요... 제 화면에서는...아래와 같이 두번째 s4에 대해서만 출력을 하는데 왜 그런지 아시나요...ㅠㅠ
-
해결됨카카오 퇴사자가 누설하는 [웹개발자 취업 비밀노트]
노션 공유를 받고 싶습니다.
구매한 강의에 대해서 노션 공유를 받으려고 하는데요. 어떻게 공유 받을수 있을까요?
-
미해결파이썬/장고 웹서비스 개발 완벽 가이드 with 리액트
학습법에 관하여
안녕하세요 선생님. 강의 듣다가 고민되는게 있어서 질문드립니다. 지금 10강까지 듣고있는데 강의는 좋은데 제가 이것을 다 소화해내지 못하는것같아서 그냥 듣고 따라치는거외에 어떤방법을 사용해야할지 질문드립니다. 사실은 이 강의를 다듣고나서 나혼자 제대로 이해하지 못한상태로 소화하지 못한상태로 남을까봐 두렵습니다 ㅠㅠ 계속 강의 듣다보면 어느정도 감이 올까요? 어떻게 해야 좋다고 생각하시나요??
-
미해결따라하며 배우는 도커와 CI환경 [2023.11 업데이트]
TypeError: MiniCssExtractPlugin is not a constructor 오류 공유
docker build . npm run build . 명령어 실행 시 > [builder 7/7] RUN npm run build: #13 0.734 #13 0.734 > docker-react-app@0.1.0 build #13 0.734 > react-scripts build #13 0.734 #13 1.721 /usr/src/app/node_modules/react-scripts/config/webpack.config.js:664 #13 1.721 new MiniCssExtractPlugin({ #13 1.721 ^ #13 1.721 #13 1.721 TypeError: MiniCssExtractPlugin is not a constructor #13 1.721 at module.exports (/usr/src/app/node_modules/react-scripts/config/webpack.config.js:664:9) #13 1.721 at Object.<anonymous> (/usr/src/app/node_modules/react-scripts/scripts/build.js:58:16) #13 1.721 at Module._compile (node:internal/modules/cjs/loader:1097:14) #13 1.721 at Object.Module._extensions..js (node:internal/modules/cjs/loader:1149:10) #13 1.721 at Module.load (node:internal/modules/cjs/loader:975:32) #13 1.721 at Function.Module._load (node:internal/modules/cjs/loader:822:12) #13 1.721 at Function.executeUserEntryPoint [as runMain] (node:internal/modules/run_main:81:12) #13 1.721 at node:internal/main/run_main_module:17:47 #13 1.721 #13 1.721 Node.js v17.3.1 와 같은 오류 나시는분들 아래 명령어로 해결하시면 됩니다. 노드 개발자가 아니라 정확한 원인은 잘 모르겠으나 버전 문제로 보입니다! npm i -D --save-exact mini-css-extract-plugin@2.4.5
-
미해결Klaytn 클레이튼 블록체인 어플리케이션 만들기 - 이론과 실습
아니..지금 쓰는거랑 아예 인터페이스가 다른데 강좌를 내리던가 해야할듯요
아니..지금 쓰는거랑 아예 인터페이스가 다른데 강좌를 내리던가 해야할듯요
-
미해결문과생도, 비전공자도, 누구나 배울 수 있는 파이썬(Python)!
함수 호출에서
호출하는 법에 wow_f_result= wow_f (2,3) 중간에 이렇게 적으시고 뒷부분 wow앞에 5를 넣는 거랑 같다(5 wow_f(2,3))고 하셨는데 왜 5가 나왔는지 모르겠어요!
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
테이블 생성이 안됩니다.
spring: datasource: url: jdbc:h2:tcp://localhost/~/jpashop username: sa password: driver-class-name: org.h2.Driver jpa: hibernate: ddl-auto: create properties: hibernate: # show_sql: true format_sql: true logging.level: org.hibernate.SQL: debug org.hibernate.type: trace 설정 부분에 위아같이 넣고h2 데이터베이스를 설치해서 똑같이 따라서 했는데 테이블이 생성이 안됩니다. 아래 소스가 로그중 일부인데 create table은 되는데 h2 데이터베이스 관리자에서는 생성된 테이블이 안보여집니다.로그 내용을 보면jdbc:h2:mem:05a2274d-b5a5-499a-b78e-ed8d7d945f0b이 내용이 인메모리에 생성이 되는 것 같은데..만약 인메모리에 생상이 됐다면 따로 설정을 하거나 바꾼 내용이 없는데 왜 인메모리로 만들어질까요? 2022-01-20 18:25:06.738 INFO 30875 --- [ restartedMain] p6spy : #1642670706738 | took 1ms | statement | connection 3| url jdbc:h2:mem:05a2274d-b5a5-499a-b78e-ed8d7d945f0b create table delivery ( delivery_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), status varchar(255), primary key (delivery_id) ) create table delivery ( delivery_id bigint not null, city varchar(255), street varchar(255), zipcode varchar(255), status varchar(255), primary key (delivery_id) );
-
미해결실전! 스프링 부트와 JPA 활용2 - API 개발과 성능 최적화
generated 된 QModel 들을 못 불러 옵니다.
강의영상과 자료에 의거해서 환경을 세팅하고 Tasks > other > compileQuerydsl 까지 실행해서 해당 패키지에 파일을 생성하는 것 까지는 성공했는데... path 설정의 문제인지 불러올 수가 없습니다. --------------------------------------------------- //querydsl 추가buildscript { dependencies { classpath("gradle.plugin.com.ewerk.gradle.plugins:querydsl-plugin:1.0.10") }}plugins { id 'org.springframework.boot' version '2.6.2' id 'io.spring.dependency-management' version '1.0.11.RELEASE' id 'java'}apply plugin: "com.ewerk.gradle.plugins.querydsl"group = 'jpabook'version = '0.0.1-SNAPSHOT'sourceCompatibility = '11'configurations { compileOnly { extendsFrom annotationProcessor }}repositories { mavenCentral()}dependencies { implementation 'org.springframework.boot:spring-boot-starter-data-jpa' implementation 'org.springframework.boot:spring-boot-starter-thymeleaf' implementation 'org.springframework.boot:spring-boot-starter-web' implementation 'org.springframework.boot:spring-boot-devtools' implementation("com.github.gavlyukovskiy:p6spy-spring-boot-starter:1.8.0") implementation 'org.springframework.boot:spring-boot-starter-validation' implementation 'com.fasterxml.jackson.datatype:jackson-datatype-hibernate5' implementation 'junit:junit:4.13.1' compileOnly 'org.projectlombok:lombok' runtimeOnly 'com.h2database:h2' annotationProcessor 'org.projectlombok:lombok' testImplementation 'org.springframework.boot:spring-boot-starter-test' //querydsl 추가 implementation 'com.querydsl:querydsl-jpa' //querydsl 추가 implementation 'com.querydsl:querydsl-apt'}//querydsl 추가def querydslDir = 'src/main/generated'//def querydslDir = "$buildDir/generated/querydsl"querydsl { library = "com.querydsl:querydsl-apt" jpa = true querydslSourcesDir = querydslDir}sourceSets { main { java { srcDirs = ['src/main/java', querydslDir] } }}compileQuerydsl { options.annotationProcessorPath = configurations.querydsl}configurations { querydsl.extendsFrom compileClasspath}test { useJUnitPlatform()} ---------------------------------------------------
-
미해결딥러닝 CNN 완벽 가이드 - TFKeras 버전
tf.data
안녕하세요 교수님 최근 들어 tf.data api를 익혀볼려고 합니다 :) 저희가 데이터를 받아올때 수업에서는 Sequence 기반으로 custom dataset을 통해서 받아서 내부에서 전처리를 했는데 tf.data같은 경우 custom dataset을 어떻게 만들어야하는지가 궁금해서 이렇게 질문드립니다 :) 감사합니다.
-
해결됨면접과 취업을 부르는 '퍼블리셔 개인 포트폴리오 홈페이지' 제작
포폴 추가 질문 있습니다!!
제가 포폴 와이어프레임도 제작을 했는데 포폴 자료로 제출할때 pdf 파일을 따로 첨부해도 괜찮은지, 제 웹페이지 안에 iframe 링크로 볼수있도록 첨부를 같이 해야하는지 질문 드립니다..!!
-
미해결파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)
아나그램 풀이
안녕하세요. 강의 정말 잘 듣고 있습니다. 이번 문제에 대하여 dictionary의 value에 해당 문자열에 대하여 count함수를 써서 다음과 같이 풀어봤는데 괜찮은건가요? import sys # sys.stdin = open('input.txt','rt') # 방법 1 a = input() dict_a = dict() for x in a: dict_a[x] = a.count(x) b = input() dict_b = dict() for x in b: dict_b[x] = b.count(x) if dict_a == dict_b: print('YES') else: print('NO')
-
미해결모든 개발자를 위한 HTTP 웹 기본 지식
TCP 로 클라- 서버 데이터 전송시에
안녕하세요 영한님 전에 들은 강의 복습하던 중에 궁금한게 있어서 질문합니다. 컴퓨터끼리 통신을 할때 인터넷 (인터네트워크 망 ) 을 통해 통신을 하고, 데이터를 보내는 컴퓨터의 경우 응용프로그램의 데이터를 패킷이라고 하는데, 응용프로그램의 소켓 라이브러를 이용해서 TCP 프로토콜을 이용하고, TCP 프로토콜 , IP 프로토콜 로 내려가면서 패킷에 헤더를 씌우고 이 헤더에는 자신의 포트번호, 상대의 포트번호 , 전송방식 등이 들어가 있다. 이러한 과정중에서 DNS 서버를 통해서 도메인 이름으로 IP 주소를 요청해서 받는 등, TCP 는 3 way handshake 등의 물리적 연결의 과정 등 의 여러 과정을 거친다. 데이터를 받는 컴퓨터의 경우 , IP 주소내의 포트번호를 통해서 데이터를 최종적으로 전달받는다고 정리할 수 있다. 라고 제 블로그에 정리를 해놨었는데 , 궁금한 점이 1. 제가 이해한 로직이 맞는지요 ? 2. TCP 계층에서 서로 논리적 연결을 하면서 패킷을 서로 주고받는데, 물리 계층에 내려가서까지는 데이터를 그러면 전송하지 않는것인지? 감사합니다
-
해결됨[리뉴얼] React로 NodeBird SNS 만들기
우분투 mysql 계속 5.7로만 설치됩니다.
AWS 배포부분에서 우분투에 MYSQL 설치하기 따라하고 있습니다. 동일하게 아마존 AWS로 했고 우분투 버전은 Operating System: Ubuntu 18.04.6 LTS Kernel: Linux 5.4.0-1060-aws Architecture: x86-64 이렇게 나오네요. 중간에 sudo update할때 PUBKEY 오류가 나서 https://comcube.tistory.com/entry/Ubuntu-%EC%97%90%EC%84%9C-GPG-ERROR-NOPUBKEY-%EC%97%90%EB%9F%AC%EC%8B%9C-%ED%95%B4%EA%B2%B0%EB%B0%A9%EB%B2%95 위 블로그를 보고 해결한 상태입니다. 알려주신 사이트 외에 몇개 다른 블로그글 참고해서 설치 시도중인데 계속 버전이 5.7만 뜨네요.. ubuntu@ip-172-31-36-77:~/excuse-moa/back$ wget -c https://repo.mysql.com/mysql-apt-config_0.8.13-1_all.deb --2022-01-20 08:30:14-- https://repo.mysql.com/mysql-apt-config_0.8.13-1_all.deb Resolving repo.mysql.com (repo.mysql.com)... 23.205.96.240 Connecting to repo.mysql.com (repo.mysql.com)|23.205.96.240|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 35560 (35K) [application/x-debian-package] Saving to: ‘mysql-apt-config_0.8.13-1_all.deb’ mysql-apt-config_0.8.13-1_ 100%[========================================>] 34.73K --.-KB/s in 0.03s 2022-01-20 08:30:14 (1.03 MB/s) - ‘mysql-apt-config_0.8.13-1_all.deb’ saved [35560/35560] ubuntu@ip-172-31-36-77:~/excuse-moa/back$ sudo dpkg -i mysql-apt-config_0.8.13-1_all.deb (Reading database ... 69208 files and directories currently installed.) Preparing to unpack mysql-apt-config_0.8.13-1_all.deb ... Unpacking mysql-apt-config (0.8.13-1) over (0.8.13-1) ... Setting up mysql-apt-config (0.8.13-1) ... Warning: apt-key should not be used in scripts (called from postinst maintainerscript of the package mysql-apt-config) OK ubuntu@ip-172-31-36-77:~/excuse-moa/back$ sudo apt update Hit:1 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu bionic InRelease Hit:2 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu bionic-updates InRelease Get:3 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu bionic-backports InRelease [74.6 kB] Hit:4 https://deb.nodesource.com/node_14.x bionic InRelease Hit:5 http://repo.mysql.com/apt/ubuntu bionic InRelease Hit:6 http://security.ubuntu.com/ubuntu bionic-security InRelease Fetched 74.6 kB in 1s (88.4 kB/s) Reading package lists... Done Building dependency tree Reading state information... Done 24 packages can be upgraded. Run 'apt list --upgradable' to see them. ubuntu@ip-172-31-36-77:~/excuse-moa/back$ sudo apt-get install mysql-server Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: libcgi-fast-perl libcgi-pm-perl libencode-locale-perl libevent-core-2.1-6 libfcgi-perl libhtml-parser-perl libhtml-tagset-perl libhtml-template-perl libhttp-date-perl libhttp-message-perl libio-html-perl liblwp-mediatypes-perl libtimedate-perl liburi-perl Use 'sudo apt autoremove' to remove them. The following additional packages will be installed: libmecab2 mysql-client mysql-common mysql-community-client mysql-community-server The following packages will be REMOVED: mysql-client-core-5.7 mysql-server-core-5.7 The following NEW packages will be installed: libmecab2 mysql-client mysql-common mysql-community-client mysql-community-server mysql-server 0 upgraded, 6 newly installed, 2 to remove and 24 not upgraded. Need to get 51.5 MB/51.5 MB of archives. After this operation, 240 MB of additional disk space will be used. Do you want to continue? [Y/n] y Get:1 http://ap-northeast-2.ec2.archive.ubuntu.com/ubuntu bionic/universe amd64 libmecab2 amd64 0.996-5 [257 kB] Get:2 http://repo.mysql.com/apt/ubuntu bionic/mysql-5.7 amd64 mysql-community-client amd64 5.7.37-1ubuntu18.04 [14.6 MB] Get:3 http://repo.mysql.com/apt/ubuntu bionic/mysql-5.7 amd64 mysql-client amd64 5.7.37-1ubuntu18.04 [70.3 kB] Get:4 http://repo.mysql.com/apt/ubuntu bionic/mysql-5.7 amd64 mysql-community-server amd64 5.7.37-1ubuntu18.04 [36.5 MB] Get:5 http://repo.mysql.com/apt/ubuntu bionic/mysql-5.7 amd64 mysql-server amd64 5.7.37-1ubuntu18.04 [70.3 kB] Fetched 51.5 MB in 2s (23.0 MB/s) Preconfiguring packages ... (Reading database ... 69208 files and directories currently installed.) Removing mysql-client-core-5.7 (5.7.36-0ubuntu0.18.04.1) ... Removing mysql-server-core-5.7 (5.7.36-0ubuntu0.18.04.1) ... Selecting previously unselected package mysql-common. (Reading database ... 69100 files and directories currently installed.) Preparing to unpack .../0-mysql-common_5.8+1.0.4_all.deb ... Unpacking mysql-common (5.8+1.0.4) ... Selecting previously unselected package mysql-community-client. Preparing to unpack .../1-mysql-community-client_5.7.37-1ubuntu18.04_amd64.deb ... Unpacking mysql-community-client (5.7.37-1ubuntu18.04) ... Selecting previously unselected package mysql-client. Preparing to unpack .../2-mysql-client_5.7.37-1ubuntu18.04_amd64.deb ... Unpacking mysql-client (5.7.37-1ubuntu18.04) ... Selecting previously unselected package libmecab2:amd64. Preparing to unpack .../3-libmecab2_0.996-5_amd64.deb ... Unpacking libmecab2:amd64 (0.996-5) ... Selecting previously unselected package mysql-community-server. Preparing to unpack .../4-mysql-community-server_5.7.37-1ubuntu18.04_amd64.deb ... Unpacking mysql-community-server (5.7.37-1ubuntu18.04) ... Selecting previously unselected package mysql-server. Preparing to unpack .../5-mysql-server_5.7.37-1ubuntu18.04_amd64.deb ... Unpacking mysql-server (5.7.37-1ubuntu18.04) ... Setting up mysql-common (5.8+1.0.4) ... update-alternatives: using /etc/mysql/my.cnf.fallback to provide /etc/mysql/my.cnf (my.cnf) in auto mode Setting up libmecab2:amd64 (0.996-5) ... Setting up mysql-community-client (5.7.37-1ubuntu18.04) ... Setting up mysql-client (5.7.37-1ubuntu18.04) ... Setting up mysql-community-server (5.7.37-1ubuntu18.04) ... update-alternatives: using /etc/mysql/mysql.cnf to provide /etc/mysql/my.cnf (my.cnf) in auto mode Created symlink /etc/systemd/system/multi-user.target.wants/mysql.service → /lib/systemd/system/mysql.service. Setting up mysql-server (5.7.37-1ubuntu18.04) ... Processing triggers for libc-bin (2.27-3ubuntu1.4) ... Processing triggers for systemd (237-3ubuntu10.52) ... Processing triggers for man-db (2.8.3-2ubuntu0.1) ... Processing triggers for ureadahead (0.100.0-21) ...
-
미해결HTML+CSS+JS 포트폴리오 실전 퍼블리싱(시즌1)
transition, transform차이가 뭔지요?
하다보니 transition을 늘 0.5s 주신거 보고 헷갈립니다. 만약 tranform:translate 라고 주는거랑 어떤 차이가 있나요? 크게는 transition과 tranform 차이도 궁금합니다. 답변 늘 감사드립니다
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
build는 됬으나 페이지이동하면 에러나요.
안녕하세요. 수업을 따라가던 도중에 빌드까진 성공을 했습니다. http://localhost:8090/ 접속해서 welcome 페이지는 나오는데 http://localhost:8090/hello 페이지로 넘어가려고 하면 Whitelabel Error Page라고 에러납니다.. 터미널 에러를 확인해보면 이렇습니다. 확인 감사하겠습니다!
-
미해결설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
d_ff_test.v에 대해서 여쭙고 싶은게 있습니다!
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. d_ff_test.v 에서 마지막 assign을 보면 assign o_value_sync_reset = r_ff_sync_reset ; assign o_value_async_reset = r_ff_async_reset ; assign o_value_async_reset_n = r_ff_async_reset_n; assign o_value_mixed_reset = r_ff_mixed_reset ; assign o_value_no_reset = r_ff_no_reset ; 이렇게 되어 있잖아요??? 근데 저가 배우기론 assign에서 reg는 사용할 수 없다고 알고 있는데 r_ff~ 얘네들은 reg형인데 어떻게 사용이 되는건가요?
-
미해결탄탄한 백엔드 NestJS, 기초부터 심화까지
swagger 404
안녕하세요. 고정 아이피에서 swagger가 404 에러가 나면서 들어가지지 않습니다. 원래 localhost docs로 잘 연결해서 사용했었는데 오늘 aws까지 연결 다 한 후 고정 아이피/docs로 swagger를 들어가보려고 보니까 에러가 나네요 ㅠㅠ 포트번호 80으로 들어가면 접속되는데, 원래 고정 아이피로는 docs 입장이 불가능 한가요? nest 버전은 8.0.0 swagger 버전은 5.1.5입니다 docs로 접속하면 아래의 오류가 뜹니다. { "success": false, "timestamp": "2022-01-20T07:32:49.291Z", "statusCode": 404, "message": "Cannot GET /docs", "error": "Not Found" } main.ts의 코드입니다. const config = new DocumentBuilder() .setTitle('C.I.C') .setDescription('blog project') .setVersion('1.0.0') .build(); const document: OpenAPIObject = SwaggerModule.createDocument(app, config); SwaggerModule.setup('docs', app, document);
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
유니티에 스크립트 옮길 때 이런 오류가 발생합니다.
심각도 코드 설명 프로젝트 파일 줄 비표시 오류(Suppression) 상태 오류 CS0037 'ArraySegment<byte>'은(는) null을 허용하지 않는 값 형식이므로 null을 이 형식으로 변환할 수 없습니다. Assembly-CSharp C:\Users\ARTECH COME 002\Desktop\Unity Project\0119 DB TEST\DB TEST\Assets\Script\Network\SendBuffer.cs 47 활성 강의에서 발생하는 오류가 아니라 저는 이런 오류가 발생하는데 어떻게 해결하면 좋을까요?
-
미해결초보자도 만들 수 있는 스크롤 인터렉션. 1편 자바스크립트
find 사용의 이유
안녕하세요. 혹시 변수 선언 할 때에, var scrollBody = $('.motion_area'); 에서는 $() 를 사용하고, bgContent와 ggangBody 에서는 scrollBody.find('.bg'); 등으로 find 메소드를 사용 해주셨는데요, 더욱 길어지는것 같아서 혹시 bgContent에 $('.bg') <-이런식으로 선언이 아닌, find를 사용하는 이유가 있는지 궁금합니다.
-
미해결Vue.js 완벽 가이드 - 실습과 리팩토링으로 배우는 실전 개념
권한요청드립니다.
안녕하세요 장기효님 강좌 처음 듣는 수강생입니다 수업 듣는다고 생각하니 벌써 설레네요. 권한 요청 부탁드리겠습니다. 인프런 아이디 : jishuya3015 인프런 이메일 : jishuya3015@naver.com 깃헙 아이디 : jishuya3015@gmail.com깃헙 Username : jishuya