inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

176만명의 커뮤니티!! 함께 토론해봐요.

정확한 과제를 제출해 주세요. 이번 과제가 아닌 다른 과제를 제출하신거 같네요!?

미해결

밑바닥 부터 시작하는 머신러닝 입문

자체 테스트로는 sklearn 과 유사한 결과가 나옵니다. 그러나, submit.bat 을 실행 하면, 일단 결과는 Failed 가 뜨고, 웹페이지 상에선, '정확한 과제를 제출해 주세요. 이번 과제가 아닌 다른 과제를 제출하신거 같네요!?' 라는 메시지가 출력됩니다. 문제를 몇번이나 꼼꼼히 보고 수정을 해서, 더이상 고칠 곳이 보이진 않는데요. 어떻게 해야 과제를 통과 할 수 있을지 막막합니다. 도움이 필요 합니다.

  • 머신러닝 배워볼래요?
송태영 댓글 2 좋아요 0 조회수 222

Calculator 와 return 이 오류가 뜹니다.(비주얼스튜디오2015버전)

미해결

유니티 게임 개발 (Unity 2D) - 시작부터 배포까지

큰 마음 먹고, 유료 결제 후 매우 만족하면서 강좌를 하나하나 보고 있습니다. 감사합니다. 그런데, 제가 모노디벨롭이 아니고, 비주얼스튜디오2015버전을 사용하고 있습니다. 그래서 그런지, 이 "함수" 강의 편에서 나온 코딩에서 위에 질문을 남기신 분 처럼, void Start () { Debug.Log("Result : " + Calculator (10, 20)); Debug.Log("Result : " + Calculator (30, 50)); } 의 ~~ " Result : " + Calculator(10,20)); 이라는 글자와 그 아래에 같은 범위의 글자들이 모두 빨간줄로 그어져 있고 오류라고 뜹니다. 또한 맨 아래에 return (B -A); 에서 return 도 빨간 줄로 그어져 있고 오류가 나고요. 왜 그런건지 매우 궁금하고 답답합니다. 나름 큰맘먹고 유료결제를 했는데 답변을 해 주셨으면 합니다. 이데로라면 모도디벨롭으로만 진행해야 하는건지.. 답답하네요.

  • unity
툰햄 댓글 0 좋아요 0 조회수 157

안녕하세요 교수님

미해결

홍정모의 따라하며 배우는 C++

