묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결팝스타 공식 뮤비 제작 & 유튜브 2천만 뷰 크리에이터의 애니메이트 X 이모티콘 클래스
브러시 관련 질문 드립니다.
안녕하세요. 브러시에 관해 몇 가지 질문 드립니다. 1.손 그림 느낌이 나려면, 작가님이 쓰시는 클래식 브러시가 좋을 거 같은데요. 저는 손그림 보단 라이언, 늬에시 등 처럼 삐툴거리지 않는 매끄럽고 반듯한 선을 표현하고 싶은데, 이럴려면 페인트 브러시(또는 펜툴)로 그리고 선을 조정을 하는 방식이 적합해보이는데요. 페인트 브러시로 선을 그리면 면이 아닌 선인데, 작업 완료 후 선을 면 처리할 수 있는 기능이 있나요? 일러스트레이터에선 이 기능이 있는 걸로 알고 있어요.(선으로 있으면 인쇄 할 때 벡터로 인식되지 않아 깨지거나 그럴거 같아서요) 2.브러시/연필/펜 다 벡터인데, 혹시 비트맵인 도구도 있나요? 저는 클립스튜디오로 러프 스케치 단계에서 비트맵 도구로 슥슥 그리고 난 후 벡터로 선을 따던 습관이 있어서, 스케치에서 벡터로 그려지는게 어색해서요^^;
-
미해결Svelte.js [Core API] 완벽 가이드
이벤트 객체에 관하여
질문대상 강의 : 1-5강 Todo list 질문 내용 : 강의 10분~11분 사이에 보면, 아래와 같은 코드가 있습니다. <input bind:value={title} type="text" on:keydown={ (e)=>{e.key==='Enter' && createTodo() } 여기서 bold 표시한 부분이 이해되질 않습니다. if 문과 동일하게 동작한다는 점은 이해되지만, a.key 부분의 이벤트 객체가 이해되지 않습니다. 'abc.가나다' 라는 형식이 있을때, abc라는 객체의 속성 중 '가나다'라는 속성을 선택하는 형식인 것으로 알고 있습니다. 이벤트 객체라 할때, js에서 keydown 등과 같은 이벤트를 사용하려면 그 이벤트를 내포하고 있는 document 객체이거나 window객체인 것으로 알고 있는데 위에서 적힌 'e'라는 것은 임의의 인자입니다. 여기서 질문드리고 싶은점은, 1. 인자로 e를 받아오려면, 함수 내부에 변수가 지정되어있어야하는데 위 코드의 익명함수에서 변수는 무엇인지? 2. e를 인자로 받아와서 e가 객체가 되었다면 그것이 key라는 속성을 포함하고 있는 것인지? 이상입니다. 감사합니다.
-
미해결팝스타 공식 뮤비 제작 & 유튜브 2천만 뷰 크리에이터의 애니메이트 X 이모티콘 클래스
선과 편집 관련 질문드려요
안녕하세요. 강의를 들으며 몇 가지 궁금한 점이 있어 질문 드립니다. 1. 선을 그리고 변형을 통해 키우거나 줄이면 선 두께도 바뀌던데 두께가 변경되지 않는 기능은 없나요? 다른 툴에서는 변경되거나 되지 않도록 선택하는 기능이 있듯이요. 원하는 두께로 그렸는데 변형시 선 두께가 달라지니 난감할 거 같아요 ㅜ 2.선을 그리며 드로잉 하다보니, 선 두께가 좀 더 두꺼웠음 좋겠다 생각이 들어서 선 두께를 변경하고 싶다면, 선을 그리고 난 후 두께 변경이 가능한 옵션 기능이 있나요? 비트맵이면 모를까, 일러스트레이터나 클립스튜디오에선 기능이 있으니, 있지 않을까 싶어서요. 3. 선을 그리고 변형시, 클립스튜디오에 있는 메쉬 변형(여러개의 변형 포인트가 있는?) 같은 기능이 있나요?
-
미해결스프링 부트 개념과 활용
안녕하세요 강사님
테스트 관련 강의를 보다가 OutputCapture를 테스트 해보려고헀는데 하기와 같은 에러가 발생해서 질문드리고싶습니다.. Test Source package me.survivalking.spring_test;import me.survivalking.spring_test.sample.SampleController;import me.survivalking.spring_test.sample.SampleService;import org.junit.Rule;import org.junit.jupiter.api.Test;import org.junit.jupiter.api.extension.ExtendWith;import org.junit.runner.RunWith;import org.springframework.beans.factory.annotation.Autowired;import org.springframework.boot.test.autoconfigure.web.reactive.AutoConfigureWebTestClient;import org.springframework.boot.test.autoconfigure.web.servlet.AutoConfigureMockMvc;import org.springframework.boot.test.context.SpringBootTest;import org.springframework.boot.test.mock.mockito.MockBean;import org.springframework.boot.test.system.OutputCaptureRule;import org.springframework.boot.test.web.client.TestRestTemplate;import org.springframework.test.context.junit.jupiter.SpringExtension;import org.springframework.test.context.junit4.SpringRunner;import org.springframework.test.web.reactive.server.WebTestClient;import org.springframework.test.web.servlet.MockMvc;import org.springframework.test.web.servlet.request.MockMvcRequestBuilders;import static org.assertj.core.api.Assertions.assertThat;import static org.mockito.Mockito.when;import static org.springframework.test.web.servlet.result.MockMvcResultHandlers.print;import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.content;import static org.springframework.test.web.servlet.result.MockMvcResultMatchers.status;@RunWith(SpringRunner.class)@SpringBootTest(webEnvironment = SpringBootTest.WebEnvironment.RANDOM_PORT)@AutoConfigureMockMvc@AutoConfigureWebTestClientclass SpringTestApplicationTests {// WebEnvironment이 Mock일 떄 사용 @Autowired private MockMvc mockMvc; @Autowired private TestRestTemplate testRestTemplate; //Controller단만 가서 확인하고 싶다 @MockBean SampleService sampleService; // 위에 것들은 Sync 방식 WebClient는 Async 응답이 오면 Callback이 옴 나머지는 기다림 @Autowired WebTestClient webTestClient; @Rule public OutputCaptureRule outputCapture = new OutputCaptureRule(); //@Test public void contextLoads() throws Exception{ mockMvc.perform(MockMvcRequestBuilders.get("/hello")) .andExpect(status().isOk()) .andExpect(content().string("hello heesuk")) .andDo(print()); } //@Test public void Test2() throws Exception{ String result = testRestTemplate.getForObject("/hello", String.class); assertThat(result).isEqualTo("hello heesuk"); } //@Test public void Test3() throws Exception{ when(sampleService.getName()).thenReturn("heesuk"); String result = testRestTemplate.getForObject("/hello",String.class); assertThat(result).isEqualTo("hello heesuk"); } @Test public void Test4() throws Exception{ when(sampleService.getName()).thenReturn("heesuk"); webTestClient.get().uri("/hello").exchange() .expectStatus().isOk() .expectBody(String.class).isEqualTo("hello heesuk"); assertThat(outputCapture.toString()) .contains("holoman") .contains("skip"); }} OutputCapture가 - 표시가 되어있어서 OutputCaptureRule을 사용헀더니 하기와 같은 에러가 나옵니다. Connected to the target VM, address: '127.0.0.1:13028', transport: 'socket' 21:50:12.485 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating CacheAwareContextLoaderDelegate from class [org.springframework.test.context.cache.DefaultCacheAwareContextLoaderDelegate] 21:50:12.510 [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)] 21:50:12.557 [main] DEBUG org.springframework.test.context.BootstrapUtils - Instantiating TestContextBootstrapper for test class [me.survivalking.spring_test.SpringTestApplicationTests] from class [org.springframework.boot.test.context.SpringBootTestContextBootstrapper] 21:50:12.572 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Neither @ContextConfiguration nor @ContextHierarchy found for test class [me.survivalking.spring_test.SpringTestApplicationTests], using SpringBootContextLoader 21:50:12.577 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [me.survivalking.spring_test.SpringTestApplicationTests]: class path resource [me/survivalking/spring_test/SpringTestApplicationTests-context.xml] does not exist 21:50:12.578 [main] DEBUG org.springframework.test.context.support.AbstractContextLoader - Did not detect default resource location for test class [me.survivalking.spring_test.SpringTestApplicationTests]: class path resource [me/survivalking/spring_test/SpringTestApplicationTestsContext.groovy] does not exist 21:50:12.578 [main] INFO org.springframework.test.context.support.AbstractContextLoader - Could not detect default resource locations for test class [me.survivalking.spring_test.SpringTestApplicationTests]: no resource found for suffixes {-context.xml, Context.groovy}. 21:50:12.579 [main] INFO org.springframework.test.context.support.AnnotationConfigContextLoaderUtils - Could not detect default configuration classes for test class [me.survivalking.spring_test.SpringTestApplicationTests]: SpringTestApplicationTests does not declare any static, non-private, non-final, nested classes annotated with @Configuration. 21:50:12.662 [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 [me.survivalking.spring_test.SpringTestApplicationTests] 21:50:12.758 [main] DEBUG org.springframework.context.annotation.ClassPathScanningCandidateComponentProvider - Identified candidate component class: file [D:\Spring_Pjt\IntelliJ_WorkSpace\spring_test\target\classes\me\survivalking\spring_test\SpringTestApplication.class] 21:50:12.760 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Found @SpringBootConfiguration me.survivalking.spring_test.SpringTestApplication for test class me.survivalking.spring_test.SpringTestApplicationTests 21:50:12.863 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - @TestExecutionListeners is not present for class [me.survivalking.spring_test.SpringTestApplicationTests]: using defaults. 21:50:12.864 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener, 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.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, 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] 21:50:12.877 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Skipping candidate TestExecutionListener [org.springframework.test.context.transaction.TransactionalTestExecutionListener] due to a missing dependency. Specify custom listener classes or make the default listener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttributeSource] 21:50:12.877 [main] DEBUG org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Skipping candidate TestExecutionListener [org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener] due to a missing dependency. Specify custom listener classes or make the default listener classes and their required dependencies available. Offending class: [org/springframework/transaction/interceptor/TransactionAttribute] 21:50:12.878 [main] INFO org.springframework.boot.test.context.SpringBootTestContextBootstrapper - Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@cb191ca, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@42f48531, org.springframework.boot.test.mock.mockito.MockitoTestExecutionListener@a776e, org.springframework.boot.test.autoconfigure.SpringBootDependencyInjectionTestExecutionListener@792bbc74, org.springframework.test.context.support.DirtiesContextTestExecutionListener@79145d5a, org.springframework.test.context.event.EventPublishingTestExecutionListener@1f2f9244, org.springframework.boot.test.mock.mockito.ResetMocksTestExecutionListener@4c4d27c8, org.springframework.boot.test.autoconfigure.restdocs.RestDocsTestExecutionListener@6821ea29, org.springframework.boot.test.autoconfigure.web.client.MockRestServiceServerResetTestExecutionListener@338494fa, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcPrintOnlyOnFailureTestExecutionListener@505a9d7c, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverTestExecutionListener@758c83d8, org.springframework.boot.test.autoconfigure.webservices.client.MockWebServiceServerTestExecutionListener@129b4fe2] 21:50:12.884 [main] DEBUG org.springframework.test.context.support.AbstractDirtiesContextTestExecutionListener - Before test class: context [DefaultTestContext@e077866 testClass = SpringTestApplicationTests, testInstance = [null], testMethod = [null], testException = [null], mergedContextConfiguration = [WebMergedContextConfiguration@ed3068a testClass = SpringTestApplicationTests, locations = '{}', classes = '{class me.survivalking.spring_test.SpringTestApplication}', contextInitializerClasses = '[]', activeProfiles = '{}', propertySourceLocations = '{}', propertySourceProperties = '{org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=0}', contextCustomizers = set[[ImportsContextCustomizer@7c2b6087 key = [org.springframework.boot.test.autoconfigure.web.servlet.MockMvcAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebClientAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcWebDriverAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.servlet.OAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.servlet.OAuth2ResourceServerAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.SecurityFilterAutoConfiguration, org.springframework.boot.autoconfigure.security.servlet.UserDetailsServiceAutoConfiguration, org.springframework.boot.test.autoconfigure.web.servlet.MockMvcSecurityConfiguration, org.springframework.boot.autoconfigure.security.oauth2.client.reactive.ReactiveOAuth2ClientAutoConfiguration, org.springframework.boot.autoconfigure.security.oauth2.resource.reactive.ReactiveOAuth2ResourceServerAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveSecurityAutoConfiguration, org.springframework.boot.autoconfigure.security.reactive.ReactiveUserDetailsServiceAutoConfiguration, org.springframework.boot.test.autoconfigure.web.reactive.WebTestClientAutoConfiguration]], org.springframework.boot.test.context.filter.ExcludeFilterContextCustomizer@5026735c, org.springframework.boot.test.json.DuplicateJsonObjectContextCustomizerFactory$DuplicateJsonObjectContextCustomizer@10f7f7de, org.springframework.boot.test.mock.mockito.MockitoContextCustomizer@383e320a, org.springframework.boot.test.web.client.TestRestTemplateContextCustomizer@488d1cd7, org.springframework.boot.test.web.reactive.server.WebTestClientContextCustomizer@d278d2b, org.springframework.boot.test.autoconfigure.actuate.metrics.MetricsExportContextCustomizerFactory$DisableMetricExportContextCustomizer@6e005dc9, org.springframework.boot.test.autoconfigure.properties.PropertyMappingContextCustomizer@3794467c, org.springframework.boot.test.autoconfigure.web.servlet.WebDriverContextCustomizerFactory$Customizer@82ea68c, org.springframework.boot.test.context.SpringBootTestArgs@1, org.springframework.boot.test.context.SpringBootTestWebEnvironment@eb21112], resourceBasePath = 'src/main/webapp', contextLoader = 'org.springframework.boot.test.context.SpringBootContextLoader', parent = [null]], attributes = map['org.springframework.test.context.web.ServletTestExecutionListener.activateListener' -> false]], class annotated with @DirtiesContext [false] with mode [null]. 21:50:12.926 [main] DEBUG org.springframework.test.context.support.TestPropertySourceUtils - Adding inlined properties to environment: {spring.jmx.enabled=false, org.springframework.boot.test.context.SpringBootTestContextBootstrapper=true, server.port=0} . ____ _ __ _ _ /\\ / ___'_ __ _ _(_)_ __ __ _ \ \ \ \ ( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v2.4.0) 2020-12-10 21:50:13.200 INFO 6952 --- [ main] m.s.s.SpringTestApplicationTests : Starting SpringTestApplicationTests using Java 1.8.0_261 on DESKTOP-4OCTHFN with PID 6952 (started by uesr in D:\Spring_Pjt\IntelliJ_WorkSpace\spring_test) 2020-12-10 21:50:13.206 INFO 6952 --- [ main] m.s.s.SpringTestApplicationTests : No active profile set, falling back to default profiles: default 2020-12-10 21:50:14.743 INFO 6952 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port(s): 0 (http) 2020-12-10 21:50:14.754 INFO 6952 --- [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat] 2020-12-10 21:50:14.755 INFO 6952 --- [ main] org.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/9.0.39] 2020-12-10 21:50:14.864 INFO 6952 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext 2020-12-10 21:50:14.864 INFO 6952 --- [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 1637 ms 2020-12-10 21:50:15.282 INFO 6952 --- [ main] o.s.s.concurrent.ThreadPoolTaskExecutor : Initializing ExecutorService 'applicationTaskExecutor' 2020-12-10 21:50:15.666 INFO 6952 --- [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring TestDispatcherServlet '' 2020-12-10 21:50:15.666 INFO 6952 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Initializing Servlet '' 2020-12-10 21:50:15.667 INFO 6952 --- [ main] o.s.t.web.servlet.TestDispatcherServlet : Completed initialization in 1 ms 2020-12-10 21:50:15.730 INFO 6952 --- [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port(s): 13033 (http) with context path '' 2020-12-10 21:50:15.740 INFO 6952 --- [ main] m.s.s.SpringTestApplicationTests : Started SpringTestApplicationTests in 2.811 seconds (JVM running for 4.224) 2020-12-10 21:50:16.576 INFO 6952 --- [o-auto-1-exec-1] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring DispatcherServlet 'dispatcherServlet' 2020-12-10 21:50:16.577 INFO 6952 --- [o-auto-1-exec-1] o.s.web.servlet.DispatcherServlet : Initializing Servlet 'dispatcherServlet' 2020-12-10 21:50:16.577 INFO 6952 --- [o-auto-1-exec-1] o.s.web.servlet.DispatcherServlet : Completed initialization in 0 ms 2020-12-10 21:50:16.594 INFO 6952 --- [o-auto-1-exec-1] m.s.spring_test.sample.SampleController : holoman skip java.lang.IllegalStateException: No system captures found. Please check your output capture registration. at org.springframework.util.Assert.state(Assert.java:76) at org.springframework.boot.test.system.OutputCapture.get(OutputCapture.java:129) at org.springframework.boot.test.system.OutputCapture.getAll(OutputCapture.java:100) at org.springframework.boot.test.system.OutputCapture.toString(OutputCapture.java:90) at org.springframework.boot.test.system.OutputCaptureRule.toString(OutputCaptureRule.java:101) at me.survivalking.spring_test.SpringTestApplicationTests.Test4(SpringTestApplicationTests.java:82) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at org.junit.platform.commons.util.ReflectionUtils.invokeMethod(ReflectionUtils.java:688) at org.junit.jupiter.engine.execution.MethodInvocation.proceed(MethodInvocation.java:60) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$ValidatingInvocation.proceed(InvocationInterceptorChain.java:131) at org.junit.jupiter.engine.extension.TimeoutExtension.intercept(TimeoutExtension.java:149) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestableMethod(TimeoutExtension.java:140) at org.junit.jupiter.engine.extension.TimeoutExtension.interceptTestMethod(TimeoutExtension.java:84) at org.junit.jupiter.engine.execution.ExecutableInvoker$ReflectiveInterceptorCall.lambda$ofVoidMethod$0(ExecutableInvoker.java:115) at org.junit.jupiter.engine.execution.ExecutableInvoker.lambda$invoke$0(ExecutableInvoker.java:105) at org.junit.jupiter.engine.execution.InvocationInterceptorChain$InterceptedInvocation.proceed(InvocationInterceptorChain.java:106) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.proceed(InvocationInterceptorChain.java:64) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.chainAndInvoke(InvocationInterceptorChain.java:45) at org.junit.jupiter.engine.execution.InvocationInterceptorChain.invoke(InvocationInterceptorChain.java:37) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:104) at org.junit.jupiter.engine.execution.ExecutableInvoker.invoke(ExecutableInvoker.java:98) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.lambda$invokeTestMethod$6(TestMethodTestDescriptor.java:210) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.invokeTestMethod(TestMethodTestDescriptor.java:206) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:131) at org.junit.jupiter.engine.descriptor.TestMethodTestDescriptor.execute(TestMethodTestDescriptor.java:65) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:139) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) at java.util.ArrayList.forEach(ArrayList.java:1259) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) at java.util.ArrayList.forEach(ArrayList.java:1259) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.invokeAll(SameThreadHierarchicalTestExecutorService.java:38) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$5(NodeTestTask.java:143) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$7(NodeTestTask.java:129) at org.junit.platform.engine.support.hierarchical.Node.around(Node.java:137) at org.junit.platform.engine.support.hierarchical.NodeTestTask.lambda$executeRecursively$8(NodeTestTask.java:127) at org.junit.platform.engine.support.hierarchical.ThrowableCollector.execute(ThrowableCollector.java:73) at org.junit.platform.engine.support.hierarchical.NodeTestTask.executeRecursively(NodeTestTask.java:126) at org.junit.platform.engine.support.hierarchical.NodeTestTask.execute(NodeTestTask.java:84) at org.junit.platform.engine.support.hierarchical.SameThreadHierarchicalTestExecutorService.submit(SameThreadHierarchicalTestExecutorService.java:32) at org.junit.platform.engine.support.hierarchical.HierarchicalTestExecutor.execute(HierarchicalTestExecutor.java:57) at org.junit.platform.engine.support.hierarchical.HierarchicalTestEngine.execute(HierarchicalTestEngine.java:51) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:108) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:88) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.lambda$execute$0(EngineExecutionOrchestrator.java:54) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.withInterceptedStreams(EngineExecutionOrchestrator.java:67) at org.junit.platform.launcher.core.EngineExecutionOrchestrator.execute(EngineExecutionOrchestrator.java:52) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:96) at org.junit.platform.launcher.core.DefaultLauncher.execute(DefaultLauncher.java:75) at com.intellij.junit5.JUnit5IdeaTestRunner.startRunnerWithArgs(JUnit5IdeaTestRunner.java:71) at com.intellij.rt.junit.IdeaTestRunner$Repeater.startRunnerWithArgs(IdeaTestRunner.java:33) at com.intellij.rt.junit.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:220) at com.intellij.rt.junit.JUnitStarter.main(JUnitStarter.java:53) 2020-12-10 21:50:18.898 INFO 6952 --- [extShutdownHook] o.s.s.concurrent.ThreadPoolTaskExecutor : Shutting down ExecutorService 'applicationTaskExecutor' Disconnected from the target VM, address: '127.0.0.1:13028', transport: 'socket' Process finished with exit code -1 어떤부분이 잘못되었거나.. 잘못사용됬을까요.. 궁금합니다.
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] 번외편: ASP.NET Core 심화편
Rookiss님의 관한 질문
혹시 나중에 된다면 리버싱도 강의 올려주시나요?올려주신 강의들 항상 잘보고 있습니다!
-
미해결문제로 배우는 C언어
질문 드립니다!
#include<stdio.h> int main(){ int arr[9],i,j,k,tmp; for(i=0;i<=8;i++){ scanf("%d",&arr[i]);} scanf("%d",&k); for(i=1;i<=k;i++){ tmp=arr[0]; for(j=0;j<8;j++){ arr[j]=arr[j+1];} arr[j]=tmp; } for(i=0;i<=8;i++){ printf("%d ",arr[i]);} return 0;} 의 식과 #include<stdio.h> int main(){ int arr[9],i,j,k; for(i=0;i<=8;i++){ scanf("%d",&arr[i]);} scanf("%d",&k); for(i=1;i<=k;i++){ for(j=0;j<8;j++){ arr[j]=arr[j+1];} arr[j]=arr[0]; } for(i=0;i<=8;i++){ printf("%d ",arr[i]);} return 0;}의 식이 왜 출력값이 다르게 나오는지 궁금합니다.. 즉,왜 곧바로 arr[j]==arr[0]로 하면 나오는 출력값과 tmp를 만들어 tmp=arr[0]으로 잡고 arr[j]=tmp로 나오는 출력값이 다른지 궁금합니다
-
미해결스프링 핵심 원리 - 기본편
싱글톤 주의할점 강의에 대하여 궁금한 점이 있어 질문드립니다~!!
선생님~! 해당 싱글톤 주의할점에서 싱글톤은 무상태로 유지해야한다고 하셨습니다. 때문에 강의에서 지역변수 userAprice 와 userBprice를 만들어서 처음에 입력된 userAprice에 입력된 값이 출력되도록 변경하셨는데, 이게 현재 user가 2명이어서 괜찮았지만 만약에 정말 1초마다 5만명씩 유저가 가격을 입력한다면, 지역변수를 순간적으로 5만개씩 만들어서 처리하는 건지, 아니면 다른 방법으로 해당 사항을 해결하는 건지 궁금합니다 !! (공유객체의 참조와 지역변수의 관계에 대하여 조금이해가 않되서 질문드립니다. ㅠㅠ)
-
미해결코로나맵 개발자와 함께하는 지도서비스 만들기 1
작동이 안돼요
for(var i =0, ii = markerList.length; i<ii; i++) { naver.maps.Event.addListener(markerList[i],"click",getClickHandler(i)); //마커 클릭시 함수 호출 naver.maps.Event.addListener(map,"click",ClickMap(i)); } function clickMap(i) { return function() { var infowindow = infowindowList[i]; infowindow.close() } }
-
해결됨함수형 프로그래밍과 JavaScript ES6+
curry를 이용하지 않고 작성해봤는데, 이런방식도 괜찮나용?
const sum = (f) => pipe( map(f), reduce(add), ); const total_quantity = sum( p => p.quantity ); log(total_quantity(products)); const total_price = sum( p => p.price * p.quantity ); log(total_price(products));
-
미해결[개정판] 딥러닝 컴퓨터 비전 완벽 가이드
구글 클라우드 플랫폼 VM만들기 질문
구글 클라우드 플랫폼 VM만들기 질문입니다. 1. google cloud platform에서 유료계정으로 전환하고 2. GPUs (all regions)의 할당량을 0 --> 1로 전환 (구글메일발송, 답신) 3. VM 인트턴스 만들기를 진행하는데 4. us-west1(오리건), 4 core CPU 설정 5. 그런데 그 아래의 +GPU 버튼이 활성화 되지 않습니다. 무엇인 문제일까요?
-
미해결따라하며 배우는 노드, 리액트 시리즈 - 기본 강의
문법오류인것 같은데 원인을 모르겟습니다.
저기 () 이거랑, ==> 이부분에서 에러가 나는데 원인을 모르겟습니다.
-
해결됨파이썬(Python)으로 데이터 기반 주식 퀀트 투자하기 Part1
왜 False 일까? 부분에 대해서 문의드립니다.
안녕하세요 all() 과 any() 파트에서 숙제로 말씀하셨던 # 왜 결과가 False일지 생각해보세요 (df['순이익률(%)'] > -1000000).all() 이부분에 대해서 문의드리고자 합니다. min(df['순이익률(%)']) 을 통해서 봤을때 값이 -193.426 였고 df[df['순이익률(%)'] <= -1000000] 를 통해서 찾아봐도 더 작거나 같은 값이 없던데 왜 False 라는 결과가 나오는지 문의드립니다. --------------------------------------추후 생각 났던게 nan 값이 있을것 같아서 실행해 보았고 nan 이 문제 였던거 같습니다 a1 = df[~df['순이익률(%)'].isna()] (a1['순이익률(%)']>-1000000).all() nan 값을 제거하고 동일하게 실행하였을때 True 를 확인하였습니다.
-
미해결3dsmax 초급부터 전문가까지 - 한방에 끝내는 3dsmax 강좌
OpenSubdiv 와 TurboSmooth의 차이점
둘이 기능은 비슷한 것 같은데 확실한 차이점 같은게 있나요? 어느 상황에선 오픈섭디만 써야한다던지..
-
미해결바닥부터 시작하는 STM32 드론 개발의 모든 것
MCU 발열 및 UART장애
지난 11월 23일 납땜 건으로 방문했던 학생입니다. 패턴 납땜 해주신 이후 순조롭게 진행하다. 7-4강을 진행하던 중 UART debug 채널이 빠르게 연결과 끊어짐이 3~4번 반복 후 작동을 멈추었습니다. 황급히 전원을 빼고 기기를 찾던 중 12V 입력 쪽에 연결 되있던 선이 한가닥으로 간신히 버티고 있는 것을 확인하였고 문제가 된 선을 제거한후 ESC에서 잘라낸 선으로 다시 재 납땜을 진행하였습니다. 하지만 이후 UART 채널은 여전히 출력을 하지 못한것을 확인한 후 FTDI 문제라 생각하여 여분의 FTDI를 연결하였으나 역시 MCU에서 보낸 데이터를 받지 못하였습니다. 이전 코드들도 Calibration 까지 비프음으로 정상 작동을 확인하였으나 여전히 UART Debug 채널에 대한 출력을 받지 못하고 있습니다. 또 이전과 다르게 stm32f405rgt 코어에 발열이 매우 크게 느껴집니다. 문제를 어찌 해결할까요...
-
안드로이드 모바일 앱 모의해킹과 시큐어코딩
동적분석환경구성 중 파이썬 서버세팅 오류
삭제된 글입니다
-
미해결윈도우 악성코드(malware) 분석 입문 과정
압축해제 비번이 오류납니다.
snd-reversingwithlena-tutorials.rar 과 week 압축풀때 비번이 !보안철저@ 가 안됩니다. 영타 해서 해도 안됩니다
-
미해결제주코딩베이스캠프 Code Festival: JavaScript 100제
선생님 궁금한점이있습니다.
안녕하세요 풀이 잘 듣고 있습니다. 일단 궁금한점을 말씀드리면 const a = one(2) < one이라는 함수에 매개변수값 2를 넣엇자나염? 근데 console.log(a(10)) <<<- 이부분이 왜 x매개변수값으로 되는지 이해가 잘안가서요..
-
미해결따라하며 배우는 도커와 CI환경 [2023.11 업데이트]
Queued 관련하여 모든 조치를 다 했는데 안된다면..
트래비스 사이트를 org가 아닌 com 으로 이동해서 시도해보니까 잘 됩니다.
-
미해결제주코딩베이스캠프 Code Festival: JavaScript 100제
단계수와 코드를 줄여보기위해 조금은 바꾸어 봤습니다.
너무 많은걸 배우고 있습니다. 라이브러리 위주로만 배우다보니 알고리즘이나 자료구조에 대해서 생각 할 일이 많이 없었는데. 바닐라 js 에 배고픔을 여기서 채우게 되네요. 감사합니다 !!
-
미해결CSS Flex와 Grid 제대로 익히기
flex-wrap:wrap; 설정 후 창사이즈 변경때 나타나는 증상
선생님 덕분에 만들어볼 수 있을정도로 올수있었습니다 감사합니다ㅠㅠㅠ 현재 연습용으로 만들어보다가 안되는건 대충 구글검색으로 해결 가능한데, 이 버그같은(?) 문제는 어떤 키워드로 검색해야할지... 혹은 원래 이런현상이 있는거라서 flex레이아웃을 안쓰는건지.. 궁금해서요ㅠㅠㅠㅠ 핑크 네모박스들이 전체창이 줄어들때 부모격한테 flex-wrap: wrap;을 줘서 줄어들때 같이 줄어드는데, 근데 문제가 통통튀기듯이 아래로 내려갔다가 다시 자기자리로 오는게 너무 보기 싫어서 해결하고 싶은데 해결방법을 어떻게 해야할지 모르겠어서요 혹시 선생님 이런문제 보신적 있으실까요..? 혹시 영어로 어떤 키워드를 검색하면 나올지 대략 감이 오실까요ㅠㅠㅠ? 아래↓는 핑크 네모박스들의 엄마에게 준 css코드입니다! https://youtu.be/NgiRnScmjK8 (동영상 첨부를 할줄몰라서 유튜브에 올려 링크가져왔습니다ㅠㅠ) 죄송하구 감사합니다 선생님ㅠㅠㅠ