학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] HelloData 생성했는데도 import가 되지 않습니다. package hello.springmvc.basic.request; import jakarta.servlet.http.HttpServletRequest; import jakarta.servlet.http.HttpServletResponse; import lombok.extern.slf4j.Slf4j; import org.springframework.stereotype.Controller; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; import org.springframework.web.bind.annotation.ResponseBody; import java.io.IOException; import java.util.Map; @Slf4j @Controller public class RequestParamController { @RequestMapping("/request-param-v1") public void requestParamV1(HttpServletRequest request, HttpServletResponse response) throws IOException { String username = request.getParameter("username"); int age = Integer.parseInt(request.getParameter("age")); log.info("username={}, age={}", username, age); response.getWriter().write("ok"); } /** * @RequestParam 사용 * - 파라미터 이름으로 바인딩 * @ResponseBody 추가 (RestController 와 같은 역할을 수행함) * - View 조회를 무시하고, HTTP message body에 직접 해당 내용 입력 */ @ResponseBody @RequestMapping("/request-param-v2") public String requestParamV2( @RequestParam("username") String memberName, @RequestParam("age") int memberAge) { log.info("username={}, age={}", memberName, memberAge); return "ok"; } @ResponseBody @RequestMapping("/request-param-v3") public String requestParamV3( @RequestParam String username, @RequestParam int age) { log.info("username={}, age={}", username, age); return "ok"; } /** * @RequestParam 사용 * String, int 등의 단순 타입이면 @RequestParam 도 생략 가능 */ @ResponseBody @RequestMapping("/request-param-v4") public String requestParamV4(String username, int age) { log.info("username={}, age={}", username, age); return "ok"; } /** * Integer 은 객체이기 때문에 null 이 들어갈 수 있음 * int 는 기본형이 때문에 null이 들어올 수 없음 */ @ResponseBody @RequestMapping("/request-param-required") public String requestParamRequired( @RequestParam(required = true) String username, @RequestParam(required = false) Integer age) { log.info("username={}, age={}", username, age); return "ok"; } @ResponseBody @RequestMapping("/request-param-default") public String requestParamDefault( @RequestParam(required = true, defaultValue = "guest") String username, @RequestParam(required = false, defaultValue = "-1") int age) { log.info("username={}, age={}", username, age); return "ok"; } /** * @RequestParam Map, MultiValueMap * Map(key=value) * MultiValueMap(key=[value1, value2, ...]) ex) (key=userIds, value=[id1, id2]) */ @ResponseBody @RequestMapping("/request-param-map") public String requestParamMap(@RequestParam Map<String, Object> paramMap) { log.info("username={}, age={}", paramMap.get("username"), paramMap.get("age")); return "ok"; } @ResponseBody @RequestMapping("/model-attribute-v1") public String modelAttributeV1(@RequestParam String username, @RequestParam int age) { HelloData helloData = new HelloData(); } }
https://www.acmicpc.net/source/share/36b096b47b1e43518dee34891f9e1897 안녕하세요 큰돌님, 혹시 제 코드도 괜찮은 코드인지 여쭤드립니다, 다름이 아니라, 여기까지 오면서 그동안 visited를 쓸때 2차원 배열로 했었는데, 이번 영상에서는 1차원 배열을 써서, 저는 배운데로 일단 저만의 방식으로 코드를 짜긴했는데, 혹시 효율성이나 1차원 배열로 한 이유를 설명해주시면 감사합니다 ㅎㅎ
엔티티와 값객체와의 차이 중 하나가 값객체는 바운디드 컨텍스트를 옮겨 가더라도, 그 네이밍 그대로 유지할 수 있는 반면, 엔티티는 변경해야할 수도 있다고 생각하는데, 맞을까요? 예를 들어, Address(주소, 상세주소, 우편번호 포함)라는 값객체를 만들었을 때, 회원 바운디드 컨텍스트에서 회원의 주소와 주문 바운디드 컨텍스트에서 주문자의 주소의 경우, 다른 점이 없는 반면, User 라는 엔티티는 주문 바운디드 컨테스트에서 주문자이고, 리뷰 바운디드 컨텍스트에서는 리뷰어일 수 있어서, 다를 수 있다고 생각했거든요!
안녕하세요! VBA 수업을 듣고 열심히 개발중인데요.. 강의내용중에 나오진 않았지만 물어볼곳이 없어서 여기다가 문의드립니다. 아래와 같이 모듈내에 일부를 발췌했습니다. K1,K2값과 연동된 셀의 값들을 두개의 cdf(누적밀도함수) , pdf(확률밀도함수)로 정의하고 이를 더한 값을 K3 로 지정하여서 K3의 최적해를 구하는것을 vba로 표현하고자합니다. 엑셀상에서 데이터 - 해찾기 - 해법 GRG 비선형으로 구한 값은 최적해를 나름 수렴해서 값을 잘 찾아주는데 하기의 VBA는 K1,K2의 초기값으로 설정된값만 계속 내뱉습니다.. (beta , eta 값을 초기에 설정했음) 초기값을 계속 바꾸면 바꾼 초기값에서 더 변화없네요 K3에 대한 최적해가 VBA내에서 뭔가 잘 이뤄지지 않는데 코드를 봐서는 도무지 어느부분이 잘못되었는지 잘모르겠네요... 한번 봐주시면 감사드립니다.. beta = 1.3 eta = 700000 RO_Ws.Range("K1").Value = eta RO_Ws.Range("K2").Value = beta cdf = 0 For m = 1 To lastRow_Sale cellValue = Sale_Ws.Cells(m, 1).Value If cellValue <> 0 Then resultValue = WorksheetFunction.Ln(1 - (1 - Exp(-((cellValue / (RO_Ws.Range("K1").Value)) ^ (RO_Ws.Range("K2").Value))))) cdf = cdf + resultValue End If Next m '~여기까지 누적밀도함수 구함 pdf = 0 For n = 1 To lastRow_RO cellValue2 = RO_Ws.Cells(n, 3).Value If cellValue2 <> 0 Then resultValue2 = WorksheetFunction.Ln((RO_Ws.Range("K2").Value) / (RO_Ws.Range("K1").Value) * (cellValue2 / (RO_Ws.Range("K1").Value)) ^ ((RO_Ws.Range("K2").Value) - 1) * Exp(-((cellValue2 / (RO_Ws.Range("K1").Value)) ^ (RO_Ws.Range("K2").Value)))) pdf = pdf + resultValue2 End If Next n RO_Ws.Range("K3").Value = pdf + cdf 'RO_Ws.Range("K1").Value = eta 'RO_Ws.Range("K2").Value = beta 'RO_Ws.Range("K3").Value = weibull SolverReset ' 조건 설정 SolverOk SetCell:="$K$3", MaxMinVal:=1, ValueOf:=0, ByChange:="$K$1:$K$2", Engine:=2 SolverAdd CellRef:="$K$1", Relation:=3, FormulaText:="10000" SolverAdd CellRef:="$K$2", Relation:=3, FormulaText:="0" ' Solver 실행 SolverSolve UserFinish:=True eta = RO_Ws.Range("K1").Value beta = RO_Ws.Range("K2").Value weibull = RO_Ws.Range("K3").Value
설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
================= 현업자인지라 업무때문에 답변이 늦을 수 있습니다. (길어도 만 3일 안에는 꼭 답변드리려고 노력중입니다 ㅠㅠ) 강의에서 다룬 내용들의 질문들을 부탁드립니다!! (설치과정, 강의내용을 듣고 이해가 안되었던 부분들, 강의의 오류 등등) 이런 질문은 부담스러워요.. (답변거부해도 양해 부탁드려요) 개인 과제, 강의에서 다루지 않은 내용들의 궁금증 해소, 영상과 다른 접근방법 후 디버깅 요청, 고민 상담 등.. 글쓰기 에티튜드를 지켜주세요 (저 포함, 다른 수강생 분들이 함께보는 공간입니다.) 서로 예의를 지키며 존중하는 문화를 만들어가요. 질문글을 보고 내용을 이해할 수 있도록 남겨주시면 답변에 큰 도움이 될 것 같아요. (상세히 작성하면 더 좋아요! ) 먼저 유사한 질문이 있었는지 검색해보세요. 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. ================== 안녕하세요 HW는 아예 모르고 FPGA 가속기 설계를 좀 배워보려고 하는 SW 대학원생입니다. 강의를 처음부터 듣고있는데 회로설계에 대한 배경지식이 없어서 그런지 5장의 reset 부분과 always posedge~ 부분의 코드가 이해가 잘 안가네요 혹시 미리 선행되어야 할 과목이나 강의가 있을까요? 1'b0같은 기존의 C에서랑 다른 문법적인 부분에서 혼동이 많이 오는데 베릴로그 관련 교재같은 것도 추천해주실 수 있을까요?
Airlinesoffices.com is your one-stop destination for finding contact information for airlines offices worldwide. Our platform provides comprehensive details, including addresses, phone numbers, and office hours, making it easy for you to connect with airlines for inquiries, bookings, and assistance. Whether you're a frequent traveler or planning your next trip, AirlinesOffices simplifies the process of reaching out to airlines, ensuring you have the information you need at your fingertips. Explore our website today to access a vast directory of airlines' office contacts, helping you make your travel experience smoother and more convenient.
build.gradle(Module: app) dependencies 에 implementation 'androidx.core:core-splashscreen:1.0.1' 을 추가해주세요 values/themes/themes.xml <style name="원하는 스플래쉬 테마명을 넣어주세요" parent="Theme.SplashScreen"> <item name="android:windowSplashScreenBackground">@color/white</item> <item name="android:windowSplashScreenAnimatedIcon">원하는 스플래쉬 이미지를 넣어주세요. 필자는 원형 이미지를 추천합니다</item> <item name="android:windowSplashScreenAnimationDuration">1000</item> <item name="postSplashScreenTheme">@style/애플리케이션의 메인 테마명을 넣어주세요</item> </style> 위의 코드를 추가해주세요 여기서 주의할 점은 "특정 sdk 버전 이상에 맞춰서 오버라이드 해주세요" 라는 경고 메세지가 나오는데 이를 무시해야 되는겁니다 AndroidManifest.xml application 태그 내에 아래의 코드를 추가해주세요 android:theme="@style/위에서 정해둔 스플래쉬 테마명을 넣어주세요" 혹시나 싶어 말씀드리는데 한글 그대로 적는게 아니라 작성하시는 분께서 저 조건에 맞춰서 적어주셔야 됩니다 모든 Activity 의 onCreate 내 아래의 코드를 추가해주세요 installSplashScreen() 추가하지 않을 경우 AppCompatActivity랑 theme 관련해서 에러가 발생해요 특정 버전 이상부터 splash 적용하는 방법을 소개해드렸습니다 많은 분들께 도움이 되기를 바라요 PS. 깜빡한게 있네요 앱 처음에 빌드하고 실행하는 순간에는 splash가 나오지 않습니다 앱을 종료하고 설치한 앱을 클릭해서 다시 실행할 경우 splash가 적용되신걸 확인할 수 있습니다
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 제일 메인이 되는 파일에 헤더가드를 넣으면굳이 다른 헤더파일들에 안 넣어도 괜찮다고 생각이 드는데 그렇지 않은 이유가 무엇인가요?
타입을 추론하면 final이 기본으로 붙고 상속도 기본으로 final이 붙어서 안되고 오버라이딩도 final이 기본으로 붙어서 설정을 해줘야합니다. 열려있는 자바와는 다르게 코틀린은 기본적으로 닫혀있다는걸 느꼈습니다. 이렇게 코틀린이 오버라이딩과 상속, 재할당금지를 선택하게하는 이유가 뭔지 궁금합니다