영상에서 말씀하셨던 for문 대신 while문으로 jack jack을 한번 출력해보라고 하셔서 include using namespace std; int main() { char name[] = "Jack jack"; const int n_name = sizeof(name) / sizeof(name[0]); char *ptr = name; int i = 0; while(1) { if(i < 9) { cout << *(ptr + i) << endl; ++i; } else break; } 이런식으로 작동시켜보았습니다. 그런데 하면서 궁금한점이 if조건 안에 ((ptr + i) < 9) 이런식으로 조건을 넣으려고 했더니 char 타입과 int 타입이라 ptr + i 이런 조건을 줄 수 가 없어 작동이 안되더라구요. 다른 방법은 없는지 궁금합니다.

  • C++
정지훈 댓글 2 좋아요 1 조회수 247

nodemon이 재실행될때마다 데이터베이스를 만드는 명령어가 실행됩니다.

미해결

Node.js 교과서 - 기본부터 프로젝트 실습까지

선생님이 실행하시는 콘솔창에는 보이지 않는데 저는 아래와 같이 나타납니다. <code class="language-shell">Executing (default): CREATE TABLE IF NOT EXISTS `users` (`id` INTEGER NOT NULL auto_increment , `email` VARCHAR(40) UNIQUE, `nick` VARCHAR(15) NOT NULL, `password` VARCHAR(100), `provider` VARCHAR(10) NOT NULL DEFAULT 'local', `snsId` VARCHAR(30), `createdAt` DATETIME NOT NULL, `updatedAt` DATETIME NOT NULL, `deletedAt` DATETIME, PRIMARY KEY (`id`)) ENGINE=InnoDB;<p>Executing (default): SHOW INDEX FROM `users` FROM `nodebook`</p><p>Executing (default): CREATE TABLE IF NOT EXISTS `posts` (`id` INTEGER NOT NULL auto_increment , `content` VARCHAR(140) NOT NULL, `img` VARCHAR(200), `createdAt` DATETIME NOT NULL, `updatedAt` DATETIME NOT NULL, `deletedAt` DATETIME, `userId` INTEGER, PRIMARY KEY (`id`), FOREIGN KEY (`userId`) REFERENCES `users` (`id`) ON DELETE SET NULL ON UPDATE CASCADE) ENGINE=InnoDB;</p><p></p> 뒤는 길어서 잘랐습니다만.. 이렇게 계속 디비를 생성하는 게 정상인가요??

  • nodejs
  • mongodb
  • mysql
  • javascript
이다섭 댓글 1 좋아요 0 조회수 212

with open 문제

미해결

프로그래밍, 데이터 과학을 위한 파이썬 입문

강의 자료에 있는 csv_read.py 에서 csv 파일이 읽어지지가 않습니다. sytaxerror: EOF error는 주로 괄호를 안 닫거나 했을 때 벌어지는 error 인데 보시는 바와 같이 괄호는 제대로 닫겨 있습니다. 어제까지만 해도 된 거 같은데 lxml package 설치 후 갑자기 이럽니다. 어떻게 해야 할까요? 알려주세요 File "", line 1 with open("customers.csv") as customer_data: ^ SyntaxError: unexpected EOF while parsing

  • python
  • bigdata
Joomyung Lee 댓글 0 좋아요 0 조회수 142

xml open 관련 질문입니다.

미해결

프로그래밍, 데이터 과학을 위한 파이썬 입문

File "", line 1 with open("books.xml", "r", encoding="utf8") as books_file: ^ SyntaxError: invalid syntax 이렇게 나오는데요 왜 그런건가요?

  • bigdata
  • python
Joomyung Lee 댓글 2 좋아요 0 조회수 206

matchedUrl 정의할 때

미해결

Node.js 교과서 - 기본부터 프로젝트 실습까지

const matchedUrl = router[req.method][req.url] (matchedUrl || router[req.method]['*'])(req, res); 보통 객체에서 키 값을 불러올 때는 . 을 사용하잖아요. []는 보통 배열에서 사용되고? 왜 저런식으로 사용됐는지 이해가 잘 안됩니다. 또 matchedUrl 정의가 (req, res) 까지인가요? 그렇다면 const 정의할 때 옵션을 정해준거랑 비슷한건가요?

  • javascript
  • mongodb
  • mysql
  • nodejs
neok 댓글 2 좋아요 0 조회수 353

@Autowired 의 ApplicationContext 구현체는 어떤 방식으로 선택이 되었는지 궁금합니다.

해결됨

스프링 프레임워크 핵심 기술

안녕하세요 @Autowired ApplicationContext applicationContext 하면 ApplicationContext의 여러 구현체 중AnnotationConfigServletWebServerApplicationContext 클래스로 나오고 있는데 이 클래스에는 @Primary 나 @Qualifier 어노테이션이 붙어 있지 않습니다. 어떻게 위의 클래스가 선택이 되었는지 궁금합니다.

  • java
  • spring
naelina 댓글 1 좋아요 1 조회수 302

curl and undertow

미해결

스프링 부트 개념과 활용

안녕하세요. 질문드리고 싶은 점이 몇 가지가 있습니다. 1) curl -I -k --http2 https://localhost:8443/hello 를 입력하면 curl: (1) Unsupported protocol 이라는 결과가 나와서 https://simonecarletti.com/blog/2016/01/http2-curl-macosx/ 에 나온 안내대로 진행을 했는데 결과가 바뀌지 않는데, 무엇이 문제일까요? 2) 의존성을 다음과 같이 입력했는데, 계속해서 Tomcat이 실행되는데 무엇이 문제일까요? <?xml version="1.0" encoding="UTF-8"?> <project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> <modelVersion>4.0.0</modelVersion> <groupId>me.yun</groupId> <artifactId>dec04</artifactId> <version>0.0.1-SNAPSHOT</version> <packaging>jar</packaging> <name>dec04</name> <description>Demo project for Spring Boot</description> <parent> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-parent</artifactId> <version>2.1.1.RELEASE</version> <relativePath/> <!-- lookup parent from repository --> </parent> <properties> <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding> <project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding> <java.version>1.8</java.version> </properties> <dependencies> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-web</artifactId> <exclusions> <!-- Exclude the Tomcat dependency --> <exclusion> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-tomcat</artifactId> </exclusion> </exclusions> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-undertow</artifactId> </dependency> <dependency> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-starter-test</artifactId> <scope>test</scope> </dependency> </dependencies> <build> <plugins> <plugin> <groupId>org.springframework.boot</groupId> <artifactId>spring-boot-maven-plugin</artifactId> </plugin> </plugins> </build> </project> 3) 2)에서 입력한 의존성에 다음의 코드가 존재하는 상황입니다. 그런데 Error:(3, 37) java: package org.apache.catalina.connector does not exist 같은 에러가 나오는데 xml 설정이 잘못된 것일까요? package me.yun.dec04; import org.apache.catalina.connector.Connector; import org.springframework.boot.SpringApplication; import org.springframework.boot.autoconfigure.SpringBootApplication; import org.springframework.boot.web.embedded.tomcat.TomcatServletWebServerFactory; import org.springframework.boot.web.servlet.server.ServletWebServerFactory; import org.springframework.context.annotation.Bean; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RestController; @SpringBootApplication @RestController public class Dec04Application { @GetMapping("/hello") public String hello(){ return "Hello Spring"; } public static void main(String[] args) { SpringApplication.run(Dec04Application.class, args); } @Bean public ServletWebServerFactory serverFactory(){ TomcatServletWebServerFactory tomcat = new TomcatServletWebServerFactory(); tomcat.addAdditionalTomcatConnectors(createStandardConnector()); return tomcat; } private Connector createStandardConnector(){ Connector connector = new Connector("org.apache.coyote.http11.Http11NioProtocol"); connector.setPort(8080); return connector; } }

  • java
  • spring
  • spring-boot
