묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
postman결과 success false가 뜨고 다음과 같은 에러코드가 나오는데 무슨 문제인지 모르겠습니다.
postman으로 강의와 동일하게 name, email, password만 적어서 post request를 했습니다. 이전에 적었던 내용과 name, email모두 다르게요! 그런데 계속해서 아래와 같은 에러코드가 발생합니다.. { "success": false, "err": { "driver": true, "name": "MongoError", "index": 0, "code": 11000, "keyPattern": { "email": 1 }, "keyValue": { "email": null }, "errmsg": "E11000 duplicate key error collection: test.users index: email_1 dup key: { email: null }" } }
-
미해결React로 NodeBird SNS 만들기
MySQL이라서 테이블 데이터가 1부터 시작인가요?
아니면 다른DB도 id가 1부터 공통적으로 시작하기에 꼼수가 통하는 것일까요? id가 0부터 담긴다면 꼼수는 어떻게 해야하나요?
-
빠르게 git - 핵심만 골라 배우는 Git/Github
커밋이 안됩니다
삭제된 글입니다
-
미해결[OpenCV] 파이썬 딥러닝 영상처리 프로젝트 2 - 불량사과를 찾아라!
ai_cv파일 안에 yolo관련 데이터 생성 파일들이 없습니다.
creapple홈페이지에서 ai_cv파일이 son을 찾아라로 맞춰져있는것 같은데 이번 프로젝트의 ai_CV파일은 creapple 어디에 가면 다운로드 받을 수 있나요? ai_cv>yolo 디렉토리의 다운로드 방법이 궁금합니다. 강의중에 나오는 yolo_colab_label_data_generation.py 파일과 그 디렉토리 안의 파일들이 없어서 문의드립니다. +추가) 샘플 코드, ai_cv폴더에 넣습니다. <<-- 이 파일을 다운로드 받으려고 하면 opencv_dnn_v2.zip 파일이 소유자의 휴지통에 있다고 나와서 다운로드 받을 수 없습니다.
-
미해결Flutter 초급 - Http통신, 상태관리
안녕하세요. Firebase와 Google sign_in 사용중입니다..
선생님, 안녕하세요. 지금까지의 Flutter 강의 잘 보았습니다. 정말 큰 도움이 됐습니다. 감사합니다. 현재, Firebase로 Firestore, 인증, Firebase사용중입니다. 이슈는 1. 에뮬레이터에서는 Firebase로의 Data를 얻어오지만, - flutter build apk 를 해서 얻은 apk로 제 스마트폰에 설치하였을 때는, 로드가 되지 않습니다. 2. 에뮬레이터로 실행했을 때, Android studio가 여러가지 에러메세지를 보여줍니다. 1. 스크린샷은 아래 링크에 있습니다. https://drive.google.com/drive/folders/1I-B6PyK0msCKc9rbdUzUZ8kSRW4NkinU?usp=sharing https://github.com/KKimj/Let-s-Ink/tree/dev/letsink_dev Flutter Project는 위에 Github에 있습니다. 2- 아래는 에러메세지 입니다. --- Launching lib/main.dart on sdk gphone x86 in debug mode... Running Gradle task 'assembleDebug'... ✓ Built build/app/outputs/flutter-apk/app-debug.apk. Waiting for sdk gphone x86 to report its views... W/etsink.childre(30292): Verification of boolean com.google.android.gms.measurement.internal.zzfu.zzb() took 100.333ms (627.91 bytecodes/s) (1904B approximate peak alloc) I/FA (30292): App measurement initialized, version: 21028 I/FA (30292): To enable debug logging run: adb shell setprop log.tag.FA VERBOSE I/FA (30292): To enable faster debug mode event logging run: I/FA (30292): adb shell setprop debug.firebase.analytics.app com.letsink.children Debug service listening on ws://127.0.0.1:59737/GUJWHriCrs4=/ws Syncing files to device sdk gphone x86... W/etsink.childre(30292): JNI critical lock held for 20.796ms on Thread[22,tid=30325,Runnable,Thread*=0xe4fcb880,peer=0x134051e0,"GoogleApiHandler"] W/etsink.childre(30292): JNI critical lock held for 17.763ms on Thread[20,tid=30316,Runnable,Thread*=0xe4ff36f0,peer=0x13400670,"Measurement Worker"] I/FA (30292): Tag Manager is not found and thus will not be used W/etsink.childre(30292): JNI critical lock held for 32.744ms on Thread[22,tid=30325,Runnable,Thread*=0xe4fcb880,peer=0x134051e0,"GoogleApiHandler"] D/EGL_emulation(30292): eglMakeCurrent: 0xc07c1430: ver 3 0 (tinfo 0xeab99b30) I/OpenGLRenderer(30292): Davey! duration=5868ms; Flags=1, IntendedVsync=36070958792285, Vsync=36070958792285, OldestInputEvent=9223372036854775807, NewestInputEvent=0, HandleInputStart=36070968550750, AnimationStart=36070968932750, PerformTraversalsStart=36070968985750, DrawStart=36076504357750, SyncQueued=36076505935750, SyncStart=36076515188750, IssueDrawCommandsStart=36076521288750, SwapBuffers=36076738009750, FrameCompleted=36076836564750, DequeueBufferDuration=33482000, QueueBufferDuration=8806000, GpuCompleted=0, I/Choreographer(30292): Skipped 351 frames! The application may be doing too much work on its main thread. D/EGL_emulation(30292): eglMakeCurrent: 0xc07c0b00: ver 3 0 (tinfo 0xeaba19f0) I/flutter (30292): rootPage I/flutter (30292): AuthProvider - FirebaseAuth - onAuthStateChanged - FirebaseUser(Instance of 'PlatformUser') D/EGL_emulation(30292): eglMakeCurrent: 0xc07c1430: ver 3 0 (tinfo 0xeab99b30) D/EGL_emulation(30292): eglMakeCurrent: 0xc07c1430: ver 3 0 (tinfo 0xeab99b30) D/EGL_emulation(30292): eglMakeCurrent: 0xc07c1430: ver 3 0 (tinfo 0xeab99b30) D/EGL_emulation(30292): eglMakeCurrent: 0xc07c1430: ver 3 0 (tinfo 0xeab99b30) D/EGL_emulation(30292): eglMakeCurrent: 0xc07c1430: ver 3 0 (tinfo 0xeab99b30) D/EGL_emulation(30292): eglMakeCurrent: 0xc07c1430: ver 3 0 (tinfo 0xeab99b30) D/EGL_emulation(30292): eglMakeCurrent: 0xc07c1430: ver 3 0 (tinfo 0xeab99b30) D/EGL_emulation(30292): eglMakeCurrent: 0xc07c1430: ver 3 0 (tinfo 0xeab99b30) D/EGL_emulation(30292): eglMakeCurrent: 0xc07c1430: ver 3 0 (tinfo 0xeab99b30) D/EGL_emulation(30292): eglMakeCurrent: 0xc07c1430: ver 3 0 (tinfo 0xeab99b30) D/EGL_emulation(30292): eglMakeCurrent: 0xc07c1430: ver 3 0 (tinfo 0xeab99b30) D/EGL_emulation(30292): eglMakeCurrent: 0xc07c1430: ver 3 0 (tinfo 0xeab99b30) D/EGL_emulation(30292): eglMakeCurrent: 0xc07c1430: ver 3 0 (tinfo 0xeab99b30) D/EGL_emulation(30292): eglMakeCurrent: 0xc07c1430: ver 3 0 (tinfo 0xeab99b30) W/etsink.childre(30292): Accessing hidden method Lsun/misc/Unsafe;->getUnsafe()Lsun/misc/Unsafe; (greylist,core-platform-api, linking, allowed) W/etsink.childre(30292): Accessing hidden method Lsun/misc/Unsafe;->objectFieldOffset(Ljava/lang/reflect/Field;)J (greylist,core-platform-api, linking, allowed) W/etsink.childre(30292): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed) W/etsink.childre(30292): Accessing hidden method Lsun/misc/Unsafe;->putObject(Ljava/lang/Object;JLjava/lang/Object;)V (greylist, linking, allowed) W/etsink.childre(30292): Accessing hidden method Lsun/misc/Unsafe;->compareAndSwapObject(Ljava/lang/Object;JLjava/lang/Object;Ljava/lang/Object;)Z (greylist, linking, allowed) I/BiChannelGoogleApi(30292): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzaq@64f7ca8 D/FirebaseAuth(30292): Notifying id token listeners about user ( Jzx13TmFUpgw7wVSqAjmRWR6sE13 ). I/flutter (30292): signed in 김지운 I/flutter (30292): FirebaseUser(Instance of 'PlatformUser') W/DynamiteModule(30292): Local module descriptor class for providerinstaller not found. I/DynamiteModule(30292): Considering local module providerinstaller:0 and remote module providerinstaller:0 W/ProviderInstaller(30292): Failed to load providerinstaller module: No acceptable module found. Local version is 0 and remote version is 0. W/etsink.childre(30292): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, linking, allowed) W/etsink.childre(30292): Accessing hidden method Lsun/misc/Unsafe;->arrayBaseOffset(Ljava/lang/Class;)I (greylist,core-platform-api, linking, allowed) W/etsink.childre(30292): Accessing hidden method Lsun/misc/Unsafe;->copyMemory(JJJ)V (greylist, linking, allowed) W/etsink.childre(30292): Accessing hidden method Lsun/misc/Unsafe;->getByte(J)B (greylist,core-platform-api, linking, allowed) W/etsink.childre(30292): Accessing hidden method Lsun/misc/Unsafe;->getByte(Ljava/lang/Object;J)B (greylist,core-platform-api, linking, allowed) W/etsink.childre(30292): Accessing hidden method Lsun/misc/Unsafe;->getLong(J)J (greylist,core-platform-api, linking, allowed) W/etsink.childre(30292): Accessing hidden method Lsun/misc/Unsafe;->putByte(JB)V (greylist,core-platform-api, linking, allowed) W/etsink.childre(30292): Accessing hidden method Lsun/misc/Unsafe;->putByte(Ljava/lang/Object;JB)V (greylist,core-platform-api, linking, allowed) W/etsink.childre(30292): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, reflection, allowed) W/etsink.childre(30292): Accessing hidden method Lsun/misc/Unsafe;->getLong(Ljava/lang/Object;J)J (greylist,core-platform-api, reflection, allowed) W/etsink.childre(30292): Accessing hidden field Ljava/nio/Buffer;->address:J (greylist, reflection, allowed) I/etsink.childre(30292): The ClassLoaderContext is a special shared library. I/flutter (30292): https://firebasestorage.googleapis.com/v0/b/lets-ink-kids.appspot.com/o/test_swiper%2FKakaoTalk_20200404_223302954_01.jpg?alt=media&token=296b5bdf-818f-49ef-89c5-55bdf1ccdaaf I/flutter (30292): https://firebasestorage.googleapis.com/v0/b/lets-ink-kids.appspot.com/o/test_swiper%2FKakaoTalk_20200404_223302954_02.jpg?alt=media&token=66c889a4-54dc-45d1-b50f-79e549b0e038 I/flutter (30292): https://firebasestorage.googleapis.com/v0/b/lets-ink-kids.appspot.com/o/test_swiper%2FKakaoTalk_20200404_223320066.jpg?alt=media&token=b665f1fa-6195-4cb6-b029-802589b2e8a9 I/etsink.childre(30292): The ClassLoaderContext is a special shared library. V/NativeCrypto(30292): Registering com/google/android/gms/org/conscrypt/NativeCrypto's 286 native methods... W/etsink.childre(30292): Accessing hidden method Ljava/security/spec/ECParameterSpec;->getCurveName()Ljava/lang/String; (greylist, reflection, allowed) I/ProviderInstaller(30292): Installed default security provider GmsCore_OpenSSL ════════ Exception caught by widgets library ═══════════════════════════════════════════════════════ The following assertion was thrown while applying parent data.: Incorrect use of ParentDataWidget. The ParentDataWidget Expanded(flex: 1) wants to apply ParentData of type FlexParentData to a RenderObject, which has been set up to accept ParentData of incompatible type ParentData. Usually, this means that the Expanded widget has the wrong ancestor RenderObjectWidget. Typically, Expanded widgets are placed directly inside Flex widgets. The offending Expanded is currently placed inside a RepaintBoundary widget. The ownership chain for the RenderObject that received the incompatible parent data was: ConstrainedBox ← Container ← StreamBuilder<QuerySnapshot> ← Expanded ← ImageSwiper ← RepaintBoundary ← IndexedSemantics ← NotificationListener<KeepAliveNotification> ← KeepAlive ← AutomaticKeepAlive ← ⋯ When the exception was thrown, this was the stack: #0 RenderObjectElement._updateParentData.<anonymous closure> (package:flutter/src/widgets/framework.dart:5649:11) #1 RenderObjectElement._updateParentData (package:flutter/src/widgets/framework.dart:5665:6) #2 RenderObjectElement.attachRenderObject (package:flutter/src/widgets/framework.dart:5686:7) #3 RenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5380:5) #4 SingleChildRenderObjectElement.mount (package:flutter/src/widgets/framework.dart:5833:11) ... ════════════════════════════════════════════════════════════════════════════════════════════════════ W/etsink.childre(30292): Accessing hidden field Ljava/net/Socket;->impl:Ljava/net/SocketImpl; (greylist, reflection, allowed) W/etsink.childre(30292): Accessing hidden method Ldalvik/system/CloseGuard;->get()Ldalvik/system/CloseGuard; (greylist,core-platform-api, linking, allowed) W/etsink.childre(30292): Accessing hidden method Ldalvik/system/CloseGuard;->open(Ljava/lang/String;)V (greylist,core-platform-api, linking, allowed) W/etsink.childre(30292): Accessing hidden field Ljava/io/FileDescriptor;->descriptor:I (greylist, JNI, allowed) W/etsink.childre(30292): Accessing hidden method Ljava/security/spec/ECParameterSpec;->setCurveName(Ljava/lang/String;)V (greylist, reflection, allowed) W/etsink.childre(30292): Accessing hidden method Ldalvik/system/BlockGuard;->getThreadPolicy()Ldalvik/system/BlockGuard$Policy; (greylist,core-platform-api, linking, allowed) W/etsink.childre(30292): Accessing hidden method Ldalvik/system/BlockGuard$Policy;->onNetwork()V (greylist, linking, allowed) W/etsink.childre(30292): Accessing hidden method Ldalvik/system/CloseGuard;->close()V (greylist,core-platform-api, linking, allowed) 지금까지 해결을 위해 * Firebase 보안 설정 수정, 인증된 사람만 read/write 할 수 있도록 * settings.gradle 수정 - https://stackoverflow.com/questions/61732409/plugin-project-firebase-core-web-not-found * pubspec.yaml 버전 최신으로 수정 이후 남은 시도는 * Firebase 프로젝트 이전. * Flutter code refactoring 으로 생각하고 있습니다. 제 이메일은 ziun79@gmail.com입니다. 필요하신 말씀있으시면, 편하게 연락부탁드립니다! 답변 주신다면 굉장히 감사하겠습니다. 이상입니다. 좋은 하루 보내시고, 건강하세요!
-
미해결[개정판 2023-11-27] Spring Boot 3.x 를 이용한 RESTful Web Services 개발
@JsonIgnore는 데이터 표시만 안할 뿐인거죠?
DEBUG 레벨의 로그 보니까 password, ssn의 값이 넘겨져 온 것을 확인할 수 있었습니다. json이 표시되는 body 부분에만 표시가 안될 뿐이고 실제로 서버에서 넘겨줄 때는 데이터가 온 것 맞나요?
-
미해결윤재성의 Oracle SQL Database 11g PL/SQL Developer
딕셔너리테이블
(사진)
-
미해결트렐로 개발로 배우는 Vuejs, Vuex, Vue-Router 프론트엔드 실전 기술
localStorage에 토큰 정보 저장하는 부분
안녕하세요. 로그인부분 궁금해서 질문드립니다. isAuth() 메서드에서 로컬스토리지의 token값의 유무로 로그아웃, 로그인 버튼을 보여주고 있는데요. 만약 로그인을 하지 않은 상태에서 사용자가 직접 로컬스토리지 에 접근해서 token키와 임의의 값을 넣게되면 로그인을 한것으로 보는게 아닌지요?
-
미해결공공데이터로 파이썬 데이터 분석 시작하기
profiling 에 대한 재질문
판다스를 다삭제하고 다시 설치하여 코드를 입력 했습니다. from pandas_profiling import ProfileReport ProfileReport? 여기가지 입력후 버젼은 2.8.0이네요 Init signature: ProfileReport( df=None, minimal=False, explorative=False, config_file: Union[pathlib.Path, str] = None, lazy: bool = True, **kwargs,%time profile = ProfileReport(df, title="도시공원 표준 데이터")profile.to_file(out_file="05-park_pandas_profile.html") -------- NameError Traceback (most recent call last) <timed exec> in <module> NameError: name 'df' is not defined --------------------------------------------------------------------------- NameError Traceback (most recent call last) <ipython-input-7-be17577332e5> in <module> 4 5 get_ipython().run_line_magic('time', 'profile = ProfileReport(df, title="도시공원 표준 데이터")') ----> 6 profile.to_file(out_file="05-park_pandas_profile.html") NameError: name 'profile' is not defined에러가 생기네요위에 df=None 으로 되어있네요선생님은 df, 때문인가요 "df" is not defind 이럴때는 어떻게 대처하나요.. 자꾸 귀찮게 해서 ...
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
다대다 관계 시 insert 질문입니다.
안녕하세요 영한님! 강의 들으면서 개인적으로 작은 프로젝트를 하나 만들어 보고 있습니다. 다대다 관계 시 insert 방법이 궁금합니다. 아래와 같이 erd가 구성되어 있습니다. 회원 테이블, 상품 테이블 그리고 회원이 찜한상품 테이블 총 3개가 있고 찜한상품 테이블이 회원과 상품 테이블을 연결하는 연결테이블입니다. entity는 테이블과 같이 총 3개를 생성했습니다. (@ManyToMany는 사용하지 않고 비식별관계로 만들었습니다.) 1) UserRepository를 생성해서 User를 저장하고 2) ItemRepository를 생성해서 Item을 저장하고 3) ItemLikeRepository를 생성하고 ItemLike 객체를 생성 후 저장된 User와 Item의 연관관계를 설정하고 저장 이렇게 3단계를 거쳐서 모든 데이터를 저장하고 있는데요. 연결테이블의 저장소인 ItemLikeRepository를 생성해서 저장을 해야 될까..? 라는 의문점이 듭니다. ItemLikeRepository는 save() 외에는 거의 사용할 일이 없을거 같은데 구지 생성을 해야 될까 생각도 들고.. 다대다 관계 저장 시 효율적인 방법이 있을까요?? 감사합니다.
-
미해결Vue.js 끝장내기 - 실무에 필요한 모든 것
build 용량 질문.
안녕하세요. 배포하기 위해서 dependencies 에 있는 패키지들로 build가 진행 된다면, devdependencies 에 있는 개발 목적인 패키지들은 build 용량에 영향이 가는지 알 수 있을까요? 템플릿을 구매하여 build 진행을 했지만, 완료 시간이 너무 길어서 용량 축소가 필요하여 질문드립니다.
-
해결됨스프링 부트 개념과 활용
maven install시 java.lang.NoClassDefFoundError가 납니다
pom.xml 파일은 다음과 같습니다. 이유를 알 수 있을까요?
-
해결됨it 취업을 위한 알고리즘 문제풀이 입문 (with C/C++) : 코딩테스트 대비
46번 배열 관련 질문입니다!
삭제된 글입니다
-
미해결정말 쉽게 풀어보는 코딩 테스트 top 기본 문제 (with 자바)
MaximumDepthOfTree 문제 질문
제가 ====로 구분지어서 로직을 이해하려고 하는데 재귀함수에 대한 개념이 부족한지 어떤식으로 작동되는지 궁금합니다.. ,,
-
미해결React로 NodeBird SNS 만들기
memo와 useMemo의 차이는 무엇인가요?
react 무료 강좌에서 제가 메모해놨던것을 다시봤는데, - useMemo: 1) 복잡한 함수 결과값을 기억한다. 2) 최후의 수단으로 return부분에 useMemo쓰자. - memo: 1) 반복되는 부분(td, tr)등을 감싼다. 2) props가 자주 달라지는애를 memo로 감싼다. . useMemo와 memo의 차이점을, 이정도 차이점만 알고 있어도 충분할까요 ? 차이점이 명확히 와닿지가 않네요.. ㅠ
-
미해결Do it! 자바 프로그래밍 입문 with 은종쌤
인스턴스의 참조변수 주소값을 호출하는 함수를 만들 때
안녕하세요. 인스턴스의 참조변수의 주소값을 호출하는 returnself 함수를 만드시는 부분에 궁금한 점이 있어 질문드립니다. 왜 반환형을 person이라는 클래스 이름으로 해야하는 것인가요? 감사합니다.
-
미해결[개정판 2023-11-27] Spring Boot 3.x 를 이용한 RESTful Web Services 개발
LocalResolver 메소드 리턴 문제
안녕하세요. @Bean으로 등록한 LocalResolver 메소드 있잖아요. 2:27 참고 메소드 타입은 LocalResolver인데, return 변수의 타입객체는 SessionLocalResolver라서 에러가 발생하는데요. 그래서 메소드 타입을 SessionLocalResolver으로 변경하여 리턴 하고 나머지는 동일하게 구현했더니 다국어 처리에는 문제가 없긴 합니다. 혹시 자바 버전 차이가 문제일까요? 저는 java 11입니다.
-
해결됨우리를 위한 프로그래밍 : 파이썬 중급 (Inflearn Original)
closure_ex1()에서..
안녕하세요! 의문점이 생겨 질문드립니다. series = []도 지역변수 에리어에 선언되었는데, 왜 이 변수는 에러가 발생하지 않는건가요? 혹시, 리스트는 가변이 가능하고, 지역변수는 불변이라 그런게 맞을까요? 그리고 global과 nonlocal의 차이가 뭔가요? nonlocal을 global로 대체했을때도 정상적으로 작동했기에 궁금증이 생겨 질문드립니다.
-
미해결리눅스 IPC 프로그래밍 - 이론과 실습
스레드끼리의 통신에도 적용가능한가요?
사정상 동일 프로세스를 여러사람이 나누어서 작업중입니다. 본 강좌의 IPC 도구들을 동일 프로세스의 여러 스레드 간에도 적용이 가능한지요>>>???
-
미해결파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)
숫자만 추출
from re import findall s=input() a= findall("[0-9]+",s) res=0 for i in a: b=int(i) res=res*10+b print(res) count=0 for i in range(1,res+1): if res%i==0: count+=1 print(count) 마지막에서 오류가 나는데 이유가 뭔가요ㅜㅠ