묻고 답해요
130만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결
안드로이드 앱 개발에서의 VPN
안녕하세요, 저는 안드로이드 개발자이며 앱에 VPN 기능을 통합하려고 합니다. VPN은 유료 VPN이 좋습니다. bytekorea.net, wizcase.com과 같은 몇 개의 웹사이트를 참고하였고 Nord VPN을 고려 중입니다.새로운 앱에 VPN을 통합하기 위한 팁이 있나요?감사합니다.
-
미해결Next + React Query로 SNS 서비스 만들기
router.replace() 질문
팔로우 버튼을 누르면 로그인 화면으로 가도록 기능을 넣어봤습니다.FollowRecommend 컴포넌트에서 router.replace('/i/flow/login'); 를 하면 notfound 페이지가 뜹니다. (당연히 router.replace('/home')을 해도 마찬가지 입니다.<- /i/flow/login으로 가기때문)그러나 이 상태에서 새로고침하면 로그인 화면 잘 뜹니다.이렇게 root 경로로는 잘 넘어가서 일단은 메인화면으로 해놨는데, 왜 이런 현상이 발생하는 걸까요..? 감사합니다.
-
해결됨[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part9: MMO 컨텐츠 구현 (DB연동 + 대형 구조 + 라이브 준비)
JobSerializer 관련
안녕하세요. 강의 다 듣고 포트폴리오 프로젝트를 만들면서 JobSerializer 관련해 궁금증이 생겨 질문 드립니다. 강의에서 채택한 방식은GameRoom 단위로 JobSerializer를 두는 방식으로 이해했습니다. 그렇다면 Zone은 비대해진 GameRoom의 커버영역을 논리적으로 잘게잘게 쪼개서 최적화 하는 것이라고 보면 될까요? (만약, 좁은 영역을 다루는 보스방 같은 곳은 BossRoom 같이 새로 만들어서 Zone 없이 구현하면 되는건가요?) GameRoom을 여러 개로 나누는 시점은 독립적인 공간 (이를테면 보스방, 건물내부 등)이 생길 때 인가요?강의에서는 GameLogicTask에서 모든 GameRoom에 대한 Flush를 하였는데, 메인월드(대륙)처럼 처리해야 하는 영역이 방대한 GameRoom에 대해서는 Thread 1개 전체를 할당해 주는 등 각 GameRoom의 무게(?) 에 따라서 Thread 1개당 몇개의 GameRoom을 Flush 할 것인지 정하면 되는 것인가요?만약, Object 단위로 JobSerializer를 둔다면 Thread 하나당 담당할 Object 개수를 정해서 하는 건가요? 여담으로 예전에 면접에서 동접자수에 관련된 질문을 받았는데.. CPU 성능에 따라 천차만별이라 크게 의미 있는 질문인가 싶지만 이런 지표를 뽑아내려면 정확히 어떤 기준으로 뽑아내는 건가요? (대충 눈으로 끊김 없는 한계 동접자 수, CPU 로드율 일정% 이상 등등..) 감사합니다!
-
미해결스프링 DB 1편 - 데이터 접근 핵심 원리
중요한 런타임 예외를 안잡아주면 시스템은 어떻게 되나요?
예시로 설명해주신 NetworlClient클래스의RuntimeConnectionEx 예외를 실제 시스템에서 잡지 않고 무시하면 서비스를 이용하는 고객들에게 어떤 문제가 발생하였는지 인지 시켜줄 수 없게되고 고객들은 연결이 안되는 서비스를 무한 로딩한 상태로 대기 하게 되는건가요?
-
미해결그림으로 배우는 쿠버네티스("v1.22"-v1.24, v1.27~)
8.6.네트워크 정책 (NetworkPolicy)에서 NetworkPolicy-ipBlock-except.yaml에 대한 질문
안녕하세요.NetworkPolicy-ipBlock-except.yaml 파일을 [root@m-k8s 8.6]# cat 3-3-NetworkPolicy-ipBlock-except.yaml apiVersion: networking.k8s.io/v1 kind: NetworkPolicy metadata: name: networkpolicy-ipblock-except namespace: default spec: podSelector: {} policyTypes: - Ingress - Egress ingress: - from: - ipBlock: cidr: 172.16.0.0/16 # change your CIDR to shut it down except: - 172.16.132.0/24 egress: - to: - ipBlock: cidr: 172.16.0.0/16 # change your CIDR to shut it down except: - 172.16.132.0/24위와 같이 설정 후,[root@m-k8s 8.6]# k apply -f 3-3-NetworkPolicy-ipBlock-except.yaml networkpolicy.networking.k8s.io/networkpolicy-ipblock-except created [root@m-k8s 8.6]# k get po -o wide | grep deploy-ipblock-ddb5f6ff9 deploy-ipblock-ddb5f6ff9-klkkj 1/1 Running 0 20s 172.16.103.150 w2-k8s <none> <none> deploy-ipblock-ddb5f6ff9-l7fdx 1/1 Running 0 20s 172.16.132.37 w3-k8s <none> <none> deploy-ipblock-ddb5f6ff9-q4r7m 1/1 Running 0 20s 172.16.221.154 w1-k8s <none> <none> [root@m-k8s 8.6]# k exec net -it -- /bin/bash [root@net /]# ping 172.16.103.150 PING 172.16.103.150 (172.16.103.150): 56 data bytes ^C --- 172.16.103.150 ping statistics --- 5 packets transmitted, 0 packets received, 100% packet loss [root@net /]# ping 172.16.132.37 PING 172.16.132.37 (172.16.132.37): 56 data bytes ^C --- 172.16.132.37 ping statistics --- 5 packets transmitted, 0 packets received, 100% packet loss [root@net /]# ping 172.16.221.154 PING 172.16.221.154 (172.16.221.154): 56 data bytes ^C --- 172.16.221.154 ping statistics --- 4 packets transmitted, 0 packets received, 100% packet loss ping을 보낼 시, 강의에서는 w3-k8s에만 ping이 안가야 정상이고 나머지 (w1-k8s / w2-k8s)에는 ping이 가야하지만 NetworkPolicy-ipBlock-except.yaml 적용 시, 어떠한 노드에도 핑이 가지 않습니다. yaml 파일에서도 except를 172.16.132.0/24로 주었지만 되지 않습니다.해당 IP 대역만 제외했는데 왜 다른 대역도 먹통이 되는지 이해가 안됩니다 ㅠㅠ(NetworkPolicy-ipBlock-except.yaml 해제하면 모든 노드에 ping이 감)
-
미해결실전! Querydsl
PDF 제안: -AND 조건을 콤마로 처리-로 수정해야 할 것 같은데 확인 부탁드립니다!
3.기본문법 pdf 파일에서 'AND 조건을 파라미터로 처리' 섹션이 있습니다. 페이지로는 6페이지 정도 되는 것 같습니다. 이 부분에서 AND를 이용한 메서드 체이닝 방식과 함께 predicate를 이용해 콤마로 AND조건을 소개해주시고 있습니다.타이틀을 'AND 조건을 콤마로 처리'로 수정해야 할 것 같은데 한번 확인 부탁드립니다!
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
빌드 오류
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]여기에 질문 내용을 남겨주세요.다음과 같은 오류가 발생하는데 어떻게 해결하나요?
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
다중회귀분석과 이원분산분석의 차이를 모르겠어요.
다중회귀분석은 독립변수 여러개, 종속변수 하나이원분산분석은 2개 이상의 요인으로 평균 검증 결국에는 둘다 ols사용하는것도 같은데, 두개가 뭐가 다른가요?
-
미해결프리랜서 개발자가 되기 위한 완벽 가이드
프로젝트 찾기 관련 질문
개발한지는 3년이 되었고, 현재 지인이 전혀 없는 상태입니다.그래서 강의해주신대로 프로필을 만들고, 명함을 파고 모임을 가서 오프라인으로 영업을 해보려고 하는데요.어떤모임을 나가야 효율이 좋을지, 아니면 영업방식이 따로 있으신지 궁금합니다.SNS 친구 영업은 퍼스널브랜딩을 하면서 진행해야하는 걸까요?어떤 모임에 나가고, 컨퍼런스에 나가야할지 감이 잡히지 않습니다.지인이 없는 상황이라 너무 막막하네요, 답변부탁드립니다 감사합니다.
-
미해결[플러터플로우]코딩 없이 한 달 만에 앱 만들기
테스트 모드 구글 Oauth 도메인 추가 방법 발견
테스트 모드로 앱을 켠다.개발자 모드로 들어간다.콘솔에 보면 다음과 같은 형태의 도메인이 노출되어 있다:'ff-debug-service-frontend-ygxkweukma-uc.a.run.app'노출된 도메인을 firebase->authentication->settings->승인된 도메인에 추가한다.칭찬해주시죠 강사님!
-
미해결Next + React Query로 SNS 서비스 만들기
is not valid JSON 에러 ..!
import { http, HttpResponse } from "msw"; const testData = [ { result: "success", userId: 2, nickname: "닉네임", favoriteCount: 223, viewCount: 336, position: "Backend", userFileUrl: "/Users/user/Desktop/pictures/userPicture.jpg", year: "경력없음", techStack: "react, java, ---", softSkill: "소통, 적극성, ---", links: "http://블로그주소", alarmStatus: true, content: "안녕하세요 구인 중입니다", }, ]; export const handlers = [ http.post("/api/post", () => { return HttpResponse.text(JSON.stringify("ok")); }), http.get("/api/get", ({ request }) => { console.log("request", request); return HttpResponse.json(testData); }), ]; export default handlers;"use client"; import { redirect } from "next/navigation"; export default function Home() { const handleClick = () => { fetch(`${process.env.NEXT_PUBLIC_BASE_URL}/api/get`, { method: "get", }) .then((res) => console.log("res", res.json())) // JSON 형식으로 변환된 데이터를 가져옴 .then((data) => console.log("res?", data)); // JSON 데이터를 로그에 출력 }; return ( <> <div> <button onClick={handleClick}>test btn</button> <p>계정을 생성하세요</p> <form> <div> <> <label htmlFor="id">아이디</label> <input type="text" id="id" name="id" required /> </> <> <label htmlFor="name">이름</label> <input type="text" id="name" name="name" required /> </> <button type="submit">가입하기</button> </div> </form> </div> </> ); } browser.ts, handlers.ts, http.ts, MSWComponent.tsx, server.ts 는 제로초님과 다 동일하게 설정하였고 get부분에서 위와같이 하였는데 Unexpected token '<', "<!DOCTYPE "... is not valid JSON 라는 에러가 계속 발생합니다 ㅠㅠ 어떤부분이 문제일까요.. !console.log("res", res.json())) 이부분에서 res만 콘솔로 확인하면 이렇게 나옵니다..!
-
해결됨스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
웹 프로젝트가 아닌 앱 프로젝트를 할 떄도 spring web을 사용하나요?
강의 내용이 어려워서 다시 마음 잡을겸 처음부터 보고 있습니다.강의 내용을 들으면서 앱도 웹 기반 동작을 하기 때문에 벡엔드 개발은 클라이언트에 의존하지 않는다고 이해 하였는데 웹 개발이 아닌 앱 개발을 할때도 start.spring.io 사이트에서 spring web을 다운 받으면 되는건가요?+ 현제 스프링 db1편을 수강중인데 db2편까지 수강을 마치면 db연동까지 가능한(동시에 여러 사용자가 사용하는) 프로젝트를 개발하는것이 가능한가요? 아니면 나머지 강의인 스프링 고급과 핵심원리 활용까지 수강을 하여야 하나요?
-
미해결CS 지식의 정석 | 디자인패턴 네트워크 운영체제 데이터베이스 자료구조
세마포어의 signal() 메서드 질문
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.큰돌님 안녕하세요, 세마포어에 대해 듣는 중에 궁금한 점이 생겨 질문을 남깁니다 !세마포어의 signal 메서드에서 공유자원 +1을 해준 후에왜 if(s.value <=0)인가요 ?공유자원이 >= 0이면 대기열에 있는 프로세스를 꺼내서 작동시킬 수 있는 것 아닌가요 ?
-
미해결스프링 핵심 원리 - 기본편
findAllBean 테스트 오류(member를 빈으로 등록하라는 오류)
[질문 내용]여기에 질문 내용을 남겨주세요. 섹션 7의 조회한 빈이 모두 필요할 때, List, Map 강의 위치 => 05:02 @Autowired에 빨간 밑줄이 가서 다른 질문글을 찾아보고 DiscountService에 @Component 어노테이션을 달아줬습니다.그래도 똑같은 오류가 뜹니다. package hello.core.autowired.allbean; import hello.core.AutoAppConfig; import hello.core.discount.DiscountPolicy; import hello.core.member.Member; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.AnnotationConfigApplicationContext; import org.springframework.stereotype.Component; import java.util.List; import java.util.Map; public class AllBeanTest { @Test void findAllBean(){ AnnotationConfigApplicationContext ac = new AnnotationConfigApplicationContext(AutoAppConfig.class, DiscountService.class, Member.class ); } //기존 orderService를 수정하면 코드 수정하기 복잡해져서 테스트용 클래스 따로 만들음. @Component static class DiscountService{ private final Map<String, DiscountPolicy> policyMap; private final List<DiscountPolicy> policies; @Autowired public DiscountService(Map<String, DiscountPolicy> policyMap, List<DiscountPolicy> policies) { this.policyMap = policyMap; this.policies = policies; System.out.println("policyMap = " + policyMap); System.out.println("policies = " + policies); } } }org.springframework.beans.factory.UnsatisfiedDependencyException: Error creating bean with name 'member' defined in file [C:\Users\hotay\OneDrive\바탕 화면\study\core\core\build\classes\java\main\hello\core\member\Member.class]: Unsatisfied dependency expressed through constructor parameter 0: No qualifying bean of type 'java.lang.Long' available: expected at least 1 bean which qualifies as autowire candidate. Dependency annotations: {}
-
미해결스프링 DB 2편 - 데이터 접근 활용 기술
스프링DB 2 :: 테스트 - 데이터 베이스 연동 오류
저는 데이터를 새로 생성해서 테스트를 했는데, save와 finditems 두 군데 모두 오류가 발생합니다. 링크 :: https://drive.google.com/file/d/1i7i95iRprKTD08l5TuPj1iCOAVPDvNTT/view?usp=sharing save 오류 :: org.opentest4j.AssertionFailedError: expected: hello.itemservicedb.domain.Item@a2df0d5 but was: hello.itemservicedb.domain.Item@26d028f7 finditems 오류 :: org.opentest4j.AssertionFailedError: Expecting actual: [hello.itemservicedb.domain.Item@4cc26df, hello.itemservicedb.domain.Item@7848321e, hello.itemservicedb.domain.Item@f4f843f, hello.itemservicedb.domain.Item@7b5833ee, hello.itemservicedb.domain.Item@1e471884, hello.itemservicedb.domain.Item@27261190, hello.itemservicedb.domain.Item@543b0737]to contain exactly (and in same order): [hello.itemservicedb.domain.Item@6e46891d, hello.itemservicedb.domain.Item@48632f69, hello.itemservicedb.domain.Item@5fde1d64]but some elements were not found: [hello.itemservicedb.domain.Item@6e46891d, hello.itemservicedb.domain.Item@48632f69, hello.itemservicedb.domain.Item@5fde1d64]and others were not expected: [hello.itemservicedb.domain.Item@4cc26df, hello.itemservicedb.domain.Item@7848321e, hello.itemservicedb.domain.Item@f4f843f, hello.itemservicedb.domain.Item@7b5833ee, hello.itemservicedb.domain.Item@1e471884, hello.itemservicedb.domain.Item@27261190, hello.itemservicedb.domain.Item@543b0737]
-
미해결[코드캠프] 부트캠프에서 만든 고농축 프론트엔드 코스
내장함수 리뷰 강의 질문입니다.
내장함수 리뷰 강의에서 let isStarted = false 이 부분을 작성해주는 이유와 let timer를 해서 setInterval 앞에 timer를 붙여 재할당부분 그리고, clearInterval(timer) 이 부분에 대해 강의를 여러번 봐도 설명이 조금 어렵더라구요. 조금 쉽게 설명부탁드리겠습니다 ^^
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part4: 게임 서버
OnRecvPacket에 PacketSessionRef를 넘겨줄 때
안녕하세요OnRecvPacket 함수 내부에서 HandlePacket 함수의 파라미터로 PacketSessionRef 타입 파라미터를 넘겨줄 때 왜 PacketSessionRef의 생성자를 호출해서 추가로 만든 객체를 넘겨주는지 궁금합니다.이 부분이 혹시 shared_from_this를 활용해서 PacketSession으로 캐스팅해서 객체 본인을 넘겨줘야 하는게 아닌지 궁금합니다.
-
미해결실무자를 위한 구글애널리틱스(GA4+GTM) 활용법(24년 Update)
전자상거래 항목 price값 오류
안녕하세요! 좋은 강의덕분에 현재 카페24에서 운영중인 자사몰에 GA4를 활용해서 잘 사용하고 있습니다.다만 추가적으로 전자상거래 관련된 부분을 GTM을 통해 GA4로 값을 옮겨오는 과정에서 begin_checkout과 purchase에서 items 항목에 price값이 크게 나오는 상황인데 해결하기 어려워 질문을 남깁니다. 기존 가격이 20000원이지만 해당 값처럼 표기가 됩니다.통화도 한화로 되어 있고, GTM에서도 정상적으로 값이 표기되는데 GA에만 오면 값이 바뀌어서 뭐가 문제인지 궁금합니다
-
미해결스프링 DB 2편 - 데이터 접근 활용 기술
테스트에서 select 로그가 노출안되는 이유
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? 예2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? 예3. 질문 잘하기 메뉴얼을 읽어보셨나요? 예[질문 내용]여기에 질문 내용을 남겨주세요. 테스트 케이스 중 save() 테스트와 updateItem()테스트에서 itemRepository.findById를 호출하는 부분이 있습니다.itemRepository.findById(item.getId()).get();이 경우 select 쿼리가 나가는 걸로 알고 있는데 로그에는 노출되지 않습니다.1) save()2) updateItem()강사님 화면에도 노출되지 않던데 그 이유가 있을까요??
-
미해결
How to Build a Profitable UI/UX Portfolio?
Some case studiesUI/UX training in pune ,Case Studies dive deep into your design process to help readers understand how you tackle design challenges. They describe your role in the design and explain each step. These case studies also include screenshots.Include at least three to four case studies as part of your portfolio. The case studies must showcase your best work and should reflect the kind of work you would like to be hired for.Your work historyYou should also include a section on your website called "Me", or "About Me". You can add testimonials to your social media profiles and link them.Portfolio skills to highlightOnce you have defined your career goals you can showcase your design skills. You may not have all of these skills depending on your experience level, but it is important to include as many skills as you can.User ResearchIn order to better understand the needs and motivations of users, research can include A/B tests, focus groups, and surveys.Hiring managers are looking for designers who can identify the pain points of users before creating new products.Users FlowsYou need to understand the steps a typical user takes to accomplish a task when designing a digital product. If you are working on a website, for example, the user might arrive on the homepage and click on the embedded video. Then, they may scroll down to the footer to click on one of the links.Show hiring managers you understand the concept by using screenshots from previous projects.WireframingWireframing helps designers to solve problems through the establishment of a design's structure. Hiring Managers are looking for UX/UI Designers classes in pune who have wireframing skills and can use wireframing software.MockupsMockups are a great way to show potential clients and recruiters that you can use popular software to create them.Create a mockup for a project you are passionate about.Persona developmentYou may have an advantage if you've developed personas. Include screenshots and details of your best personas.Visual designInclude screenshots or mockups of previous web design projects that show the ability to turn an idea into fully-functional websites. Be sure the screenshots provide enough information for the recruiter so they can understand the project.Information architectureYou can include a case-study that highlights your skills.Agile designMany companies use agile product design. Many companies use agile product design.CollaborationYou can demonstrate this by describing how you worked with customers to obtain their feedback, or how you tested your prototypes on a representative group.What can I do if I have no UI/UX experience?Steven Paul Winkel stein clarifies the differences between those who have backgrounds in graphic design and marketing and those that come from the food industry. Winkel stein says that the only difference is in their ability to learn software.Your formal training as a UI/UX Designer is not more important than your understanding of the tools and principles that you use to design.A course in UX/UI design Course in Pune is a good way to gain valuable experience.ITeducationcentre’s UI UX course will help you prepare for your dream UI/UX position. You will learn the fundamentals of design thinking, UX research, and other relevant skills. SevenMentor will provide you with a certificate of completion and access to a network of hiring managers who are looking for designers.