173만명의 커뮤니티!! 함께 토론해봐요.
미해결
readable_code::CMake - Fancy하게 C++ Project 만들기
gtest/configurate_package.cmake 에 project(GTest...) 를 넣으면 GTest 가 설치되지도 않았는데 find_package() 에서 있는 걸로 처리되어서 install 이 안되고 있습니다. 혹시 제가 놓친 부분이 있을까요?
mumbi
2024-05-03T06:54:26.589Z
댓글 1
좋아요 0
조회수 313
미해결
[코드캠프] 부트캠프에서 만든 고농축 프론트엔드 코스
안녕하세요!! 과제 완료해서 피드백 부탁드리고자 올렸습니다! 앞으로 잘 부탁 드립니당~ <html> <!DOCTYPE html> <html lang="ko"> <head> <title>회원가입</title> <link rel="stylesheet" href="./02-signup.css"> </head> <body> <div class="signUpContent"> <h2> 회원 가입을 위해<br> 정보를 입력해주세요 </h2> <label for="email" class="label text">* 이메일</label> <input id="email" class="input_text" type="text"> <label for="name" class="label text">* 이름</label> <input id="name" class="input_text" type="text"> <label for="password" class="label text">* 비밀번호</label> <input id="password" class="input_text" type="password"> <label for="password_chk" class="label text">* 비밀번호 확인</label> <input id="password_chk" class="input_text" type="password"> <div class="signUpChk"> <input id="gender_w" class="input_radio" type="radio" name="gender"> <label for="gender_w" class="label gender">여성</label> <input id="gender_m" class="input_radio" type="radio" name="gender"> <label for="gender_m" class="label gender">남성</label> </div> <div class="agreeChk"> <input type="checkbox" id="input_chk"> <span class="agree_text"> 이용약관 개인정보 수집 및 이용, 마케팅 활용 선택에 모두 동의합니다. </span> </div> <div class="out-line"> <div class="line"></div> </div> <button> <span>가입하기</span> </button> </di> </body> </html> <css> * { box-sizing: border-box; } h2 { font-size: 32px; color: #0068FF; font-weight: 700; line-height: 47px; } .out-line{ padding: 30px 0px; } .line { border-bottom: 1px solid #E6E6E6; } .label{ font-size: 16px; font-weight: 400; line-height: 24px; } .signUpContent{ width: 670px; height: 960px; border: 1px solid #AACDFF; border-radius: 20px; box-shadow: 7px 7px 39px rgba(0, 104, 255, .25) ; display: flex; flex-direction: column; padding: 72px 100px 70px 100px; } .label.text{ padding: 20px 20px 0 0; color: #797979; } .input_text{ border-style: none; border-bottom: 1px solid #CFCFCF; height: 60px; } .signUpChk{ display:flex; justify-content: center; align-items: center; padding: 50px 0; } .input_radio{ margin: 0 5px 0 0; width: 20px; height: 20px; } .label.gender{ padding-right: 30px; } .agreeChk{ display: flex; justify-content: center; align-items: center; } .agree_text{ height: 22px; font-size: 14px; font-weight: 400; line-height: 20px; } button{ width: 470px; height: 75px; background-color: #FFF; border: 1px solid #0068FF; border-radius: 10px; } button > span { font-size: 18px; font-weight: 400; color: #0068FF; }
react node.js seo graphql next.js
개발하는 알파카
2024-05-03T06:52:35.874Z
댓글 2
좋아요 0
조회수 305
미해결
카프카 완벽 가이드 - 코어편
안녕하세요 선생님 질문이 있습니다. acks = -1 이 All이라 하셨는데 예제에서 erorr를 따로 던지지 않는 이유가 min_insync_replicas 가 기본값이 0 이라서 그냥 성공하는것인가요?
dohyun_lim
2024-05-03T06:39:12.535Z
댓글 2
좋아요 0
조회수 289
해결됨
자바 ORM 표준 JPA 프로그래밍 - 기본편
[질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] 1. 명령어 창에 persist() 및 수정 코드 동시에 기입한 경우 2. 명령어 창에 수정 코드만 기입한 경우 위와 같이 persist()와 수정을 동시에 한 경우는 저장 쿼리만 나갈 뿐더러 실제 데이터베이스에도 수정된 결과가 반영이 되지 않은 것을 알 수 있었습니다 하지만 수정 코드만 적은 경우는 select 및 update 쿼리가 올바르게 나갈 뿐더러 데이터베이스에도 수정된 결과가 잘 반영이 되어있는 것을 알 수 있었습니다 이렇게 동작한 이유가 정확히 어떤 매커니즘으로 이렇게 된 것인지 궁금합니다 !
경민
2024-05-03T06:32:03.312Z
댓글 2
좋아요 0
조회수 234
미해결
Jenkins를 이용한 CI/CD Pipeline 구축
제목 그대로 톰캣 서버 띄우고 manager apps 404 에러가 발생합니다 톰캣 버전 9.0.88 버전 저장 후 셧다운 -> 재시작 다해봤습니다 어떻게 해야할까요... 허허
ansible jenkins kubernetes ci/cd sonarqube
Lian
2024-05-03T06:26:48.519Z
댓글 2
좋아요 0
조회수 661
미해결
나도코딩의 자바 기본편 - 풀코스 (20시간)
강의가 스트리밍의 멈춤 현상이 심각한데, 인프런에서 해결을 못해주고 있습니다. 스트리밍이 10초분량이라도 여유를 두고 들어와야되는데, 딱 멈춰버립니다. 환불을 해준다고 얘기하는데, 너무 답답합니다.시크릿 모드에서는 들어오는데, 일반 모드에서 안들어 옵니다.시크릿모드는 계속 로그인을 신경써야하는 거라서 너무 화가 납니다. 한 챕터의 강의는 파일 전체를 로딩후에 뿌려주면 되는데, 스크롤 따라서 스트리밍 여유가 따라서 줄어듭니다. 그거 해달라는게 무리한 요구인가요? 강의 파일을 다 다운받아서 보던지해야하는 건가요?
Vory I
2024-05-03T06:26:32.543Z
댓글 4
좋아요 0
조회수 402
미해결
플러터와 장고로 1시간만에 퀴즈 앱/서버 만들기 [무작정 풀스택]
! [remote rejected] master -> master (pre-receive hook declined) 이 에러가 계속 나오는데 검색해서 나오는 master를 main으로 바꾸거나.. force 하거나... 등등 뭐 나오는 거 다 해 보고 스택오버플러우 챗지피티랑 구글 제미나이한테 물어봤는데 하라는 대로 해도 계속 안 됩니다.. 포기 일보 직전인데 방법이 있을까요.. 참고로 플러터까진 잘 듣다가 파이썬이랑 쟝고 몰라서 맹목적으로 따라하는 중인데 이게 의미가 있는 건지 모르겠습니다.. ㅜ 깃랩도 처음 깔았고요(깃허브는 전에 가입만 했음)
왕만두
2024-05-03T06:13:56.617Z
댓글 1
좋아요 0
조회수 282
미해결
수학으로부터 인류를 자유롭게 하라(미적분학 Part.I) - 미분
기다리고있어요!
김연후
2024-05-03T06:10:52.841Z
댓글 2
좋아요 0
조회수 416
미해결
[코드팩토리] [초급] NestJS REST API 백엔드 완전 정복 마스터 클래스 - NestJS Core
작성했는데, validating C:\web\codeFactory\Nestjs\typeOrmPracticeReal\docker-compose.yaml: services.postgres Additional property enviroment is not allowed 라고 뜨면서 접속이 안됩니다. 무슨문제일까요?
javascript typescript rest-api nestjs backend
2024-05-03T06:09:53.291Z
댓글 2
좋아요 0
조회수 404
미해결
탄탄한 백엔드 NestJS, 기초부터 심화까지
AWS Lightsail ssh 에서 sudo npm run start:prod 를 입력하고 pm2 list을 넣어보았습니다. 잘 작동되는 것 같아 서버로 가봤는데 제 nest.js api가 실행되지 않는 걸 보고 pm2 log을 넣어봤는데도 크게 이상이 없는 것 같습니다. 그런데 여전히 들어갈 수가 없네요. postman에서도 http://<IP>/user/test 접근을 시도해도 똑같이 작동이 되지 않습니다. 뭐가 문제일까요?
node.js mongodb express nestjs ssr
임동규(DongGyu Im)
2024-05-03T05:52:26.479Z
댓글 1
좋아요 1
조회수 435
미해결
본 계층의 컨트롤을 디테일에서 직접 확인한 회전 값 ( 오일러 xyz) 과 "to Euler" 로 얻은 회전 값이 서로 다릅니다. (정확히는 x축과 y축의 부호가 다릅니다.) 이게 왜 그런건지 알고 싶습니다... 그리고 To Euler 에서 Order를 바꾸는 것에 따른 출력 차이를 알 수 있을까요?
unreal controlrig blueprint
themoon007
2024-05-03T05:47:49.802Z
댓글 1
좋아요 0
조회수 177
미해결
스프링 시큐리티 완전 정복 [6.x 개정판]
여기서 강의 나오는 버전 경우 spring security 버전이 6.x 버전입니다. 현재 실무에서 사용하고 있는 spring boot 버전이 2.6.x 인데요. boot 업그레이드 하지 않고 security 버전을 6.x 버전으로 올려도 괜찮을까요?... implementation group: 'org.springframework.boot', name: 'spring-boot-starter-security', version: '3.2.5' build.gradle 파일에 이렇게 수정해서 올렸더니 @EnableWebSecurity 같은 중요한 객체가 import가 안되는 문제가 생겨서요 ㅠㅠ
spring spring-boot spring-security security web-security
리나
2024-05-03T05:42:32.287Z
댓글 2
좋아요 1
조회수 555
미해결
프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
안녕하세요! 강의자료 부탁드리겠습니다! lution88@gmail.com lution88@naver.com
LUTION88 YOON
2024-05-03T05:09:38.285Z
댓글 1
좋아요 0
조회수 155
미해결
실전! Querydsl
영한님이 말하시기에 자기는 application-local, dev, 운영 이렇게 나누신다고 하셨습니다. 당연히 나누어야 하는 것에 동의합니다. 하지만 왜 IntelliJ 내에서도 나누어야 하는지 궁금합니다 . 그냥 저는 local yml 만 인텔리제이에 두고 dev yml 은 따로 팀 공동 노션에 보관하는데 그걸 intelliJ 내에서 돌리는 일이 거의 없었던 것 같습니다. 왜 intelli J 내에서 따로 운영 yml 이나 이런 걸 보관하는 건가요??
dionisos198
2024-05-03T04:34:01.365Z
댓글 1
좋아요 0
조회수 249
미해결
스프링 핵심 원리 - 기본편
해당 오류입니다. org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'singletonWithPrototypeTest1.ClientBean': Unsatisfied dependency expressed through field 'prototypeBeanProvider': No qualifying bean of type 'javax.inject.Provider<hello.core.scope.SingletonWithPrototypeTest1$PrototypeBean>' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {@org.springframework.beans.factory.annotation.Autowired(required=true)} 빈 주입이 안되어 오류가 나는 것 같아 @ComponentScan도 달아봤습니다. 빈을 못찾는다고 할까요 package hello.core.scope; import jakarta.annotation.PostConstruct; import jakarta.annotation.PreDestroy; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.context.annotation.ComponentScan; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Component; import javax.inject.Provider; import static org.assertj.core.api.Assertions.*; @ComponentScan public class SingletonWithPrototypeTest1 { @Test void prototypeFind() { AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(PrototypeBean.class); PrototypeBean prototypeBean1 = ac.getBean(PrototypeBean.class); prototypeBean1.addCount(); assertThat (prototypeBean1.getCount()).isEqualTo(1); PrototypeBean prototypeBean2 = ac.getBean(PrototypeBean.class); prototypeBean2.addCount(); assertThat (prototypeBean2.getCount()).isEqualTo(1); } @Test void singletonClientUserPrototype(){ // 스프링 컨텍스트를 생성하고 빈을 가져옴 AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(ClientBean.class, PrototypeBean.class); ClientBean clientBean1 = ac.getBean(ClientBean.class); int count1 = clientBean1.logic(); assertThat (count1).isEqualTo(1); ClientBean clientBean2 = ac.getBean(ClientBean.class); int count2 = clientBean2.logic(); assertThat (count2).isEqualTo(1); // 같은 count가 증가함 } @Scope("singleton") @Component static class ClientBean{ // ObjectProvider를 통해 싱글톤 빈과 프로토타입을 함께 사용가능 @Autowired private Provider<PrototypeBean> prototypeBeanProvider; public int logic(){ PrototypeBean prototypeBean = prototypeBeanProvider.get(); prototypeBean.addCount(); int count = prototypeBean.getCount(); return count; } } @Scope("prototype") @Component static class PrototypeBean { private int count = 0; public void addCount() { count++; } public int getCount(){ return count; } @PostConstruct public void init(){ System. out .println("PrototypeBean.init" + this); } @PreDestroy public void destroy(){ System. out .println("PrototypeBean.destroy" + this); } } }
4562sky
2024-05-03T04:17:46.059Z
댓글 2
좋아요 2
조회수 1383
미해결
자바(Java) 알고리즘 문제풀이 입문: 코딩테스트 대비
import java.util.HashMap; import java.util.Map; import java.util.Scanner; public class 매출액의_종류 { public static void main(String[] args) { Scanner scan = new Scanner(System.in); int n = scan.nextInt(); int k = scan.nextInt(); int[] arr = new int[n]; for(int i=0;i<n;i++){ arr[i] = scan.nextInt(); } System.out.println(mySol(n,k,arr)); } private static String mySol(int n, int k, int[] arr) { String result = ""; Map<Integer,Integer> map = new HashMap<>(); for(int i=0;i<k-1;i++){ map.put(arr[i],map.getOrDefault(arr[i],0) + 1); } int lt = 0; for(int rt=k-1;rt<n;rt++){ map.put(arr[rt],map.getOrDefault(arr[rt],0) + 1); result += map.size() + " "; map.put(arr[lt], map.get(arr[lt]) - 1); if(map.get(arr[lt]) == 0) map.remove(arr[lt]); lt++; } return result; } }
김대영
2024-05-03T03:15:10.941Z
댓글 1
좋아요 0
조회수 260
해결됨
스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
[질문 템플릿] 1. 강의 내용과 관련된 질문인가요? 예 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? 예 3. 질문 잘하기 메뉴얼을 읽어보셨나요? 예 [질문 내용] BasicItemController를 만드실때, 상품 목록은 items 상품 조회메서드는 item 같이 메서드명을 명사로 지었는데, 굳이 메서드명을 동사로 안지어도 될까요? 어차피 Mapping URL이 중요하고 메서드명은 큰의미없어서 관례를 따르지 않은건가요?
배려하기
2024-05-03T03:08:41.597Z
댓글 1
좋아요 1
조회수 269
해결됨
[UI3 업데이트] 피그마 배리어블을 활용한 디자인 시스템 구축하기
안녕하세요 선생님, 얼마전에도 질문을 남겼는데 너무 상세히 답변 잘 해주셔서 감사했습니다. 디자인시스템을 만들다보니 질문이 많이 생기네요. 혹시 컴포넌트에 사용되는 요소에 primitive 컬러값을 참조해도 될까요? 뱃지컬러나 tooltip 배경컬러 등 다른 요소에서는 중복으로 사용 되지 않는 컬러를 컴포넌트에 사용한다는 이유로 시멘틱 컬러로도 등록을 해줘야할지 고민입니다. 선생님은 어떻게 생각하시는지 궁금합니다!! 오늘도 좋은하루 보내세요 :)
figma figma-tokens 디자인-시스템 아토믹-디자인 figma-variable
hycho
2024-05-03T02:47:59.775Z
댓글 1
좋아요 0
조회수 462
해결됨
두고두고 써먹는 유니티 VR
안녕하세요 Weapon line의 Reticle Point를 UI에 맺히게 하려고 하는데 캔버스에 콜라이더를 줘서 맺히기는 하는데 다른 방법이 혹시 있을까요?
이과계의남자
2024-05-03T02:44:22.323Z
댓글 1
좋아요 0
조회수 198
미해결
현재 피그마 강의가 오늘 마감인데요.. 회사 퇴사하고 피그마를 쓰지 않아서 한동안 안보다가 결재한게 아까워서 부랴부랴 완강 하려고 노력중입니다.. 강의 연장 신청을 할 수 있을까요..?
Hwi_Yong_UM
2024-05-03T02:15:21.996Z
댓글 1
좋아요 0
조회수 91