inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

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

버그 발생시

해결됨

[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part3: 유니티 엔진

안녕하세요! 항상 좋은 강의 잘 보고 있습니다!! 버그 수정에 대해 궁금한게 있습니다 게임을 만들던 도중에 unityChan이 바닥을 향해 달려가는 버그가 발생해서 하루 종일 디버깅 해보고 오류를 수정하려고 했지만 결국 원인을 찾지 못하고, 처음 부터 다시 했더니 진짜 갑자기 됐습니다,, 근데 저는 아직도 그때 왜 버그가 났는지 이유를 모르겠습니다,, 그래서 제가 궁금한것은 게임을 만드시는 분들도 다들 이렇게 버그의 원인을 찾지 못하는 경우가 많나요? 저는 버그의 원인을 잘 찾지 못하는것 같은데,,, 다른 분들은 어떻게 하시나요?

  • 디버깅
  • C#
  • 오류처리
  • unity
didgmldus001 댓글 2 좋아요 0 조회수 396

throw er; // Unhandled 'error' event

미해결

따라하며 배우는 노드, 리액트 시리즈 - 기본 강의

안녕하세요 강의 너무 잘듣고있습니다 /login 으로 post 요청하여 계정을 검증하는 부분에서 throw er; // Unhandled 'error' event 이러한 오류가 나타나는데 port 문제라고 해서 port를 cmd로 죽이고 여러번 해봤지만 문제가 여전해서 질문 남깁니다. const express = require("express"); // express 모듈 가져오기 const app = express(); // 새로운 express 앱생성 const port = 5000; // 포트번호지정 const { User } = require("./models/User"); const bodyParser = require("body-parser"); const mongoose = require("mongoose"); const cookieParser = require("cookie-parser"); //application/x-www.form.urlencoded app.use(bodyParser.urlencoded({ extended: true })); // application/json app.use(bodyParser.json()); app.use(cookieParser()); const config = require("./config/key"); mongoose .connect(config.mongoURI) .then(() => { console.log("mongoDB connected!"); }) .catch((err) => { console.log(err); }); app.get("/", (req, res) => { res.send("Hello World! 노드 실행d"); }); app.post("/register", (req, res) => { // 회원가입 할때 필요한 정보들을 client에서 가져오면 // 그것들을 데이터 베이스에 넣어줌 const user = new User(req.body); user.save(function (err, userInfo) { if (err) return res.json({ success: false, err }); return res.status(200).json({ success: true, }); }); }); app.post("/login", (req, res) => { User.findOne({ email: req.body.email }, (err, user) => { if (err) { return res.json({ loginSuccess: false, message: err, }); } // 요청된 이메일을 데이터베이스에서 있는지 찾는다. if (!user) { return res.json({ loginSuccess: false, message: "이메일이 존재하지 않습니다.", }); } // 요청한 이메일이 존재한다면 비밀번호가 같은지 확인 user.comparePassword(req.body.password, (err, isMatch) => { if (err) { return res.json({ logginSuccess: false, message: err, }); } if (!isMatch) { return res.json({ loginSuccess: false, message: "비밀번호가 틀렸습니다.", }); } }); // 비밀번호까지 맞는다면 token을 생성한다. user.generateToken((err, user) => { if (err) return res.status(400).send(err); // 저장은 어디에? 쿠기, 로컬스토리지 res .cookie("x_auth", user.token) .state(200) .json({ logginSuccess: true, userId: user._id }); }); }); }); app.listen(port, () => { console.log(`Example app listening on port ${port}`); });

  • react
  • nodejs
권석기 댓글 1 좋아요 0 조회수 817

쿠키와 캐시 질문

미해결

모든 개발자를 위한 HTTP 웹 기본 지식

1. 쿠키와 캐시의 차이점이 궁금합니다!! 2. 웹브라우저에 캐시저장소 , 쿠키저장소 2개가 있는건가요??

  • network
유석균 댓글 1 좋아요 0 조회수 314

해당 코드가 C# 에선 접근 관련 컴파일 에러가 뜹니다.

미해결

코딩으로 학습하는 GoF의 디자인 패턴

안녕하세요 :) Java 보단 C# 이 편한 수강생입니다. C# 으로 강의 코드를 타이핑 하고 있는데요, 같은 코드인데 C# 에선 접근 제한 에러가 뜨더라구요! 그래서 instance 를 public/internal 로 바꿔야 했는데 C# 과 Java 의 차이에서 비롯된 것일까요? 어떤 차이에서 비롯된 것인지 궁금합니다!

  • 디자인-패턴
  • java
