묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨(2025) 일주일만에 합격하는 정보처리기사 실기
c언어 오름차순 문제
기출 2023년 2회 코드해석 문제 26분 C언어 정렬 문제 질문있습니다 정답은 오름차순 정렬해야 해서 부등호 > 입니다 그런데 부등호 <를 써서 내림차순 정렬해도 문제 없는 코드 아닌가요?? 오름차순을 만들어야 하는 이유는 뭔가요? 내림차순 정렬을 할 수 도 있지 않나요???ㅜㅠㅠ
-
해결됨[UI3 업데이트] 피그마 배리어블을 활용한 디자인 시스템 구축하기
플러그인 lock aspect ratio
안녕하세요 선생님! 강의 잘 듣고 있습니다다름이 아니라, 제가 지금 설명해주신 플러그인인 lock aspect ratio를 활용해서 카드를 만드려고 하는데, 해당 플러그인이 검색이 되지 않아 질문 드립니다. 혹시 해당 플러그인을 사용해야 하는건지, 또는 피그마 자체 기능으로 있는 lock aspect ratio라는 기능을 사용해도 되는건지 질문드립니다 우선 피그마에 있는 기능으로 사용을 해봤는데, 이 기능의 경우 선생님이 정리하시는 레이어처럼 레이거가 별도로 생성이 되지 않아서요..!
-
미해결RAG를 활용한 LLM Application 개발 (feat. LangChain)
embedding 과정 중 Error, message length too large 발생
안녕하십니까 강의 잘 듣고있습니다.!from langchain_ollama import OllamaEmbeddings embeddings = OllamaEmbeddings(model="llama3.2") import os from pinecone import Pinecone from langchain_pinecone import PineconeVectorStore index_name = "tax-table-index" pinecone_api_key = os.environ.get("PINECONE_API_KEY") pc = Pinecone(api_key=pinecone_api_key) database = PineconeVectorStore.from_documents(document_list, embedding=embeddings, index_name=index_name) Embedding 후 PinecondVectorStore 저장 할떄아래와 같은 예외가 발생합니다.```PineconeApiException: (400) Reason: Bad Request HTTP response headers: HTTPHeaderDict({'Date': 'Thu, 17 Apr 2025 02:53:26 GMT', 'Content-Type': 'application/json', 'Content-Length': '118', 'Connection': 'keep-alive', 'x-pinecone-request-latency-ms': '2664', 'x-pinecone-request-id': '9090329298438964680', 'x-envoy-upstream-service-time': '2', 'server': 'envoy'}) HTTP response body: {"code":11,"message":"Error, message length too large: found 4194738 bytes, the limit is: 4194304 bytes","details":[]} Output is truncated. View as a scrollable element or open in a text editor.```OllamaEmbeddings(model="llama3.2") 를 사용하고 있는데요.해당 모델로 임베딩을 하면 Pinecone에서 허용하는 데이터를 초과하는 것 으로 보이는데요이러한 경우 처리하는 방법이 있을까요?아니면 모델을 변경해야하는 걸까요?
-
해결됨(2025) 일주일만에 합격하는 정보처리기사 실기
2024년 2월 기출문제
2024년 2월 기출문제 질문드리고 싶어 여쭤봅니다 !동영상강의 1:05:22초 부분에서 가장 하단의 for(int i = 0; i<10; i++){ printf("%c", str2[i]); }부분에 대해 질문드리고 싶은데, 이 부분이 제 컴퓨터에서는 first ring이 아닌 firstring으로strcopy함수의 \0을 인식하지 못하는 것 같더라고요, 이 부분이 윈도우 비주얼 스튜디오에서는 어떻게 찍히는지 모르겠는데, 맥의 xcode ide에서는 사진처럼 출력이 되네요 ..이런건 ide의 문제인지 여쭤보고 싶습니다 ..!이런 뉘앙스가 되면 시험 출제 시 전체 정답 처리가 될 가능성이 있을까요 ? 강의 영상 너무 잘 보고 있습니다 !좋은 강의 제공해주셔서 감사드립니다 !
-
미해결자바(Java) 알고리즘 문제풀이 입문: 코딩테스트 대비
코딩테스트 공부 관련 문의드립니다
안녕하세요 이번에 이직 준비를 위해 코딩테스트 공부하게되었습니다. 어제 '1.문자 찾기' 부분 강의 들었는데 강사님께서 말씀하셨던 것처럼 미리 문제를 푼 다음 강의를 들었습니다. Eclipse로 작업을 했고 어떻게 구현해야 할지는 알겠고 charAt() 이나 toLowercase() 함수들을 알고는 있었습니다. 하지만 함수 스펠링을 정확히 다 알지 못해서 자동완성으로 구현을 했고, char을 String으로 바꾸는 방법이 기억이 안 나서 구글링해서 String.valueOf 으로 하는 식으로 했었습니다.실제 코딩테스트 시험에서는 자동완성이나 생각 안 나는 함수에 대해선 서치를 못 하고 무조건 외워서 해야할까요? 그리고 시험장에서는 코딩을 다 해놓고 이클립스처럼 테스트 실행이 가능한지도 궁금합니다. 그리고 문제에서 문자열의 길이는 100을 넘지않고, 영어 알파벳으로만 구성되어 있다고 되어 있었는데 원래는 문자열의 길이를 100까지만 입력가능하게 하고, 영어 외에는 다른건 입력 못하게 제어를 해야 하나요? 아래는 제가 제출했던 코딩입니다.import java.util.*; public class Main { public static void main(String[] args) { Scanner sc = new Scanner(System.in); String a = sc.nextLine().toLowerCase(); String b = sc.nextLine().toLowerCase(); int cnt = 0; for (int i = 0; i< a.length();i++) { if (b.equals(String.valueOf(a.charAt(i)))) { cnt++; } } System.out.println(cnt); } }
-
미해결쿠버네티스 어나더 클래스-Sprint3 (#실무핵심 #Docker #Nginx #Minio #Longhorn)
술루션 엔지니어란 무엇인지요?
강의중간에 솔루션 엔지니어에게 기술지원을 받아서 kubernetes 위에 앱을 띄우고 배포하는 부분을 추가로 구축을 해준다음 매뉴얼을 만들어 운영팀에게 인수인계 하는 역할을 강사님경우 하신다고 했는데 여기에서 솔루션 엔지니어에게 무슨 기술지원을 받는다는건가요? 무슨 솔루션을 말씀하시는걸가요? 이해가 안되어서 질문올려봅니다.
-
미해결[게임 프로그래머 도약반] DirectX11 입문
텍스처와 UV 강의 관련해서 문의드려요
섹션 2. DirectX11 입문 (1주차)텍스처와 UV강의를 수강하면서 코드를 실행했는데요이미지가 강의 내용과 다르게 보입니다어느 부분이 잘 못 되었을까요?소스 코드 상에서 다른 부분은 없는것 같은데요... 사각형은 강의 내용과 동일하게 그려집니다 {_vertices.resize(4);// 13// 02_vertices[0].position = Vec3(-0.5f, -0.5f, 0.f);_vertices[0].uv = Vec2(0.f, 1.f);// _vertices[0].color = Color(1.f, 0.f, 0.f, 1.f);_vertices[1].position = Vec3(-0.5f, 0.5f, 0.f);_vertices[1].uv = Vec2(0.f, 0.f);// _vertices[1].color = Color(1.f, 0.f, 0.f, 1.f);_vertices[2].position = Vec3(0.5f, -0.5f, 0.f);_vertices[2].uv = Vec2(1.f, 1.f);// _vertices[2].color = Color(1.f, 0.f, 0.f, 1.f);_vertices[3].position = Vec3(0.5f, 0.5f, 0.f);_vertices[3].uv = Vec2(1.f, 0.f);// _vertices[3].color = Color(1.f, 0.f, 0.f, 1.f);} struct VS_INPUT{float4 position : POSITION;// float4 color : COLOR;float2 uv : TEXCOORD;};struct VS_OUTPUT{float4 position : SV_POSITION;// float4 color : COLOR;float2 uv : TEXCOORD;};// IA - VS - RS - PS - OMVS_OUTPUT VS(VS_INPUT input){VS_OUTPUT output;output.position = input.position;// output.color = input.color;output.uv = input.uv;return output;}Texture2D texture0 : register(t0);Texture2D texture1 : register(t1);SamplerState sampler0 : register(s0);float4 PS(VS_OUTPUT input) : SV_Target{float4 color = texture0.Sample(sampler0, input.uv);return color;// return input.color;// return float4(0, 1, 0, 0);}// float4 main( float4 pos : POSITION ) : SV_POSITION// {// return pos;// }
-
미해결
강의 자료 다운로드
GA4 필수 코스 (by 현직 실리콘밸리 마케팅 디렉터) 강의자료 다운로드 원합니다.다운로드 버튼을 찾지 못해 문의 글 남깁니다. 아래 두곳에서 찾지 못함. 강의실 내 우측사이드바 - 커리큘럼 메뉴 - [자료 다운로드] 아이콘강의 영상 하단 '수업노트'에 자료 링크를 첨부
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
Riverpod 사용 시 라이프사이클 문의
안녕하세요.Riverpod 상태관리 라이브러리 사용 시 상태가 변경될 때 build() 가 실행이 된다고 하셨는데, 라이프 사이클 관점에서 보면 setState() 를 호출한 라이프사이클과 동일하게 발생이 되는 건가요? 아니면 build() 함수만 실행이 되는건가요?참고 할 링크가 있으면 같이 부탁드립니다. 수고하세요.
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
라이프 사이클 화면 캡쳐
안녕하세요.자료 요청드립니다.라이프 사이클 자료를 캡쳐 후 학습하라고 하셨는데..인프런에서 캡쳐를 막았습니다. 혹시 라이플 사이클 관련 자료 혹은 캡쳐 자료를 받을 수 있을까요?수고하세요.
-
미해결비전공자도 이해할 수 있는 Docker 입문/실전
도커 볼륨을 사용할때 디렉토리 절대경로
안녕하세요 ! 강의 잘보고 있습니다.docker 볼륨을 호스트 컴퓨터에 저장할때 강사님은Documents/develop 라는 폴더 안에 저장하시는데 일반적으로는 어디에 도커 볼륨 폴더를 저장하는지가 궁금합니다.
-
해결됨파이썬으로 나만의 블로그 자동화 프로그램 만들기
HTTP Error 401: Unauthorized
수업 내용 중 궁금하신 사항이나 기타 프로그램 제작에 관한 문의를 올려주시기 바랍니다. 파이썬과 네이버api 연동을 시도하는데 HTTP Error 401: Unauthorized 애러가 뜨는데 혹시 어떻게 해야 할까요?
-
미해결Flutter 중급 1편 - 클린 아키텍처
freezed3.0에서 build시 when생성되지 않습니다.
freezed: ^3.0.6freezed_annotation: ^3.0.0 으로 진행후 notes_event.freezed.dart 파일에 when, map생성되지 않습니다. sealed도 써보고 abstract를 지우고 해도 마찬가지 인데 혹시 방법이 있을까요? 코드 내용import 'package:flutter_note_app/domain/model/note.dart';import 'package:freezed_annotation/freezed_annotation.dart';part 'notes_event.freezed.dart';@freezedsealed class NotesEvent with _$NotesEvent {const factory NotesEvent.loadNotes() = LoadNotes;const factory NotesEvent.deleteNote(Note note) = DeleteNote;const factory NotesEvent.restoreNote() = RestoreNote;} -------------------------------------------freezed 3.0.0 변경점 로그3버전부터 삭제가 되었군요. 인터넷에 when사용관련으로 옵션 등등 찾아서 했지만 모두 생성이 안되었습니다. 이제 when은 사용하지 않는게 좋을것 같습니다. import 'package:flutter_note_app/presentation/notes/notes_event.dart';void handleEvent(NotesEvent event) { switch (event) { case LoadNotes(): print("Loading notes..."); break; case DeleteNote(): print("Deleting"); break; case RestoreNote(): print("Restoring note"); break; }}dart3.0 부터 swich문이 추천이라고하네요! 선생님 Flutter Live Templeate 쪽에도 올라왔네요 템플릿 참고해주세요!https://gravel-pike-705.notion.site/Flutter-Live-Templeate-579bac3070754bdf8fa10afe4ebe8c92
-
미해결팝스타 공식 뮤비 제작 & 유튜브 2천만 뷰 크리에이터의 애니메이트 X 이모티콘 클래스
키프레임 생성 시 시작하는 위치
안녕하세요.심볼 변환 후 키프레임 생성 시 프레임 시작 위치가 계속 1 로 시작합니다. 그래서 심볼 내부에 들어가 작업 후 씬에서 재생하면 적용되지 않아 하나하나 프레임 시작 위치를 다시 써주고 있습니다. >키프레임 만들때 만든 위치로 프레임 시작위치 생성 되게 안될까요 ?ㅠㅠ10/20 위치에 키프레임 만들면시작 위치 처음이 10/20 이 아니라 1로 시작합니다. ..ㅠㅠㅠ
-
해결됨핵심을 찾아내는 침해사고 분석
다음으로 넘어가지지 않아요
어떻게 넘어가면 될까요...?
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
ObjectError에 대해서 질문
안녕하세요 강의 잘 보고 있습니다.ObjectError에 관한 용도인데 글로벌 에러라고 표시하는데 기능적으로 보면 Field에러를 사용해서 "가격 * 수량의 합은 10,000원 이상이어야합니다."를 표현 가능한데 굳이 ObjectError를 쓰는 이유가 궁금합니다.
-
해결됨(2025) 일주일만에 합격하는 정보처리기사 실기
기출문제도 수업자료로 받아볼 수 있나요 ?
안녕하세요 주말코딩님.덕분에 정보처리기사를 잘 준비하고 있습니다. 다름아니라, 강의영상을 다 보았는데 혼자 동일한 기출문제를 풀어보면서복습을 해보고싶어서 그런데 PDF 등 수업자료 받아볼 수 있을까요 ?
-
해결됨(2025) 일주일만에 합격하는 정보처리기사 실기
자바 실행순서
[강의](기출) 2024년 1회 코드해석 문제 | 24년 1회 Java [시간]00:22:49 실행 순서 이해를 위해 문제를 변형해서 여쭤봅니다. [질문 1]보기 7번(노란색 주석)의 parent.getA()에 1이나 2와 같이 매개변수가 있었다면, 해당 라인은 오류인가요, 아니면 자동으로 자식클래스의 getA()를 찾아가나요? [질문 2]여전히 parent.getA()에 1이나 2와 같이 매개변수가 있고, 자식클래스의 getA(int n) 메소드에서 매개변수 n이 없고, 부모클래스의 getA()에는 매개변수가 int m과 같은 매개 변수가 있다고 가정했을 때는 해당 로직이 오류일까요, 아니면 자동으로 부모클래스의 getA()를 찾아가나요? [질문 3]위 두 질문과 별개로, 만약 -아래-와 같은 부모클래스 메소드가 있었다면, 보기 3번(노란색 주석) 실행 전에 실행하는 게 맞는 걸까요?-아래-Parent(int z) { }
-
미해결
How to Use Bitcoin Safely: A Complete Beginner’s Guide
The world's first digital decentralized currency, Bitcoin (BTC), has revolutionized financial transactions by eliminating the need for intermediaries. The Bitcoin network offers several powerful benefits, including borderless payments, fast transactions, and full control over funds. However, alongside these advantages, there are certain risks that users must be aware of. This article explores the fundamental aspects of Bitcoin and the key considerations for using it safely and effectively.Securing Your Bitcoin WalletJust as physical cash requires a secure wallet, digital currencies like Bitcoin also need proper safeguarding. A Bitcoin wallet must be selected based on its security features and reliability. Since BTC users have complete control over their funds, ensuring the safety of digital assets is their responsibility. There are different types of wallets, including software wallets (desktop and mobile apps) and hardware wallets (physical devices). To enhance security, users should implement best practices such as using strong passwords, enabling two-factor authentication (2FA), creating wallet backups, and avoiding public WiFi when accessing funds. Losing a private key can result in permanent loss of funds, making it crucial to store backups securely offline.Bitcoin’s Volatile PriceOne of Bitcoin’s defining characteristics is its price volatility. The value of BTC can fluctuate dramatically within short periods, making it a high-risk asset. Several market factors influence Bitcoin's price, including market speculation, regulatory developments, global economic events, and changes in supply and demand. While this volatility presents investment opportunities, it also carries risks. Investors should conduct thorough market analysis and implement risk management strategies before investing. Additionally, businesses and traders can use third-party services to convert BTC payments into local currency instantly, reducing exposure to sudden price swings. It is generally advised not to invest money in Bitcoin that one cannot afford to lose.Irreversibility of TransactionsUnlike traditional banking systems, Bitcoin transactions are irreversible. Once a transaction is sent, it cannot be canceled or undone, and refunds can only be issued by the recipient. This feature enhances security but also requires users to exercise caution. Double-checking transaction details before confirming payments is essential. Engaging with reputable businesses and individuals is advised to avoid scams. Businesses that accept Bitcoin should maintain accurate transaction records and implement additional safety protocols to minimize errors. While the Bitcoin network detects many input errors, users should remain vigilant to ensure transaction accuracy.Bitcoin Is Not Fully AnonymousAlthough Bitcoin transactions do not directly link to real-world identities, they are permanently recorded on the blockchain, a public ledger accessible to anyone. This transparency ensures accountability but can also compromise privacy. If personal details are revealed during a purchase or linked to a Bitcoin address, transaction history can be traced back to an individual. To enhance privacy, users should generate a new Bitcoin address for each transaction. Privacy-enhancing tools such as coin mixers and hardware wallets can help mask identities further. However, maintaining privacy ultimately depends on adopting best practices and being mindful of how transactions are conducted.Final ThoughtsBitcoin provides exciting opportunities for investors and users, offering a decentralized financial system with significant advantages. However, its decentralized nature also means that users bear full responsibility for security, privacy, and investment decisions. By implementing strong security measures, understanding market risks, and making informed financial choices, Bitcoin users can navigate this digital currency space safely. Whether using BTC for transactions or investment, being well-informed is the key to success in the ever-evolving world of cryptocurrency.
-
해결됨데이터 분석을 위한 파이썬: 입문부터 꿀팁까지
소제목1을 어떻게 넣는지 모르겠어요
텍스트 셀을 누르고 # 대제목을 하면왼쪽 상단 목차 아래에 대제목이 기록되기는 하는데그 이후에 ## 소제목 1을 어떻게 넣는지 모르겠어요대제목 이후에 어떤 키를 눌러야지 제목1 밑으로 들어가나요?