버튼이 눌려지면 새 창 띄우기
미해결
예제로 살펴보는 PyQt Tutorial
버튼이 눌렸을 때 새 창 띄우는것은 어떻게 하는건가요
- pyqt
- GUI
176만명의 커뮤니티!! 함께 토론해봐요.
미해결
예제로 살펴보는 PyQt Tutorial
버튼이 눌렸을 때 새 창 띄우는것은 어떻게 하는건가요
미해결
데이터 분석 SQL Fundamentals
--- 13. 상품별 매출합을 구하되, 상품 카테고리별 매출합의 5% 이상이고, 동일 카테고리에서 상위 3개 매출의 상품 정보 추출. -- 1. 상품별 + 상품 카테고리별 총 매출 계산. (상품별 + 상품 카테고리별 총 매출은 결국 상품별 총 매출임) -- 2. 상품 카테고리별 총 매출 계산 및 동일 카테고리에서 상품별 랭킹 구함 -- 3. 상품 카테고리 매출의 5% 이상인 상품 매출과 매출 기준 top 3 상품 추출. with a as ( select oi.product_id, sum (amount) sum_amt, category_id from order_items oi join products p ON oi.product_id = p.product_id group by category_id, oi.product_id order by 1,3), b as ( select category_id, product_id, sum_amt, sum (sum_amt) over ( partition by category_id) sum_total, sum_amt/ sum (sum_amt) over ( partition by category_id) sum_ratio, row_number () over ( partition by category_id order by product_id desc ) rank_prd from a) select * from b where sum_ratio >= 0.05 and rank_prd <= 3 order by 1,2,6 그런데 정답과 수치가 다르고 2위가 안나오기도 합니다.. 뭐가 잘못된 걸까요.. 아무리 봐도 쿼리상으로는 틀린 걸 찾을 수가 없어요
미해결
데이터 분석 SQL Fundamentals
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. --- 13. 상품별 매출합을 구하되, 상품 카테고리별 매출합의 5% 이상이고, 동일 카테고리에서 상위 3개 매출의 상품 정보 추출. -- 1. 상품별 + 상품 카테고리별 총 매출 계산. (상품별 + 상품 카테고리별 총 매출은 결국 상품별 총 매출임) select category_id, oi.product_id, sum (amount) over ( partition by category_id order by oi.product_id) sum_amt from order_items oi join products p on oi.product_id = p.product_id 이 구문은 왜 틀렸을까요? 그리고 윈도우 함수에서 partition by와 order by의 차이를 잘 모르겠어요...
해결됨
[리뉴얼] React로 NodeBird SNS 만들기
백엔드 서버에서 cookie 가 제대로 생성되었는지 확인할 수 있는 방법이 있을까요?
미해결
Spring Cloud로 개발하는 마이크로서비스 애플리케이션(MSA)
현재 스프링부트 버전맞추고 클라우드버전도 강사님과 똑같이 맞췄는데 유레카서버 띄우고 유저서비스 띄우면 유레카에서 발견되는데 그 이후에 유저서비스를 종료하면 유레카에서도 사라져야하지않나요?? 그런데 저는 계속 남아있습니다.. 새로 유저서비스를 실행하면 또 등록이 되고 있는 상태인데 어떻게 해결할 수 있을까요??
미해결
스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
클래스 의존성이 아래와 같이 되어도 문제가 없는지 궁금해서 질문드립니다. AService에서 ARepo,BRepo를 주입받고, BService에서 ARepo,BRepo를 주입받는 상황 AController에서 AService, A2Service를 주입받고, AService에서 A2Service를 주입받는 상황 위 각각 두가지 상황이 설계상 괜찮은 부분일까요(단반향 의존성)?
해결됨
[리뉴얼] React로 NodeBird SNS 만들기
deserializeUser 파라미터에 기존의 function 문을 사용하면 await 사용이 문법적으로 불가한가요? 위에 서처럼 밑이 줄이 쳐지면서 vscode 에서 에러가 나오네요.
미해결
코딩으로 학습하는 리팩토링
class Member { String id; String name; String addr; int age; } 위와 같은 클래스가 있고, 그중 절반정도의 필드를 매개변수로 넘겨야 할 경우, 아래 2가지중 하나를 선택하는 고민을 매번 하게 됩니다. 1) void check(id, name); 으로 할것인가 2) void check(Member member); 로 할것인가 클래스의 모든 필드를 참조한다면 , 당연히 객체를 통째로 넘기면 되나, 절반 정도만 사용한다면 고민이 됩니다. 범용적일 필요가 없는 메서드라고 하더라도, 불필요한 값들을 객체를 통째로 넘기므로, 이 객체필드중 어떤걸 사용하지? 하면서 '구현'을 찾아봐야 하는 단점이 있어 보입니다. 사용하는것만 무조건 넘겨야 한다면, 매개변수 갯수가 늘어나거나, 전용 dto를 만들어야 하니 불편하고, 통째로 넘기는걸 반복하다 보면 의미없는 필드가 더 많은 객체를 매개변수로 넘기는 것과 다름없는 문제가 있어보입니다. 절충점을 어떻게 찾아야 할까요?
미해결
피그마(Figma)를 활용한 UI디자인 입문부터 실전까지 A to Z
스케치, 와이어프레임, 유저 플로우, UI디자인 등등.....
미해결
피그마(Figma)를 활용한 UI디자인 입문부터 실전까지 A to Z
제플린에서 아이콘이나 버튼 이미지 등등 하나하나 이미지를 다 다운받아서 주는 개념인가요? 즉 예전에 홈페이지 만들때 개발자한테 디자이너들이 이미지 잘라서 주듯이요.
미해결
풀스택 리액트 토이프로젝트 - REST, GraphQL (for FE개발자)
안녕하십니까 목록뷰 구현하기에서 Invalid Date 오류가 나서 소스 파일을 참조 하려고 파일을 다운로드 받아보니 안에 소스 파일이 없습니다. https://github.com/roy-jung/api-practice api-practice-main.zip [아래 코드는 강의에서 따라 한 것입니다. 아무래도 오류가 없는데.. Invalid Date 오류가 발생합니다] const MsgItem = ({ userId, tiemestamp, text }) => ( <li className="messages__item"> <h3> {userId}{" "} <sub> {new Date(tiemestamp).toLocaleString('ko-KR', { year: 'numeric', month: 'numeric', day: 'numeric', hour: '2-digit', minute: '2-digit', hour12: true, })} </sub> </h3> {text} </li> );
해결됨
스프링 핵심 원리 - 기본편
1.isEqualTo 동작과정이 궁금합니다! isEqualTo 양변이 Integer로 오토박싱이 일어난 후 Integerclass에 정의된 equals가 호출되면서 동등성 비교가 일어나는 건가요? 2.isEqualTo vs isSameTo 가 헷갈립니다 isSameTo는 동일성(객체주소) 비교고 좌변 isEqualtTo는 좌변의 equals가 재정의가 되어 있지 않으면 동일성(객체주소)비교이고 재정의 되면 동등성(값비교)or재정의된 equals로 비교가 되는 걸로 정리하면 될까요?
미해결
Vue.js 완벽 가이드 - 실습과 리팩토링으로 배우는 실전 개념
인프런 아이디 : jabpal07@naver.com 인프런 이메일 : jabpal07@naver.com 깃헙 아이디 : ldabinn@gmail.com 깃헙 Username : dabin-lee
미해결
[리뉴얼] 타입스크립트 올인원 : Part1. 기본 문법편
interface Add { (x: number, y: number): number; (x: string, y: string): string; } 이것도 넓은 타입의 파라미터를 좁은 타입의 파라미터에 넣은 것으로 보고 반공변성에 해당한다고 볼 수 있나요? const add: Add = (x: any, y: any) => x + y;
해결됨
[코드캠프] 시작은 프리캠프
html <!DOCTYPE html> <html lang="kr"> <head> <title>Document</title> <link rel="stylesheet" href="../cyworld/styles/jukebox.css"> </head> <body> <div class="Bigframe"> <div class="pic"> <div class="pic_title"> <duv class="main_title">추억의 BGM</div> <div class="sub_title">TODAY CHOICE</div> </div> <div class="Line"></div> <div class="pics"> <div class="pic1"> <img src="./images/y사진.png" class="album_pic"> <div class="song_title">Y(Please Tell Me Why)</div> <div class="artist">프리스타일</div> </div> <div class="pic1"> <img src="./images/snow.png" class="album_pic"> <div class="song_title">눈의 꽃</div> <div class="artist">박효신</div> </div> <div class="pic1"> <img src="./images/love.png" class="album_pic"> <div class="song_title">사랑했나봐</div> <div class="artist">윤도현</div> </div> </div> </div> <div class="list"> <div class="pic_title"> <duv class="main_title">추억의 BGM</div> <div class="sub_title">TODAY CHOICE</div> </div> <table class="music_list"> <tr> <th class="checkbox"><input type="checkbox"></th> <th class="number">번호</th> <th class="song">곡명</th> <th class="artist">아티스트</th> </tr> <tr> <td class="checkbox1"><input type="checkbox"></td> <td class="number1">1</td> <td class="song1">눈의 꽃</td> <td class="artist1">박효신</td> </tr> <tr> <td class="checkbox1"><input type="checkbox"></td> <td class="number1">2</td> <td class="song1">사랑스러워</td> <td class="artist1">김종국</td> </tr> <tr> <td class="checkbox1"><input type="checkbox"></td> <td class="number1">3</td> <td class="song1">내사람:Partner For Life</td> <td class="artist1">SG워너비</td> </tr> <tr> <td class="checkbox1"><input type="checkbox"></td> <td class="number1">4</td> <td class="song1">Love Love Love</td> <td class="artist1">에픽하이</td> </tr> <tr> <td class="checkbox1"><input type="checkbox"></td> <td class="number1">5</td> <td class="song1">애인...있어요</td> <td class="artist1">이은미</td> </tr> </table> </div> </div> </body> </html> css *{ box-sizing: border-box; margin: 0px; padding: 0px; } body,html{ width:100%; height: 100%; } .Bigframe{ display: flex; flex-direction: column; width: 100%; padding: 20px 30px; justify-content: space-between; align-items: center; } .pic{ width: 100%; } .pic_title{ width: 100%; display: flex; flex-direction: row; } .main_title{ color: #55B2E4; font-size: 13px; font-weight: 700; } .sub_title{ font-size: 8px; padding-left: 5px; display: flex; flex-direction: column; justify-content: flex-end; } .Line{ width: 100%; border-top: 1px solid gray; } .pics{ display: flex; flex-direction: row; justify-content: space-around; padding-top: 12px; } .album_pic{ width: 120px; height: 120px; padding: 5px; } .song_title{ font-family: 'Malgun Gothic'; font-weight: bold; font-size: 11px; color: #0F465E; display: flex; flex-direction: row; justify-content: center; } .artist{ font-family: 'Malgun Gothic'; font-weight: 700; font-size: 10px; display: flex; flex-direction: row; font-weight: bold; justify-content: center; } .list{ width: 100%; } .music_list{ width: 100%; padding-top: 8px; border-spacing: 0px; } .music_list th{ height: 20px; font-size: 10px; font-weight: bold; color: gray; background-color: #eeeeee; border-top: 1px solid gray; border-bottom: 1px dashed gray; } .music_list td{ height: 20px; font-size: 10px; color: #0f465e; border-bottom: 1px dashed gray; } .checkbox1{ width:5%; text-align: center; } .number1{ width:10%; text-align: center; } .song1{ width:45%; text-align: left; } .artist1{ width:30%; text-align: center; } 실행 시 Bigframe(wrapper)안에 두 상자가 다 안담아져요 어디가 문제 일까요..?ㅠㅠ
미해결
따라하며 배우는 도커와 CI환경 [2023.11 업데이트]
궁금한게 볼륨을 사용하여 빌드를 하면 반영을 도커 컨테이너가 로컬을 바라보고 변경사항이 사소할경우 빠르게 빌드가 진행된다고 이해를 하고 있습니다. 여기서 궁금한점은 볼륨을 활용하여 다시 빌드를 하여도 컨테이너가 2개가 어차피 생기는데 맞을까요>
미해결
[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part3: 유니티 엔진
밑에 강의소스 다른 문의글을 봤는데 저는 중간중간에 구름모양이 안보이는데 어떻게 받을수 있을까요?
해결됨
[코드캠프] 훈훈한 Javascript
advanced 문제 답안 보고 싶은데 없어서 질문드립니다🥲
미해결
[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
wrap with center 다음 wrap with container만 있고, 컬럼은 안보이네요...
미해결
스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
다음과 같은 오류로 구글링 한 결과 구글링에서 위 두가지 방법을 알려줘서 했더니 그래도 오류가 나서 문의드립니다..ㅜㅜ