묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결시스템 소프트웨어 개발의 모든 것 - 시스템 반도체와 전기 자동차 중심
시스템 반도체 개발 생태계에서의 고객, 산업
안녕하세요! 강의로 정말 도움 많이 받고 있습니다.삼성전자와 같이 펩리스, 파운더리 등을 모두 갖추고 있는 종합적인 반도체 기업에서는 강의에서 말씀하시는 고객(OEM?)은 어떤 기업이 되는 건가요? 삼성전자 내에서 모든게 이루어지는 시스템인가요?답변 미리 감사드립니다.
-
미해결UX/UI 시작하기 : Adobe XD 입문(Inflearn Original)
에셋 패널 사용하기
안녕하세요.에셋 패널 사용하기 강의를 들으면서 실습하고 있는데 에셋을 등록후 수정하려는데 우클릭 창이 뜨지 않습니다. 이유가 있을까요???
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
선생님! 4회기출 작업형1-3 between 질문드립니다~
학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요!질문과 관련된 영상 위치를 알려주면 더 빠르게 답변할 수 있어요먼저 유사한 질문이 있었는지 검색해보세요 4회기출 작업형 1-3번 문제에서 아래쪽 풀이3번을 보고 있는데, 질문있습니다! df['date_added'].between('2018-01-01','2018-01-31')이부분에서 between안의 인자들은 모두 포함인가요 ? 시작일 : 2018-01-01종료일 : 2018-01-31 시작일 종료일 모두 포함 인건지 궁금합니다~!loc,iloc헷갈리듯이 이 함수는 어떤지 알려주세요ㅠ
-
미해결
The Complete Guide to Divorce Laws in New York for the Year 2024
The Complete Guide to Divorce Laws in New York for the Year 2024As we approach 2024, it is essential to stay informed about the evolving laws and regulations surrounding divorce in New York. What are The Laws for Divorce in New York can be a complex and intricate matter, with various factors to consider, including residency requirements, grounds for divorce, child custody, and asset distribution. This comprehensive guide will provide you with an in-depth understanding of the divorce laws in New York, ensuring you are well-prepared to navigate this significant life transition.Residency RequirementsOne of the fundamental prerequisites for filing for divorce in New York is meeting the residency requirements. What are The Laws for Divorce in New York that at least one spouse must have been a resident of the state for a continuous period of one year before filing for divorce. Additionally, the couple must have been married in New York, or have lived in the state as a married couple, and meet the residency criteria.Grounds for DivorceIn New York, there are several grounds for divorce, both fault-based and no-fault. What are The Laws for Divorce in New York recognize the following fault-based grounds: cruel and inhuman treatment, abandonment, imprisonment, and adultery. However, the state also allows for no-fault divorces, which require that the relationship has been irretrievably broken for at least six months, and there is no reasonable prospect of reconciliation.Child Custody and SupportWhen children are involved in a divorce, What are The Laws for Divorce in New York prioritize the best interests of the child. The court will consider various factors, such as the child's relationship with each parent, the ability of each parent to provide a stable and nurturing environment, and any history of domestic violence or substance abuse. Child support obligations are also determined based on the income of both parents and the child's needs.Division of Assets and DebtsNew York is an equitable distribution state, which means that marital assets and debts are divided fairly, but not necessarily equally, between the spouses. What are The Laws for Divorce in New York consider various factors, such as the duration of the marriage, the income and earning potential of each spouse, and the contributions of each party to the marriage, both financial and non-financial.Spousal Maintenance (Alimony)In certain circumstances, one spouse may be required to provide financial support to the other after a divorce. What are The Laws for Divorce in New York regarding spousal maintenance (alimony) take into account factors such as the length of the marriage, the age and health of each spouse, and their respective earning capacities. The court aims to ensure that both parties can maintain a reasonable standard of living post-divorce.Navigating the divorce process in New York can be complex, but understanding What are The Laws for Divorce in New York is crucial for ensuring a fair and equitable outcome. By familiarizing yourself with the residency requirements, grounds for divorce, child custody and support guidelines, asset and debt division rules, and spousal maintenance considerations, you can make informed decisions and protect your rights throughout the divorce proceedings. As always, it is highly recommended to seek the guidance of an experienced new york ny divorce lawyer who can provide personalized advice and representation tailored to your specific circumstances.
-
해결됨실무자가 알려주는 CANoe (For CAN 통신)
섹션1 강의자료 확인 요청드립니다.
섹션 0 하고 섹션 1하고 강의자료가 같습니다. 섹선 1의 강의자료가 잘못 올라온 것 같은데 확인 부탁드립니다!
-
미해결이득우의 언리얼 프로그래밍 Part2 - 언리얼 게임 프레임웍의 이해
Parallel 컴포짓의 태스크 실행 질문..
Main 인 Attack task는 Inprogress 반환이라도 딱 한번만 호출되는데요. 같이 실행되는 TurnToTarget task는 Succeeded를 반환해도 매 프레임 여러 번 호출되는 것 같습니다. 여기서 어떤 규칙이 있는 건가요??Parallel 컴포짓이 main task가 inprogress 일 동안에는매 프레임 sub task 의 ExecuteTask()를 호출 하는 방식인가요??
-
해결됨설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
코드 복사관련 질문
코드 복사관련 질문드립니다.여기서:vs로 윈도우를 하나 더 만들고ctrl+w w로 커서를 우측으로 바꾼후:E로 선택페이지로간뒤해당파일로와서shift v로 드래그까진했는데여기서 복사는 어떻게 하나요?현상황에서 마우스로 드래그하면 왼쪽코드도 같이 잡혀서마우스론 안되고드래그만하면 보통 클립보드에 다 저장되는건줄알았는데 안되네요=================현업자인지라 업무때문에 답변이 늦을 수 있습니다. (길어도 만 3일 안에는 꼭 답변드리려고 노력중입니다 ㅠㅠ)강의에서 다룬 내용들의 질문들을 부탁드립니다!! (설치과정, 강의내용을 듣고 이해가 안되었던 부분들, 강의의 오류 등등)이런 질문은 부담스러워요.. (답변거부해도 양해 부탁드려요)개인 과제, 강의에서 다루지 않은 내용들의 궁금증 해소, 영상과 다른 접근방법 후 디버깅 요청, 고민 상담 등..글쓰기 에티튜드를 지켜주세요 (저 포함, 다른 수강생 분들이 함께보는 공간입니다.)서로 예의를 지키며 존중하는 문화를 만들어가요.질문글을 보고 내용을 이해할 수 있도록 남겨주시면 답변에 큰 도움이 될 것 같아요. (상세히 작성하면 더 좋아요! )먼저 유사한 질문이 있었는지 검색해보세요.잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.==================
-
미해결파이썬/장고 웹서비스 개발 완벽 가이드 with 리액트 (장고 4.2 기준)
serializer에서 query문 작성
serializer는 직렬화를 담당하는 클래스인데 이 안에서 orm으로 query 메서드를 정의하는 게 괜찮은 방법인가요? layered architecture라고 한다면 repository 클래스를 만들텐데, django에서는 이런 방식이 권장되는 방법인지 궁금합니다.repository class에 query 메서드를 작성하고 queryset에 할당해주는 방법은 괜찮은가요?감사합니다.
-
해결됨SQL 코딩테스트를 위한 첫 걸음
cross join, full join강의 / leetcode 1280번 문제 질문드립니다
select a.student_id, a.student_name, a.subject_name, count(e.subject_name) attended_exams from ( select student_id, student_name, subject_name from Students, Subjects # cross join ) a left outer join ( select student_id, subject_name from Examinations ) e on a.student_id=e.student_id and a.subject_name=e.subject_name group by a.student_id, a.student_name, a.subject_name order by a.student_id, a.subject_name;해당 코드에 select 문에 있는 count(e.subject_name) attended_exams를 실행할 때,count(a.subject_name) attended_exams와 같이 cross join을 실행한 subject_name을 기준으로 실행하는 경우에는 0값이 안나오는 결과를 확인했는데 둘의 차이가 궁금합니다.
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
캐글 t1-35 (파이썬) 2번 문제 풀이 부탁드립니다!
안녕하세요~ 캐글 t1-35 (파이썬) 2번 문제 풀이 부탁드립니다!항상 좋은 강의 감사합니다😊https://www.kaggle.com/code/agileteam/t1-35-fb-py
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
검증용 데이터 분리 후 의사결정나무 모델 적용 시 오류
# 의사결정나무 from sklearn.tree import DecisionTreeClassifier dt = DecisionTreeClassifier() dt.fit(X_tr[cols], y_tr) pred = dt.predict_proba(X_val[cols]) pred[:10]array([[1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.], [1.]])검증용 데이터 분리시 출력 결과가 상이하네요어디를 수정해야 할까요??
-
해결됨10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
교안 38p char을 초기화할 때 NULL 초기화가 되지 않네요.
아래의 코드를 type.cpp파일에 작성하고,➜ c++ git:(master) ✗ g++ -std=c++14 -Wall type.cpp -o type.out컴파일을 했을때, 해당 NULL로 초기화가 안되는데 뭐가 잘못된 걸까요? ➜ c++ git:(master) ✗ g++ -std=c++14 -Wall type.cpp -o type.out type.cpp:35:14: warning: implicit conversion of NULL constant to 'char' [-Wnull-conversion] char c = NULL; // c에 NULL 매크로 할당, 이는 '\0'과 동일 ~ ^~~~ '\0' 1 warning generated. #include <bits/stdc++.h> using namespace std; int main(){ char a = '\0'; char b = 0; char c = NULL; string d = ""; cout << "hello"; if(a == b) cout << 1; // a와 b는 동일하므로 1 출력 if(b == c) cout << 1; // b와 c도 동일하므로 1 출력 // string(1, a)는 a를 하나의 문자로 가지는 문자열 생성, 이는 "\0"과 같음 if(string(1, a) == d) cout << 1; }
-
미해결JavaScript 알고리즘 베스트 10
강의 깃헙 주소
강의 깃헙 주소는 어디 있나요?
-
미해결코틀린 문법부터 실무까지 (실전 자바->코틀린 변환)
@RelaxedMockK로 모킹하고 save 함수를 왜 또 모킹하는지 모르겠습니다.
안녕하세요 강사님. 강의 정말 잘 듣고 실무에 적용해보려고 합니다. 강의 내용중 createPrinceTest_success 라고 하는 테스트 코드 예시에서 @Relaxed 로 모킹을 진행하고 오류가 발생해서 princeRepository.save()를 모킹하신다고 하셨는데, 그 이유가 어떤 이유인지 궁금합니다. CreatePrince.Request 객체를 만들고 princeMakerService.createPrince(request)를 호출하여 내부의 princeRepository.save()를 통해 저장되는 것을 테스트 하는데 외부에서 princeRepository.save()를 다시 모킹을 진행하고 랜덤 값으로 Prince 객체를 리턴 받는것이 조금 이해가 되지 않아서 질문드립니다.질 좋은 강의 너무 감사드립니다. 답변 주시면 감사하겠습니다!
-
해결됨설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
완전 기초?질문
지금 현재 ch1파일에있는데이전파일(Matbi_VerilogHDL_Season1)로 가거나 ch2파일로 가는 코드가 있을까요? +실수로 저창에서 우클릭하면 클립보드에 복사한코드가 다 붙여넣기되는데 이때 딜리트키 꾹누르는거 말고 한번에 삭제하는 방법도 있을까요? =================현업자인지라 업무때문에 답변이 늦을 수 있습니다. (길어도 만 3일 안에는 꼭 답변드리려고 노력중입니다 ㅠㅠ)강의에서 다룬 내용들의 질문들을 부탁드립니다!! (설치과정, 강의내용을 듣고 이해가 안되었던 부분들, 강의의 오류 등등)이런 질문은 부담스러워요.. (답변거부해도 양해 부탁드려요)개인 과제, 강의에서 다루지 않은 내용들의 궁금증 해소, 영상과 다른 접근방법 후 디버깅 요청, 고민 상담 등..글쓰기 에티튜드를 지켜주세요 (저 포함, 다른 수강생 분들이 함께보는 공간입니다.)서로 예의를 지키며 존중하는 문화를 만들어가요.질문글을 보고 내용을 이해할 수 있도록 남겨주시면 답변에 큰 도움이 될 것 같아요. (상세히 작성하면 더 좋아요! )먼저 유사한 질문이 있었는지 검색해보세요.잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.==================
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
full reload 될때는 서버 데이터를 호출하는데 그 이후로 새로고침할대는 호출하지 않아서 답답합니다
안녕하세요 제로초님full reload 될때는 서버 데이터를 호출하는데 그 이후로 새로고침할대는 호출하지 않아서 답답합니다.구글링하고 제로초님 로직을 따라 만들어보다가posts게시물이 내려오도록 수정을 했는데,이상하게 처음엔 서버에 요청하고 데이터를 내려받아서 게시물이 보이는데, 그이후 새로고침하면 서버 호출까지도 안하는것 같습니다.이젠 좀 나오나 싶었는데, full reload될때만 되서 여유되실 때 로직한번 봐주시면 감사하겠습니다 ㅠ / pages/index.jsimport { useDispatch, useSelector } from "react-redux"; import AppLayout from "../components/AppLayout"; import PostForm from "../components/PostForm"; import PostCard from "../components/PostCard"; import { useEffect } from "react"; import { loadPostsRequestAction } from "../reducers/post"; import { loadMyInfoRequestAction } from "../reducers/user"; import wrapper from "../store/configurStore"; import axios from "axios"; import { END } from "redux-saga"; // 프론트, 브라우저 같이 실행 const Home = () => { const { me } = useSelector((state) => state.user); const { mainPosts, hasMorePosts, loadPostsLoading, retweetError } = useSelector((state) => state.post); const dispatch = useDispatch(); useEffect(() => { if (retweetError) { alert(retweetError); } }, [retweetError]); useEffect(() => { const onScroll = () => { if (window.scrollY + document.documentElement.clientHeight > document.documentElement.scrollHeight - 300) { if (hasMorePosts && !loadPostsLoading) { const lastId = mainPosts[mainPosts.length - 1]?.id; dispatch(loadPostsRequestAction({ lastId, limit: 10 })); } } }; window.addEventListener("scroll", onScroll); return () => { window.removeEventListener("scroll", onScroll); }; }, [hasMorePosts, loadPostsLoading, mainPosts]); return ( <AppLayout> {me && <PostForm />} {/* 순서가 바뀌거나 삭제될 수 있는 리스트들에 key값으로 index를 쓰면 안됀다. */} {/* 반복문이 있고 바뀌지 않는 리스트일 경우에만 사용해도 된다. */} {mainPosts.map((post) => ( <PostCard key={post.id} post={post} /> ))} </AppLayout> ); }; export const getServerSideProps = wrapper.getServerSideProps((store) => async ({ req }) => { store.dispatch(loadPostsRequestAction()); store.dispatch(loadMyInfoRequestAction()); store.dispatch(END); await store.sagaTask.toPromise(); // 사가 작업 완료 대기 console.log("state", store.getState()); }); export function reportWebVitals(metric) { console.log(metric); } export default Home; /pages/_app.jsimport PropTypes from "prop-types"; import Head from "next/head"; import { Provider } from "react-redux"; import wrapper from "../store/configurStore"; const NodeBird = ({ Component, ...rest }) => { const { store, props } = wrapper.useWrappedStore(rest); const { pageProps } = props; return ( <Provider store={store}> <Head> <meta charSet='utf-8' /> <meta name='viewport' content='width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0' /> <title>NodeBird</title> </Head> <Component {...pageProps} /> </Provider> ); }; NodeBird.propTypes = { Component: PropTypes.elementType.isRequired, pageProps: PropTypes.any.isRequired, }; export function reportWebVitals(metric) { // console.log("-----------------------------------"); // console.log(metric); } export default NodeBird; store/configureStore.jsimport { createWrapper } from "next-redux-wrapper"; import { configureStore } from "@reduxjs/toolkit"; import reducer from "../reducers"; import user from "../reducers/user"; import post from "../reducers/post"; import createSagaMiddleware from "redux-saga"; import rootSaga from "../sagas"; // redux-thunk를 참조해서 만든 미들웨어 const loggerMiddleware = ({ dispatch, getState }) => (next) => (action) => { return next(action); }; const sagaMiddleware = createSagaMiddleware(); function getServerState() { return typeof document !== "undefined" ? JSON.parse(document.querySelector("#__NEXT_DATA__").textContent)?.props.pageProps.initialState : undefined; } const serverState = getServerState(); const makeStore = () => { // configureStore: store 를 생성 const store = configureStore({ reducer: { user, post, }, middleware: (getDefaultMiddleware) => getDefaultMiddleware().concat([sagaMiddleware, loggerMiddleware]), preloadedState: serverState, // SSR }); store.sagaTask = sagaMiddleware.run(rootSaga); return store; }; const wrapper = createWrapper(makeStore, { debug: process.env.NODE_ENV === "development", }); export default wrapper; /reducers.js/post.js import { HYDRATE } from "next-redux-wrapper"; import { createSlice } from "@reduxjs/toolkit"; import shortId from "shortid"; import produce from "immer"; export const initialState = { mainPosts: [], imagePaths: [], hasMorePosts: true, loadPostsLoading: false, // 게시글들 불러오는 중 loadPostsDone: false, loadPostsError: null, addPostLoading: false, // 게시글 추가 시도중 addPostDone: false, addPostError: null, removePostLoading: false, // 게시글 제거 시도중 removePostDone: false, removePostError: null, addCommentLoading: false, // 댓글 추가 시도중 addCommentDone: false, addCommentError: null, likePostLoading: false, // 좋아요 시도중 likePostDone: false, likePostError: null, unLikePostLoading: false, // 좋아요 취소중 unLikePostDone: false, unLikePostError: null, uploadImagesLoading: false, // 이미지 업로드 시도중 uploadImagesDone: false, uploadImagesError: null, retweetLoading: false, // 리트윗 시도중 retweetDone: false, retweetError: null, }; const postSlice = createSlice({ name: "post", initialState, reducers: {loadPostsRequestAction: (state, action) => { console.log("-------------------요청-------------------"); state.loadPostsLoading = true; state.loadPostsDone = false; state.loadPostsError = null; }, loadPostsSuccessAction: (state, action) => { console.log("-------------------성공-------------------"); state.loadPostsLoading = false; state.loadPostsDone = true; state.mainPosts = [... state.hasMorePosts = action.payload.length === 10; }, loadPostsFailureAction: (state, action) => { console.log("-------------------실패-------------------"); state.loadPostsLoading = false; state.loadPostsError = action.payload; }, }, extraReducers: (builder) => builder .addCase(HYDRATE, (state, action) => { console.log("HYDRATE", action); return { ...state, ...action.payload.post, }; }) .addDefaultCase((state) => state), }); export const { loadPostsRequestAction, loadPostsSuccessAction, loadPostsFailureAction, } = postSlice.actions; export default postSlice.reducer;
-
미해결JavaScript 알고리즘 베스트 10
문제 1번 관련
안녕하세요혹시 정규표현식 말고 replaceAll 사용한 이유가 있으신가요?
-
미해결BHPT - 호스트 기반 모의해킹 기초
모든 소통은 디스코드를 통해 이뤄지고 있습니다
학습 관련 질문, 문의, 트러블슈팅 등은 모두 레드라쿤 BHPT 디스코드 채널들을 통해 이뤄지고 있습니다. 강의를 구입하신 분들은 그쪽으로 와주세요!
-
미해결Django 프레임워크 제대로 배우기 Part.2
csrf 토큰을지정했는데 가끔가다 403오류가 뜨는데 왜그러죠?
<!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Memmo Write Form</title> <style> form > label{ display: inline-block; width: 120px; } form > input{ padding : 4px; margin-bottom : 4px; } </style> </head> <body> <h1>Onememo Form</h1> <form action="http://localhost:8000/onememos/createMemo/" method="POST" id="memoWriteForm"> {%csrf_token%} <label for="memo">한줄메모</label> <input type="text" id="memo" name="memoContent" size="100" placeholder="내용을 입력해주세요." autocomplete="off"> <br> <label for="memo">이름</label> <input type="text" id="memo" name="memoName" size="100" placeholder="내용을 입력해주세요." autocomplete="off"> <br> <label for="memo">이메일</label> <input type="text" id="memo" name="memoEmail" size="100" placeholder="내용을 입력해주세요." autocomplete="off"> <br> </form> <div> <button type="submit" form="memoWriteForm">등록</button> </div> </body> </html>
-
미해결JavaScript 알고리즘 베스트 10
서비스에서 run javascript
안녕하세요서비스에서 run javascript가 어디있나요??