inflearn logo
강의

강의

N
챌린지

챌린지

멘토링

멘토링

N
클립

클립

로드맵

로드맵

지식공유

묻고 답해요

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

코드질문

미해결

프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)

제가 혼자서 영상 안보고 복습을 하면서 코드를 작성해보니, 마지막 print문이 영상과는 다르게 나왔더라구요. 혹시나 이렇게 작성을 해도 문제가 없는지 궁금합니다. 또한 info와 speak에는 __info__처럼 언더바를 붙이지 않는데, 이유가 있을까요? class dog: species = 'first dog' def __init__(self, name, age): self.name = name self.age = age def info(self): return f"My name is {self.name}. I'm {self.age} old." def speak(self, sounds): return f"{self.name} barks {sounds}." a = dog('SooJin', 25) print(dog.info(a))

  • python
댓글 1 좋아요 1 조회수 200

질문이요

미해결

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

redis 쓰면, 이런 에러가 납니다 Error: A client must be directly provided to the RedisStore 코드를 똑같이 복사해도 같은 에러가 뜨네요...

  • mysql
  • nodejs
  • javascript
  • mongodb
D_One 댓글 2 좋아요 0 조회수 416

UART Baud Rate 질문

미해결

바닥부터 시작하는 STM32 드론 개발의 모든 것

일반적으로 사용하는 값(9600, 115200)이 아닌 921600 Baud Rate를 사용한 이유가 있으신가요?

  • 드론-개발
  • iot
강민성 댓글 1 좋아요 2 조회수 256

AddScoped, AddTransient, AddSingleton 차이점

미해결

해외취업 ASP.NET Core 웹개발 기본 강좌

안녕하십니까. 강의 다 듣고 두번째 듣고 있습니다. 좋은 강의 감사합니다. 위 세개의 차이가 잘 이해가 안되는데, 제가 이해하고 있는게 맞는지 확인해주실수 있으신지요? 범위의 개념이 잘 이해가 되지 않아서... 아무튼.. 제가 이해한것은 다음과 같습니다. 범위를 세션으로 봤습니다. AddTransient : 호출될 때마다 새로운 인스턴스가 생성됨 AddScoped : 세션단위로 동일한 인스턴스가 제공됨. 즉, 같은 세션에서는 항상 동일한 객체가 제공되나, 다른 세션이 생성되었다면 그 세션내에서는 그 세션 전용의 객체가 생성되어 제공됨 AddSingleton : 세션과는 무관하게 애플리케이션 전체에서 하나의 객체만 생성되어 제공됨 위 내용이 맞는지요? 잘못 이해되었다면 가름침 부탁드립니다.. 감사합니다.

  • ASP.NET-Core
콩메모 댓글 1 좋아요 0 조회수 727