안소 댓글 1 좋아요 0 조회수 475

useCallback과 state 업데이트

미해결

[리뉴얼] React로 NodeBird SNS 만들기

안녕하세요 제로초님 useCallback에 대한 질문이 있습니다 요렇게 코드를 넣고 좋아요/댓글 버튼을 여러번 누르니까 기능은 정상적으로 동작하는데 이렇게 로그가 false로만 뜨더라구요 useCallback과 관련된 부분인 것 같은데 원리가 무엇인가요?

  • nodejs
  • redux
  • react
  • express
  • Next.js
frenchkebab 댓글 1 좋아요 0 조회수 235

Best Relocators In Dubai

미해결

Best moving company in Dubai Choosing the only moving company in Dubai is now easier than ever. When you move to Dubai, you may want the emirate to be the main mover of the emirate to help you. We have selected the only Dubai company to move goods for you. Are you looking for real reviews of national carriers? State mover and great race hence the simplest movers at cheap prices in Dubai. List of long-distance operators in Dubai supported by Consumer Reports. Complete a free moving quote for the best Movers Dubai , and estimate rates and discounted moving fees. Read what you need to know before following up on our daily tips, guides, and checklists.

  • movers
abuhakim 댓글 0 좋아요 0 조회수 120

Locking For Best Movers?

미해결

Best movers in Dubai cheapest and best moving and packing companies to date in addition to the pallet operators based in Dubai for moving homes everyone knows that moving business in Dubai is essential, the products in your home are very delicate, like glassware and electronic appliances, like refrigerators, microwaves, etc., so you cannot transport them yourself from Dubai. Want to need executives' help to transform your home. But now it is possible without meeting the best affordable movers and packers in Dubai. Visit Us: Movers and Packers

  • moversandpackers
abuhakim 댓글 0 좋아요 0 조회수 167

Are you worried for Removing?

미해결

Movers and Packers in Dubai We primarily focus on the value of our customers and offer a no-damage guarantee, only in the event of any minor damage to any of the property can we get a full replacement. Moving, loading and unloading will be done with the simplest procedure ever found. As one of the simplest packaging companies in Dubai, we guarantee the best quality of professional workmanship in reasonable quantities at short notice. The most complicated part of the transportation process is the packaging of different products. We must make sure that the products are not damaged during the transportation process. With us, you will have a direct honest experience in the moment of change and transition without worry. Visit Us: Movers and packers Dubai

  • packers
abuhakim 댓글 0 좋아요 0 조회수 176

Abuhakim

미해결

Abu Hakim is a Digital Marketing Expert at Allied Dubai Movers. Experienced in managing promotional campaigns, and crafting marketing strategies to generate niche relevant traffic for organizations through his blogs. Allied Dubai Movers offers full inclusive moving services, packing, removal, relocation, furniture movers, local movers, and self-storage services, including packaging and covering of your stuff and things for the journey. At Allied Dubai Movers, we own our own Trucks. We use bubble sheet cartons and other packing materials to prevent damage to your belongings during relocation. We take responsibility for any damage so care for them very seriously. Visit Us: Moving Company Dubai

  • movers
abuhakim 댓글 0 좋아요 0 조회수 142

텍스트RPG #3 31:48 질문

미해결

