안녕하세요. 잘 이해가 가지 않는 부분이 있어 질문드립니다. If dp[idx]!=-1: Return 을 하는데, idx가 끝까지 가서 끝에서 부터 계산되는 것은 이해가 되는데, 처음 들어간 값이 항상 max값이라고 어떻게 확신할수 있는지를 모르겠습니다. dp[idx]가 들어있는 경우는 항상 최대값이라는 것에 대해 설명해주실수 있으실까요?
강의를 들으면서 코드를 따라 쳐보거나 개인적으로 간단한 기본 게시판을 만들어보면서 "보일러플레이트가 좀 많은데?"라는 생각이 들었습니다. 물론 FastAPI의 비동기 처리나 ML 붙이기도 쉬우며 api 개발과 문서화가 빠르고 간편하다는 장점이 있지만 이것만으로 실제 서비스 상황에서 FastAPI를 선택하는 이유가 되는 지에 대해 의문이 들었습니다. 실무에서는 어떤 기준으로 FastAPI를 고려하게 되는 지 질문드리고 싶습니다!
우선 강의에서 들은 바대로 한 싸이클을 다 진행해봐서~이제 제 맞춤식으로 조정하고자 나레이션과 타이틀을 영문으로 입력 이미지와 비디오를 6개로 제작하고자 엑셀시트와 프롬프트의 숫자들을 수정했습니다 >>> 오류 상황 Model output doesn't fit required format To continue the execution when this happens, change the 'On Error' parameter in the root node's settings gpt로부터 아웃풋은 받았고 현재 output parser에서 오류가 나는 상황입니다. paser에게 전달된 영문 소스를 봤을 때 작은따옴표' 때문에 오류가 나는것인가 싶은데 영문일 때는 어떻게 해결할 수 있는지 궁금합니다~ (그리고 수업 정말 잘 들었습니다 수강생들이 실수할 만한 것들도 다 알려주셔서 좋았어요! 감사합니다) { "action": "parse", "text": "```json\n{\"output\":{\"items\":[{\"text\":\"A dynamic aerial shot sweeps over the dramatic cliffs and serene waters of Yeongwol, Gangwon-do, the sunlight casting long shadows as the camera glides through the mist, capturing the haunting beauty that sets the stage for the young King and village chief's story, cinematic with dramatic lighting.\"},{\"text\":\"A close-up of dense pine forest branches swaying in a restless breeze, the camera moving swiftly through the shadows as a solitary young figure representing King Danjong walks cautiously, his expression filled with quiet desperation, while the surrounding wilderness pulses with a sense of profound solitude and suspenseful tension.\"},{\"text\":\"An intense moment showing Eom Heung-do, the village chief, braving the elements—stepping firmly over rugged terrain with a determined gaze—risking his own safety as the camera follows his purposeful stride under filtered light piercing through the pine canopy, evoking loyalty and sacrifice in a cinematic historical style.\"},{\"text\":\"The scene transitions to a sweeping view of Cheongnyeongpo, with crashing waves below and sheer cliffs towering above; the camera circles around as the wind rustles the pines, embodying the emotional weight of exile and loneliness, rendered with epic and dramatic contrasts between shadow and light.\"},{\"text\":\"The camera slows at Jangneung, a solemn and elegant UNESCO World Heritage site, illuminated by the soft glow of a setting sun; moving slowly around the King’s final resting place, the scene emanates tranquility and reverence, the atmosphere suffused with respectful silence and cinematic grandeur.\"},{\"text\":\"Closing with a lively, inviting panorama of Yeongwol village bustling gently with visitors and locals bathed in warm, golden-hour light, the camera pulls back to reveal the harmonious blend of history and nature, encouraging viewers to embark on a soulful journey, captured in an uplifting yet dramatic cinematic style.\"}]}}" }
안녕하세요 영한님! "8. 상속 관계 설계" 강의에서, 상품 테이블 을 예시로 들어, 슈퍼타입-서브타입 모델링을 설명해주셨는데요! 만약에 서브타입이 다른 테이블과 관계를 맺게 된다면, 이 케이스에도 슈퍼타입-서브타입 모델링을 적용하는게 괜찮을지 궁금하여 질문을 드립니다! 예를 들어, 신고 내역을 저장하는 테이블을 모델링하는 상황에서, 회원 신고/게시글 신고/댓글 신고/그룹 신고 이렇게 나뉜다면 슈퍼타입-서브타입 상속 전략을 사용해도 괜찮은지 궁금합니다.
안녕하세요 우선 좋은 강의 감사드립니다. 덕분에 Batch에 대한 기본적인 틀을 잡을 수 있을 것 같아요! 중급강의도 기대됩니다. 실습을 따라가던 와중, 멱등성을 유지하기 위해서 궁금한점이 생겨서 질문드립니다. 같은 파라미터로 완료된 job은 재실행을 허용하지 않기 때문에 parameter로 time을 넣어주셨는데요. 그렇게 되면 만약에 job을 실패지점부터 재실행 하고 싶은 경우에는 targetDate 뿐만 아니라 실패한 시간대에 time 파라미터까지 넣어서 재시작을 해야하는 것인가요? 만약에 time 파라미터를 추가한 상태에서, 이전 실행과 다른 time 파라미터로 완료된 job을 재실행 할경우에는 정산 테이블에서 targetDate에 해당하는 값을 DELETE를 하고 INSERT를 진행해야 멱등성이 유지될 것 같습니다. 이럴 경우 DELETE 같은 경우는 Settlement INSERT 작업 이전에 별도의 Step으로 구성이 되야할까요? 만약에 DELETE를 해야한다면 DELETE의 경우에는 targetDate의 해당 하는 값을 한번에 전부 지우고 INSERT를 시작하는지 궁급합니다..!
하이딩과 static, 상속 관련해서 질문이 있습니다. 일반적인 상속 상황을 가정할 때 부모, 자식에게 둘 다 있는 메서드(즉, 오버라이딩): 자식꺼 사용 부모, 자식에게 둘 다 있는 static 메서드: 부모꺼 사용 부모, 자식에게 둘 다 있는 변수: 객체의 자료형(Parent p = new Child();의 경우 Parent의 변수 사용, Child c = mew Child();의 경우 Child의 변수 사용)에 맞는 변수 사용 이 맞을까요?
url = "https://finance.naver.com/item/sise.nhn?code=352820" pd.read_html(url, encoding='cp949') AttributeError: 'SoupStrainer' object has no attribute 'name' 상기와 같이 코드 실행시 에러가 발생합니다.. 원인을 알려주십시요
문제 3번을 풀다가 select * from orders o inner join users as u on o.user_id=u.user_id inner join products as p; 이러한 쿼리를 작성하게 되었습니다. 실행 결과로 오류 없이 테이블이 나왔습니다. 그래서 이걸 바탕으로 문제를 풀었다가 결과가 답안과 달라 문제점을 찾다가 on o.product_id=p.product_id 을 작성하지 않은 잘못된 쿼리라는 것 알았습니다. 여기서 질문이 있습니다. inner join이 공통된 부분을 join하는 것이라고 하셨는데, orders와 users를 조인 후 products를 조인 할 때 제가 작성한 쿼리의 경우 연결 조건인 ON을 지정하지 않았는데 어떻게 join하여 결과 테이블이 나올 수 있는 것인가요?
1) 이미지 5개 생성으로 한바퀴 돌리고 영상 생성 때마다 이미지 요청 가지 않도록 pin으로 고정했음(초록색 형광펜) 2) 그 이후 영상 생성하기 위해 get lows in sheet 눌러서 excute 눌렀는데 노란색 형광펜 표시된것처럼 무한정 돌아갑니다 10번까지 되길래;;중지 처리햇는데 어떤 부분이 잘못된걸까요?
강사님 안녕하세요~! 배치 실패시 서버 담당자에게 메일 보여주기 수업 잘들었습니다! 마지막에 실패시 리스너 동작을 테스트 하시기 위해서 예외를 던지신듯 합니다. 그런데 실습 결과가 강사님과 다르게 bootRun FAILED라고 나와서요. (> Task :bootRun FAILED FAILURE: Build failed with an exception.) 사소한 것 같기는 한데 이유가 궁금해서 글남깁니다~ 좋은 하루되세요~~!