Error : Unable to access jarfile target/*.jar

해결됨

예제로 배우는 스프링 입문 (개정판)

mvnw package 후 Success Build가 되어서 java -jar target/*.jar를 Terminal에서 실행하였으나, Error: Unable to access jarfile target/*.jar 이라는 에러가 나옵니다.. 해당 디렉토리에 jarfile을 확인해보니, 있음에도 불구하고 명령어 실행이 안됩니다.. 운영체제는 windows입니다. target 파일에 있는 jar 파일 명을 복사하여 명령어 입력하면 no main manifest attribute, in taget/*.jar 이라고 나오네요!

  • java
  • spring
신원준 댓글 2 좋아요 4 조회수 13480

바로가기 아이콘 만드는 법 알려주세요...

미해결

ATOM Editor 소개 및 사용법

윈도우 사용자여서 그런지.... AtomSetup-x64만 생기고 화살표 붙은 바로가기 아이콘이 안 생기네요... 매번 켤때마다 새로 설치합니다. 우주선에 연료같은거 올라가는 영상? 이미지? 나오는 화면 뜨고요...

  • atom
강정연 댓글 1 좋아요 0 조회수 357

제 코드좀 봐주실 수 있을까요?

미해결

C 프로그래밍 - 입문부터 게임 개발까지

안녕하세요 항상 쉽고 명료한 강의 덕분에 너무나 잘 배우고 있습니다. 제가 계산기 코드를 따로 짜봤는데 빌드업이 되지 않아서 한 번 봐주실 수 있을까요? #include <stdio.h> void p(int plus); int main(void) { int a; int b; int plus = a + b; printf("숫자 두 개를 입력하시오\n"); scanf_s("%d %d", &a, &b); p(plus); } void p(int plus) { printf("a+b는 %d입니다.\n",plus); }

  • c
toolof 댓글 1 좋아요 1 조회수 229

게시글 추가하면 key 에러가 발생해서여

미해결

React로 NodeBird SNS 만들기

index.js:1 Warning: Encountered two children with the same key, `[object Object]`. Keys should be unique so that components maintain their identity across updates. Non-unique keys may cause children to be duplicated and/or omitted &mdash; the behavior is unsupported and could change in a future version. in div (at pages/index.js:28) in Home (at _app.js:28) in div (created by Context.Consumer) in Col (at AppLayout.js:38) in div (created by Context.Consumer) in Row (at AppLayout.js:29) in div (at AppLayout.js:19) in AppLayout (at _app.js:27) in Provider (at _app.js:21) in NodeBird (created by withRedux(NodeBird)) in withRedux(NodeBird) in Suspense (created by AppContainer) in Container (created by AppContainer) in AppContainer 이거 key를 바꿔야 되는건가여? https://github.com/hyunsokstar/node_bird_22/blob/master/front/pages/index.js 알려주시면 감사여 ~! ㄳㄳ~!

  • javascript
  • react
terecal 댓글 1 좋아요 0 조회수 7738

Entity 특정 컬럼을 환경에 따라 설정할수 있을까요?..

미해결

스프링 데이터 JPA

같은 서비스를 여러 나라에서 서비스중입니다. 소스는 같이 사용하나 서버나 db는 다른환경에서 운영중입니다. 타나라에서만 제공할 서비스에 컬럼을 계속해서 추가하는데 한국db테이블에도 불필요한 컬럼을 계속 추가해줘야하는 이슈가 생기고 있습니다. 혹시 이럴경우에 쉽게 해결할수 있는 방법이 있을까요?

  • spring
  • JPA
  • java
안호민 댓글 1 좋아요 0 조회수 214

코드 질문드려요!

해결됨

웹 게임을 만들며 배우는 자바스크립트

삭제된 글입니다

  • javascript
호기심 많은 캥거루 댓글 2 좋아요 0 조회수 63

firebase 연동 후 빌드시 에러가 납니다.

미해결

Flutter 입문 - 안드로이드, iOS 개발을 한 번에 (with Firebase)

firebase 연동 후 빌드시 빌드에러가 납니다. 1. android > build.gradle dependencies { classpath 'com.android.tools.build:gradle:3.3.0' classpath "org.jetbrains.kotlin:kotlin-gradle-plugin: $kotlin_version " classpath 'com.google.gms:google-services:4.2.0' } 2. android > app > build.gradle defaultConfig { // TODO: Specify your own unique Application ID (https://developer.android.com/studio/build/application-id.html). applicationId "com.vampireahn.instagram_clon" minSdkVersion 16 targetSdkVersion 28 multiDexEnabled true versionCode flutterVersionCode.toInteger() versionName flutterVersionName testInstrumentationRunner "androidx.test.runner.AndroidJUnitRunner" } dependencies { implementation "org.jetbrains.kotlin:kotlin-stdlib-jdk7: $kotlin_version " testImplementation 'junit:junit:4.12' androidTestImplementation 'androidx.test:runner:1.1.1' androidTestImplementation 'androidx.test.espresso:espresso-core:3.1.1' implementation 'com.google.firebase:firebase-core:16.0.7' } apply plugin : 'com.google.gms.google-services' 3. android > gradle.properties org.gradle.jvmargs = -Xmx1536M android.useAndroidX = true android.enableJetifier = true 위와같이 설정 후 빌드를 하면 * Error running Gradle: ProcessException: Process "/Users/an-yongjae/FlutterProjects/instagram_clon/instagram_clon/android/gradlew" exited abnormally: > Configure project :app registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) registerResGeneratingTask is deprecated, use registerGeneratedResFolders(FileCollection) WARNING: API 'variant.getJavaCompile()' is obsolete and has been replaced with 'variant.getJavaCompileProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variant.getJavaCompile(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. WARNING: API 'variant.getMergeAssets()' is obsolete and has been replaced with 'variant.getMergeAssetsProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variant.getMergeAssets(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. WARNING: API 'variantOutput.getProcessResources()' is obsolete and has been replaced with 'variantOutput.getProcessResourcesProvider()'. It will be removed at the end of 2019. For more information, see https://d.android.com/r/tools/task-configuration-avoidance. To determine what is calling variantOutput.getProcessResources(), use -Pandroid.debug.obsoleteApi=true on the command line to display a stack trace. ********************************************************* WARNING: This version of image_picker will break your Android build if it or its dependencies aren't compatible with AndroidX. See https://goo.gl/CP92wY for more information on the problem and how to fix it. This warning prints for all Android build failures. The real root cause of the error may be unrelated. ********************************************************* FAILURE: Build failed with an exception. * What went wrong: The Android Gradle plugin supports only Kotlin Gradle plugin version 1.3.0 and higher. The following dependencies do not satisfy the required version: root project 'android' -> org.jetbrains.kotlin:kotlin-gradle-plugin:1.2.71 * Try: Run with --stacktrace option to get the stack trace. Run with --info or --debug option to get more log output. Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 5s Command: /Users/an-yongjae/FlutterProjects/instagram_clon/instagram_clon/android/gradlew app:properties Finished with error: Please review your Gradle project setup in the android/ folder. 와 같이 빌드 에러가 납니다. 어떻게 수정을 해야 하는지 조언 부탁 드립니다.

  • ios
  • android
  • Flutter
vampireahn 댓글 6 좋아요 0 조회수 1727

txt결과값이 다릅니다

해결됨

파이썬 입문 및 웹 크롤링을 활용한 다양한 자동화 어플리케이션 제작하기

강의와 같은 코드를 작성했느데 a.string의 출력값이 변하지 않아서 어떤게 잘못된건지 알 수 있을까요? 다음에 find_all("a",string="daum")을 print해도 []이렇게 찾을 수 없습니다..

  • 웹-크롤링
  • python
rome 댓글 2 좋아요 0 조회수 317

가입하기를 눌렀을때 아이콘 효과가 안보여요

미해결

React로 NodeBird SNS 만들기

signup page에서 가입하기를 눌렀을때 <Button type="primary" htmlType="submit" loading={isSigningUp}>가입하기</Button> 버튼을 누르면 액션응ㄴ 디스패치 되고 isSigningUp 도 true => false로 바뀌는데 아이콘 빙글빙글이 안돌아가여 이유가 무엇일지 혹시 알려주시면 감사여 ~!~! 리덕스 사가 https://github.com/hyunsokstar/node_bird_22/blob/master/front/sagas/user.js

  • javascript
  • react
terecal 댓글 2 좋아요 0 조회수 172

Entity 클래스의 역할

해결됨

자바 ORM 표준 JPA 프로그래밍 - 기본편

안녕하세요. 강사님! 엔티티 클래스가 역할과 책임을 가지고 주도적으로 일을 하는 클래스가 되어야 할까요 아니면 그저 DTO 같은 데이터 저장소로써 역할만 하는것이 나은지 궁금합니다!

  • java
  • JPA
cothe 댓글 2 좋아요 1 조회수 681

강의자료

미해결

바닥부터 시작하는 STM32 드론 개발의 모든 것

강의 자료는 다운 받을 수는 없나요

  • 드론-개발
  • iot
dyscada5129 댓글 1 좋아요 0 조회수 269

13분 30초쯤에 메모리누수가 생긴다는게 잘이해가 안가네요

미해결

홍정모의 게임 만들기 연습 문제 패키지

포탄을 쏘고 움직이고 포탄을 쏘면 메모리 릭이 생기신다고 하셨는데 왜 메모리릭이 생기는지 잘이해가 안갑니다. 15분에서 힌트 주신다면서 총알이 있는 상태에서 또 스페이스를 누르면 원래 나가던 총알이 딜리트가 안된상태에서 뉴 불릿으로 새롭게 만들어지면서 메모리릭이 생기게 된다 이 이유 때문인건가요? 아니면 다른 문제 인건가요? 그리고 혹시 이런 부분에서 메모리 릭이 실시간으로 나고있는지 아닌지 확인 하는 방법이 따배c++에서 비쥬얼 스튜디오로 프로파일링 하기 이부분을 참고하면 되는건가요?

  • oop
  • C++
  • OpenGL
gimbakwi 댓글 1 좋아요 1 조회수 224

강의자료

미해결

[리뉴얼] 파이썬입문과 크롤링기초 부트캠프 [파이썬, 웹, 데이터 이해 기본까지] (업데이트)

강의자료를 다운로드 받을수 있나요 ?

  • 웹-크롤링
  • python
심수정 댓글 1 좋아요 1 조회수 322

command_data[]~ append(row)까지만 해서 실행했는데 다음과 같은 에러가 뜹니다.

미해결

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

[코드] import csv def aetKev(item): # 데이터 정렬코드 return item[1] command_data=[] # 파일 읽어오기 코 with open("command_data.csv","r") as csvfile: spamreader=csv.reader(csvfile, delimiter=',', quotechar='"') for row in spamreader: command_data.append(row) print(len(command_data)) [실행에러] C:\workspace>python dict.py Traceback (most recent call last): File "dict.py", line 8, in <module> for row in spamreader: UnicodeDecodeError: 'cp949' codec can't decode byte 0x80 in position 590: illegal multibyte sequence

  • python
  • bigdata
루미꼬짱 댓글 2 좋아요 0 조회수 348

saga 작성할때

미해결

React로 NodeBird SNS 만들기

function removePostAPI ( postId ){ return axios . delete ( `/post/ ${ postId } ` ,{} , { withCredentials: true , }); } axios로 가져올때 저 url 뒤에 {}괄호 들어가는거는 어떤 경우에 들어가는건가요??

  • javascript
  • react
김재현 댓글 1 좋아요 0 조회수 153

이때까지 잘 이해가 됬는데...

프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)

삭제된 글입니다

  • python
YeonCheol Jang 댓글 2 좋아요 0 조회수 88

인기 태그

인프런 TOP Writers

주간 인기글