Warning: Each child in a list should have a unique "key" prop. 이라는 에러가 나오는 데요. Comment.j 에서 이부분이 나오는 듯 합니다. 그런데 여러 코멘트인데 키를 무엇으로 정할 지도 모르겠으며, 어느 위치에 넣어야 하는 지 난감합니다. 신경은 쓰이고요. 수고하세요. 아직 리플라이 뎁스 문제도 이해를 못했구요. { props.commentLists && props.commentLists.map((comment, index) => ( (!comment.responseTo && < React.Fragment > < SingleComment postId = { props.postId } comment = { comment } refreshFunction = { props.refreshFunction } /> < ReplyComment commentLists = { props.commentLists } postId = { props.postId } parentCommentId = { comment._id } refreshFunction = { props.refreshFunction } /> </ React.Fragment > ) )) }
The persistence.xml file does not have recognized content 와 같은 오류가 계속해서 떠있길래, 구글링한 결과 Preference -> validation 으로 가서 JPA validation을 비활성화 하라는 글을보고 따라했더니 오류는 뜨지않습니다만, 강사님께서는 이 오류가 안뜨는걸로 알고있는데 혹시 저는 왜뜨는지 알 수 있을까요..? T_T
샘플코드에서 cv_out = cv_net.forward() print(cv_out.shape) (결과) (1,1,100,7) 이 부분 질문인데요 1. 3행의 100은 (1,1 ,100 ,7) 바운딩 박스의 개수가 100개인데 앞의 1,1은( 1,1 ,100,7) 무엇을 의미하나요? 제 생각에는 네트워크에 이미지 1장 넣어서 1,1이 나온거라고 추측하는데 맞는건가요? 2. 4행의 7부분(1,1,100, 7 )에서 6개는 강의를 통해서 알았는데 나머지 1개요소가 무엇인지 궁금합니다(6개 요소 : class_id, score, left, top, right, bottom) 마지막으로 좋은 강의 제공 해주셔서 감사합니다.
multer를 이용한 이미지 저장 부분을 학습중입니다. FileUpload.js에서 multipart/form-data가 multipart/fomr-data로 오타가 있네요~ 그리고 사진에 첨부드린대로, 업로드된 이미지 표현되는 곳에 스크롤바가 나오는데 원래 처음부터 스크롤바가 나오는게 정상인가요? 윈도우 유저인데, 혹시 맥하고 차이가 있는 건가해서요~ 강좌 동영상에 찍으신 것에는 스크롤바가 없더라구요~
creapple홈페이지에서 ai_cv파일이 son을 찾아라로 맞춰져있는것 같은데 이번 프로젝트의 ai_CV파일은 creapple 어디에 가면 다운로드 받을 수 있나요? ai_cv>yolo 디렉토리의 다운로드 방법이 궁금합니다. 강의중에 나오는 yolo_colab_label_data_generation.py 파일과 그 디렉토리 안의 파일들이 없어서 문의드립니다. +추가) 샘플 코드, ai_cv폴더에 넣습니다. <<-- 이 파일을 다운로드 받으려고 하면 opencv_dnn_v2.zip 파일이 소유자의 휴지통에 있다고 나와서 다운로드 받을 수 없습니다.
선생님, 안녕하세요. 지금까지의 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입니다. 필요하신 말씀있으시면, 편하게 연락부탁드립니다! 답변 주신다면 굉장히 감사하겠습니다. 이상입니다. 좋은 하루 보내시고, 건강하세요!
안녕하세요. 로그인부분 궁금해서 질문드립니다. isAuth() 메서드에서 로컬스토리지의 token값의 유무로 로그아웃, 로그인 버튼을 보여주고 있는데요. 만약 로그인을 하지 않은 상태에서 사용자가 직접 로컬스토리지 에 접근해서 token키와 임의의 값을 넣게되면 로그인을 한것으로 보는게 아닌지요?
안녕하세요 영한님! 강의 들으면서 개인적으로 작은 프로젝트를 하나 만들어 보고 있습니다. 다대다 관계 시 insert 방법이 궁금합니다. 아래와 같이 erd가 구성되어 있습니다. 회원 테이블, 상품 테이블 그리고 회원이 찜한상품 테이블 총 3개가 있고 찜한상품 테이블이 회원과 상품 테이블을 연결하는 연결테이블입니다. entity는 테이블과 같이 총 3개를 생성했습니다. (@ManyToMany는 사용하지 않고 비식별관계로 만들었습니다.) 1) UserRepository를 생성해서 User를 저장하고 2) ItemRepository를 생성해서 Item을 저장하고 3) ItemLikeRepository를 생성하고 ItemLike 객체를 생성 후 저장된 User와 Item의 연관관계를 설정하고 저장 이렇게 3단계를 거쳐서 모든 데이터를 저장하고 있는데요. 연결테이블의 저장소인 ItemLikeRepository를 생성해서 저장을 해야 될까..? 라는 의문점이 듭니다. ItemLikeRepository는 save() 외에는 거의 사용할 일이 없을거 같은데 구지 생성을 해야 될까 생각도 들고.. 다대다 관계 저장 시 효율적인 방법이 있을까요?? 감사합니다.
안녕하세요. 배포하기 위해서 dependencies 에 있는 패키지들로 build가 진행 된다면, devdependencies 에 있는 개발 목적인 패키지들은 build 용량에 영향이 가는지 알 수 있을까요? 템플릿을 구매하여 build 진행을 했지만, 완료 시간이 너무 길어서 용량 축소가 필요하여 질문드립니다.