묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨풀스택 리액트 라이브코딩 - 간단한 쇼핑몰 만들기
2일차 강의중 에러 문의 QueryClient
1일차까지는 강의를 잘따라가고 있었는데요. 2일차 들어서 에러가 발생합니다. yarn run dev를 실행하면 아래와 같은 메시지가 나옵니다. > Local: http://localhost:3000/ > Network: use `--host` to expose ready in 725ms. X [ERROR] Expected ";" but found "client" src/queryClient.ts:20:15: 20 │ retrun client │ ~~~~~~ ╵ ; Build failed with 1 error: src/queryClient.ts:20:15: ERROR: Expected ";" but found "client" 참고로 아래는 강의 따라가고 있는 깃허브 주소입니다. https://github.com/ucoder-git/vowing-live/blob/main/shopping-mall/src/queryClient.ts import { QueryClient } from 'react-query' type AnyOBJ = { [key: string]: any } export const getClient = (() => { let client: QueryClient | null = null return () => { if (!client) client = new QueryClient({ defaultOptions: { queries: { cacheTime: 1000 * 60 * 60 * 24, staleTime: 1000 * 60, refetchOnMount: false, refetchOnReconnect: false, refetchOnWindowFocus: false, }, }, }) retrun client } })() const BASE_URL = "https://fakestoreapi.com"
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
jpa 관련 질문
안녕하세요 강사님 좋은 강의 감사드립니다. 저는 jpa가 뭔지도 잘 모르고 spring data jpa를 딱 한번 써봤습니다. (발만 살짝 담근 수준으로..) 강의를 듣고 나니까 jpa를 제대로 써보고싶다는 욕심이 생겨서 [실전! 스프링부트와 jpa 활용1] 강의를 바로 들을 예정입니다. 실무에서 jpa를 쓸 때는 강의처럼 영속성 컨텍스트나 jpql을 직접 관리하면서 써야 되는 것인지 아니면 spring data jpa를 갖다 쓰면 되는 것인지, 둘다 혼합해서 쓰는 것인지 궁금합니다. spring data jap관련 강의를 들으면 이 궁금증이 해소될까요? 확인해주시고 답변 주시면 감사드리겠습니다. 감사합니다.
-
미해결자바스크립트 알고리즘 문제풀이 입문(코딩테스트 대비)
이런 접근 방법도 괜찮을까요??
function solution(s, e) { let min = Number.MAX_SAFE_INTEGER; const total = e - s; if (total < 0) return -total; const recursive = (count, distance) => { if (count <= Math.floor(total / 5) + 3) { if ((distance === 0) & (count < min)) min = count; if (distance > 3) recursive(count + 1, distance - 5); else if (distance < 0) recursive(count + 1, distance + 1); else recursive(count + 1, distance - 1); } }; recursive(0, total); return min; }
-
미해결Django REST Framework 핵심사항
DRF 커스터마이징보다 직접 구현하는게 쉽게 느껴지는데요
이쯤되니 차라리 django-ninja 설치후 최대한 직접 구현하는게 더 이해하기 쉬운거같기도하고요 ㅠ..
-
미해결DOM 기본
질문있습니다.!
안녕하세요. 강의 내용 관련해서 질문있습니다. 섹션 13. Node 추가, 삭제, 대체, 복제 6. remove(), removeChild(), isConnected 3분쯤 PPT 내용에 2.2) ski.firstChild의 #text 노드를 작성할 수 없습니다. 가 이해가 되지 않는데, 좀 더 구체적인 설명 좀 부탁드립니다.
-
미해결Vue.js + TypeScript 완벽 가이드
안녕하세요 깃헙 권한 관련 문의드립니다.
감사합니다.
-
미해결12시간 안에 끝내는 파이썬을 활용한 크롤링
코스피거래상위종목 수집 강의에서 nth-child 결과 질문입니다
** 코스피거래상위종목 수집 강의에서 import requests from bs4 import BeautifulSoup as bs url = 'https://finance.naver.com/sise/sise_quant.naver' res = requests.get(url) soup = bs(res.text, 'lxml') title = soup.select("a.tltle") price = soup.select('td.number') ---여기까지는 값을 가지고 옵니다 price = soup.select('td.number:nth-child(3)') 은 빈리스트를 가지고 오는데 어떻게 된 걸까요? 크롬 사용하고 있고 간단하게 html을 만들어서 nth-child를 사용해봐도 값은 가져오지 못하고 있습니다 강사님과 어떤 차이점이 있을까요? 확인부탁드립니다.
-
미해결스프링 DB 2편 - 데이터 접근 활용 기술
@Mapper로 Repository를 대체?
제가 예전 회사에서 MyBatis를 쓸 때, 어디선가 그런 예제를 봐서 썼던 기억이 있는데, Mapper를 바로 서비스 계층에서 주입받아서 Repository처럼 썼었거든요. 이렇게 했을 경우의 문제점은 뭐였을까요?
-
미해결초보자를 위한 Sass 기초 강의 & 자몽톡 클론코딩
live compiler vs 명령행 인터페이스
안녕하세요! 강의 초반에 sass를 실행할수 있는 두가지 방법에 대해 설명해주셨는데 둘중 하나만 사용해도 되는건가요?
-
미해결[백문이불여일타] 데이터 분석을 위한 기초 SQL
WHERE 해커랭크 문제풀이 1,2
weather observation station 6와 12번 문제 해설 시 like 활용해서 풀이해주셨는데요. in 을 사용해서는 풀이가 불가한가요?
-
해결됨자바 ORM 표준 JPA 프로그래밍 - 기본편
entity 컬렉션 null 문제
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]안녕하세요 영한님 강의 정말 잘 듣고있습니다. 제가 혼자 사이드 프로젝트를 하다가 문제가 생겨서 이렇게 질문을 남깁니다. 컬렉션을 가진 엔티티를 처음 생성하면 해당 컬렉션이 빈 컬렉션이 아닌 null 값으로 나옵니다.ㅠㅠㅠㅠ 위의 사진처럼 컬렉션이 null이라 해당 컬렉션에 값을 추가하려고 하면 NullpointException이 나옵니다.ㅠㅠ 1. 어째서 null이 나오는지 궁급합니다. 2. 이런 경우 어떻게 해결해야 하나요?
-
해결됨실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
주문기능 테스트 address 오류
주소부분 오류가 납니다..!
-
미해결iOS/Android 앱 개발을 위한 실전 React Native - Basic
진행중 막혀서 질문드립니다
rror: EMFILE: too many open files, watch at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:123:28) Emitted 'error' event at: at NodeWatcher.checkedEmitError (/Users/harmonlious/my_first_app/node_modules/sane/src/node_watcher.js:143:12) at FSWatcher.emit (events.js:189:13) at FSEvent.FSWatcher._handle.onchange (internal/fs/watchers.js:129:12) npm ERR! code ELIFECYCLE npm ERR! errno 1 npm ERR! my_first_app@0.0.1 start: `react-native start` npm ERR! Exit status 1 npm ERR! npm ERR! Failed at the my_first_app@0.0.1 start script. npm ERR! This is probably not a problem with npm. There is likely additional logging output above. npm ERR! A complete log of this run can be found in: npm ERR! /Users/harmonlious/.npm/_logs/2022-06-08T17_10_06_270Z-debug.log harmonlious@isangmin-ui-MacBookAir my_first_app %
-
해결됨[자소서 첨삭] 8년차 e커머스 개발자가 알려주는 백엔드 웹 개발 신입 취업노하우
마지막으로 하고싶은말
면접관 입장에서 마지막으로 하고싶은말에서 가장 기억에 남았던 말이 있으신가요? 알려주시면 감사하겠습니다.
-
미해결
Golden Goose Shoes and guests looked around
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 Bringing one's authentic self to the party and being accepted as that authentic version of one's self is good. But can fashion continue to grow and evolve in an age so unbound by rules? To appeal to a new generation of style obsessives living out their truest selves IRL and URL, it must. Without fanfare, the show music started playing Golden Goose Shoes and guests looked around quizzically: Was the audience the show? At any moment, it seemed, someone might pop up from the front row and bolt onto the runway in new-old, upcycled-kitschy clothing. In the world of wellness, next year is all about protecting your energy and celebrating the small wins. The study shows that Gen Z users are looking into ways to cultivate spiritual awakenings via searches like, how to protect your energy and how to raise your vibration. In the last two seasons, Lorenzo has been refining his vision. His luxe sportswear has gotten a more sensual, off handed look, especially in the time since his successful Zegna link up. I always get the feeling from the clothes, Golden Goose Mid Star Montero says. That feeling that I get from them is what I give on the catwalk. We might be saying au revoir to fashion month, but it's clear the foulard is here to stay. Pick one up that's either vintage or new, and you'll find there's no shortage of ways to incorporate a silk bandana into your year-round wardrobe. Individual designers can only do so much, and 6,000 kilograms of fashion waste every 10 minutes is a mountain to climb. Willow recognizes that systemic change is needed. We've arrived at the last stop on our month long Fashion Week tour, and Paris is holding some of the season's biggest shows. From Virgil Abloh's final, posthumous collection for Off White to a return to the runway from fashion's favorite twins, and Jonathan Anderson's fifth collection of 2022, there's a week of festivities to come. doesn't miss a thing, so she's no doubt also clocked Gen Z's newfound affection for the mini. Hers come in denim, raw edge tweed, and gray flannel pinstripes. Latex leggings pull the look together, cutting the length's potential sweetness with a potent allure. Days later, at Luar's Bushwick show, the front row included a guy in leather chaps-provocatively sans culottes!-and a tardy guest in a crop top who, when she couldn't find a seat, plopped down on my lap, both vibrating with the same kinetic energy as Omahyra Mota and Richie Shazam on the runway in Raul Golden Goose Sneakers Lopez's sensual and strict new collection. Marni pushed the equation even further: Every guest seated around a winding stage in Milan was outfitted in pieces from past seasons, recycled beautifully by hand-painting each garment with vibrant stripes, swirls, and flowers. Who was a part of the show and who wasn't? What we saw after a month of spring 2022 collections was a stirring new way of dressing that kicked away boundaries and embraced individuality over groupthink.관련 문의는 1:1 문의하기를 이용해주세요.
-
미해결기출로 대비하는 개발자 전공면접 [CS 완전정복]
안녕하세요.
이 강의와 웹개발자 취업 비밀노트 강의에 차이가 있는지 궁금합니다! 이거 하나만 열심히 파면 될까요?
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part1: C# 기초 프로그래밍 입문
안녕하세요. 질문드립니다.
안녕하세요. 객체 할당 시 부모 클래스에 자식 클래스를 할당하는 경우가 있는데 왜 이렇게 하는지 알려주시면 감사하겠습니다. ex) 왜 3, 4 같이 하지 않고 1, 2 같이 하는지 궁금합니다. 1. Player player = new Knight(); 2. Player player = new Mage(); 3. Knight player = new Knight(); 4. Mage player = new Mage();
-
미해결스프링 DB 2편 - 데이터 접근 활용 기술
SpringDataJpaItemRepository 질문 드립니다
의존성 주입 최상단에 있는 SpringDataJpaConfig 파일에서 주입받는 SpringDataJpaItemRepository는 어디서 받는 것인지 모르겠습니다. 스캔 베이스 패키지를 web으로 한정지었기 때문에 SpringDataJpaItemRepository 인터페이스에 @Repository를 달아봤자 어차피 스캔도 안 되고, Config 파일에서도 단순히 주입받아서 사용해서... 어디서 주입되는지 잘 몰라서 아래처럼 생성자에서 로그를 찍어봤습니다. private final SpringDataJpaItemRepository repository;public SpringDataJpaConfig(SpringDataJpaItemRepository repository) { this.repository = repository; System.out.println(repository.getClass());} class jdk.proxy2.$Proxy95 이게 스프링 데이터jpa의 부가기능으로 스프링이 jdk 인터페이스 프록시 객체로 만들어주는 것으로 보이는데요. 질문 1. SpringDataJpaItemRepository가 JpaRepository<T, ID>를 상속받는데, 개인적인 생각으로는 의존성 주입 과정에서 JpaRepository<T, ID> 인터페이스를 상속받는 타입을 감지하는 순간(스프링 기초 수업을 안 들어서 정확히 어느 과정인지는 잘 모르겠습니다ㅠ) 해당 타입으로 빈을 만들어버리는 것 같은데 대략적인 과정이 이게 맞는지 궁금합니다. 질문 2. 위 과정이 맞다면, JpaItemRepositoryV2 같은 중간 계층 클래스를 두지 않고 직접적으로 SpringDataJpaItemRepository를 레포지토리로 사용하려고 할 때는, @Repository 를 붙이지 않아도 서비스 계층에서 직접 주입받아서 사용하는 것도 가능한가요? 직접 돌려보려고 했는데 이거는 하면 코드 구조를 서비스, 레포지토리 전부 갈아치워야 할 것 같아서... 일단 질문 올린 김에 같이 질문드립니다
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
Short Key 누를때마다 화면 중앙 아래에 표기되던데, 혹시 어떤 기능인가요?
안녕하세요. 강의 잘 듣고 있는 학생입니다. Short Key 누를때마다 화면 중앙에 누른 키가 떳다가 사라지는데, 혹시 어떤 기능인지 알 수 있을까요? 저도 Intellij를 사용중인데, 찾기가 좀 힘드네요 ㅎ 알려주시면 감사하겠습니다.
-
미해결쉽고 빠르게 익히는 Power BI 심화 2 (데이터 모델링)
연도에 대한 질문
연도를 선택하니 3684866같은 정수값이 나와서, 이의 데이터 형식을 날짜/시간으로 바꾸는등 몇가지 설정을 변경했더니 연도가 1905로 나옵니다. 그리고 날짜 테이블의 연도 필드 값도 모두 1905년 7월 8일 토요일로 나오네요... 어떤부분의 문제이며, 어떻게 수정해야 할까요?