묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결
Find a Reliable Used Car Buyer in Auckland?
If you have a junk car on your property & wish to fix it, you're wasting your money. CarsWreckers is a firm based in Auckland that specialises in trash automobile removal. They allow sellers to sell their scrap junk cars and offer free towing and junk car removal services. They are also renowned as the most dependable used car buyer Auckland. Contact them as soon as possible to get rid of your junk car and receive immediate cash for it.
-
미해결
Who Are The Best Auto Wreckers in Brisbane?
CarsWreckers is an Auto Wreckers Brisbane based in Australia that specialises in all types of brands so that car owners in Brisbane can go to a specialist who can provide them with the used parts and service they desire. When you contact Car Removals Brisbane, you can expect a licensed and competent team to provide you with original used car parts in Brisbane. I hope you find this information useful. Visit CarsWreckers Today!
-
미해결자바(Java) 알고리즘 문제풀이 입문: 코딩테스트 대비
sort 함수 이용시 문제점 발견
안녕하세요 선생님. 문제 풀던중 질문이 있어 질문 남깁니다. 아래와 같이 sort를 이용하여 정렬을 해봤는데, 2번째 채점결과에서 인덱스 번호 800번까지는 정렬이 잘 되나, 그 뒤로 무너지는 현상이 발견되었습니다. 선생님이 풀어주신 내용과는 무관하나, 너무 궁금하여 질문드립니다. 감사합니다. public class Main { public static void main(String[] args) throws IOException { BufferedReader br = new BufferedReader(new InputStreamReader(System.in)); StringBuilder sb = new StringBuilder(); int n = Integer.parseInt(br.readLine()); List<List<Integer>> input = new ArrayList<>(); for (int i = 0; i < n; i++) { List<Integer> tmp = new ArrayList<>(); String[] s = br.readLine().split(" "); tmp.add(Integer.valueOf(s[0])); tmp.add(Integer.valueOf(s[1])); input.add(tmp); } input.sort((o1, o2) -> o1.get(0)==o2.get(0)? o1.get(1)-o2.get(1) : o1.get(0)-o2.get(0)); for (List<Integer> integers : input) { System.out.println(integers.get(0)+" " + integers.get(1)); } }}
-
해결됨20년 경력자의 알기쉬운 컴퓨터네트워크
좋은강의자료 정말 감사합니다.(저작권 관련 블로그 게시 가능 여부 문의)
안녕하세요 넷가이버님 좋은 강의 잘 듣고 있습니다. 개인적으로 네트워크를 공부하고 있는 직장인인데, 다음과 같이 정리한 자료를 블로그에 게시해도 되는지 궁금해서 문의남깁니다.(상업성 블로그x) 블로그에 출처 명확히 표기할 예정이구요. 만약 문제가 된다면 개인적으로만 소장하겠습니다.
-
미해결인터랙티브 웹 개발 제대로 시작하기
live server 퍼포먼스 관련 질문좀 드리겠습니다.
1분코딩님 강좌를 보고 흥미가 생겨서 유튜브에서 canvas 강의도 찾아보고 외국의 튜토리얼도 몇개 따라해봤는데요 live server로 크롬에서 구동하는데 객체가 많아지거나 투명도 조절시 프레임이 낮아지면서 제대로 렌더링을 못하더라구요.. 컴퓨터가 안좋은건가? 하고 있었는데, 어느날 네이버웨일과 사파리로 라이브서버를 돌려보니 퍼포먼스의 차이가 심하게 나며 아주 부드럽게 잘 돌아가더라구요. 원래 브라우저마다 퍼포먼스의 차이가 심한가요? 그리고 live server로 내 컴퓨터에서 렌더링해서 보이는것과 다른 컴퓨터에서도 보이는것을 생각해야 할텐데 그런 부분에 대해서는 어떻게 고려하면 좋을지 모르겠어서요.. 가르침 한수 부탁드리겠습니다 ㅠㅠ
-
미해결스프링 핵심 원리 - 기본편
프로젝트 생성하자마자 오류
안녕하세요 프로젝트 생성후 별다른 설정을 하지 않아도 오류가 바로 발생하고 서버가 작동하지 않습니다.오류 내용은 다음과 같습니다. 김영한 강사님께서 올려주신 링크대로 해결하려 해봐도 해결이 되지 않아 재문의드립니다!! ㅠㅠ
-
미해결
npm install 에러
PS C:\Users\alswl\OneDrive\바탕 화면\learn-vue-js-master> npm install -g @vue/cli npm WARN deprecated source-map-url@0.4.1: See https://github.com/lydell/source-map-url#deprecated npm WARN deprecated urix@0.1.0: Please see https://github.com/lydell/urix#deprecated npm WARN deprecated apollo-tracing@0.15.0: The `apollo-tracing` package is no longer part of Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#tracing for details npm WARN deprecated source-map-resolve@0.5.3: See https://github.com/lydell/source-map-resolve#deprecated npm WARN deprecated resolve-url@0.2.1: https://github.com/lydell/resolve-url#deprecated npm WARN deprecated graphql-extensions@0.15.0: The `graphql-extensions` API has been removed from Apollo Server 3. Use the plugin API instead: https://www.apollographql.com/docs/apollo-server/integrations/plugins/ npm WARN deprecated apollo-cache-control@0.14.0: The functionality provided by the `apollo-cache-control` package is built in to `apollo-server-core` starting with Apollo Server 3. See https://www.apollographql.com/docs/apollo-server/migration/#cachecontrol for details. npm WARN deprecated uuid@3.4.0: Please upgrade to version 7 or higher. Older versions may use Math.random() in certain circumstances, which is known to be problematic. See https://v8.dev/blog/math-random for details. npm WARN deprecated subscriptions-transport-ws@0.9.19: The `subscriptions-transport-ws` package is no longer maintained. We recommend you use `graphql-ws` instead. For help migrating Apollo software to `graphql-ws`, see https://www.apollographql.com/docs/apollo-server/data/subscriptions/#switching-from-subscriptions-transport-ws For general help using `graphql-ws`, see https://github.com/enisdenjo/graphql-ws/blob/master/README.md npm WARN deprecated graphql-tools@4.0.8: This package has been deprecated and now it only exports makeExecutableSchema.\nAnd it will no longer receive updates.\nWe recommend you to migrate to scoped packages such as @graphql-tools/schema, @graphql-tools/utils and etc.\nCheck out https://www.graphql-tools.com to learn what package you should use instead changed 893 packages, and audited 894 packages in 2m 88 packages are looking for funding run `npm fund` for details found 0 vulnerabilities 이렇게 뜨고 vue create vue-cli 치면 안되요 어떻게 하면 될까요?
-
미해결유니티 프로그래머 현업자의 기본 스킬들
Npot텍스처 질문!
Npot텍스쳐 임포트 설정 Advanced에서 toNearleast 등으로 설정 했을시 Npot를 pot로 바꾸면서 유니티에서 메모리가 증가하는건 이해가 가는데 빌드시에도 그렇게 되나요?? 유니티에서 임포트설정으로 인해 pot로 바뀐 텍스쳐만 빌드파일에 넣어준다면 개발자는 pot인지 npot인지 신경쓰지 않고 개발해도 될텐데 유니티가 그 기능을 제공 하지 않는 건가요?? 흠..
-
해결됨코딩은 실전이다! - Git알못을 위한 깃린이코스(Git, Github 실습위주)
slack 초대 부탁드립니다!
안녕하세요! 이메일: tjdbwns19@naver.com 유익한 강의 감사합니다!
-
미해결Vue.js 완벽 가이드 - 실습과 리팩토링으로 배우는 실전 개념
권한 요청 드립니다.
인프런 아이디 : lsecret@naver.com인프런 이메일 : lsecret@naver.com 깃헙 아이디 : lsecret@naver.com깃헙 Username : DoLiLu감사합니다.
-
미해결스프링 핵심 원리 - 기본편
왜 오류가 발생할까요 ?
강의에 나오는대로 @Component와 @autowired를 다 등록했는데 오류가 발생합니다
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
cookie 공유 질문이요
export const getServerSideProps = wrapper.getServerSideProps( async (context) => { const cookie = context.req ? context.req.headers.cookie : ""; axios.defaults.headers.Cookie = ""; if (context.req && cookie) { axios.defaults.headers.Cookie = cookie; } context.store.dispatch({ type: LOAD_MY_INFO_REQUEST, }); context.store.dispatch({ type: LOAD_POSTS_REQUEST, }); context.store.dispatch(END); await context.store.sagaTask.toPromise(); } ); 여기서 쿠키공유를 막기위해 if (context.req && cookie) { axios.defaults.headers.Cookie = cookie; } 를 넣어주셨는데 이 조건문없이 export const getServerSideProps = wrapper.getServerSideProps( async (context) => { const cookie = context.req ? context.req.headers.cookie : ""; axios.defaults.headers.Cookie = cookie; context.store.dispatch({ type: LOAD_MY_INFO_REQUEST, }); context.store.dispatch({ type: LOAD_POSTS_REQUEST, }); context.store.dispatch(END); await context.store.sagaTask.toPromise(); } ); 이런식으로 해도 페이지 접속하는 유저마다 cookie가 달라서 변수 cookie는 계속 변하고 axios.defaults.headers.Cookie = cookie; 값이 계속 달라져서 문제가 없을 거 같은데 어떻게 쿠키가 공유 되는건가요?
-
미해결it 취업을 위한 알고리즘 문제풀이 입문 (with C/C++) : 코딩테스트 대비
이 방법은 시간복잡도가 On2 정도일까요?
int main() { freopen("input.txt", "rt", stdin); int n; scanf("%d", &n); std::vector<int> list; int sum = 0; int count = 0; for (int i = (n/2) + 1; i > 0; i--) { int temp = i; sum = 0; list.clear(); while (true) { sum += temp; list.push_back(temp); temp--; if (sum == n) { for (int k = list.size() - 1; k > 0; k--) { printf("%d + ", list[k]); } printf("%d = %d\n", list[0], sum); count++; break; } else if (sum > n) { break; } } } printf("%d", count); return 0; } 반복문이 3번 등장해서 좋지 못하다고 생각듭니다. 시간복잡도가 On2 이상 일까요?
-
미해결[개정판] 파이썬 머신러닝 완벽 가이드
결정트리 질문
안녕하세요. 결정트리 분류 구현 질문드립니다. 4분19초에 있는 그림들을 보면 규칙 노드가 있고 거기에 대한 결정 분류값이 있다고 이해했습니다. 만약 제가 결정트리기반인 모델을 가지고 사용자 특성(ex 나이, 성별, 현재 상태 등)을 가지고 다음에 할 행동을 분류한다고 했을 때, 같은 특성을 가진 사람이라 해도 다음 행동이 다를 수 있다고 생각됩니다. 이럴 때는 결정트리를 사용하면 안되는 것인가요? 음 요약하자면 입력 특징들이 같고 class가 다른 경우 사용할 수 없나요?? 해당 문제를 풀기 위해서 결정 트리로 접근하는 것은 잘못된 방향일까요? ex. input label 남자 21세 치킨먹음 -> 마실 것을 먹음 남자 21세 치킨먹음 -> 손을 씻음 이런 특성을 가지고 가장 높은 확률로 이 행동을 하겠다 하는 것을 예측하고 싶습니다! 옳바른 비교인지 모르겠지만, 뒤에서 본 사용자 행동 인식 데이터에서는 같은 입력과 다른 출력이 있는데도 사용한 것일까요?? 강사님 강의를 보고 너무 좋아서 복습용으로 책도 구매했습니다!! 좋은 강의와 책 만들어주셔서 감사드립니다!ㅎㅎ
-
미해결스프링 핵심 원리 - 기본편
@Bean 등록 질문입니다
Appconfig에 @configuration 과 @Bean 이 있잖아요 그럼 처음에 스프링 컨테이너에는 Appconfig라는 클래스만 등록하고 그 뒤에는 원하는 클래스가 Spring Container에 있으면 그걸 반환하고 없으면 Appconfig에서 찾아서 Spring Container에 등록하고 반환해주는건가요 ? 처음에 실행하면 @Bean 붙은걸 다 Spring Container 등록하는건 아닌거죠 ? 필요할때마다 등록하게 되는 구조? 인건가요 ? 만약 Appconfig에 사용하지 않는 Bean이 있다면 이건 Spring Container에 등록되지 않나요 ?
-
미해결대세는 쿠버네티스 (초급~중급편)
1.22 버전 쿠버네티스 설치시
안녕하세요 강의를 다시 들으면서 1.22 버전 쉽게 설치하는 것으로 진행했습니다. 문제가 있는데요 Agro 관련해서 helm 차트 이용하여 설치하려고 합니다. 다만 문제는 현재 외부와 통신이 안되네요 network-script 수정도 해보고 hosts 파일도 수정을 했는데요 외부와 통신이 안됩니다.. ping 8.8.8.8 안되는 것도 당연하구요 network-sciprt에 DNS 를 8.8.8.8 로도 추가해보고 했는데 통신이 안됩니다.. 혹시 제가 실수한게 있을까요? 감사합니다.
-
미해결스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
@ResponseBody의 역할
안녕하세요 영한님! @ResponseBody를 사용할 때 메서드의 리턴타입이 객체 타입인 경우에만 JSON 객체로 변환해서 반환되고 int, String과 같은 기본 타입이 리턴타입인 경우에는 해당 타입이 그대로 반환이 되는건가요??
-
미해결기출로 대비하는 개발자 전공면접 [CS 완전정복]
Context Switching은 언제 발생하나요?
강의 잘 듣고 있습니다!! 궁금한 점이 하나 생겨 여쭤봅니다! 프로세스 간 context switching과 스레드 간 context switching이 비용도 다르고 조금 다르게 동작하는 것 같은데요. 각각 어느 경우에 발생하는 건지가 궁금합니다! 프로세스 스레드 구분없이 CPU 배분 시간?이 끝나면 발생하게 되는건가요?
-
해결됨스프링 MVC 1편 - 백엔드 웹 개발 핵심 기술
더 나은 선택은 뭔가요?
@RequestMapping("/request-param") public String requestParam( @RequestParam(DefaultValue="") String id, @RequestParam(DefaultValue="-1") int x, @RequestParam(DefaultValue="-1") int y) { if(StringUtils.isEmpty(id){ id=x+y; } if(id.equals("-1-1")){ throws new IllegalArgumentException("id 또는 x,y 값이 존재하지 않습니다."); } somthingService.businessLogic(id); return "okay"; } request-param 요청을 하였을 경우, 0) id가 있으면 id를 사용하여 비즈니스 로직을 진행하고, 1) id가 없으면 x, y를 합하여 id로 대체할 수 있도록 하고, 2) x, y 마저도 없으면 id가 반드시 존재해야하는 형태로 파라미터를 전달받게끔 처리하고싶습니다. 이번 강의에서 알려주신 DefaultValue를 활용하고, 추가로, DefaultValue에 해당하는 값이 넘어왔을 경우, 분기에 따라 id를 받게끔 처리하고싶습니다. 다양한 방법이 있을 것 같은데, 혹시 Spring에서 제공하는 애너테이션으로 이를 보다 쉽게 처리할 수 있는 방법이 있을 까요? 생각했던 것 보다 실제로 구현해보니 너무 지저분해지는 것 같아 너무 답답합니다...
-
해결됨실전! Querydsl
삭제 벌크 연산 flush() 호출
영한님 안녕하세요. 벌크 연산 후, flush(), clear() 처리를 해줘야 DB와 영속성 컨텍스트 에 있는 엔티티 상태가 같게 유지 된다고 하셨는데요. 삭제 벌크 연산 같은 경우에는 flush(), clear() 처리를 별도로 해주지 않더라도 데이터 조회해보면 삭제되어서 조회가 안되더라구요.. 그렇게 되면 삭제 연산 시에는 굳이 flush, clear 처리를 안해줘도 되는게 아닌가요?? 강의 삭제 테스트 코드에서도 확인해보니 flush 호출을 안했는데도 조회 시 데이터가 삭제되어 있습니다. ㅠㅠ @Test public void bulkDelete() { List<Member> result = queryFactory .selectFrom(member) .fetch(); // 104명 for (Member member1 : result) { System.out.println("member1 = " + member1); } long count = queryFactory .delete(member) .where(member.age.gt(18)) .execute(); System.out.println("delete count="+count); // 84 List<Member> result1 = queryFactory .selectFrom(member) .fetch(); // 20명 for (Member member1 : result1) { System.out.println("member1 = " + member1); } }