묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결15일간의 빅데이터 파일럿 프로젝트
클라우데라 매니져 접속하기 ERR_CONNECTION_REFUSED 에러
안녕하세요. 클라우데라 매니져 접속하기 문제에서 오류가 발생합니다. 프록시도 인터넷에 검색을 해서 변경을 하고 재부팅까지 했으나 계속해서 동일한 오류가 발생합니다.
-
해결됨[리뉴얼] Node.js 교과서 - 기본부터 프로젝트 실습까지
제로초님 궁금한게 있습니다.
1. 이미지파일뿐 아니라 pdf등 다른 파일들도 업로드가 되는데 이걸 막을 방법은 없나요? 만약 유저가 이미지를 업로드해야하는데 다른 파일을 업로드하게되면 저장도되고 디비에도 경로가 저장될텐데 그러면 저장은 어쩔수없이 되지만 불러올때 이상한 파일을 불러오게 되는건가요? 2. upload.fields를 써서 multiple로 여러개의 요청을 여러개파일로 받아봤는데 limits : 1 로해서 한 장으로 제한하거나 심지어 limits: 0으로 해도 multiple 로 보낸 여러장의 이미지가 다 업로드 정상적으로 됩니다.. limits를 잘못쓰고있는건가요
-
미해결자바(Java) 알고리즘 문제풀이 입문: 코딩테스트 대비
선생님 저 코드에서 최단거리인지 판별하는 것은
선생님 저 코드에서 최단거리인지 판별하는 것은 dis[7][7]에 어떤 수가 들어가면 바로 코드가 종료되는 조건도 없는데 어떻게 판별하는 것인가요...? 이 문제는 도착지점까지 도착하는 경로가 2개 뿐이라서 while(!Q.isEmpty()) 이 조건때문에 둘 중에 먼저 도착하면 자동으로 다른 경로를 계산할 때, Queue가 비어있게 되어서 반복문이 종료되어서 그게 가능하지만 도착하는 경로가 3개 이상일 경우에는 불가능 할 것 같은데 그때는 따로 조건을 추가해줘야 되나요...?
-
미해결파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)
소스코드 관련 질문이 있습니다.
안녕하세요 :) 섹션 2. 6번 자릿수의 합에서 소스코드 관련하여 질문드립니다. 문제에서는 자릿수의 합이 같은 경우 입력순으로 먼저인 숫자가 출력이 된다고 되어있는데, 강의에서 풀이해주신 부분은 마지막에 입력된 숫자가 출력이 되는것 같습니다. max = -2147000000 for x in a : tot = digit_sum(x) if tot>max: max = tot res = x print(res) input1 7 137 460 603 40 521 128 125 >> 해당 텍스트로 인풋값을 넣었을 때 137이 출력이 되어야하는데 선생님이 설명해주신 코드로는 128이 출력이 되어, 혹시 코드가 변경되어야하는게 아닐까요?
-
미해결SCSS(SASS)+GRID+FLEX 실전 포트폴리오 퍼블리싱
선생님 질문 있습니다
안녕하세요! 강의 정말 유익하게 잘 듣고 있습니다. 다름이 아니라 제가 강의 내용을 바탕으로 조금 수정해보면서 만들고 있는데 a태그가 선택이 되질 않아 여쭙고 싶어서 문의 드립니다. html <!DOCTYPE html> <html lang="ko"> <head> <meta charset="UTF-8"> <meta name="viewport" content="width=device-width, initial-scale=1.0"> <title>본문</title> <!-- Custom CSS --> <link rel="stylesheet" href="style.css"> <!-- jQuery CDN --> <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script> <!-- Featherlight.js --> <script src="script/featherlight/featherlight.js"></script> <link rel="stylesheet" href="script/featherlight/featherlight.css"> <!-- fontawesome --> <script src="https://kit.fontawesome.com/c21d7630fc.js" crossorigin="anonymous"></script> </head> <body class="indexbody"> <section class="indexmain"> <div> <h1> <span>LATEST </span> RECIPES </h1> </div> <div class="items"> <div> <a href="portfolio/portfolio-01.html" data-featherlight="iframe"><img src="images/test1.jpg"></a> <i class="xi-plus-thin"></i> <span> 난이도 '하'</span> <p> 라면</p> </div> <div> <a href="portfolio/portfolio-01.html"> <img src="images/test2.jpg"> </a> <i class="xi-plus-thin"></i> </div> <div> <a th:href="@{/}"> <img src="images/test3.jpg"> </a> <i class="xi-plus-thin"></i> <span> 난이도 '중' </span> <p> 파스타</p> </div> <div> <a th:href="@{/}"> <img src="images/test3.jpg"> </a> <i class="xi-plus-thin"></i> <span> 난이도 '하' </span> <p> 치킨</p> </div> </div> <br> <br> <div> <div classs="seemoreline"> <p class="seemore"> see more <i class="fa-solid fa-angles-right"></i></p> </div> </div> <br> <br> <div> <h1> <span>QUICK </span> 30-MINUTE MEALS</h1> </div> <div class="items"> <div> <a th:href="@{/}"> <img src="images/test7.jpg"> </a> <i class="xi-plus-thin"></i> <span> 0</span> </div> <div> <a th:href="@{/}"> <img src="images/test8.jpg"> </a> <i class="xi-plus-thin"></i> <span> 06</span> </div> <div> <a th:href="@{/}"> <img src="images/test9.jpg"> </a> <i class="xi-plus-thin"></i> <span> 07</span> </div> <div> <a th:href="@{/}"> <img src="images/test3.jpg"> </a> <i class="xi-plus-thin"></i> <span> 난이도 '중' </span> <p> 08</p> </div> </div> </section> </body> </html> scss //variables $font-base:10px; $color-base:#fff; //Mixin //기본 서식 상태 @mixin default { font-family: 'Montserrat Alternates', sans-serif; margin: 0; color: #222; line-height: 1.6em; background-color: #f8f8f8; } @mixin heading { font-family: 'Montserrat Alternates', sans-serif; text-align: center; font-weight: normal; position: relative; padding-bottom: 30px; &:before { content: ''; position: absolute; width: 100px; height: 4px; background-color: crimson; bottom: 0; left: 50%; transform: translateX(-50%); } span { color: crimson; } } /* Google Web Font */ @import url('https://fonts.googleapis.com/css2?family=Montserrat+Alternates:ital@1&family=Nanum+Gothic&display=swap'); @font-face { font-family: 'SuncheonB'; src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2202-2@1.0/SuncheonB.woff') format('woff'); font-weight: normal; font-style: normal; } /* XEION CDN */ @import url('http://cdn.jsdelivr.net/npm/xeicon@2.3.3/xeicon.min.css'); .indexbody { @include default; height: 100vh; display: grid; justify-content: center; margin: 200px 20%; } // indexmain section .indexmain { margin: 15px; display: flex; flex-direction: column; h1 { @include heading; font-size: $font-base*4; } .items { display: grid; grid-template-columns: repeat(4, 1fr); column-gap: 40px; row-gap: 40px; div { border-radius: 6px; overflow: hidden; box-shadow: 0 0 9px rgba(54, 53, 53, 0.3); position: relative; a { img { width: 100%; display: block; } } i { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%) scale(0.2); opacity: 0; font-size: 40px; color: $color-base; } span { position: absolute; bottom: -40px; width: 100%; text-align: center; padding: 10px; color: $color-base; font-weight: bold; font-size: 30px; font-family: 'Nanum Gothic', sans-serif; color: rgb(255, 255, 255); } p { font-family: 'SuncheonB'; font-size: 20px; text-align: center; } span, i, &:before { transition: 0.2s; // all = default값 pointer-events: all; } &:before { content: ''; position: absolute; top: 0; left: 0; width: 100%; height: 100%; background-color: rgba(0, 0, 0, 0.418); opacity: 0; } &:hover:before { opacity: 1; } // .items div:hover 선택자 &:hover i { transform: translate(-50%, -50%) scale(1); opacity: 1; } &:hover span { bottom: 70px; } } } .seemore { border: 1px solid #000; height: 35px; width: 120px; text-align: center; padding-top: 10px; margin-left: 45%; } .seemore:hover { color: white; background-color: crimson; border: 1px solid crimson; } } /*tablet*/ @media (min-width: 768px) and (max-width: 1366px) { .indexbody { height: auto; } .indexmain { h1 { font-size: $font-base*4; } .items { grid-template-columns: repeat(2, 1fr); } .seemore { margin-left: 39%; } } } /*mobile*/ @media (max-width: 768px) { .indexbody { height: auto; } .indexmain { h1 { font-size: $font-base*4; } .items { grid-template-columns: repeat(1, 1fr); } .seemore { margin-left: 34%; } } } /* featherlight Custom CSS */ .featherlight .featherlight-content { margin-left: 0 !important; margin-right: 0 !important; max-height: 100% !important; width: 100%; height: 100%; } .featherlight .featherlight-inner { width: 100%; height: 100%; } .featherlight .featherlight-close-icon { top: 90% !important; left: 30px !important; line-height: 50px !important; width: 50px !important; font-size: 28px; background-color: crimson !important; color: #fff !important; border-radius: 50%; } 이런식으로 강의 내용에서 items에 p랑 span만 추가로 더 넣어준 상태로 만들고 featherlight를 추가 했는데 계속 실행이 되지 않았습니다. 제 생각에는 썸네일에 마우스를 올리면 커서가 바뀌지 않아 a태그가 선택되지 않는 상태인거 같습니다. 그래서 z-index도 추가해보고 postion값도 변경해봤는데도 실행이 되지 않아서 문의 드립니다. 어떤 부분을 수정하면 제대로 동작할지 한번 봐주시면 정말 감사하겠습니다.
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
상속관계 JOINED일때 persist(), find()
안녕하세요 강사님, 덕분에 좋은 수업 잘 듣고 있습니다! 질문이 있어서 글을 남깁니다 예제와는 다르게, 저는 Item을 슈퍼로 두고, album, book, movie를 서브 객체로 상속받아서 해보고 있습니다. 그런데, Repository는 예제와 동일하게 개발했음에도 불구하고, persist() 또는 find() 실행시 JPA가 알아서 item에 album, book, movie을 외부 조인해서 쿼리문을 처리하는 것을 확인했습니다. 이렇게 상속 관계에 있을때 자동으로 조인을 해주는 것이 기본적으로 일어나는 상황이 맞는건가요? 또한, 저는 Item과 Book만 외부 조인을 하면 되는데, 자동으로 상속 관계에 있는 album, book, moive 모두 외부 조인을 하는 것으로 보이는데요, 이렇게되면 성능 면에서 적합하지 않을 것 같습니다. 혹시 book인 것을 확인하고 book만 외부 조인하도록 하는 팁이 있을까요? 감사합니다!
-
미해결게임 프로그래머 취업 전략 가이드
서버 스펙관련 질문입니다
서버쪽은 클라보다 학력이나 이런게 중요하다고 하샸는데 소위 말하는 스펙이 중요하다고 이해했습니다 따라서 같은 컴퓨터 공학 전공 4년제여도 대학 네임벨류에 따라 수준 차이가 크니 하위권 대학은 컴공 4년제가 큰 의미가 없어질 수도 있는지 궁금합니다! 또한, 서버쪽에서 오래 일하려면 석사 학위는 어떤지 궁금합니다!
-
미해결스프링 부트 개념과 활용
외부 설정과 관련된 질문입니다.
[질문] @Value로 정의된 값을 특정 클래스에서만 다르게 값을 재정의 할 수 있나요? [내용] ....->a->b->c->.... 순서로 읽히는 클래스가 있을 때 (....은 이전, 이후 클래스들 입니다.) a와 a이전 클래스들, c와 c이후 클래스들은 외부설정의 우선순위(3) application.properties 파일의 key, value를 읽고 b에서만 외부설정의 우선순위(13) @TestProperty로 해당 key, value를 재정의 한 값을 읽히려고 합니다. 결국 ....(3)->a(3)->b(13)->c(3)->....(3)을 의도하였는데 위와 같이 세팅을 하고 나서 run하면 ....(3)->a(3)->b(13)->c(13)->....(13)이 되어버립니다. 투박하지만 c에서 다시 @TestProperty와 같은 상위 외부 설정을 통해 다시 Override하면 되겠지만, 추후 클래스가 추가되는 경우엔 굉장히 비효율적이라고 생각해서 어렵네요. 의도하고자 한 내용대로 구현하는 방법이 있을까요?
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
실행안됨
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]여기에 질문 내용을 남겨주세요. 실행버튼이 나타나지 않습니다ㅜㅜ 다른 분들 질문을 읽어보고 설정을 하는데 저는 java로 나타나지 않고 jdk로 나타나는데 이것때문일까요? 자바11을 제대로 설치 했는데 왜 저렇게 나오는지 모르겠습니다.. build.gradle을 project로 계속 열어봐도 안되네용
-
미해결공공데이터로 파이썬 데이터 분석 시작하기
역슬래시
바보같은 질문이지만..ㅠㅠ 역슬래시를 어떻게 치나요...
-
미해결[신규 개정판] 이것이 진짜 크롤링이다 - 실전편 (인공지능 수익화)
네트워크프레임에서 주소를 가져오는 이유에 대해서 알려주세요
기존처럼 주소 입력청애서 가져오지 않고 네트워크에서 가져오는 이유가 궁금합니다 이런 방법을 사용해여하는 케이스에 대해서도 알려주시면 감사하겠습니다.
-
해결됨실전! 스프링 부트와 JPA 활용2 - API 개발과 성능 최적화
커멘드와 쿼리 분리에 대해
안녕하세요 항상 강의 잘 듣고 있습니다! 제가 이해력이 부족하여 모든 질문을 보았음에도 이해가 가지않아 질문 합니다! ㅜ 현재 강의의 예시에는 -------- orderV3 컨트롤러 -> 읽기전용 @Transactional이 설정된 OrderQueryService -> OrderRepository 이렇게 호출이 되어 있는데요 -------- 이 예시는 핵심 비즈니스 로직 없이 OrderQueryService 즉 화면이나 API에 맞춘 서비스만 있는 예시인건가요 ? 아니면 Repository 호출을 OrderService가 있다고 치고 OrderQueryService안에 OrderService(핵심비즈니스로직)이 있고 그안에 OrderRepository를 호출 했다고 치는건가요 ? -------- (예를들면 이렇게 ) orderV3 컨트롤러 -> OrderQueryService -> OrderService(생략) -> OrderRepository -------- 결론은 OrderService와 OrderQueryService가 같이 어떻게 쓰여지는지 이해가 가질 않습니다..
-
미해결
Last Minute Flight Deals
Somewhat late Airline Tickets Need to fly soon and looking for last moment flights? Whether you are flying for business or delight, Faresquestus has accompanied modest somewhat late trips to top homegrown and worldwide objections. Profit these Last Minute Flight Deals latest possible moment travel arrangements and plan your vacation trips, end of the week escapes or winter excursion. At Faresquestus there are more than adequate arrangements accessible to browse. What is viewed as Last moment Travel? Somewhat late travel can be characterized as going inside a couple of long periods of arranging. Dissimilar to trips arranged ahead of time, last moment travel incorporates setting out on a visit in no less than 14 days of booking overall. Numerous voyagers like going without arranging in earlier and many need to travel on account of any explanation showed up at absolute last minutes. Keeping this in thought, numerous OTAs and aircrafts offer latest possible moment flight bargains and numerous convenience properties offer arrangements on last moment lodgings. Latest possible moment travel is particularly for the people who aren't set for a specific inn or even objective. How to track down modest last moment flights? Fly Late: Being prepared to fly late frequently assists you with getting last moment trips at the positive rate. Everybody isn't willing to get on a red eye flight, so on the off chance that you prepared to deal with the rest interruption, you can score a fair setup. Red eye flights are quite often less expensive than the daytime flights. Use Air Miles : You can utilize your air miles to save money on last moment flights. Carrier miles become an incredible guardian angel with regards to booking last moment flights. Be Flexible : Being adaptable with area will assist you with getting a fair setup. Looking for trips for a considerable length of time, will expand your possibilities hitting a reasonable somewhat late flight bargain. Pursue Price Alerts : To guarantee you get great cost on airfare, pursue the cost alarms. This will assist you with getting notices so you don't pass up a great opportunity these offers. Fly in Budget Airline : Budget carriers offer less expensive tickets than their partners. However, be prepared to think twice about extra space to move around. Do carriers truly offer arrangements on last moment flights? While it is still best practice to buy boarding passes weeks or months ahead of time, carriers will some of the time have bargains for travelers hoping to book last moment flights that have void seats to fill. There can be quite a few motivations behind why seats on a particular trip to objective are accessible. Explorers can drop their tickets days before departure or public interest in an area can drop off. Anything the explanation, aircrafts realize when they won't have an adequate number of travelers on a trip to create a gain and will cut costs to attempt to fill the vacant seats and bring in cash. Obviously, voyagers can't see which flights will get discounted costs until the aircrafts bring down the passages. In this way, to cash on and save money on last moment flights, you must be adaptable. How late could I at any point book a flight? Various carriers have various principles in regards to last-minute flights. By and large, you can book a trip up until two hours from the planned takeoff season of the flight. Read More:- https://www.faresquestus.com/Deal/Last-Minute-Flights-Deals
-
미해결따라하며 배우는 MySQL on Docker
안녕하십니까 도커 이미지랄 로컬에 자동으로 저장하게 하려면 어떻게 해야할까요?
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. `Unable to find image 'percona:5.7.30' locally` 와 같이 이미지가 로컬에 없다는 메시지만 뜨고 자동으로 다운이 받아지지 않습니다. 서칭에 따라 docker login 이라는 명령으로 권한을 얻어 해봤는데 역시 같습니다. 답변 부탁드립니다. 감사합니다.
-
미해결언리얼 엔진4 입문 (C++ 기반)
델리게이트에서 해당 람다는 제거 안해도 되나요?
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 람다의 추가만 있어 계속 쌓이는거 아닌가요?
-
해결됨[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
안녕하세요. 좋은 강의 너무나 감사합니다!
먼저 이런 좋은 강의 남겨주셔서 너무나 감사드립니다. 1. DirectX를 조금 더 깊게 공부하고 싶은데 11과 12중에 어떤것을 배우면 될까요?? 2. 일하는 시간대가 학원과 시간대가 안맞아서 그런데 DirectX 를 공부할 수 있는 책이나 온라인 강의 추천해주시면 정말정말 감사하겠습니다! 3. 혹시 DirectX에 대한 정보를 얻을 수 있는 커뮤니티가 있을까요?? 4. 그리고 Node.js를 배우는데 책이나 온라인강의 추천해주시면 감사하겠습니다!
-
미해결공공데이터로 파이썬 데이터 분석 시작하기
Python 3(ipykernel) 이라고 뜹니다.
안녕하세요 선생님, 시작한지 얼마 안되었지만 선생님 강의에 용기를 얻어 열심히 수강하고 있습니다. 다름아니라 Jupyter Notebook 실행하면 화면 오른쪽 상단에 저 같은 경우 Python 3가 아닌, Python 3(ipykernel) 이라고 뜨는데, 문제가 없는 걸까요? 만약 Python 3로 나올수 있게 하는 방법이 있다면 도움 부탁드리겠습니다.
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
useQuery refetch
제로초님 제가 react-query useQuery Hook을 사용하여 데이터를 받아왔습니다. 이 데이터 값들을 버튼 onClick 함수를 만들어서 버튼을 클릭할 때마다, useQuery api 요청을 콜을 해 주고 싶습니다. 그래서 찾아보니 useQuery refetch 를 알게되었고, refetch 함수를 onClick 함수에 넣어주었는데, 동작을 하지 않네요 ㅠㅠ. useQuery api를 버튼을 클릭할 떄 마다 api call 을 해주고 싶은데 어떻게 해줘야 할까요...
-
미해결Slack 클론 코딩[실시간 채팅 with React]
/api/users 데이터 체크
안녕하세요 강사님 userData 확인하는 부분에 대해 문의드립니다. const { data: userData } = useSWR('api/users', fetcher); const { data: channelData } = useSWR<IChannel[]>( userData ? `/api/workspaces/${workspace}/channels` : null, fetcher ); 모달이나 채팅 컴포넌트 등 만들때 위처럼 userData가 있으면 channelData를 가져오도록 user 데이터가 있는지 매번 확인을 하던데 export const WorkspaceLayout = () => { const { data } = useSWR('/api/users', fetcher); const navigate = useNavigate(); useEffect(() => { if (!data) navigate('/login'); }, [data, navigate]); return ( workspace 레이아웃에 userData가 없으면 login 페이지로 가도록 하는 코드가 있는데 굳이 매번 확인을 해야하는지 궁금해서요! workspace페이지가 보인다 = user가 있다 라고 볼 수 있으니 컴포넌트 생성시 user가 있으면 출력~~ 하는 방식은 생략해도 괜찮은가요? 아니면 혹시모를 상황을 위해 user값을 항상 확인하고 데이터를 출력하는게 맞는건지 궁금합니다.
-
미해결[파이토치] 실전 인공지능으로 이어지는 딥러닝 - 기초부터 논문 구현까지
질문 드립니다!
강의에서 features에 512개의 Average Pooling 값이 들어간다고 말씀해 주셨는데 왜 이게 features의 차원이 512개인지 궁금합니다! (Batch_Size, # of Filter, H, W) 이렇게 4차원의 데이터가 들어오는게 아닌가요??