묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
node 안에 있는 data 타입을 shared_ptr 로 하는 이유?
제 생각에는 락프리 스택 만들 때도 그렇고 이번 강의 큐도 그렇고 노드 안에 있는 data 타입을 그냥 T data 라고 해도 될 것 같은데 굳이 shared_ptr로 하는 이유가 있을 까요?shared_ptr 로 하면 메모리 비용과 시간 비용이 더 드는것으로 알고있는데요! 별 이유는 없을까요
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
7-D 질문드려요 (메모이제이션)
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요. 강의 잘듣고있습니다.! 메모이제이션 부분이 이해가 잘 안되서 질문드립니다.dp에 어떤 값이 들어가 있을 때 재귀 호출하지 않고 dp에 담겨져 있는 값을 리턴하는 것에 대한 추가 설명 가능할까요? #include <bits/stdc++.h> using namespace std; int T, W; vector<int> I; int mx = 0; int DP[1001][3][31]; // tree: 트리번호 // cnt: 움직인 횟수 int go(int idx, int tree, int cnt){ int another_tree; if (tree==1) another_tree =2; else another_tree =1; if (idx == T) return 0; // 기저사례 int &ret = DP[idx][tree][cnt]; // 메모이제이션 if (ret) return ret; if (cnt > 0) ret = max(go(idx+1, another_tree, cnt-1), go(idx+1, tree, cnt)) + (tree == I[idx]? 1:0); else ret = go(idx+1, tree, cnt) + (tree==I[idx]? 1:0); return ret; } int main(){ cin.tie(NULL); cout.tie(NULL); ios_base::sync_with_stdio(false); cin >> T >> W; I = vector<int>(T,0); for(int i =0 ; i < T; ++i){ cin >> I[i]; } cout << max(go(0, 2, W-1), go(0, 1, W)); return 0; } dp에 어떤값이 들어가있다는 것은 이미 한번 수행한 이력이 있는 정점이라는 의미로, 더 이상 아래 정점을 탐구할 필요가 없다 라는 의미겠는데.., 완전히 이해를 하지 못하여 질문드려요
-
미해결김영한의 실전 자바 - 기본편
문제와풀이2번 출력
[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]여기에 질문 내용을 남겨주세요.package poly.expay; public class PayService{ public void processPay(String name, int amount) { boolean result; System.out.println("결제를 시작합니다: " + "option = " + name + ", amount = " + amount); if(name.equals("kakao")) { KakaoPay kakaoPay = new KakaoPay(); result = kakaoPay.Pay(amount); } } }다름이 아니라 result값에 kakaoPay.Pay(amount)를 넣는건 알겠는데 그반환값도 true로 되구요 근데 왜 메인에서 출력이 되는건가여? 제가 생각하기로는 result = true라고 생각을 하였는데, 따로 출력을 하기위해선 kakaoPay.Pay(amount); 만 써야 출력이 되지 않나요? 아님 result에 값을 대입함과 동시에 출력도 되는지요.
-
해결됨웹 프론트엔드를 위한 자바스크립트 첫걸음
강사님 코드를 똑같이 따라했는데 에러코드로 떠요.
🚨질문 작성법 및 안내사항질문 작성법-'섹션6. 디지털 시계 개발하기 수업' 질문입니다.약 7분 8초 쯤 수업을 따라하고 있는데 setNowDate(month, date, week[day]); }; const setNowDate = (month, date, day) => { dateElement.textContent = `$ {month} 월${date}일 ${day}`; 가자꾸 Uncaught TypeError: Cannot set properties of null (setting 'textContent')오류가 뜨며 아무것도 보여주지 않아 강의 진행에 어려움을 겪고 있습니다. 어떻게 해결을 해야될까요?
-
해결됨[임베디드 입문용] 임베디드 개발은 실제로 이렇게 해요.
프로젝트 생성해보기! 1:36에서 체크박스 설정 안하고 다운로드해야되나요?
상관없을까요
-
해결됨기초부터 배우는 Next YTMusic 클론 코딩 (with next.js 14, UI 마스터)
웹사이트에서 바로 한글로 번역되는거 어떤 프로그램쓰시는건가요?
안녕하세요. 처음 15초쯤에 nextjs소개하면서 나오는 번역프로그램은 어떤걸 쓰시는건가요? 편리해보여서요~
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part1: C# 기초 프로그래밍 입문
섹션2 연습문제 질문입니다.
연습문제중 팩토리얼 구현에 있어서 질문 드립니다. static int Factorial(int a){for (int i = a - 1; i >= 1; i--){a *= i;}return a;}static void Main(string[] args){int ret = Factorial(3);Console.WriteLine(ret);} 이 구현도 괜찮을까요?
-
해결됨CS 지식의 정석 | 디자인패턴 네트워크 운영체제 데이터베이스 자료구조
책과의 차이가 궁금합니다.
큰돌님 안녕하세요~ 면접을 위한 CS 전공지식 노트를 구매해서 완독을 하고, 어느 정도 암기도 다 했다고 생각하는데 뭔가 아쉬운 느낌이 들어서 큰돌님 강의를 구매했습니다. -개발자가 꼭 알아야하는 지식이 파트의 경우에는 책에 없는 내용이라 너무 좋게 들었고 이제 디자인 패턴부분부터 학습을 시작하려고 하는데 책과의 차이점이 궁금해서 질문드립니다. 책과 함께 병행해서 보면 좋은 것인지, 아니면 책의 내용이 모두 강의에 담겨 있어서 제공해주시는 교안을 통해 책의 내용을 복습하고 추가적인 내용을 학습하는 것이 좋을지 궁금합니다. 늘 좋은 강의 감사합니다!
-
미해결FreeRTOS 프로그래밍
caddr_t undeclared 문제
TASKMAN 예제를 돌리려는데 다음과 같은 문제가 발생합니다. Description Resource Path Location Type'caddr_t' undeclared (first use in this function) sysmem.c /01_TASKMAN/Src line 76 C/C++ Problem 검색해보니, https://community.st.com/t5/stm32cubeide-mcus/how-do-i-load-stm32cube-fw-g4-v1-5-0-examples-into-stm32cubeide/m-p/582818 void * 로 대체 하거나 <sys/types.h> include 하라는것 같은데 예제에 업데이트가 되야 할것 같아 문의 드립니다.
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
컴파일러에 ‘-parameters’ 옵션 추가하는 방법을 알려주세요
build.gradle에compileJava { options.compilerArgs << '-parameters'}를 추가했는데 안됩니다.IDE 또는 빌드 도구(Gradle, Maven 등)의 설정에서 Java 컴파일러 옵션에 ‘-parameters’를 추가하라고 하는데, 인텔리제이 메뉴의 설정에서 하는건지, 어떻게 하는건지 자세한 방법을 알려주세요.
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
18:06 로그인을 하려도 리다이렉트가 안되는데 이유가 있나요?
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]체크필터 코드 입니다.package hello.login.web.filter; import hello.login.web.session.SessionConst; import lombok.extern.slf4j.Slf4j; import org.springframework.util.PatternMatchUtils; import javax.servlet.*; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; import java.io.IOException; @Slf4j public class LoginCheckFilter implements Filter { private static final String[] whitelist = {"/", "/members/add", "/login", "/logout", "/css/*"}; @Override public void doFilter( ServletRequest request, ServletResponse response, FilterChain chain) throws IOException, ServletException { HttpServletRequest httpRequest = (HttpServletRequest) request; String requestURI = httpRequest.getRequestURI(); HttpServletResponse httpResponse = (HttpServletResponse) response; try{ log.info("인증체크 필터 시작 {}", requestURI); if(isLoginCheckPath(requestURI)){ log.info("인증 체크 로직 실행 {}", requestURI); HttpSession session = httpRequest.getSession(false); if(session == null || session.getAttribute(SessionConst.LOGIN_MEMBER) == null){ log.info("미인증 사용자 요청 {}", requestURI); // 로그인 페이지로 리다이렉트 httpResponse.sendRedirect("/login?RedirectURL=" +requestURI); return; } } chain.doFilter(request, response); }catch (Exception e){ throw e; // 예외를 로길 가능 하지만, 톰캣까지 예외를 보내주어야 한다. }finally { log.info("인증 체크 필터 종료"); } } /** * 화이트 리스트의 경우 인증체크 필요 없음 */ // private boolean isLoginCheckPath(String requestURI){ // for (String s : whitelist) { // if (requestURI.equals(s)){ // return false; // } // } // return true; // return !PatternMatchUtils.simpleMatch(whitelist, requestURI); // } /** * 화이트 리스트의 경우 인증 체크X */ private boolean isLoginCheckPath(String requestURI) { return !PatternMatchUtils.simpleMatch(whitelist, requestURI); } } 컨트롤러 코드 입니다.package hello.login.web.login; import hello.login.domain.login.LoginService; import hello.login.domain.member.Member; import hello.login.web.session.SessionConst; import hello.login.web.session.SessionManager; import lombok.RequiredArgsConstructor; import lombok.extern.slf4j.Slf4j; import org.springframework.boot.web.servlet.server.Session; import org.springframework.stereotype.Controller; import org.springframework.validation.BindingResult; import org.springframework.validation.annotation.Validated; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.ModelAttribute; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestParam; import javax.servlet.http.Cookie; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import javax.servlet.http.HttpSession; @Slf4j @Controller @RequiredArgsConstructor public class LoginController { private final LoginService loginService; private final SessionManager sessionManager; @GetMapping("/login") public String loginForm(@ModelAttribute LoginForm form){ return "login/loginForm"; } // @PostMapping("/login") /*public String login(@Validated @ModelAttribute LoginForm form, BindingResult bindingResult, HttpServletResponse response){ if(bindingResult.hasErrors()){ return "login/loginForm"; } Member loginMember = loginService.login(form.getLoginId(), form.getPassword()); if(loginMember == null){ bindingResult.reject("loginFail", "아이디 또는 비밀번호가 맞지 않습니다."); return "login/loginForm"; } // 로그인 성공 처리 //쿠키에 시간 정보를 주지 않으면 세션 쿠키임(브라우저 종료시 모두 종료됨) Cookie idCookie = new Cookie("memberId", String.valueOf(loginMember.getId())); response.addCookie(idCookie); return "redirect:/"; // 홈으로 보냄 } // @PostMapping("/login") public String loginV2(@Validated @ModelAttribute LoginForm form, BindingResult bindingResult, HttpServletResponse response){ if(bindingResult.hasErrors()){ return "login/loginForm"; } Member loginMember = loginService.login(form.getLoginId(), form.getPassword()); if(loginMember == null){ bindingResult.reject("loginFail", "아이디 또는 비밀번호가 맞지 않습니다."); return "login/loginForm"; } // 로그인 성공 처리 // 세션 관리자 통해 세션 보관 ㅏ고 회원 데이터 보관 sessionManager.createSession(loginMember, response); return "redirect:/"; // 홈으로 보냄 } // @PostMapping("/login") public String loginV3(@Validated @ModelAttribute LoginForm form, BindingResult bindingResult, HttpServletRequest request){ if(bindingResult.hasErrors()){ return "login/loginForm"; } Member loginMember = loginService.login(form.getLoginId(), form.getPassword()); if(loginMember == null){ bindingResult.reject("loginFail", "아이디 또는 비밀번호가 맞지 않습니다."); return "login/loginForm"; } // 로그인 성공 처리 // 세션이 있으면 있는 세션을 반환, 없으면 생셩해서 반환 HttpSession session = request.getSession(true); // 기본이 true라 생략 가능, 세션을 생성(있으면)하려면 true false일때는 세션 없으면 널일뿐 //세션에 로그인 회원 정보 보관 session.setAttribute(SessionConst.LOGIN_MEMBER, loginMember); // 세션 관리자 통해 세션 보관 ㅏ고 회원 데이터 보관 return "redirect:/"; // 홈으로 보냄 }*/ @PostMapping("/login") public String loginV4( @Validated @ModelAttribute LoginForm form, BindingResult bindingResult, @RequestParam(defaultValue = "/") String redirectURL, HttpServletRequest request){ if(bindingResult.hasErrors()){ return "login/loginForm"; } Member loginMember = loginService.login(form.getLoginId(), form.getPassword()); log.info("login? {}", loginMember); if(loginMember == null){ bindingResult.reject("loginFail", "아이디 또는 비밀번호가 맞지 않습니다."); return "login/loginForm"; } // 로그인 성공 처리 // 세션이 있으면 있는 세션을 반환, 없으면 생셩해서 반환 HttpSession session = request.getSession(true); // 기본이 true라 생략 가능, 세션을 생성(있으면)하려면 true false일때는 세션 없으면 널일뿐 //세션에 로그인 회원 정보 보관 session.setAttribute(SessionConst.LOGIN_MEMBER, loginMember); // 세션 관리자 통해 세션 보관 ㅏ고 회원 데이터 보관 return "redirect:" + redirectURL; } //로그아웃 // @PostMapping("/logout") // public String logout(HttpServletResponse response){ // expireCookie(response, "memberId"); // return "redirect:/"; // } // @PostMapping("/logout") public String logoutV2(HttpServletRequest request){ sessionManager.expire(request); return "redirect:/"; } @PostMapping("/logout") public String logoutV3(HttpServletRequest request){ HttpSession session = request.getSession(false); if(session != null){ session.invalidate(); } return "redirect:/"; } private static void expireCookie(HttpServletResponse response, String cookieName) { Cookie idCookie = new Cookie(cookieName, null); idCookie.setMaxAge(0); response.addCookie(idCookie); } } 오타는 딱히 없는것 같은데 리다이렉트가 이루어지지 않습니다.
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part7: MMO 컨텐츠 구현 (Unity + C# 서버 연동 기초)
MMO 컨텐츠 구현의 MapTool에서 Util클래스 정보
이전 강의를 구매를 안해서 그런데, 만들어둔 Util클래스에 대한 코드는 어디서 확인할 수 있나요? 강의자료탭이 안보여서요.
-
해결됨스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
application.properties 새로 실행하면 코드가 사라져요
다시 실행버튼을 누르면 두번째 코드가 사라지는 현상이 발생합니다..밑에는 콘솔창 로그입니다..> Task :compileJava UP-TO-DATE> Task :processResources> Task :classes> Task :ServletApplication.main() . ____ _ /\\ / ___'_ __ (_)_ _ \ \ \ \( ( )\___ | '_ | '_| | '_ \/ _` | \ \ \ \ \\/ ___)| |_)| | | | | || (_| | ) ) ) ) ' |____| .__|_| |_|_| |_\__, | / / / / =========|_|==============|___/=/_/_/_/ :: Spring Boot :: (v3.2.4)2024-04-05T18:12:22.774+09:00 INFO 19692 --- [servlet] [ main] hello.servlet.ServletApplication : Starting ServletApplication using Java 20.0.2 with PID 19692 (C:\Spring\servlet\build\classes\java\main started by SUN in C:\Spring\servlet)2024-04-05T18:12:22.777+09:00 INFO 19692 --- [servlet] [ main] hello.servlet.ServletApplication : No active profile set, falling back to 1 default profile: "default"2024-04-05T18:12:23.715+09:00 INFO 19692 --- [servlet] [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat initialized with port 8080 (http)2024-04-05T18:12:23.726+09:00 INFO 19692 --- [servlet] [ main] o.apache.catalina.core.StandardService : Starting service [Tomcat]2024-04-05T18:12:23.727+09:00 INFO 19692 --- [servlet] [ main] o.apache.catalina.core.StandardEngine : Starting Servlet engine: [Apache Tomcat/10.1.19]2024-04-05T18:12:23.772+09:00 INFO 19692 --- [servlet] [ main] o.a.c.c.C.[Tomcat].[localhost].[/] : Initializing Spring embedded WebApplicationContext2024-04-05T18:12:23.773+09:00 INFO 19692 --- [servlet] [ main] w.s.c.ServletWebServerApplicationContext : Root WebApplicationContext: initialization completed in 952 ms2024-04-05T18:12:24.053+09:00 INFO 19692 --- [servlet] [ main] o.s.b.w.embedded.tomcat.TomcatWebServer : Tomcat started on port 8080 (http) with context path ''2024-04-05T18:12:24.059+09:00 INFO 19692 --- [servlet] [ main] hello.servlet.ServletApplication : Started ServletApplication in 1.597 seconds (process running for 1.898)
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
SendError 의 두번째 매개변수는 어디서 확인할 수 있나요?
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? 예2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? 예3. 질문 잘하기 메뉴얼을 읽어보셨나요? [질문 내용]response.sendError(404, "404 오류!");해당 코드에서 두번째 매개변수는 콘솔에도 브라우저의 응답에서도 확인할 수 없는데 왜그런걸까요?검색해보니까 server.error.include-message and server.error.include-binding-errors 이런설정들을 해보라고해서 해봤는데 그래도 응답에 포함되는거같지않아서요..ㅠ"404 오류!" 이 텍스트는 어디서 확인할 수 있을까요?
-
미해결
Navigating NJ Civil Restraint Relief Process
When faced with harassment, abuse, threats or violence from another person, seeking a civil protective order can provide crucial legal protection and peace of mind. In New Jersey, victims have multiple options for obtaining a Civil Protective Order In New Jersey depending on their specific circumstances. However, the process can seem daunting for those unfamiliar with the legal system. This guide aims to walk you through the key steps for navigating the civil restraint relief process in the Garden State.What is a Civil Protective Order?A Civil Protective Order In New Jersey is a court order that restricts the conduct of an alleged offender towards a victim. It legally prohibits the offender from contact, communication, proximity or other acts that may constitute further harassment, abuse, threats or violence. Disobeying a protective order is a criminal offense that can result in fines or jail time.Types of Orders AvailableNew Jersey offers two main types of civil protective orders based on the relationship between the involved parties:1) Domestic Violence Restraining OrderThis order applies when the parties have a domestic relationship as spouses, former spouses, household members or dating partners. It aims to prevent further acts of domestic violence, assault, harassment or criminal sexual contact.2) Non-Domestic Violence Restraining Order Also known as a sexual assault restraining order, this protects victims from harassment, stalking, sexual assault or other criminal acts by people they do not have a domestic relationship with, such as acquaintances, coworkers or strangers.Eligibility and Evidence RequirementsTo obtain a Civil Protective Order In New Jersey, you must be able to demonstrate that you are a victim who has suffered from qualifying acts of violence, threats, harassment or abuse. Evidence can include police reports, medical records, witness testimony, texts/emails from the offender and other documentation.For a domestic violence order, the court will look for incidents of assault, harassment, criminal sexual contact, terroristic threats, criminal restraint, false imprisonment or other predicate acts of domestic violence defined by state law.Non-domestic orders require evidence of criminal acts like harassment, stalking, sexual assault, threats or other criminal offenses committed by the alleged offender.The Application Process Civil Protective Order In New Jersey applications must be filed through your county's Superior Court. The first step is to obtain a temporary restraining order (TRO) which provides immediate protection until a final hearing.To get a TRO, you'll need to complete written complaints/allegations along with your evidence. The court will review your case and, if it meets the criteria, will issue a TRO valid for approximately 10 days until your final restraining order hearing.At the final hearing, both parties can present witnesses and evidence. If the judge finds your allegations substantiated by a preponderance of evidence, a final restraining order can be issued which will remain in effect permanently unless you request to have it terminated or modified down the line.Remedies and ProvisionsCivil Protective Orders In New Jersey contain legally-binding provisions to prevent the offender from committing further acts of abuse, violence or victimization. Typical provisions can include:- Prohibiting offensive contact, communication, stalking or other harassment- Ordering the offender to stay away from the victim's home, workplace and other locations- Granting the victim temporary custody of minor children- Requiring the offender to attend counseling or domestic violence intervention programs- Ordering offender to pay compensatory damages or monetary compensation for losses- Forbidding offender's access to weapons or firearmsThe court aims to tailor the specific provisions to adequately protect the victim's safety and rights based on the circumstances of each case.Conclusion:While the process can seem intimidating, obtaining a Civil Protective Order New Jersey is a crucial option for victims of harassment, abuse or violence to legally safeguard their wellbeing. By understanding the types of orders, eligibility criteria, and application proceedings, victims can proactively take steps to navigate the restraint relief process effectively. With a protective order in place, offenders will be legally barred from further acts of harm or victimization, allowing the protected party to finally experience the security and peace of mind they deserve.
-
해결됨PowerApps 2단계, 우리 회사에 필요한 모바일 앱 만들기
[건의앱] 공유 Web link나 Mobile QR code 경우 실행시 SharePoint의 리스트에 등록이 안되는 현상
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요.강의 잘 듣고 있습니다. Power Automated나 Power Apps에서는 건의앱이 잘 실행되는데요. (SharePoint의 리스트에 추가/Email수신) 하지만 공유 Web link나 Mobile QR code로 PC나 스마트폰에서 실행하는 경우 실행은 되지만 제출버튼을 눌러도 SharePoint의 리스트에 등록이 되지 않습니다. (이메일도 수신불가) 이런 현상에 대해서 혹시 해결법이 있을까요?
-
미해결실전! 스프링 데이터 JPA
SpringDataJPA 의 page.getTotalElements 메서드의 공식 문서 링크는?
안녕하세요. Spring data jpa 페이징과 정렬 강의를 듣고있습니다. 아래 메서드를 사용하셨던데, 아래 메서드들에 대한 공식 문서를 찾고있는데 나오지가 않습니다.제가 공식 문서를 찾아보는데 익숙하지 않아 찾지 못한거같은데아래 메서드들에 대한 공식 문서가 있을까요?page.getTotalElements : 전체 Element 개수page.getNumber()page.getTotalPages()page.isFirst()page.hasNext
-
미해결웹 게임을 만들며 배우는 React
강좌에서 다루지 않은 기능들은 어떻게 학습하면 좋을까요?
안녕하세요 예전에 리액트 강좌를 수강하고 취업뒤에 다시 강좌를 찾아보게 되었습니다.요즘 공부방법에 대해서 고민이 많이 되는데 공식문서를 펼쳐놓고 공부하게 되면 이걸 어디에 적용하나 의문이 들면서 어디에 적용할지 모르니 이론만 알고 넘어가는데 이런식으로 넘어가는 개념은 시간이 지나면 다 까먹어버려서 밑빠진 독에 물을 붇는 느낌이 계속 납니다. 그래서 저도 다른분에게 조언을 들었을때, 프로젝트 중심으로 공부하라고 하셔서 한달동안 프로젝트 중심을 공부도 해봤습니다. 장점은 바로바로 실습을 적용하니 기억에도 잘남고 기술이 내것이 되는 느낌이 들어서 자신감이 생기는게 좋았습니다. 그런데 단점은 대부분 쓰던 기술만 계속 사용하게 되고 프로젝트에 따라서 안사용하는 기술도 많아서 그런 기술에 대해 모를때 불안감이 생깁니다. 또 전체적으로 이론을 정리하고 들어가는게 아니라 파편화된 지식을 필요할때마다 배워서 적용하는거라 정리가 필요하지 않나? 생각도 들고요.그래서 두가지 방법다 뭔가 정체되어있는 느낌이 많이 들어서 제로초님한테 조언을 얻고 싶습니다. 덕분에 취업도 하고 업무적으로 힘든것도 없는데 오히려 그래서 불안감이 많이 드는 요즘입니다. ㅎㅎ 항상 건강하세요. 감사합니다.
-
미해결김영한의 실전 자바 - 중급 1편
도와주세요!
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? 예2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? 예3. 질문 잘하기 메뉴얼을 읽어보셨나요? 예[질문 내용]질문있습니다!Address address = new Address("서울");MemberV1 memverA = new MemberV1("회원A", address);System.out.println("memverA = " + memverA);이렇게 했을떄memverA.toString이 되어 public String toString() {return "MemberV1{" +"name='" + name + '\'' +", address=" + address +'}';} memverA에 toString으로 메서드오버라이딩된게 실행이 되는데여기 address는 참조값이기떄문에 또 address.toString을 찾아서가서 adress에 toString을 반환하는건가요? 이부분을 그림으로 그려도보고 해도 잘 안그려져서 혹시 설명가능할까요 ㅠㅠ
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
Mac OS 쓰레드풀 사용 문제 질문드립니다. (11:12)
위쪽에도 같은 맥북 질문이 있는것으로 확인 하였는데 해결방법을 모르겠어서 질문드립니다. 쓰레드가 Console.WriteLine까지는 진입을 하지만 출력이 되지는 않는 문제가 발생합니다.또한 중간에 쓰레드가 전부 사라져버리고 디버깅이 더이상 진행되지 않는 문제가 발생합니다.