묻고 답해요
130만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨[코드캠프] 부트캠프에서 만든 고농축 프론트엔드 코스
variables 값들이 바뀌질 않습니다
const setGraphql = gql` mutation createBoard($writer: String, $title: String, $contents: String) { createBoard(writer: $writer, title: $title, contents: $contents) { _id number message } } `; export default function GraphqlMutationPage() { const [createBoardMutation] = useMutation(setGraphql); const onClickSubmit = async () => { try { const result = await createBoardMutation({ // await 을 빼주면 promise 상태로 변환 variables: { // variables => $ 역할을함 writer: '훈이', title: 'ㅎㅇ', contents: '반갑습니다', }, }); console.log(result); } catch (error) { console.error(error); } }; 다음과 같이 코드를 작성해보았습니다. 데이터 요청은 보내지지만 variables 값들이 바뀌질 않습니다.
-
미해결
Unraveling the Mystique of Cat's Eye Stone: A Glimpse into its Origins, Significance, and Benefits
Introduction: The Enigmatic Cat's Eye StoneIn the world of gemstones, the Cat's Eye Stone stands out like a mesmerizing feline gaze in the dark. This captivating gem has a long history, rich symbolism, and a plethora of metaphysical properties that have intrigued humans for centuries. In this article, we will dive deep into the enigma of the Cat's Eye Stone, exploring its origins, significance, and the myriad benefits it is believed to offer.The Origins of Cat's Eye StoneThe journey of the Cat's Eye Stone begins deep within the Earth's crust, where it is formed under intense geological processes. Composed primarily of Chrysoberyl, a beryllium and aluminum oxide mineral, this gemstone owes its distinctive chatoyancy—the mesmerizing "cat's eye" effect—to its unique crystalline structure.Geological FormationCat's Eye Stones are typically found in metamorphic and igneous rocks. The presence of inclusions, most notably parallel needle-like inclusions of rutile, is responsible for the cat's eye effect. These inclusions scatter light, creating a luminous band that moves across the surface of the gemstone when viewed from different angles.The Symbolism of Cat's Eye StoneThroughout history, various cultures have ascribed symbolic meanings to the Cat's Eye Stone. Let's delve into some of these interpretations:Guardian of Good FortuneIn Hindu mythology, the Cat's Eye Stone is associated with the planet Ketu, and wearing it is believed to ward off malevolent forces and bring good fortune. It is often recommended to those seeking protection from negative energies.Enhancing IntuitionThe stone is also thought to enhance one's intuition and insight. It is said to help individuals trust their instincts and make sound decisions, much like a cat relying on its keen senses.Amplifier of WealthIn some cultures, the Cat's Eye Stone is seen as an amplifier of wealth. It is believed to attract prosperity and financial success to its wearer, making it a popular choice for entrepreneurs and investors.The Mystical Powers of Cat's Eye StoneBeyond its symbolism, the Cat's Eye Stone is cherished for its metaphysical properties. Here are some of the mystical powers associated with this captivating gem:Protection from Evil EyeWearing Cat's Eye Stone jewelry is believed to protect the wearer from the malevolent gaze of the "evil eye." It forms a shield against envy and negativity, allowing one to move forward with confidence.Healing EnergiesIn alternative healing practices, the Cat's Eye Stone is thought to have healing properties. It is said to aid in detoxification, enhance vitality, and promote overall well-being.Enhancing Psychic AbilitiesFor those on a spiritual journey, this stone is considered a valuable companion. It is believed to heighten one's psychic abilities, making it easier to tap into the realm of intuition and spirituality.How to Care for Your Cat's Eye StoneTo ensure the longevity and radiance of your Cat's Eye Stone, proper care is essential. Here are some tips to keep your gem in pristine condition:Avoid Harsh ChemicalsCat's Eye Stones are relatively durable, but they can be damaged by harsh chemicals. Clean your gem with a soft, damp cloth and mild soap to maintain its luster.Store SeparatelyStore your Cat's Eye Stone jewelry separately to prevent scratches. It's wise to keep it away from harder gemstones like diamonds and sapphires.Regular InspectionPeriodically inspect your Cat's Eye Stone for any loose settings or damage. Promptly address any issues to prevent further problems.Conclusion: The Allure of the Cat's Eye StoneIn conclusion, the Cat's Eye Stone is a gem that exudes mystery and charm. Its origins in the Earth's depths, symbolic significance, and mystical properties make it a gemstone unlike any other. Whether you wear it for protection, prosperity, or personal growth, the Cat's Eye Stone continues to captivate and inspire those who seek its enchanting allure.Frequently Asked QuestionsIs the Cat's Eye Stone suitable for all zodiac signs?Yes, the Cat's Eye Stone is believed to bring benefits to individuals of all zodiac signs, regardless of their birthdate.Can I wear Cat's Eye Stone jewelry every day?While it's generally safe to wear Cat's Eye Stone jewelry daily, it's essential to give your gemstone pieces occasional breaks to maintain their energy.What is the best way to cleanse and recharge a Cat's Eye Stone?You can cleanse and recharge your Cat's Eye Stone by placing it under moonlight or using methods like smudging with sage or using sound vibrations.Is it true that Cat's Eye Stone can help with spiritual growth?Many believe that Cat's Eye Stone can aid in spiritual growth by enhancing intuition and psychic abilities.Where can I find authentic Cat's Eye Stone jewelry?Authentic Cat's Eye Stone jewelry can be found in reputable jewelry stores or from certified gemstone dealers. Ensure you purchase from a trusted source to get genuine stones.
-
미해결Next.js 시작하기(feat. 지도 서비스 개발)
naver map 이 출력되지 않습니다.
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 네이버 클라우드 플랫폼에도 사용횟수는 늘어나고 있고 css를 건드려봐도 map이 생성이안되서 height 100% 가 먹히질 않고있습니다.. 뭐가문제일까요 ㅠㅠ++ 개발자 도구 Network 를 열어봐도 잘 받아오고잇고 지도 이미지도 받아오는것을 확인 하였습니다.
-
미해결
java.lang.IllegalStateException: Failed to load ApplicationContext 오류
MemberServiceTest에서 새로 회원가입하는 부분에서java.lang.IllegalStateException: Failed to load ApplicationContext 오류가 발생하는데 이류르 모르겠습니다
-
해결됨디자인 시스템 with 피그마
컴포넌트구조중 어디까지 토큰 등록이 가능할까요?
안녕하세요. 범쌤님~ :) 두가지 질문드립니다.질문1. > 아토믹디자인 방식 중 어느단계까지 토큰 등록이 가능할까요?토큰 등록 가능 범위에 대해 알고싶습니다.저는 원래 아토믹 디자인 방식중 조직체단계까지는 토큰등록이 가능하다고 생각했는데지금 강의에는 아원자 단위(글로벌) 까지만 등록하는 법을 알려주시더라구요.질문2. > 만약 아원자단위(글로벌) 까지만 등록이 되면 이미 구현되어있는 상황에 어떤 장점이 있을까요?저는 토큰 스튜디오를 사용하면 저희가 조직체 단계까지는(아무리못해도 원자단위 까진(버튼,인풋)) 토큰으로 등록을 해서 개발자분들이 Json으로 추출해서 사용하실꺼라고 생각을 하고있었거든요.ㅠ그럼 공통 컴포넌트를 저희가 디자인해서 코드로 사용하는 방식이 되는거라 정말 나이스한것이라고 생각했어요.참고로 저는 이미 개발 구현되어있는 상황입니다. 아원자단위까지만 등록을 하는거면 굳이 토큰스튜디오로 다시 개발에 전달드리는게 의미가 있을까 싶어서요.(개발<>디자인 끼리 정의해있는 공통 요소들이 개발상 정리 되어있는 상태)
-
미해결[리액트 1부] 만들고 비교하며 학습하는 리액트 (React)
http://localhost:3000/ 하면 404에러가 납니다.
npx lite0server --baseDir 1-vanilla터미널에서 실행 후, localhost:3000접속하면Cannot GET / 이라고 뜨고 개발자도구에는 404에러라고 뜹니다. 터미널에도 404 에러구요.. 어떻게 하면 화면 띄울수있을까요?Did not detect a `bs-config.json` or `bs-config.js` override file. Using lite-server defaults... ** browser-sync config ** { injectChanges: false, files: [ './**/*.{html,htm,css,js}' ], watchOptions: { ignored: 'node_modules' }, server: { baseDir: './', middleware: [ [Function (anonymous)], [Function (anonymous)] ] } } [Browsersync] Access URLs: -------------------------------------- Local: http://localhost:3000 External: http://192.168.0.102:3000 -------------------------------------- UI: http://localhost:3001 UI External: http://localhost:3001 -------------------------------------- [Browsersync] Serving files from: ./ [Browsersync] Watching files... 23.09.07 15:29:32 404 GET /index.html 23.09.07 15:29:35 404 GET /index.html 23.09.07 15:33:58 404 GET /index.html
-
미해결배달앱 클론코딩 [with React Native]
navigation options presentation
안녕하세요.navigation options presentation 속성에 대한 질문입니다.만들고자 하는 서비스에서 탭간 이동시에도 화면 전환 효과를 주고싶은데, Stack.Screen 에서는 options에 presentation을 줄 수 있는데 Tab.Screen 에서는 options 에 presentation을 쳐도 자동완성이 안되는것 같아서 질문드립니다.1. 탭간 이동시에는 presentation 속성을 줄 수 있는 방법이 없나요?2. 만약 없다면 화면이 랜더링될때 직접 화면 전환 애니메이션 효과를 주는 방법으로 가는게 맞을까요?감사합니다 :)
-
해결됨[코드캠프] 부트캠프에서 만든 고농축 프론트엔드 코스
image upload 주소 질문있습니다
image upload 의 주소가 google로 되어있다고 설명해주셨는데 백엔드 개발자가 google 쪽으로 설정한 것인지 아니면 graphql 에서 기본적으로 google 주소를 가지고 있는 것인지 궁금합니다
-
해결됨자바 ORM 표준 JPA 프로그래밍 - 기본편
컬렉션 값 연관 경로중 문법이 바뀐게 맞는걸까요?
경로표현식 컬렉션 값 연관경로 강의내용에서String query = "select t.members.size From Team t"; Integer result = em.createQuery(query, Integer.class) .getSingleResult(); System.out.println("result = " + result);이런식으로 하신게 있는데 제 코드에선 안돌아가더라구요결과값도 안나오고,,검색해보니깐 쿼리부분을String query = "select size(t.members) From Team t";이런식으로 바꾸면 되던데 문법이 바뀐게 맞을까요? 아니면 코드 에러인가요일단 제 디펜던시는 이렇습니다 <dependency> <groupId>org.hibernate</groupId> <artifactId>hibernate-core</artifactId> <version>6.2.7.Final</version> </dependency> <!-- H2 데이터베이스 --> <dependency> <groupId>com.h2database</groupId> <artifactId>h2</artifactId> <version>1.4.200</version> </dependency>
-
미해결CS 지식의 정석 | 디자인패턴 네트워크 운영체제 데이터베이스 자료구조
TCP 통신 관련 질문입니다
안녕하세요 !! TCP 수업에서 가상 회선 패킷 교환 방식 그림에서 송신 호스트에서 수신 호스트로 데이터 3,2,1이 날라가고 있는데, 여기있는 패킷은 어떤건가요??HTTP헤더가 앞에 달려있는 메시지인건가요??데이터 3,2,1은 그럼 데이터 3,2,1이 다 각각 HTTP 헤더가 앞에 달려있는건가요? 아니면 하나의 요청에 대해서 HTTP헤더랑 안에 들어있는 메시지들의 크기가 MTU사이즈를 넘어서 3개로 나눈 후 앞에 TCP 헤더가 달린건가요??패킷 3,2,1 각각의 구조가 궁금합니다!!
-
미해결그림으로 쉽게 배우는 네트워크
TCP 통신 시작/끝 과정에서 애플리케이션 계층
TCP 커넥션 과정과 커넥션 직후 데이터를 보내는 과정이 궁금합니다. 3 way handshake 나 4way handshake 과정에서 SYN, ACK 을 주고 받을 때 패킷이 애플리케이션 계층을 거치지 않고 트랜스포트 계층끼리 왔다갔다 하는 건가요? 1번이 맞다면, 클라이언트(여러분)에서 ACK 패킷을 보낸 후 애플리케이션 계층에 통신 가능하니 데이터를 달라고 따로 신호를 주나요?혹시 질문이 미흡할까봐 제가 생각한 TCP 통신 과정을 적어봅니다. 아래와 같은 과정이 맞을까요? TCP/IP 5계층을 이용한다고 할 때,최초에 클라이언트 호스트의 애플리케이션(5계층)이 서버 호스트와 연결을 원한다는 것을 클라이언트 TCP에게 알린다. (5->4 layer) 클라이언트 트랜스포트 계층에서 3 way handshake 과정을 시작하며 SYN 패킷 보냄(4->3->2->1 layer)서버의 트랜스포트 계층에서 SYN 패킷 을 받고(1->2->3->4 layer), 연결 가능한 경우 트랜스포트 계층에서 SYN/ACK 패킷 보냄(4->3->2->1 layer)클라이언트 트랜스포트 계층에서 SYN/ACK 패킷을 받고(1->2->3->4 layer), ACK 패킷을 보냄(4->3->2->1)3 way handshake 완료클라이언트 트랜스포트 계층에서 ACK 을 보낸 후 3 way handshake 가 끝났다고 애플리케이션 계층에 알려줌(?) (4->5)클라이언트 애플리케이션 계층에서 서버에 애플리케이션 계층에 데이터(요청)을 보냄(5->4->3->2-1) ex.http 요청서버에서 응답
-
해결됨10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
8주차 그림 설명이 이해 안되요.
https://blog.naver.com/jhc96392~8 까지의 최소 인덱스를 계산 하는 예제가 이해되지 않습니다. 여기서 두번째부터 여덟번째까지 인덱스 중에 최소 값을 가지는 인덱스를 찾는 문제인건가요? 그렇다면 여덟번째 인덱스가 없어서 의하하구요.두 번째로, 세번째, 4번째, 6번째 인덱스만 비교한다는 것이 이해되지 않습니다. 부연: 아래 설명에 0~3까지의 요소값에서 level2에서 한번에 찾을 수 있다는 것은 이해가 됩니다. 왜냐면 level2 트리값이 이미 최소 인덱스를 들고 있기 때문입니다.
-
해결됨[코드캠프] 부트캠프에서 만든 고농축 백엔드 코스
utilty 타입 undefined
interface IProfile { name: string; age: number; school: string; hobby?: string; } type aaa = Partial<IProfile>;aaa에다가 마우스 올려 놓으면type aaa = { name?: string | undefined; age?: number | undefined; school?: string | undefined; hobby?: string | undefined;} 이렇게 뜨는데 저 undefined가 왜 뜬건지 모르겠어요.분명 선생님께서는 안 뜨는데
-
미해결CS 지식의 정석 | 디자인패턴 네트워크 운영체제 데이터베이스 자료구조
FTP, SMTP 관련 질문입니다 !
안녕하세요!!HTTP랑 FTP,SMTP 관련 애플리케이션 계층 수업을 듣다가 궁금한 점이 생겨서 질문 드렸습니다.HTTP통신은 TCP/IP 기반이라 앞에 Ethernet Header랑 IP Header랑 TCP Header가 붙는다고 앞 강의에서 들었습니다.그럼 FTP, SMTP도 마찬가지로 앞에 Ethernet Header랑 IP Header랑 TCP Header가 붙고 FTP 헤더 또는 SMTP 헤더가 붙는건가요??
-
해결됨코딩테스트 [ ALL IN ONE ]
실제 사용 예시
linked list를 사용해야 하는 경우가 언제일까요? 실제 사용하는 문제를 보고 싶습니다제 생각에는 array list로 구현하고 visit같은 경우도 list slicing 후 +로 리스트를 합치면 N(1) 만에 가능하기 때문에 시간이 부족한 코테에서 언제 linked list가 꼭 필요할까 궁금합니다
-
미해결엑셀 매크로와 VBA 기초부터 실무활용까지 완전 정복
개체메서드
강사님, 안녕하세요.개체메서드 입력하는 과정에서 시트를 추가할 때,shteets.add after 뒤에 ":" 를 넣은 뒤 "="를 쓰는 이유가 궁금합니다.
-
미해결파이썬/장고 웹서비스 개발 완벽 가이드 with 리액트
한 페이지 내에 검색창과 입력창을 동시에 구현하는 방법이 궁금합니다.
아래 그림과 같이 한 화면에 검색창과 입력창을 동시에 구현하는 방법에 관해 조언을 구하고 싶습니다.위쪽이 input form이고 아래쪽이 검색창입니다. 사용자가 값을 입력하는 중 자료를 검색하여 그 결과를 참고해서 입력할 수 있도록 구현하고자 합니다.GET 방식으로 검색기능을 구현했을 때, 검색이 되면 그동안 사용자가 입력하던 텍스트가 사라집니다.사용자가 입력하고 있던 값들도 그대로 유지한 채 사용자가 중간중간 검색을 하면서 값을 입력하고 최종적으로 한 번에 저장할 수 있도록 하는 방법이 있을까요?답변 기다리겠습니다.감사합니다.
-
미해결[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
run
RiverPod ConsumerWidget 부분에 Increment(), Decrement() 를 하였을 경우 로그의 내용이 선생님의 화면처럼 명확하게 나오지 않는데...별도의 설정하는 부분이 있을까요? Update / Dispose 이런 내용이 전혀 나오지 않습니다.
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
연관관계 편의 메서드 주인
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)네2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)네3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)네[질문 내용]여기에 질문 내용을 남겨주세요. 연관관계 메서드에서 addOrderItem메서드의 orderItem.add(orderItem)부분을 보면 연관관계 주인이 아닌곳에 값을 설정해 주는데 이렇게 하면 값이 들어가지 않는다고 알고 있는데 왜 주인이 아닌곳에 값을 넣어주는 건가요??바로 밑에 orderItem.setOrder(this) 이런식으로 오더를 넣어주는 상황이면 주인이 아닌쪽에서도 값을 넣을 수 있는건가요?
-
미해결[왕초보편] 앱 8개를 만들면서 배우는 안드로이드 코틀린(Android Kotlin)
.push()가 .child() 보다 앞에 가면 안되는거였군요..
viewBinding.btnSave.setOnClickListener { myBookmarkRef .child(Firebase.auth.currentUser!!.uid) .push() .setValue(model) Toast.makeText(this, "저장되었습니다", Toast.LENGTH_SHORT).show() }myBookmarkRef .push() .child(Firebase.auth.currentUser!!.uid) .setValue(model)항상 바로안따라하고 강의먼저 듣고, 써놓은거 바탕으로 과거에 했던거까지 응용해서 제 코드에 넣는방식으로 공부했는데 이번에 제멋대로 아래처럼 하다가 북마크가 안떠서 2일동안 왜안될까 고민했네요 ㅠㅠ아무튼 혹시라도 다른분들도 북마크 안뜨시면 이거 한번 확인하면 좋을거같습니다.