묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
파이썬 기본환경설정
파이썬 기본환경설정 2-2 강의 setting > install(packages) 에서 'script' 검색해도 결과값이 안나옵니다.
-
미해결[리뉴얼] 처음하는 파이썬 데이터 분석 (쉽게! 전처리, pandas, 시각화 전과정 익히기) [데이터분석/과학 Part1]
plotly 라이브러리 질문
안녕하세요. 강의 잘 듣고 있습니다 :) 가장 빠른 시각화 라이브러리 사용법 이해1 9분 41초 Q1 제가 생각하기론 plotly 라이브러리와 chart_studio는 별개의 라이브러리라고 생각했는데 chart_studio 라이브 러리가 plotly 라이브러리를 포함하고 있는 상위 라이브러리 인가요? import 하실 때 chart_studio.plotly 로 임포트 하셔서 여쭤봅니다. 시각화한 것을 웹상에서도 보여주기 위해 사용하는 것이 chart_studio 라이브러리이고 시각화를 위한 라이브러리는 plotly 라이브러리로서 두 라이브러리는 별개의 라이브러리 아닌가요? Q2 iplot 은 plotly 라이브러리에 속해있는 것이니 호출 시 plotly.iplot 이런 식으로 사용될 줄 알았는데 df.iplot 이런 식으로 iplot 으로 단독 호출이 가능한 이유는 무엇인가요? cufflinks 라이브러리 때문에 가능한 건가요? Q3 10분 54초 cf.go_offline(connected = True) 이 부분은 무엇을 위한 코드인가요? 답변 부탁드립니다. 감사합니다.
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
스프링 데이터 JPA 오류
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]SpringConfig에서 참조를 바꿔주었는데도 SpringDataJpa~~interface를 읽지 못하고 MemoryMemberRepository의 성분을 읽어오는데 이를 어떻게 해결해야할까요?? 추가로 MemberServiceIntegrationTest에서 회원가입과 중복회원예외도 제대로 작동하지 않습니다. 19:37:47.883 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 19:37:47.919 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating BootstrapContext using constructor [public org.springframework.test.context.support.DefaultBootstrapContext(java.lang.Class,org.springframework.test.context.CacheAwareContextLoaderDelegate)] 19:37:48.027 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [hello.hellospring.service.MemberServiceIntegrationTest] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 19:37:48.055 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [hello.hellospring.service.MemberServiceIntegrationTest], using SpringBootContextLoader 19:37:48.066 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [hello.hellospring.service.MemberServiceIntegrationTest]: class path resource [hello/hellospring/service/MemberServiceIntegrationTest-context.xml] does not exist 19:37:48.068 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [hello.hellospring.service.MemberServiceIntegrationTest]: class path resource [hello/hellospring/service/MemberServiceIntegrationTestContext.groovy] does not exist 19:37:48.069 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [hello.hellospring.service.MemberServiceIntegrationTest]: no resource found for suffixes {-context.xml, Context.groovy}. 19:37:48.071 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [hello.hellospring.service.MemberServiceIntegrationTest]: MemberServiceIntegrationTest does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 19:37:48.201 [main] DEBUG org.springframework.test.context.support.ActiveProfilesUtils - Could not find an 'annotation declaring class' for annotation type [org.springframework.test.context.ActiveProfiles] and class [hello.hellospring.service.MemberServiceIntegrationTest] 19:37:48.389 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [C:\Users\tjfgh\Desktop\spring\hello-spring\src\main\target\classes\hello\hellospring\HelloSpringApplication.class] 19:37:48.412 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration hello.hellospring.HelloSpringApplication for test class hello.hellospring.service.MemberServiceIntegrationTest 19:37:48.743 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [hello.hellospring.service.MemberServiceIntegrationTest]: using defaults. 19:37:48.744 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.event.ApplicationEventsTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener, org.springframework.test.context.event.EventPublishingTestExecutionListener] 19:37:48.789 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@50de186c, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@3f57bcad, org.springframework.test.context.event.ApplicationEventsTestExecutionListener@1e8b7643, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@51549490, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@71e9ebae, org.springframework.test.context.support.DirtiesContextTestExecutionListener@73d983ea, org.springframework.test.context.transaction.TransactionalTestExecutionListener@36a5cabc, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@432038ec, org.springframework.test.context.event.EventPublishingTestExecutionListener@7daa0fbd, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@42530531, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@5a3bc7ed, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@181e731e, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@35645047, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@6f44a157, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@6bc407fd] 19:37:48.796 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@3bd323e9 testClass = MemberServiceIntegrationTest, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@39ac0c0a testClass = MemberServiceIntegrationTest, locations = '{}', classes = '{class hello.hellospring.HelloSpringApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@2bfc268b, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@10163d6, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@247d8ae, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6c130c45, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@3fb1549b, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@7225790e], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true]], class annotated with @DirtiesContext [false] with mode [null]. . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.6.5) 2022-05-03 19:37:49.636 INFO 19392 --- [ main] h.h.s.MemberServiceIntegrationTest : Starting MemberServiceIntegrationTest using Java 12 on DESKTOP-U5FU35V with PID 19392 (started by tjfgh in C:\Users\tjfgh\Desktop\spring\hello-spring) 2022-05-03 19:37:49.637 INFO 19392 --- [ main] h.h.s.MemberServiceIntegrationTest : No active profile set, falling back to 1 default profile: "default" 2022-05-03 19:37:51.022 INFO 19392 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Bootstrapping Spring Data JPA repositories in DEFAULT mode. 2022-05-03 19:37:51.159 INFO 19392 --- [ main] .s.d.r.c.RepositoryConfigurationDelegate : Finished Spring Data repository scanning in 111 ms. Found 1 JPA repository interfaces. 2022-05-03 19:37:52.256 INFO 19392 --- [ main] o.hibernate.jpa.internal.util.LogHelper : HHH000204: Processing PersistenceUnitInfo [name: default] 2022-05-03 19:37:52.365 INFO 19392 --- [ main] org.hibernate.Version : HHH000412: Hibernate ORM core version 5.6.7.Final 2022-05-03 19:37:52.716 INFO 19392 --- [ main] o.hibernate.annotations.common.Version : HCANN000001: Hibernate Commons Annotations {5.1.2.Final} 2022-05-03 19:37:54.441 INFO 19392 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Starting... 2022-05-03 19:37:54.593 INFO 19392 --- [ main] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Start completed. 2022-05-03 19:37:54.641 INFO 19392 --- [ main] org.hibernate.dialect.Dialect : HHH000400: Using dialect: org.hibernate.dialect.SQLServer2012Dialect Hibernate: drop table member Hibernate: create table member (id bigint identity not null, name varchar(255), primary key (id)) 2022-05-03 19:37:55.773 INFO 19392 --- [ main] o.h.e.t.j.p.i.JtaPlatformInitiator : HHH000490: Using JtaPlatform implementation: [org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform] 2022-05-03 19:37:55.787 INFO 19392 --- [ main] j.LocalContainerEntityManagerFactoryBean : Initialized JPA EntityManagerFactory for persistence unit 'default' 2022-05-03 19:37:57.000 WARN 19392 --- [ main] JpaBaseConfiguration$JpaWebConfiguration : spring.jpa.open-in-view is enabled by default. Therefore, database queries may be performed during view rendering. Explicitly configure spring.jpa.open-in-view to disable this warning 2022-05-03 19:37:57.629 INFO 19392 --- [ main] o.s.b.a.w.s.WelcomePageHandlerMapping : Adding welcome page: class path resource [static/index.html] 2022-05-03 19:37:58.306 INFO 19392 --- [ main] h.h.s.MemberServiceIntegrationTest : Started MemberServiceIntegrationTest in 9.396 seconds (JVM running for 12.408) 2022-05-03 19:37:58.363 INFO 19392 --- [ main] o.s.t.c.transaction.TransactionContext : Began transaction (1) for test context [DefaultTestContext@3bd323e9 testClass = MemberServiceIntegrationTest, testInstance = hello.hellospring.service.MemberServiceIntegrationTest@788d9139, testMethod = 회원가입@MemberServiceIntegrationTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@39ac0c0a testClass = MemberServiceIntegrationTest, locations = '{}', classes = '{class hello.hellospring.HelloSpringApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@2bfc268b, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@10163d6, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@247d8ae, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6c130c45, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@3fb1549b, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@7225790e], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]]; transaction manager [org.springframework.orm.jpa.JpaTransactionManager@4c7f2fdb]; rollback [true] Hibernate: select member0_.id as id1_0_, member0_.name as name2_0_ from member member0_ where member0_.name=? Hibernate: insert into member (name) values (?) 2022-05-03 19:37:59.177 INFO 19392 --- [ main] o.s.t.c.transaction.TransactionContext : Rolled back transaction for test: [DefaultTestContext@3bd323e9 testClass = MemberServiceIntegrationTest, testInstance = hello.hellospring.service.MemberServiceIntegrationTest@788d9139, testMethod = 회원가입@MemberServiceIntegrationTest, testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@39ac0c0a testClass = MemberServiceIntegrationTest, locations = '{}', classes = '{class hello.hellospring.HelloSpringApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true}', contextCustomizers = set[org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@2bfc268b, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@0, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@10163d6, org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@247d8ae, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@6c130c45, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@0, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@3fb1549b, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@7225790e], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.populatedRequestContextHolder' -> true, 'org.springframework.test.context.web.ServletTestExecutionListener.resetRequestContextHolder' -> true, 'org.springframework.test.context.event.ApplicationEventsTestExecutionListener.recordApplicationEvents' -> false]] 2022-05-03 19:37:59.202 INFO 19392 --- [ionShutdownHook] j.LocalContainerEntityManagerFactoryBean : Closing JPA EntityManagerFactory for persistence unit 'default' 2022-05-03 19:37:59.207 INFO 19392 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown initiated... 2022-05-03 19:37:59.230 INFO 19392 --- [ionShutdownHook] com.zaxxer.hikari.HikariDataSource : HikariPool-1 - Shutdown completed. Process finished with exit code 0
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
bcrypt 쓰는 부분에서 var user = this를 생성하는 이유
bcrypt 쓰는 부분에서 var user = this를 생성하는 이유가 궁금합니다. this가 없이, bcrypt.hash() 부분에 userSchema.password로 입력 시, app.post에서 req.body가 저장되기 전에 값이 불러와지기 때문인걸까요?
-
미해결Slack 클론 코딩[실시간 채팅 with React]
안녕하세요 ! 강의와 관련 없는 질문이지만 답변주시면 감사하겠습니다 :D ..
안녕하세요. 항상 제로초님 강의 들으면서 열심히 공부하고 있는 학생입니다 ! 채팅서비스를 React 를 이용한 모바일 웹으로 한번 만들어 보고 싶은데요, 사진업로드 관련하여 질문이 있습니다 .. ! 카카오톡을 보면 사진 업로드 할 때, 아래 사진처럼 핸드폰 앨범의 이미지가 미리보기 형태로 나오더라구요. native가 아닌 React로도 이런 기능을 구현할 수 있는지 궁금합니다. 가능하다면, 어떤 식으로 접근해야하는지 알려주시면 정말 감사하겠습니다 .. !
-
미해결[개정판] 파이썬 머신러닝 완벽 가이드
feature의 개수가 많을 때
데이터프레임으로 변환시 columns명을 직접 입력하셨는데 만약에 feature값이 너무 많을 경우는 어떻게 해야하나요 ?? 그리고 원핫인코딩된 데이터도 군집화가 가능한것이 맞나요 ??
-
해결됨Firebase 서버를 통한 Android앱 개발 지침서
사진업로드 오류 logcat
2022-05-03 17:49:43.942 26678-26678/com.han.myapplication E/UploadTask: could not locate file for uploading:file:///storage/emulated/0/DCIM/Camera/IMG_20220503_081843.jpg 2022-05-03 17:49:43.944 26678-26678/com.han.myapplication E/StorageException: StorageException has occurred. An unknown error occurred, please check the HTTP result code and inner exception for server response. Code: -13000 HttpResult: 0 2022-05-03 17:49:43.944 26678-26678/com.han.myapplication E/StorageException: /storage/emulated/0/DCIM/Camera/IMG_20220503_081843.jpg: open failed: EACCES (Permission denied) java.io.FileNotFoundException: /storage/emulated/0/DCIM/Camera/IMG_20220503_081843.jpg: open failed: EACCES (Permission denied) 사진 위치 출력문 에선 파일 경로 잘뜨던데 업로드 시키면 저런 오류가 납니다 매니페스트 권한 다 줫고 앱켤떄 수락도 다했는데 왜이럴까요?...ㅠ 또한 oncreatview 에서 requestPermissions(new String[]{Manifest.permission.READ_EXTERNAL_STORAGE},0); READ_EXTERNAL_STORAGE 부분에 빨간색으로 오류가 뜹니다 저는 현재 업로드 코드는 메인엑티비티 위에 프레그먼트 창에 작성하였어요.
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part5: 데이터베이스
SQL ORDER BY
4번 문제를 풀다가 궁금한 점이 생겨서 질문해봅니다. 단지 'BOS'팀의 홈런왕 1명을 구하기만 하면 되는데 SELECT한 전체 테이블을 정렬하는것은 조금 비효율적이라고 생각해서 SORTING 없이 답을 구하는 방법을 찾아보았는데요 이전의 방법으로 홈런왕의 ID를 구해서 저장하고 있다가 홈런왕이 필요하면해당 ID나 인덱스등을 이용하여 직접적으로 구하는것 외에는 딱히 다른 방법을 찾을수 없었습니다. 내부적으로 TOP N 키워드가 들어가있으면 전체 데이터를 정렬하는것이 아니라 최대 N명만 구하는 등 자체적인 최적화가 있는 것인가요 아니면 애초에 이러한 고민이 불필요할 정도로 성능상의 유의미한 차이가 없다 (있다면 그것은 DB 설계 자체의 문제?) 는 것인가요?
-
해결됨[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part2: 자료구조와 알고리즘
배열, 동적 배열의 단점과 C#의 단점 해결법
안녕하세요. 공부하던 중 일부 의야한것이 있어 질문 드립니다. 좀 애매모호한 의문이긴 합니다만 기왕 배우는것 확실하게 알고 싶습니다. 강의에서 배운바로는 배열의 단점은 "방(메모리)의 크기 수정이 불가능" 동적 배열(리스트)의 단점은 "이사 비용의 부담, 중간 삽입과 삭제 어려움" 이라 이해했습니다. 그런데 Resize<T>로 배열의 크기 수정. Insert, RemoveAt으로 리스트의 중간 삽입과 삭제가 쉽게 가능했습니다. 그리고 동적 배열의 이사 횟수를 줄이기 위해 "여유분을 두고 할당한다" 라고 하셨는데 찾아봐도 List<T>에 여유분을 할당하는 기능을 찾을수가 없었습니다. 이러다보니 강의에서 배운 자료구조와 C#의 자료구조 사이에 일종의 괴리감이 생기는것 같습니다. 제가 제시한 단점 해결법(Resize, Insert, RemoveAt)들은 사용이 편할뿐 세부적으론 부담이 심한것인가요? 그리고 리스트에 여유분을 할당하는것은 직접 리스트를 구현하는 경우에만 가능한 것인가요? 답변 부탁드립니다.
-
미해결지옥에서 온 Git
reset에 관하여
"git reset 커밋아이디 --hard" 를 통해 버전을 되돌린 경우도 복구할 수 있나요?
-
미해결따라하며 배우는 도커와 CI환경 [2023.11 업데이트]
no such file or directory, open '/app/package.json'
### 한줄 요약 개별 컨테이너 에서는 build, run 이 정상적으로 되며, package.json 이 존재하지만docker-compose 로 실행할 경우에만 package.json 을 찾을 수 없다는 에러가 발생 # System OS : Windows 10IDE : VSCDocker : V 20.10.14Docker Desktop : 4.7.1 (77678)Github Reopsitory : https://github.com/unchaptered/22-05-docker-react-proxy ### 발생한 에러 docker-compose up / docker-compose up --build 시,backend, frontend 모두 /app/package.json 을 찾을 수 없다는 에러 발생. ### 예상되는 원인 0. Dockerfile 등에서 오탈자 있는 경우1. package.json 이 없는 경우2. package.json 이 있는데 잘못된 경로로 연결을 시도한 경우 ### 0번 확인 Dockerfile, yml, conf 에서 유의미한 옽라자를 찾을 수 없었습니다.관련하여 깃허브 레포 업로드해두겠습니다. ### 1번 확인 알 수 없는 이유로 docker-compose 의 빌드 후 실행이 되지 않았습니다.따라서 backend, frontend 컨테이너를 개별적으로 확인해야 했습니다. Backend 확인 결과 : 5000 포트에서 정상 실행 되었으나, MySQL 연결 실패 에러 발생 (compose 에러와 무관한 내용이라서 무시해도 될 것 같다고 생각했습니다.)0. (root 디렉토리)1. cd backend2. docker build -f Dockerfile.dev -t nchaptered/test-docker ./3. docker run unchaptered/test-docker4. docker exec -it 컨테이너_ID sh5. ls6. cat package.json Frontend 확인 결과 : 3000 포트에서 정상 실행 되었습니다. 0. (root 디렉토리)1. cd frontend2. docker build -f Dockerfile.dev -t unchaptered/test-docker-f ./3. docker run unchaptered/test-docker-f4. docker exec -it 컨테이너_ID sh5. ls6. cat package.json ### 2번 확인 1. docker-compose up --build2. Running 5/5/ build 정상 실행 - Network 22-05-docker-multi-react_default Created - Container app_backend Created - Container app_frontend Created - Container app_mysqlA Created - Container app_nginx Created 3. Attaching to app_backend, app_frontend, app_mysqlA, app_nginx - app_backend Error 254 : erno -2 no such file or directory, open '/app/package.json' - app_frontend Error 254 : erno -2 no such file or directory, open '/app/package.json' - app_mysqlA Success : ready to connection, Version '5.7.38' - app_nginx 결국은 빌드는 되는데 실행이 안되는 것 같습니다. 그 이유가 /app/package.json 인 데, 애초에 실행이 안되니 exec -it 컨테이너명 sh 으로 확인이 불가능한 상태입니다. 해당 부분에서 어떤 방식으로 접근 해야 할지 알려주시면 감사하겠습니다.
-
미해결기출로 대비하는 개발자 전공면접 [CS 완전정복]
죄송한데 혹시 전자책이 어디에..
전자책이 노션인가요 아니면 따로 있나요 찾아봤는데 보이는 곳이 없어서요..ㅠ
-
미해결게임 프로그래머 취업 전략 가이드
학습 조언 부탁드립니다
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요, 저는 수도권 대학 컴퓨터 쪽 전공을 하고 있는, 막학기를 앞둔 학생입니다. 강사님의 서버, 취업 가이드 영상 잘 보고 있습니다. 이제 정말 본격적으로 취준을 해야 하는 시기인데요.. 학교 사람들과 함께 만든 유니티 2d 게임 하나, 대기업에서 주관한 게임 소규모 게임 프로젝트에 참가하여 작은 유니티 3d 게임 하나 만든 상태입니다. 전자는 출시를 생각도 하고 있으나, 자신이 없고(포톤이라는 api 를 이용해 만든 게임인데 버그가 많아서..) 후자는 출시를 안 할 것 같습니다. 코드가 깔끔하지도 않고 다른 사람들이 봤을 때 와 - 할 정도가 아니라 이제부터가 정말 중요하다고 생각하는데요, 우선 학원은 계속 고민하고 있습니다. 그 전에 전공 관련 지식을 더 다지고 싶은데, 조언을 해주셨으면 하여 이렇게 글을 남깁니다. 1. 제가 전공 관련 과를 다니고는 있으나 과제만 겨우 해내는 수준이라 제대로 공부하고 싶은데요 c, java, 파이썬 다 다루어 봤지만 수준급이 아니라 c++으로 제대로 공부해보고 싶습니다. 알고리즘 및 자료구조 기반을 제대로 다지고 싶은데, 이 경우 처음부터 코테 연습 사이트에서 문제를 풀어보는걸 추천하시나요?? 아니면 책을 한 권 사서 쭉 개념 정리/풀기를 추천하시나요? 후자의 경우 책도 추천해주시면 정말 감사하겠습니다. (다른 질문에서 '알고리즘 문제 해결 전략 세트'를 추천해주셨는데 이 책이면 될까요?) 2. 기초를 다진 후에는 언리얼을 공부하고자 하는데, 언리얼을 기초 독학(강사님 영상으로 공부할 것 같습니다) 하고 프로젝트를 해서 포폴을 만드는게 좋을까요?(소규모라도 취업에 있어서 의미가 있는지 궁금합니다..) 3. 사실 중견 이상 기업도 너무 욕심이 나는데 .. direct X 쪽을 공부하지 않으면(엔진을 만들어본 경험이 없다면) 신입은 정말 기회가 없을까요? (게임 학원 비추 글도 많이 보기도 했고, 학원 없이는 중견 이상 회사에 신입 취업은 정말 불가능한가..? 라는 생각이 들어서 여쭙니다. 정말 불가능하다면 언리얼 독학을 하지 않고 그냥 학원을 다닐 생각입니다) 4. 협업 툴 git 에 대한 공부는 필수인가요? 기본적인 pull push rebase pull request등의 기능을 쓸 줄은 아는데 제대로 된 이해가 없습니다 ㅠㅠ 터미널과 친하지 않아요..(깃 헙 데스크탑으로 대부분의 것들을 처리하는 정도입니다) 5. 깃 블로그 등의 블로그 포스팅 작성도 필수인지 궁금합니다 (확실한 이점이 되는지 궁금합니다!) 아직은 개설만 해두고 작성하지 않았는데.. 깃 블로그를 많은 회사에서 본다면 열심히 작성해보려고 하는데요, 그동안 한 프로젝트 내용이면 될지, 혹은 제가 공부한 것들도 적어두어야 할지.. ㅠㅠ 할게 너무 많네요 취업이란 이런 거겠죠...... 질문이 두서가 없는데.. 고민이 너무 많아서 ㅠㅠ 양해부탁드립니다. 답변해주신다면 그 답변을 바탕으로 절대 포기하지 않고 개발자로서 쭉 나아가겠습니다. 감사합니다!!
-
미해결Vue.js + TypeScript 완벽 가이드
vue-advanced 프로젝트 권한 요청 부탁드립니다
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 깃헙 이메일: hkj4900@pusan.ac.kr깃헙 아이디: 9wan6zae
-
미해결마케터를 위한 구글 애널리틱스 실무
PDF강의북 요청드립니다.
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요. GA강의 꼭 필요하였는데, 쉽게 설명해주셔서 잘 듣고 있습니다. PDF 강의북 요청드립니다. ^^ 좋은 자료 공유해주셔서 감사합니다. gp081812@gmail.com 입니다.
-
미해결따라하며 배우는 NestJS
.includes 대신 .indexOf를 사용하는 이유가 있나요?
.includes를 사용 하면 더 직관적일거 같은데 indexOf로 사용하신 이유가 있나요?
-
미해결스프링 배치
스프링 배치 라이프사이클에 대해서 질문드려봅니다.
안녕하세요. 스프링 시큐리티 강의를 정말 알차게 봤었는데요 이번에 배치쪽 일을 하게되서 해당 강의를 보게 되었습니다. 궁금한 점이 스케줄링 처리가 안된 경우에 해당 강의처럼 어플리케이션을 구동하게되면 해당 스텝을 끝낸 뒤에 어플리케이션이 종료되는 것을 알게되었습니다. 그래서 라이프사이클이 궁금해졌는데 스프링 웹과 달리 배치는 이런식으로 해당 잡들이 완료되고 스케줄링 설정이 따로 안되어있다면, 프로세스가 종료가 된다고 알고 있으면 될까요?
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 영화 사이트 만들기
포트문제 (npm run dev 햇을때의 문제)
[0] node:events:505 [0] throw er; // Unhandled 'error' event [0] ^ [0] [0] Error: listen EADDRINUSE: address already in use :::5000 라는 에러가떠서 5000포트를 닫으려고 kill - 9 pid숫자를했는데요, 해당 포트가 사라지고 또 다른 포트가 열려서 같은 에러가 반복됩니다. 해결할 수 있는 방법이 있을까요?
-
미해결실무에서 바로 쓰는 영어 이메일
강의 자료 요청드립니다.
안녕하세요, 강의자료 요청드립니다! moo5236@naver.com
-
미해결따라하며 배우는 도커와 CI환경 [2023.11 업데이트]
단일 어플리케이션 배포
안녕하세요 강의 너무 잘듣고있습니다. ㅎㅎ 지금 현재 단일 어플리케이션 배포부분 다시 복습으로 듣고있는데요 . 지금은 프론트 하나로 배포를 하고있잖아용 . 그럼 보통 회사에 프론트와 백엔드가 각각 따로있다고하면 , 어떻게 이루어지나요 ?? 그냥 하나의 docker compose 로 묶어버리나요 ?? 아니면 front 에 docker compose 하나 back 에 docker compose 하나 해서 docker compose 가 두개인가요 ?? ( 중소 혹은 스타텁기준)