with_all 댓글 1 좋아요 0 조회수 289

공식문서와 예시

미해결

스프링 부트 개념과 활용

안녕하세요. 강의 속에서 다음과 같은 코드를 보여 주셨는데요. 첨부해 주신 공식문서에는 이런 예시가 없더라구요. 보통 이런 기본적인 예시 코드들은 공식 문서가 아니라면 어디에서 찾을 수 있을까요? @Component public class PortListener implements ApplicationListener<ServletWebServerInitializedEvent> { @Override public void onApplicationEvent(ServletWebServerInitializedEvent servletWebServerInitializedEvent) { ServletWebServerApplicationContext applicationContext = servletWebServerInitializedEvent.getApplicationContext(); System.out.println(applicationContext.getWebServer().getPort()); } }

  • java
  • spring-boot
  • spring
with_all 댓글 1 좋아요 0 조회수 251

미해결

스프링 부트 개념과 활용

안녕하세요. 강의 속에서는 다음과 같은 코드를 알려주셨는데, 알려주신 공식문서에서는 이런 예제가 없더라구요. 보통 이런 예시들은 어디에 주로 제시되어 있는 것일까요? @Component public class PortListener implements ApplicationListener<ServletWebServerInitializedEvent> { @Override public void onApplicationEvent(ServletWebServerInitializedEvent servletWebServerInitializedEvent) { ServletWebServerApplicationContext applicationContext = servletWebServerInitializedEvent.getApplicationContext(); System.out.println(applicationContext.getWebServer().getPort()); } }

  • java
  • spring
  • spring-boot
with_all 댓글 1 좋아요 0 조회수 160

sdk manager.exe가 실행 안되요

미해결

안드로이드 모바일 앱 모의해킹과 시큐어코딩

sdk manager.exe가 안 되네요… 실행시키면 켜졌다 꺼지네요 요기 답변은 달아주나요?

  • 모의해킹
  • android
대진이 댓글 0 좋아요 0 조회수 173

실행시 아래 박스는 아래로 안떨어지는 이유가...

미해결

유니티 게임 개발 (Unity 2D) - 시작부터 배포까지

실행시 아래 박스는 아래로 안떨어지는 이유가 그 박스에는 rigidbody가 설정 안되어 있어서 그런건가요?

  • unity
김재원 댓글 0 좋아요 0 조회수 149

씬 전환 애니메이션은 배울 수 있나요~?

미해결

유니티 게임 개발 (Unity 2D) - 시작부터 배포까지

씬 이동시 파워포인트 처럼 겹치기나, 밀어내기 등 씬전환 효과를 만들고 싶습니다. 현재 안되어서 슬라이드 이동을 통해 구현하고 있는데, 씬을 별도로 관리하고 씬전환을 통해 진행하고 싶습니다~!! 실전편도 들었는데, 씬 전환시 효과에 대한 내용이 없어서 추가 강의가 가능한지 문의드려요~~!

  • unity
김지용 댓글 0 좋아요 0 조회수 200

한글입력이 안됩니다

미해결

Node.js 교과서 - 기본부터 프로젝트 실습까지

전에도 드렸던 질문인데 반복드려서 죄송합니다. 작동은 모두 잘 되는데 한가지 회원가입때 닉네임 정할시에도 영어로 하지 않으면 에러가 나고 영어로 가입후 게시글에 글쓸때에나 해쉬태그 쓸때에도 한글로만 쓰면 에러가 나는데 전에 말씀하신 것처럼 마지막장에 배포할때에는 한글로 입력되게끔 세팅을 하는거고 단지 여기서는 연습이기때문에 안되는건가요? 선생님 영상을 보면 한글로 잘 되셔서 저희이해를 돕기위해 일단 선생님만 그렇게 설정을 해놓으신 건지 궁금해서 글남깁니다!!

  • nodejs
  • javascript
  • mysql
  • mongodb
CW M 댓글 4 좋아요 0 조회수 309

인기 태그

인프런 TOP Writers

주간 인기글