묻고 답해요
167만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결한 입 크기로 잘라먹는 React.js 실전 프로젝트 - SNS 편
6.8 zustand 세션 질문입니다.
session.tsimport type { Session } from "@supabase/supabase-js"; import { create } from "zustand"; import { combine, devtools } from "zustand/middleware"; type State = { isLoaded: boolean; session: Session | null; }; const initialState = { isLoaded: false, session: null, } as State; const useSessionStore = create( devtools( combine(initialState, (set) => ({ actions: { setSession: (session: Session | null) => { set({ session, isLoaded: true }); }, }, })), { name: "sessionStore", }, ), ); export const useSession = () => { const session = useSessionStore((store) => store.session); return session; }; export const useIsSessionLoaded = () => { const isSessionLoaded = useSessionStore((store) => store.isLoaded); return isSessionLoaded; }; export const useSetSession = () => { const setSession = useSessionStore((store) => store.actions.setSession); return setSession; }; App.tsximport { Button } from "@/components/ui/button"; import RootRoute from "./root-route"; import supabase from "@/lib/supabase"; import { useEffect } from "react"; import { useSetSession } from "@/store/session"; export default function App() { const setSession = useSetSession(); useEffect(() => { //console.log("111"); supabase.auth.onAuthStateChange((event, session) => { setSession(session); }); }, []); return <RootRoute />; } 코드는 강의와 동일하게 잘따라간 것 같은데개발자 도구 에서 session이랑 isLoaded가 안보입니다.새로고침을 해도, 탭을 껏다 켜도, 리액트를 껏다 켜도,제미나이한테 물어봐도 이게 해결이 안됩니다..... +추가App.tsximport { Button } from "@/components/ui/button"; import RootRoute from "./root-route"; import supabase from "@/lib/supabase"; import { useEffect } from "react"; import { useIsSessionLoaded, useSession, useSetSession } from "@/store/session"; export default function App() { const setSession = useSetSession(); const session = useSession(); const isLoaded = useIsSessionLoaded(); useEffect(() => { //console.log("111"); supabase.auth.onAuthStateChange((event, session) => { setSession(session); }); }, []); useEffect(() => { console.log("현재 세션 상태:", { session, isLoaded }); }, [session, isLoaded]); // 값이 바뀔 때마다 실행됨 return <RootRoute />; } 이렇게 하고 새로고침하면 콘솔에는 찍히긴 합니다 단순한 리덕스 툴킷 버그인지콘솔에 찍히니까 넘어가도 상관없는지 모르겠습니다.
-
미해결[코드캠프] 부트캠프에서 만든 고농축 프론트엔드 코스
fetchBoardsOfMine, fetchBoardsCountOfMine 에러 문의드립니다
프로젝트 진행 중 fetchBoardsOfMine과 fetchBoardsCountOfMine 요청 시 회원정보 인증에 실패했다는 응답이 옵니다.같은 accessToken을 입력했을 때 fetchUserLoggedIn 요청 시에는 정상적인 응답이 오는데 위의 두 요청에선 실패응답이 오는 상황입니다.혹시 fetchBoardsOfMine과 fetchBoardsCountOfMine에서 추가적인 인증이나 요청값이 필요한 건가요?추가적으로 학습자료 노션에 있는 REST-API 주소(http://practice.codebootcamp.co.kr/api-docs)는 접속이 안되고 있습니다.
-
미해결[신규 개정판] 이것이 진짜 크롤링이다 - 실전편 (인공지능 수익화)
셀레니움 환경설정 오류
from selenium import webdriver driver = webdriver.Chrome()위 코드는 정상 실행이 되나 driver = webdriver.Edge()위 엣지 사용을 위한 코드는 실행되지 않고 아래와 같은 에러가 발생합니다어떤게 문제일까요
-
미해결디지털포렌식 입문자를 위한 디지털포렌식 전문가 2급 실기 시험대비 강의(Encase/Autopsy)
특강 관련 문의
안녕하세요.이번주 2026. 4. 11. 특강관련해서 문의 남깁니다.특강 시간때, 특강을 들을 수가 없어, 혹시 추후 알려주실 URL로 특강 시간이후에도 특강을 볼 수 있는지,아니면 강의에 따로 올려주실 계획인지 궁금합니다.항상 좋은 강의 감사합니다.
-
미해결클로드 코드 완벽 마스터: AI 개발 워크플로우 기초부터 실전까지
CLAUDE.md 200줄 이하 기준
클로드는 매 대화(요청/응답)마다 CLAUDE.md 를 읽나요? 루트 CLAUDE.md는 항상 읽고, 하위 CLAUDE.md는 해당 폴더에 접근할 때만 읽잖아요. 그러면 /rulesCLAUDE.md는 항상 읽나요? 아니면 조건부로 읽나요?200줄 이하 규칙은 어떤 CLAUDE.md가 준수해야 하나요? 루트 CALUDE.md만 준수?개별 CLUADE.md 각각 준수?모든 CLUADE.md를 합쳐서 준수?
-
미해결전동킥보드로 배우는 임베디드 실전 프로젝트
벅컨버터 출력전압
벅컨버터의 출력전압을 12V로 만드는 이유가 무엇인가요?
-
미해결클로드 코드 완벽 마스터: AI 개발 워크플로우 기초부터 실전까지
커서 킬때마다 오류
커서에서 터미널을 킬때 마다 아래와같이 느낌표가 뜨면서 아래와 같은 확장을 원합니다. 계속 재시동을 하고 있는데 킬때마다 이러는데 원인은 무엇인지 혹시 해결방법이 있나요?
-
해결됨수익형 AI Agent n8n 전문가 강의, 블로그·쇼츠 자동화
17강 json구문 오류
안녕하세요. 알 수 없는 에러가 나서 질문드립니다.강사님이 추천해주신 z-image-turbo를 사용하여 n8n에서 http request를 만들고 있었는데요, 작동이 안되고 계속 에러가 납니다. json구문이 잘못된것 같은 에러메시지인데. 분명 틀린 곳이 없는데 왜이럴까요?스샷에는 다 보이지 않아 상세 구문도 아래넣습니다.{ "input": { "width": 1344, "height": 768, "prompt": "{{ $json.image_prompt }}", "go_fast": false, "output_format": "png", "guidance_scale": 0, "output_quality": 80, "num_inference_steps": 8 } } 도와주세요! 박사님!ㅜㅜ
-
미해결React Three fiber(R3F)로 배우는 인터렉티브 3D 웹 개발
ai 도구 질문
혹시 glb 파일을 이미지 파일만 보고 만들어주는 ai 툴 같은게 있을까요..?
-
미해결클로드 코드 완벽 마스터: AI 개발 워크플로우 기초부터 실전까지
한국어 설정 방법 문의
settings.json 파일에 language에 설정 만으로 셋팅이 된다고 하는데요.에러가 발생합니다.왜그런 건지 문의드립니다.
-
미해결오라클 SQL 데이터베이스
ORA-01017 오류 때문에 진도가 못나가고있습니다.!
도커데스크탑 화면 왼쪽 목록에서 컨테이너 선택 -> 실행중인 컨테이너 클릭 -> exec 탭 클릭 -> # 프롬프트가 보이면 bash 입력 후 엔터 -> sqlplus 입력 후 엔터 -> 아이디와 비번으로 로그인 후 성공했는데 여기서만 sql작성을 해야하나요 여전히 oracle sql developer에서는 로그인이 안됩니다 도커에서만 계속 사용해야한다면 환불 문의도 좀...ㅎㅎ
-
미해결클로드 코드 완벽 마스터: AI 개발 워크플로우 기초부터 실전까지
추가 질문드립니다!
안녕하세요.빠른 답변 감사합니다. Shift+Enter 오류 관련하여 답변 확인하고 몇 가지 더 궁금한 사항이 생겨 질문드립니다!iterm2를 삭제해도 git, node, Homebrew 등 개발 도구들은 전혀 영향 없다고 확인했습니다. Q1. 맥 OS 터미널에서 권한 설정, 개발 도구 설치를 하면 이게 자동으로 iterm2에도 반영이 되는 것인지 궁금합니다! 예를 들면 맥 OS 터미널에서 클로드 코드에 대한 세부 설정을 바꾸면 iterm에도 반영이 되는 것인지, iterm2 외에 다른 터미널 프로그램(고스티 같은)을 설치해도 마찬가지로 별도 설정없이 적용되는지 궁금합니다! 그리고 커서에서 변경한 설정이나 권한 설정이 터미널이나 아이텀에도 적용되는지, 그 반대의 경우도 적용이 되는지도 궁금합니다. 즉, 터미널은 어떤 프로그램을 쓰든 하나라고 생각해도 되나요? Q2. Cursor는 VS Code 기반이라 /terminal-setup을 실행해도 Shift+Enter 대신 Option+Enter로 동작하는 경우가 있다고 확인했습니다! 그럼에도 불구하고... 저는 맥 내장 터미널과 커서 안에서 알트 엔터 줄바꿈이 너무 불편해서 시프트 엔터로 변경하고 싶은데 이것은 방법이 없을까요? 클로드 코드로 옵션 엔터 대신 시프트 엔터로 바꿔달라고 몇번 요청하고(그 사이 여러 파일들을 읽고 분석했는데도) 동작하지 않아.. 혹 방법이 있는지 궁금합니다!
-
미해결[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
수강기간 연장 문의드립니다.
안녕하세요!작년 개인 일정으로 인해 응시하지 못했던 실기 시험을, 이번 6월에 공부하여 응시하고자 합니다. 현재 수강 중인 강의의 종료일이 2026년 5월 13일까지이나,혹시 2026년 제1회 실기 시험일(26-06-20)까지라도 기간 연장이 가능할지 여쭤보고 싶습니다.만약 가능하다면, 남은 기간 열심히 수강하여 꼭 합격의 결실을 맺도록 하겠습니다.감사합니다.이메일 : tomatobad@naver.com
-
해결됨분산 데이터 모델링
6강 - 해시태그 모델의 샤딩 전략에 대하여, 분산 정도(데이터 편중)와 트랜잭션 성능의 trade off 상황 발생 시에 대한 고민
안녕하세요, 선생님!6강 해시태그 모델을 배운 후 데이터 분산 정도와 트랜잭션 일관성의 trade off에 대한 선택이 생각났고, 이에 대한 선생님의 고견은 어떠하실지 궁금하여 질문 올리게 되었습니다. 질문 내용은 아래와 같습니다.데이터 편중도 크고 vs 트래픽이 많이 발생하여 트랜잭션까지 고려해야할때 샤딩키를 어떤 것으로, 어떤 부분을 tradeoff의 우선순위로 지정하는 것이 좋을지저의 경우 트래픽을 선택할 것 같은데, 데이터 편중에 대해 추가적인 보완사항이 있다면 어떤 것이 있을지 일단 강의의 경우, 제가 이해한 내용으로는, 해시태그 모델과 같이, PK/FK의 분산 정도가 비슷하고, 부모 속성(FK)에 의한 쏠림 현상이 발생하여도 그 규모가 충분히 크지 않으므로 쓰기 경로를 중점적으로 고려하여(동일 게시글에 대한 해시태그를 동일 샤드에 저장) 설계한다. 이와 같습니다. 저는 해시태그 모델과 함께, 다른 예를 들어, 하루에 50,000건의 거래가 이루어지는 대규모 거래가 발생하는데, 이를 거래 게시판을 각 도메인 별(화장품/전자기기 등)로 별도로 만들어서 한 거래게시판 당 하루에 10,000건의 게시글, 1개의 1000~2000개의 찜이 발생한다고 하였을때의 상황에 대해 생각해보았습니다. 제가 만약 실무에서 찜 DB를 설계한다고 가정하고, 이에 대해 대응한다고 하였을때, 1) 게시글 ID와 찜(누가 찜했는지 구분해야 함, 찜ID로 구분한다고 가정하면)의 트래픽이 한 한 게시글 기준 찜 몇천여개, 게시글 총 만여개의 수준으로 발생하여 규모가 충분히 작다고 볼 수 없습니다. 2) 따라서 데이터 쏠림 현상에 대해 고민을 안할래야 안할 수가 없고, 그러면서도 데이터의 균등한 샤딩에 대해서도 고민이 들게 되었습니다. 3) 결국 데이터 분산을 균등하게 하느냐, 쏠림이 발생하더라도 쓰기 트래픽의 성능과 일관성, 조회 성능의 이점이 큰 것인가를 선택해야 하는데 4) 분산을 선택하지 않고, 트래픽 성능/일관성/조회 성능을 생각하였을때, 확실히 단일 데이터베이스에 있을때 성능적인 측면에서도 좋고, 일관성, 특히 조회 시 별도의 CQRS 전용 쿼리모델이나 DB를 따로 두지 않고 인덱스도 따로 설계하지 않는 등 훨씬 엄청난 이점이 될 것으로 판단이 됩니다. 따라서, 분산 정도 대신 성능 쪽으로 결론짓고 샤딩 키를 찜 ID 대신 게시글 ID로 지을 것 같습니다. 대신, 엄청난 트래픽으로 인해 데이터 편중이 너무 커진다면 게시글 생성일자를 샤드키로 추가하여 데이터를 좀 더 세부적으로 분리할 것 같습니다(아니면 더 좋은 방안이 있을지). 이에 대해 선생님의 생각이 궁금하여 질문드리게 되었습니다! 감사합니다.
-
해결됨(2026 최신!) 일주일만에 합격하는 정보처리기사 실기
운영체제 강의 27분 (CPU 스케줄링 - SRTF)
CPU 스케줄링에서 SRTF(Shortest Remaining Time First)에 대해 질문 있습니다. 실제 시험에서 SRTF or SRT or SRF 셋 중에 하나를 쓰면 정답인가요? 시중에 있는 기출문제집의 해답에서는 SRT라고 되어 있어서 질문 드립니다.
-
미해결마케터를 위한 캡컷 실전 강의: 숏폼 광고 분석부터 기획, 제작까지
제공파일이 없습니다
제공파일이 강의 영상 밑에도 없습니다. 확인 부탁드립니다.
-
미해결프로젝트로 배우는 Python 챗봇 & RAG - LangChain, Gradio 활용
파워쉘에서 패키지 설치 시 오류
윈도우 파워쉘에서 패키지 설치 시 아래와 같은 오류가 납니다. 1) 첫번 째 오류PS C:\Users\hanul\Edu> poetry new qa-bot정보: 제공된 패턴에 해당되는 파일을 찾지 못했습니다.Created package qa_bot in qa-botPS C:\Users\hanul\Edu>-> 오류메시지가 나오나 qa-bot 폴더가 만들어지긴 합니다. 그리고 qa-bot 폴더 하위에 아래의 디렉토리와 파일들이 있습니다.d----- 2026-04-08 오후 7:12 srcd----- 2026-04-08 오후 7:12 tests-a---- 2026-04-08 오후 7:12 373 pyproject.toml-a---- 2026-04-08 오후 7:12 0 README.md pyproject.toml 을 VScode로 열어보면 아래와 같습니다.[project]name = "qa-bot"version = "0.1.0"description = ""authors = [ {name = "Your Name",email = "you@example.com"}]readme = "README.md"requires-python = ">=3.13"dependencies = [][tool.poetry]packages = [{include = "qa_bot", from = "src"}][build-system]requires = ["poetry-core>=2.0.0,<3.0.0"]build-backend = "poetry.core.masonry.api" 2) 두번째 오류설치 중 아래와 같은 오류가 발생하면서 더 이상 진행이 안됩니다.PS C:\Users\hanul\Edu\qa-bot> poetry add python-dotenv langchain langchain_openai gradioUsing version ^1.2.2 for python-dotenvUsing version ^1.2.15 for langchainUsing version ^1.1.12 for langchain-openaiUsing version ^6.11.0 for gradioUpdating dependenciesResolving dependencies... (2.0s)The current project's supported Python range (>=3.13) is not compatible with some of the required packages Python requirement: - langchain-openai requires Python <4.0.0,>=3.10.0, so it will not be installable for Python >=4.0.0Because langchain-openai (1.1.12) requires Python <4.0.0,>=3.10.0 and no versions of langchain-openai match >1.1.12,<2.0.0, langchain-openai is forbidden.So, because qa-bot depends on langchain-openai (^1.1.12), version solving failed. * Check your dependencies Python requirement: The Python requirement can be specified via the python or markers properties For langchain-openai, a possible solution would be to set the python property to ">=3.13,<4.0.0"https://python-poetry.org/docs/dependency-specification/#python-restricted-dependencies,https://python-poetry.org/docs/dependency-specification/#using-environment-markers
-
미해결
What You Risk When You Skip the Palo Alto Firewall Datasheet Before Exam Day
Most candidates don't read datasheets. That's exactly why most candidates struggle.If you're preparing for a Palo Alto Networks certification, the Palo Alto firewall datasheet isn't optional; it's the technical backbone behind half the questions you'll face. Skipping it doesn't save time. It creates gaps you won't notice until you're sitting in the exam and nothing quite lines up with what you studied.The Silent Gap That Derails Well-Prepared CandidatesStudy guides summarize. Practice questions test recall. But the datasheet tells you exactly what the hardware does, how traffic is processed, and what the specs mean in a real deployment.The problem isn't that candidates don't study hard enough. It's that they study the wrong layer. You can memorize concepts cold and still misread a scenario question because you never understood the device's actual throughput limits, session capacities, or interface configurations.That gap is quiet during prep. On exam day, it's deafening.What It Actually Feels Like to Fail Because of ThisPicture this: You've studied for eight weeks. You've done dozens of practice tests. You walk into the exam feeling prepared, and then a scenario question describes a deployment situation, lists a set of constraints, and asks which platform fits. You know the concept. But you don't know the specs well enough to distinguish between two plausible answers.You guess. You move on. You fail by four points.That's not a knowledge failure. That's a preparation gap that the Palo Alto firewall datasheet would have closed in an afternoon.And the cost isn't just the retake fee. It's the six to eight weeks you spend rebuilding momentum. It's the job application you delay because the cert isn't on your resume yet. It's the quiet erosion of confidence that comes from studying seriously and still falling short. Hiring managers in network security don't just want a badge; they want someone who can read a spec sheet and make a real deployment call. If your prep never built that skill, the credential doesn't fully represent what you know.How to Use the Palo Alto Firewall Datasheet as a Study WeaponReading a datasheet isn't the same as reading a textbook. Here's how to make it work for exam prep:Map specs to exam domains. Cross-reference throughput, session capacity, and interface types with the specific exam objectives you're targeting.Focus on the PA series differences. Questions often hinge on knowing which platform fits which use case. The datasheet makes those distinctions unmistakable.Note what's missing from your study guide. If a spec appears in the datasheet but not in your course material, treat it as a likely blind spot the exam will exploit.Tie every figure to a scenario. For each spec you read, ask: "If a question described this deployment, what would the correct answer look like?"Return to it after missed questions. When a practice test question trips you up, check whether the answer traces back to a spec you glazed over.When you're doing this work, having a community to pressure-test your understanding makes a real difference. ITExamsTopics offers exam topics free discussion spaces where candidates share real question patterns and datasheet-linked explanations, the kind of context that makes specs click faster than studying in isolation.The Difference Between Candidates Who Pass and Those Who PlateauCandidates who pass on the first attempt share one habit: they treat technical documentation as primary material, not supplementary. They don't just know that something works, they know how and within what limits.For Palo Alto certifications, that distinction shows up directly in scenario-based questions. The exam doesn't reward memorization. It rewards applied understanding, knowing which spec eliminates the wrong answer before you've finished reading the options.That's a skill datasheet builds. Practice tests alone don't get you there.Your Prep Has a Hole in It Until You Do ThisBefore your next study session, pull up the official Palo Alto firewall datasheet for the platform your exam covers. Give it thirty focused minutes. Map what you find against your current weak areas.You'll uncover two or three details you've been glossing over in specs that, once understood, make the exam objectives feel less abstract and more like something you could actually deploy in the field. That shift in clarity is what separates confident, first-attempt performance from well-meaning guesswork.
-
미해결클로드 코드 완벽 마스터: AI 개발 워크플로우 기초부터 실전까지
새로운 기능 추가 할때
이미 목표한 웹어플리케이션을 완성한 다음, git hub에 배포한다음, 새로운 기능을 만들어야 합니다.새로운 기능이 적지 않을때, 기존의 PRD와 ROADMAP에 내용을 추가해서 개발해야 할까요?아니면 새로운 기능으로만 구성된 PRD 와 새로운 ROADMAP을 추가로 생성해서 진행하는 것이 좋을까요?
-
미해결클로드 코드 완벽 마스터: AI 개발 워크플로우 기초부터 실전까지
토큰 사용량에 대해 궁금한점이 있어요
안녕하세요. 강의 목적으로 클로드 코드 Pro를 구독하여 현재 섹션22까지 강의 완료 했어요. 하지만 토큰 걱정으로 인해 강의에서 진행하시는 클로드 코드 사용을 많이 따라하지 않으면서 진행해오다가 섹션 22강의와 함께 섹션 22 미션을 진행하면서 토큰을 많이 쓴거같아요. 정상적인 토큰 사용량인지 궁금증이있어 이렇게 질문을 드리게 되었어요.스크린샷과 같이 토큰 사용량이 확인되는데이렇게 사용한것이 정상적인걸까요..?