[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part1: C++ 프로그래밍 입문

EnterBattle(playerInfo, &monsterInfo[index]); 부분에 monsterInfo[index]는 배열이기 때문에 &는 없더라도 포인터와 상호적으로 주고받을 수 있기 때문에 오류가 안나야 된다고 생각하는데, 왜 오류가 발생하는지 모르겠스빈다.

  • 31:48
  • C++
정준혁 댓글 1 좋아요 0 조회수 229

nullptr 관련 질문

미해결

[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part1: C++ 프로그래밍 입문

시드값을 정할 때, srand((unsigned) time(nullptr));라고 하였는데, 0 대신 nullptr을 쓴 이유가 있을까요? nullptr은 포인터와 함께 쓰여져야 하는 것 아닌가요???

  • nullptr
  • C++
정준혁 댓글 1 좋아요 0 조회수 255

rising temperature

미해결

[백문이불여일타] 데이터 분석을 위한 중급 SQL

날짜 계산할 때 -1, +1 같은건 절대 안된다고 하셨는데 실제로 이렇게 써도 제출 전에는 맞다고 나오는데요! 혹시 이건 왜그럴까요? select today.id from weather as today inner join weather as yesterday on today.recorddate - 1 =. yesterday.recorddate where today.temperature > yesterday.temperature

  • sql
mmyungjjin 댓글 1 좋아요 0 조회수 302

gravatar 설정 중 잘 되지 않습니다.

미해결

Slack 클론 코딩[실시간 채팅 with React]

안녕하세요 제로초님 강의 보던 도중 에러가 발생하여 질문 남깁니다! <코드> <오류> <ProfileImg src={gravatar.url(data.email, { s: '28px', d: 'retro' })} alt={data.nickname} /> 이 코드에 문제가 있는 것 같은데 어떤때는 코드에 이상없이 gravatar가 화면에 나오고 어떨때는 코드에 오류가 생겨 저 오류메세지가 출력이 됩니다. 어떻게 해결해야 할지 도저히 모르겠어서 질문남깁니다!

  • typescript
  • babel
  • react
  • Socket.io
  • 웹팩
  • 클론코딩
j949854 댓글 1 좋아요 0 조회수 258

Lexical or Preprocessor Issue Group 에러 mac m1 사용중입니다

미해결

배달앱 클론코딩 [with React Native]

Redefinition of module 'FirebaseCoreInternal' /ios/Pods/Headers/Public/FirebaseCore/FirebaseCore.modulemap:1:8: Redefinition of module 'FirebaseCore' 에러가 뜨는데요 배달앱을 아래 버전으로 작업을 하고 있었구요 ^^;; 안드로이드에선 다 잘되는데 ios에서는 안되네요 ㅜ,ㅜ pod file 에 pod 'Firebase/Analytics' pod 'Firebase/Messaging' , :modular_headers => true pod 'GoogleUtilities' , :modular_headers => true pod 'Firebase' , :modular_headers => true pod 'FirebaseCore' , :modular_headers => true pod 'FirebaseCoreInternal' , :modular_headers => true pod 'GoogleUtilities' , :modular_headers => true $RNFirebaseAsStaticFramework = true $FirebaseSDKVersion = '9.3.0' 추가했습니다 "react" : "17.0.2" , "react-native" : "^0.68.2" ,

  • react-native
kim미소 파파 댓글 1 좋아요 0 조회수 709

복시에 대하여

미해결

복싱 취미로 할건데 복싱 취미로 할데 잘하면 대회 나가야 되나요? 지역 대회나 간단한 행사 같은데서 하는 거요. 근데 복서는 하는거 아니고 그냥 취민데 우연히 잘해서 대회같은데 나갈데요,

  • 복싱
HYPSY 댓글 0 좋아요 0 조회수 131

연습문제 강의

미해결

[딥러닝 전문가 과정 DL1121] 넘파이 마스터 클래스

연습문제 강의가 Random Shuffling까지밖에 없습니다. 후에 강의는 아직 없는건가요? ㅠㅠ

  • python
  • numpy
김진호 댓글 1 좋아요 0 조회수 319

설계관련 궁금증이 있습니다.

미해결

코딩으로 학습하는 GoF의 디자인 패턴

- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요 선생님 이전강의에서 어떤식으로 구현할 지 간단하게 설명해준 내용을 듣고 이번 강의를 듣기전에 먼저 구현을 해본 뒤 영상을 시청한 후 차이점이 생겨서 질문 드립니다.. 저는 클라이언트가 디바이스의 존재를 몰라도 사용할 수 있도록 Shape 인터페이스에 void printToPhone(); void printToWatch(); 두 메서드를 생성한 뒤 각 도형 자식클래스에 @Override public void printToPhone() { device = new Phone(); device.printTo(this); } @Override public void printToWatch() { device = new Watch(); device.printTo(this); } 이런식으로 메서드 내부에서 디바이스를 생성하여 처리하였습니다. 이후 클라이언트에서 Shape rectangle = new Rectangle(); rectangle.printToPhone(); rectangle.printToWatch(); 이런식으로 호출하는 방법으로 설계를 진행하였는데 강의를 듣다보니 디바이스가 새로 추가될 때마다 선생님의 코드와는 다르게 Shape 인터페이스에 새로운 메서드를 추가하고 상속받은 모든 자식클래스에 추가로 수정을 하여야 하는 단점이 생겼습니다. 클라이언트의 입장에서 디바이스의 존재를 모르고 사용할 수 있도록 하는 것과 선생님 코드처럼 확장에 용이하게 하는 방법 중 설계를 어떤부분에 중점을 둬야할지 잘 모르겠습니다.. 약간 디자인패턴과 조금 거리가 있는 질문을 드려서 죄송합니다. 좋은 강의 감사합니다.

  • java
  • 디자인-패턴
ksh9241 댓글 0 좋아요 0 조회수 357

s3 에 대해 질문드립니다

미해결

MERN STACK 커뮤니티 : 시작부터 배포까지 알려주는 React

네이버 클라우드 플랫폼의 버킷을 사용하게되는데 서버를 aws에 두고 연결을 네이버 클라우드 플랫폼의 버킷으로 할수도 있을까요? aws s3 설정이 헷갈려서...

  • mongodb
  • nodejs
  • express
  • firebase
  • react
nnouss 댓글 1 좋아요 1 조회수 264

설계관련 궁금증이 있습니다.

미해결

코딩으로 학습하는 GoF의 디자인 패턴

안녕하세요 선생님 이전강의에서 어떤식으로 구현할 지 간단하게 설명해준 내용을 듣고 이번 강의를 듣기전에 먼저 구현을 해본 뒤 영상을 시청한 후 차이점이 생겨서 질문 드립니다.. 저는 클라이언트가 디바이스의 존재를 몰라도 사용할 수 있도록 Shape 인터페이스에 void printToPhone(); void printToWatch(); 두 메서드를 생성한 뒤 각 도형 자식클래스에 @Override public void printToPhone() { device = new Phone(); device.printTo(this); } @Override public void printToWatch() { device = new Watch(); device.printTo(this); } 이런식으로 메서드 내부에서 디바이스를 생성하여 처리하였습니다. 이후 클라이언트에서 Shape rectangle = new Rectangle(); rectangle.printToPhone(); rectangle.printToWatch(); 이런식으로 호출하는 방법으로 설계를 진행하였는데 강의를 듣다보니 디바이스가 새로 추가될 때마다 선생님의 코드와는 다르게 Shape 인터페이스에 새로운 메서드를 추가하고 상속받은 모든 자식클래스에 추가로 수정을 하여야 하는 단점이 생겼습니다. 클라이언트의 입장에서 디바이스의 존재를 모르고 사용할 수 있도록 하는 것과 선생님 코드처럼 확장에 용이하게 하는 방법 중 설계를 어떤부분에 중점을 둬야할지 잘 모르겠습니다.. 약간 디자인패턴과 조금 거리가 있는 질문을 드려서 죄송합니다. 좋은 강의 감사합니다.

  • 디자인-패턴
  • java
ksh9241 댓글 0 좋아요 0 조회수 268

설계관련 궁금증이 있습니다.

미해결

코딩으로 학습하는 GoF의 디자인 패턴

안녕하세요 선생님 강의 잘 보고있습니다. 비지터 패턴 관련하여 앞선 강의에서 설명해준 내용을 듣고 먼저 구현을 해봤는데요. 저는 클라이언트에서 디바이스의 존재를 모른채로 사용하게 하고 싶어서 Shape 인터페이스에서 void printToPhone(); void printToWatch(); 이라는 각각의 인터페이스를 만든 뒤에 각 도형의 자식 클래스에 @Override public void printToPhone() { device = new Phone(); device.printTo(this); } @Override public void printToWatch() { device = new Watch(); device.printTo(this); } 이런식으로 처리한 뒤에 클라이언트에선 Shape rectangle = new Rectangle(); Shape triangle = new Triangle(); rectangle.printToPhone(); rectangle.printToWatch(); triangle.printToPhone(); triangle.printToWatch(); 요런식으로 처리하였습니다. 이후 강의를 듣고난 뒤 새로운 디바이스가 생성될 때마다 수정해야 할 클래스가 훨씬 많아진다는 단점이 있다는걸 인지했지만 클라이언트 입장에선 디바이스의 존재를 몰라도 사용할 수 있는 장점이 있는데 이걸 어떤 기준으로 트레이드오프 해야할 지 여쭤보고 싶습니다. 좋은 강의 감사합니다.

  • java
  • 디자인-패턴
ksh9241 댓글 1 좋아요 0 조회수 224

인기 태그

인프런 TOP Writers

주간 인기글