묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[코드팩토리] [초급] 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 밑으로 들어가나요?
-
해결됨[유니티 레벨 업!] 모듈식으로 개발하는 스킬 시스템
MonoStateMachine을 만든 이유가 잘 이해가 가지 않습니다.
StateMachine을 순수 C# 클래스가 아니라 MonoBehavior를 상속시켜서 구현하면 Wrapping 과정을 할 필요 없이 MonoStateMachine의 역할을 그대로 할 수 있지 않나요?StateMachine자체가 유니티와 독립적으로 돌아가는 순수 로직 클래스라 분리하신건지 만약 그렇다면 분리했을 때 추후에 어떤 장점이 있는건지, 아니면 다른 의도가 있으신건지 궁금해서 질문 올렸습니다.
-
해결됨(2025) 일주일만에 합격하는 정보처리기사 실기
24년 1회차 16분 문제
대문자 A와 소문자 a 아스키코드값 외워서 푸는건 알겠는데 숫자 8의 아스키코드도 외워서 푸는 건가요? A와 a만 외우라고 하셨는데 8을 어떻게 56으로 구하셨는지 궁금합니다.
-
해결됨(2025) 일주일만에 합격하는 정보처리기사 실기
업캐스팅 상속문제 부탁드립니다.
10:29초에 Class B extends A{public B(){ - 이쪽 부분이 상속이 된다고 알려주셨는데 8:12초에 class B extends A{public void pain() { - 에서는 왜 상속이 안되는지 차이점을 잘 모르겠습니다본인이 태어나기 전에 부모의 기본 생성자를 호출한다"라고 이해를 했는데 왜 8:12초에는 부모 생성자를 호출을 안하는 건가요?혹시 생성자 B()가 있어야 부모를 호출할 수 있는건가요?
-
해결됨세계 대회 진출자가 알려주는 코딩테스트 A to Z (with Python)
2번 구현 방법 질문 있습니다.
안녕하세요. 12:40초 경에 찾는 숫자가 배열에 있는지 확인하는 함수를 2번 방법으로 구현할 때찾는 숫자 : 1, 배열 : arr = [2, 3, 4, 5]이런식으로 배열에 찾는 숫자보다 큰 값들만 있으면cur이 -1이니까 arr[cur] == num에서 out of index 에러가 발생할 것 같은데 일반적인 이분탐색을 매개변수 탐색 방법으로 구현하려고 하면 cur = -1인 부분에 대해서는 따로 예외처리를 해주면 될까요?아니면 좀 더 깔끔한 구현 방법이 있을까요?
-
해결됨350개의 개인 앱을 만들어 월급의 7배 수익을 달성한 방법
질문이 있어 글 남깁니다.
안녕하세요.좋은 강의를 듣고 직접 서비스를 준비하고 있는 프론트엔드 개발자입니다. 사실 기술 관련 질문은 하지 말아달라고 강의 중 말씀해주신 걸 기억하는데,다른 곳에 물어볼 곳도 없고혹시라도 답변을 들을 수 있을까 하여 문의 글을 남깁니다. 300개 가량의 서비스를 유지하면서,RDS 비용이 한달에 22.73달러 정도 발생한다고 강의 중에 말씀하셨는데요. 저 또한 AWS는 아니지만 GCP에서 무료 크레딧을 가지고 개발 진행중입니다.서버 비용보다 RDS 비용이 진짜 무섭다는 이야기를 많이 들어서요. GCP 기준 샌드박스, 공유코어로 설정을 맞추고 거의 최저 사양을 맞춰도시간당 0.05달러 정도 발생하고 한달에 최소 36달러는 디폴트로 발생하는 것으로 예상 금액이 책정되고 있습니다. 서비스 개발 중인데도 RDS에서 발생하는 금액이 저 정도면 부담이 되더라구요. RDS 스팩을 t3.micro 정도로만 말씀해 주셨는데,스팩을 좀 더 구체적으로 말씀해주실 수 있을까요? 혹은 금액을 줄일 수 있는 방법이 있다면 조언 부탁드려도 될까요? 사양 커스텀을 진행해도 한달에 22달러는 도저히 맞춰지지가 않아서요 (GCP 기준이긴 합니다..)
-
해결됨38군데 합격 비법, 2025 코딩테스트 필수 알고리즘
수업 질문
안녕하세요! 기업 코딩테스트의 환경이 pycharm이랑 같은지 궁금합니다. 구글 코랩환경은 하나씩 행마다 빠르게 코드를 확인해보면서 볼 수 있는데 pycharm은 한꺼번에 돌려야 하고 함수 안에 print를 넣어서 간접적으로 확인해야하니 불편해 여쭤봅니다..!ctrl + R을 누르면 pycharm에서 실행이 된다고 하는데 저는 pycharm에서 실행 버튼의 단축키가 ctrl +f5로 뜹니다,,! 단축키로 쓰기에는 너무불편한데, ctrl+R로 단축키를 바꾸신건지 저는 해당 단축키로는 실행이 되지 않아 여쭤봅니다! 코랩이 아닌 pycharm으로 수업을 진행하신 특별한 이유가 있으신지도 궁금합니다!! 감사합니다.
-
미해결3. 웹개발 코스 [Enterprise Architecture(EA) X 전자정부프레임워크]
제6강. No bean named 'MainService' available 에러 발생
안녕하세요.6강 소스코드 빌드 시 아래 오류가 발생햐며, 강의 프로젝트 Source를 이용하여도 발생합니다.-- 아 래 --SEVERE: 서블릿 [action]을(를) 위해 할당하던 중 예외 발생org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'MainService' availableINFO: Initializing Spring DispatcherServlet 'action'2025-04-17 00:14:30,620 INFO [org.springframework.web.servlet.DispatcherServlet] Initializing Servlet 'action'2025-04-17 00:14:30,788 WARN [org.springframework.web.context.support.XmlWebApplicationContext] Exception encountered during context initialization - cancelling refresh attempt: org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mainController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'MainService' available2025-04-17 00:14:30,792 ERROR [org.springframework.web.servlet.DispatcherServlet] Context initialization failedorg.springframework.beans.factory.BeanCreationException: Error creating bean with name 'mainController': Injection of resource dependencies failed; nested exception is org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'MainService' available. . .Caused by: org.springframework.beans.factory.NoSuchBeanDefinitionException: No bean named 'MainService' available
-
해결됨(2025) 일주일만에 합격하는 정보처리기사 실기
추상클래스, 인터페이스 3분 33초 경 코드
안녕하세요, 추상 클래스와 추상 메서드에 관련한 코드를 보다가 궁금한 점이 있어 질문을 남깁니다.abstract class Vehicle { String model; // 생성자 Vehicle(String model) { this.model = model; } // 추상 메서드 abstract void startEngine(); void stopEngine() { System.out.println(model + "엔진 멈췄다."); } } class Car extends Vehicle { // 생성자 Car(String model) { super(model); } // abstract 였던 메소드를 구현 void startEngine() { System.out.println(model + "엔진 켜졌다."); } } public class Main { public static void main(String[] args) { Car car = new Car("Toyota"); car.startEngine(); car.stopEngine(); } }제가 이해한 코드 흐름은 다음과 같습니다.Car 이라는 객체(인스턴스)를 생성super(model) 코드를 통해 "Toyota" 라는 String 변수 값이Car의 부모 클래스 Vehicle의 생성자 함수에 들어감Vehicle 생성자 함수를 통해 Vehicle의 인스턴스 변수인 model에 "Toyota" 라는 값이 들어가게 됨car.startEngine() => 자식 클래스에서 startEngine() 함수 실행car.stopEngine() => 자식 클래스에서는 없는 함수이므로 부모 클래스에 있는 stopEngine() 함수를 실행 이 때, 4번에서 궁금했던 점은model 이라는 변수는 부모 클래스에 있는 인스턴스 변수인건데,상속을 하게 된다면 자식 클래스에서도 model 이라는 변수에 접근이 가능한건가요?