묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결[하루 10분|C++] 누구나 쉽게 배우는 C++ 프로그래밍 입문
마지막에 main.cpp 에서
마지막쯤에 temp1.print();는 왜 작동을 안 하고 temp2.print();는 작동 하는지 모르겠습니다.
-
미해결[리뉴얼] Node.js 교과서 - 기본부터 프로젝트 실습까지
post api 구현중에 sequelize에 계속 null값이 전송되어 질문드립니다
안녕하세요 제초로님 게시판에서 post api를 구성하던중에 database에 계속 null값이 전송되어 질문 드립니다 ● Post (service) ☞ bulkCreate를 사용하여 guideContent에 img ( 여러장 ), CourseInfor( 여러 코스들의 정보) 삽입합니다 ● controller ☞ req 항목들입니다 ● postMan req 1. id(PK) 값들은 전부 AutoIncrement입니다 2. req 값들은 전부 DataType 잘 지켜 삽입하였습니다 ●console.log(req.body ~~) ☞ console.log(req.body, req.imgs, req.courses) 의 값을 출력했을 때의 값입니다 (정상적으로 들어오고 있습니다) ●error ☞ Database에 INSERT하는 과정에서 Contents와 CourseInfor의 값이 Null 값으로 전송되고 있습니다 ☞ imgs 테이블의 값은 정상적으로 작동합니다 console에서도 값이 확실히 들어오고 table구성도 잘 했음에도 어디서 왜 null값이 들어오는걸까요..?
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
Some challenges have failed. 에러
nginx 설치와 config 수정까지 마치고 wget https://dl.eff.org/certbot-auto 명령어를 실행하니 404에러가 발생해서, 제로초님 블로그(https://www.zerocho.com/category/NodeJS/post/5ef450a5701d8a001f84baeb)를 보면서 설치하고 있었습니다. sudo snap install certbot --classic을 한 뒤에 sudo certbot --nginx를 하니 처음에는 80 포트가 이미 사용중이라는 에러가 발생해 sudo kill -9 명령을 이용해 kill 했습니다. 이후 sudo certbot --nginx를 한번 더 하니 이번에는 위와 같은 에러가 발생하는데 무슨 문제일까요..?? (ec2 인바운드 규칙에 80과 443 모두 추가되어있는 상황입니다!)
-
미해결스프링 입문 - 코드로 배우는 스프링 부트, 웹 MVC, DB 접근 기술
중복 가능한 값의 테스트 코드 작성에서 질문이 있습니다.
[질문 내용] 안녕하세요 김영한 개발자님. 강의를 복습하며 이것저것 추가해서 만들어보다가 테스트코드 부분에서 의문점이 생겨서 질문남겨요. <회원 리포지토리 메모리 구현체> 부분에서 유일한 값인 id와 달리 name의 경우 중복이 가능한 값이기 때문에 return store.values().stream() .filter(member -> member.getName().equals(name)) .findAny() 와 같이 작성해야 하며, 이는 객체 값들 중 모두 돌리는데 괄호 안에 있는 조건에 해당하는 값이 걸리면 아무 값이나 하나 리턴하라 라는 의미로 이해했습니다. 그래서 중복값이 발생하는 상황을 만들어서 아래와 같이 테스트 코드를 작성해보았습니다. Member 객체를 3개를 만들어 1번, 3번 객체에는 'A' 이름을, 2번 객체에는 'B' 이름을 주었습니다. 'A'이름을 찾았을 때 member1 객체와 member3 객체에서 모두 테스트가 통과할 것이라고 생각했는데, member1객체에서만 통과를 하고 member3 객체에서는 다른 객체라고 통과가 안됩니다. 혹시 member3 객체에서는 통과가 안되는게 맞는것인지, 아님 통과를 해야되는데 제가 잘못 작성한 부분이 있는것인지 여쭤보고 싶습니다. 통과가 안되는게 맞다면 이유가 궁금합니다... + 회원 서비스 구현 / 회원 서비스 구현 테스트를 보다가 이름이 중복되는 회원은 validationDuplicateMember 함수로 걸러내는것을 확인했습니다. 앞서 다른분 질문에서 이름은 중복 가능한 값이라 id와 다르게 구현했다고 확인했는데, 이 부분에서는 또 이름이 중복되는 회원은 안된다고 하니 조금 헷갈리네요.. 제가 혹시 놓치고 있는 부분이 있을까요? [member1은 통과하는 이미지] [member3은 통과X 이미지]
-
미해결실무에서 바로 쓰는 영어 이메일
[강의자료요청]
안녕하세요, 좋은 강의 잘 들었습니다. 강의자료 요청드립니다. 1009sjh@naver.com
-
미해결함수형 프로그래밍과 JavaScript ES6+
이해가 가지않는 부분이 있습니다 . (22강, go+curry를 사용하여 ..~)
22강 5:30~6:30 1분동안 설명하신 부분중에서, curry가 인자가 1개만 들어오면, 인자를 더 받을 수 있는 함수를 return 하는것 까지는 잘 이해가 됬는데, 왜 go 안의 filter,map,recduce부분의 products를 다 줄일 수 있게 되는건가요 ? 사실 설명이 재귀적으로 되어 있어서 잘 이해가 안되는데 풀어서 설명해주실 수 있을까요 !
-
미해결실무에서 바로 쓰는 영어 이메일
[강의자료요청]
좋은 강의 잘 들었습니다. 강의자료 요청드립니다. 1009sjh@naver.com
-
미해결Slack 클론 코딩[실시간 채팅 with React]
캐싱 궁금한점
새로 요청 보내는게 아니라 캐싱된 값을 사용한다구 하셨는데 강의내에서 '/api/users' 요청만 dedupingInterval 2초동안 캐싱되는 거고 `/api/workspaces/${workspace}/channels` 요청은 재요청 하는 것으로 이해해서 실습해보니 첫 실행시 users, channels, members 요청이 한번씩 실행되되고 이후에 2초간 캐싱 되는 건 refetchOnMount 같이 아예 다른 탭에 갔다가 돌아오는 경우 인 것 같습니다. 아무래도 제가 이해한 캐싱과 강의에서 말하는 캐싱이 다른 것 같아 질문남깁니다. 강의 경우 처럼 한 컴포넌트 내에서 useSWR 혹은 react-query의 useQuery를 사용하는 경우 자식 컴포넌트에서 사용하는 useQuery가 캐싱된 데이터를 사용한다고 이해해도 될까요?
-
미해결
Where I Can Buy Red Jasper Ganesha?
Lord Ganesha's, or Vighnaharta's, blessings are naturally matched and amplified by Red Jasper Ganesha. Ganesha Vighnaharta removes all impediments. Green aventurine gemstones are prized as fortunate stones that attract positive energy and protect against negative conditions. If you're interested in acquiring Kristalle's things at a reasonable price, don't hesitate to contact Kristalle.
-
미해결유니티(Unity)로 시작하는 게임개발: Part 3. 슈팅게임 개발
굳이 InitTime을 만들어서 호출 하는 이유가 있나요?
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사안녕하세요. 강의 잘 보고 있습니다. 한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 안녕하세요. 강의 잘 보고 있습니다. shotEffectScript에서 InitTime 메소드를 만들어 다른 script 파일에서 호출 하는 이유가 있을까요? shotEffectScript의 update에서 DestoryGameObject 호출 하기 전에 tiem 초기화 해도 되는거 같아서요. 다른 script에서 명시적으로 종료 하는거를 보여주기 위해서 인가요?
-
미해결고수가 되는 파이썬 : 동시성과 병렬성 문법 배우기 Feat. 멀티스레딩 vs 멀티프로세싱 (Inflearn Original)
Array로 공유 리스트 변수 생성방법 질문
강사님 안녕하세요. 강의에서 말씀해주셨던 Manager 방식이 아닌 Array로 공유리스트 변수 생성하는 방법에 대해 질문드립니다. 1) Array("i", range(5)) 과 같은 형태로 생성한 공유 리스트 변수에 append하는 방법이 궁금합니다. 아래 코드로 실행하면 :AttributeError: 'SynchronizedArray' object has no attribute 'append' 에러가 발생합니다. 2) 변수 생성 시점에서 range( )의 값은 몇으로 정의하든 상관이 없나요? 지금은 예시로 range(5)로 했지만 리스트 안에 값이 얼마나 글어갈지 모르는 상황이라면 어떻게 정의해주어야 하는지 알 고 싶습니다. 아래 코드 전달드립니다. 감사합니다. from multiprocessing import current_process, Process, Array, Manager, freeze_support import time import os def cpu_bound(number, total_lst): process_id = os.getpid() process_name = current_process().name print(f"Process ID : {process_id}, Prcoess Name : {process_name}") total_lst.append(sum(i*i for i in range(number))) def main(): numbers = [3_000_000 + x for x in range(10)] # 프로세스 리스트 선언 processes = list() # 프로세스 공유 매니저 manager = Manager() # 리스트 획(프로세스 공유) #total_list = manager.list() total_list = Array("i",range(5)) # 프로세스 생성 및 실행 for i, num in enumerate(numbers): p1 = Process(name=str(i), target=cpu_bound, args=(num, total_list,)) # 배열에 담 processes.append(p1) p1.start() # Join for process in processes: process.join( ) start_time = time.time() print(f"total list = {total_list}") print(f"Sum = {sum(total_list)}") duration = time.time()-start_time print(f"Duratrion = {duration} sec") if __name__=="__main__": main( )
-
미해결
How can I Get the Most Cash For Old Cars?
Jcpcarparts now offers Cash For Old Cars services to provide you with instant cash. Jcpcarparts is a completely reliable company for car removals. They will give you the best price if you want to sell your old car. They offer the most competitive prices in Incredible Cash for Cars. They also show you the safest and quickest ways to sell your old car reasonably. For more information, don't hesitate to get in touch with Jcpcarparts.
-
미해결우디의 일러스트레이터 강좌
#39 수채화 효과
안녕하세요 . 우디님 수업을 따라하다가 궁금한 상황이 생겨서요 백터로 수채화를 만들고 나서 색상 변경을 자유롭게 하던중에 그라데이션으로 효과를 적용해봤는데 ㅜ 그건 안되는 건가요? 이중, 삼중으로 섞인 브러쉬 효과를 내보고 싶네용
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] Part3: 유니티 엔진
vector.magnitude 사용이유
안녕하세요 제가 따로 공부를하다가 궁금해서 질문 남깁니다. vector.Magnitude는 어떤경우에 어떻게 사용하면 좋은걸까요?
-
미해결쉽게 처음하는 파이썬 고급 크롤링 [Scrapy, Selenium, Headless Chrome]
json, data = json.loads(response.body_as_unicode()) 부분에 문제가 있는 것 같습니다.
5분 19초에서 진행하고 있는 부분에 대한 질문입니다. cmd 에서 실행하면 , 2022-05-26 16:50:53 [scrapy.core.scraper] ERROR: Spider error processing <GET https://openapi.naver.com/v1/search/shop.json?query=iphone> (referer: None) 이러한 오류코드가 나타납니다. navershopapi_item.py 에서 def parse(self, response): data = json.loads(response.body_as_unicode()) for item in data['items']: print(item['title']) 중 이 코드, data = json.loads(response.body_as_unicode()) 의 boby_as_uncode() 이 부분이 제대로 작동하는 것 같지 않아요. (보통 색이 바뀌는데 안 바뀌어요) 처음에는 제 코드에 오타나 탈자가 있을 것 같아서 한참을 찾아보다, 정 못찾아서 제공해주신 파일에서 client_id와client_secret을 제것으로 바꾸어서 실행했으나 같은 오류가 나타납니다. 기존에 있었던 질문(json 으로 저장이 안되네요)과 유사한 오류 인것 같아서, pip install --upgrade pip 를 한번 한 후에, 다시 시도해보셔도 좋을 것 같긴 합니다. 를 해봤으나, 같은 오류가 반복됩니다. 여기서 부터 막혀서 더 진행이 안되고 있어요 ㅠㅠ
-
미해결
What does a management accountant do UK?
The process of analysing, interpreting, and presenting accounting information acquired with the use of financial accounting and cost accounting to assist management in the process of decision making, policy building, and day-to-day operations is known as Management Accounting London. In addition, they offer the best self-assessment tax returns in the UK. For additional information, contact EfjConsulting.
-
미해결
Who Provide Truck Removals Service in New Zealand?
CashForScrapCars provides the best truck removals service. Get an instant quote for your scrap car or truck and get paid right now. They service the entire Auckland region and pick up your vehicle for free. They are also the top truck wreckers company. As the leading truck/car removals company in Auckland, they specialize in offering effort-free service that gives you good facilities and good money. They will provide you with ease to the point where you will feel free of effort and will assist you in saving money. For additional information, Contact CashForScrapCras.
-
미해결
Cash app transfer failure! Hands-On Techniques To Fix
You might have wondered, Why Does My Cash App Transfer fail? The answer is simple – sometimes it fails. The app will report that it has detected something suspicious, such as a changed zip code or billing information. It also happens that people accidentally add the wrong card. If this happens, you can go back and re-select the card. If this does not solve the issue, contact your bank and ask for your money back. Why Does Cash App Say Failed For Your Protection? If you’ve received a message that says “Cash App has failed for your protection,” you should not worry. It is normal for the app to reject payment for several reasons, including insufficient funds, a bank’s rejection of the payment, or incorrect details. In most cases, Cash App will simply decline a payment when it detects a security threat. Fortunately, you can usually fix the problem yourself by providing the necessary details. Once you have the right information, you can send money to the person you need. If you’re trying to send money from a Cash App to a friend but your friend doesn’t accept it, you should first make sure you have enough money in the account. Otherwise, the transfer will fail. It’s far more common than you may think. When the cash app fails to accept a payment, it will say “Cash app failed for your protection.” This happens because of anti-money laundering and anti-terrorism laws. How Do You Fix Cash App Cash Failed? If you’re a frequent user of Cash App, you’ve probably experienced a problem with the app’s money transfer features. If this is the case, you’ve probably wanted to know how to fix Cash App Cash failing? first. Before you do anything else, check your account balance and the amount that you’ve transferred. Also, check to see if the transaction is pending or failed. If you see either of these, it’s most likely that your connection is the cause. If you’ve encountered this problem, you’re not the only one. Cash App users often complain about the app failing to make their payments. In most cases, the problem isn’t technical and is caused by one of several factors. Fortunately, there are ways to fix Cash App Cash failing by following a few simple tips. First, make sure you have a strong Internet connection. You should also delete any pending payments to ensure your money is safe. How Do I Turn Off Protection on Cash App? There are several reasons why Cash App can fail to protect my transactions. In some cases, it could be due to bank rejection, incorrect details or automatic security flags. To resolve the problem, follow the steps below. If these steps do not work, contact the cash app’s technical support. You should receive a response from a support representative within a few days. While you’re waiting for a response, you can also check your cash account balance or account of the recipient. Why Does My Cash App Transfer Keep Failing? If you are frustrated with Cash App, you may have wondered: Why does my transfer keep failing? It could be because you’re running out of money or you’ve entered the wrong payment information. Cash app support can help you figure out what is causing the problem. If you’ve been using the Cash App for at least a few months, here are some common causes of payment failure. Follow these steps to get your money moving again. One of the most common reasons for a cash app transfer to fail is the user’s payment credentials. Sometimes, it’s because the card is declined or blocked by the bank. If this happens to you, call Cash app support and let them fix the problem. Then, check your balance to ensure that it’s valid. If you still can’t transfer funds, check the version of your Cash App and internet connection. How Do I Talk to a Cash App Representative? If you’re experiencing a problem with your CashApp transfer, you can reach out to the cash app’s customer support team. While they’re not available 24/7, they are usually able to respond to your requests within a few hours. You can also use their social media accounts to reach out to a representative. Cash App is also active on Facebook and Twitter, so you can contact them there as well.b
-
미해결모든 개발자를 위한 HTTP 웹 기본 지식
html을 반환하는 경우 분할전송이 되는게 맞나요?
@GetMapping("/simple")public String simpleTransfer() { return "transfer/simple";} html을 반환하면 브라우저에서 자동으로 분할해서 넘기는건가요?
-
미해결[개정판] 파이썬 머신러닝 완벽 가이드
회귀 실습 1: 자전거 대여(공유) 수요 예측 -02 수업중 질문있습니다!
제가 기초수준이라 개념이 확실하지 않아 헷갈려서 질문합니다! 13:51초 경에서 LinearRegression 모델로 성능 평가한 뒤, 선생님께서 모델 학습을 했으니 피쳐 중요도를 보겠다고 말씀하시는 부분이 있는데, 그 뒤에 설명해주시는 객체가 coef_ 입니다ㅠ 질문입니다! 1. 피쳐 중요도는 feature_importance_ 이고, 분류모델과 트리계열 Regressor 모델에서만 확인 가능한 객체 아닌가요? 2. coef_(회귀계수)도 피처 중요도라고 이야기할 수 있는건가요? 아니면 회귀 계수를 말씀하시려던게 잠깐 잘못말씀하신건가요? 3. 상관계수와 피쳐 중요도는 어떤 차이가 있는건가요? 추가질문 드립니다. 제가 예전에 공부하면서, 다양한 scaling이나 정규화에 대해서 공부할때 테스트데이터에 대해서는 스케일링을 진행하면 안되고 오직 Train 데이터셋에서만 스케일링을 진행하고 학습해야 된다고 들었었습니다. 그런데 수업에서 모델 예측할때 log1p()된 X_test를 그대로 이용해서 prediction하는 것을 본것 같습니다. 수업에서도 설명해주셨듯, 이후 예측된 값들을 다시 expm1()함수를 이용해서 원상태로 복구만 시켜주면 테스트데이터에 대해서는 스케일링된 데이터를 사용하지 않았다고 생각할 수 있는것인가요? ps. 강의 너무 잘 보고 공부하고있습니다!! 머신러닝 다 공부하고나면 CNN 강의도 결제해서 공부하려합니다 ㅎㅋㅋ!