묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결
html에서 post를 사용하여 input에 담아 넘겨준 value 값을 파이썬에서 받아 쓰려면 어떻게 정의하고 써야하나요?
웹페이지를 만들기 위해 flask 사용 중입니다. bst_post.html에서 <img class='nst_img' src="{{url_for('static', filename=transfer_img)}}"> 위의 코드 중, 값이 담긴 변수 transfer_img를 <form align="center" action="/custom_case" method="POST" enctype="multipart/form-data"> <p class="text-black-50 mb-0" align="center"> <input type = "hidden", name = "b_transfer_image" value = {{transfer_img}}> <a href="/custom_case">custom case</a> </p> </form> 을 이용해 __init__.py의 @app.route('/bst_post') def case_get(): return render_template('case.html') @app.route('/custom_case', methods=['GET','POST']) def case_post(): if request.method == "POST": return render_template('case.html', transfer_img) 라는 코드로 받아왔는데요, 마지막 줄 transfer_img 에 빨간 줄이 그이면서 에러가 났습니다. html에서 넘긴 input 의 value 값을 어떻게 받아와야하나요?
-
미해결유니티(Unity)로 시작하는 게임개발: Part 3. 슈팅게임 개발
117강 구조체를 정의하여 ShipData 구성
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. ShipData 구조체의 코드는 아래와 같습니다. public int id; public float base_dmg; public string name; public string kName; public ShipData(int id, float baseDmg, string name, string kName) { this.id = id; this.base_dmg = baseDmg; this.name = name; this.kName = kName; } 생성자로 매개변수를 받아서 각각의 데이터에 저장할거면 변수를 왜 굳이 public으로 선언할까요? 위의 구조체를 사용하는 코드에서는 for (int i = 1; i < lines.Length-1; i++) { string[] row = lines[i].Split('\t'); ships[i - 1].id = int.Parse(row[0]); ships[i - 1].base_dmg = float.Parse(row[1]); ships[i - 1].name = row[2]; ships[i - 1].kName = row[3]; } 이렇게 직접 접근하기 위해서는 위의 코드처럼 public 이어야 가능할것 같아요. 그런데 생성자에서 매개변수를 받는 다는 의미는 위의 for문에서 ships[i - 1] = new ShipData(int.Parse(row[0]), float.Parse(row[1]), row[2], row[3]); 구조체의 데이터를 은닉하고 위와같은 식으로 사용하겠다는 뜻이 아닌가요? 어떤쪽으로 사용해도 동작에는 이상없으나 이제 원리를 깨우치는 입장에서 여러 배운 내용들이 겹치며 의도가 약간 헷갈리고 있어서 질문해 봅니다.
-
미해결실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
혹시 코드 포멧터 어떤거 사용하시는지 알 수 있을까요?
강의와 관련이 없는 질문일 수도 있는데,, 영한님이 사용하시는 코드 포멧터가 있으실까요? 제가 vscode + JS 만 써봐서 prettier 같은 코드 포멧터가 있는지 궁금합니다. 구글링을 해보니 단축키로 자동 정렬하는 내용이 제일 많은데.. 따로 스크립트를 등록해서 사용하고 계신가요?
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
eslint관련 질문드려요
강의를 들으면서 일단은 실습을 그대로 진행했는데 eslint설정 이후 아래와 같은 오류가 children에서 발생하더라고요 에러발생 이유와 해결방법에 대해서 알 수 있을까요? 그리고 추가로 해당강의에서 vscode를 사용하면 eslint를 따로 학습해서 추가로 적용해야한다고 하셨는데 만약 적용을 안하고 수업에서 제로초님이 설명한대로만 하면 이후 수업에 진도를 나가는데 있어 문제가 될까요?
-
미해결
Why Cash App Temporarily Locked My Account?
Have problems using the Cash App? It's okay, but you should know that you're not alone. A lot of people face this locked cash app account issue at one point or another. Here are some tips to help you fix the problem. First, if you have an active credit card, link it to your cash app account. If you don't have an active credit card, link it to another bank account. Then, if you’re Cash App account locked, log in and follow the instructions provided in the help section. If you’re why Cash App temporarily locked my account, the first thing you should do is to contact the company. They will contact you and ask you for your registered details. If you're not sure what your registered information is, you can provide it to the company. If you don't know your social security number, give it to them. They will send you an email to verify your account. Next, you must open the link on your device. If you have a mobile phone, you can open your account again. You can also request a review from the cash app's executives. Typically, you'll need to wait twenty-four to forty-eight hours for the process to complete. This process can be frustrating, but it's worth the wait. It's possible to unlock your account again. There are many ways to get your account back. How to Unlock Cash App Account? Once you have downloaded the Cash App, you must log in with your social security number or government-issued ID. Once you have registered for a Cash App account, it will be locked. If this happens, you should contact the Cash App executives and get your account back. During the verification process, they will ask for your registered details and additional information such as your social security number or email address. You may also receive an email with a verification form. You will have to open the link to complete the verification process. If you have locked your Cash App account, you can still unlock it. First, you must contact the customer support team and verify your identity. If you have a mobile phone, you can connect to the service. The customer support representatives will verify your identity and send you a link to complete a verification process. Once you've verified your identity, you can proceed to use your Cash App account. You can use it for any purpose you like, as long as you're not violating the terms and conditions of the app. To unlock your Cash App account, go to the Login screen and click on the profile icon. You will then be prompted to enter your email address or phone number. Once you've entered these details, you can follow the instructions that appear. You can also use the same method to unlock your bank account Can someone hack your Cash App with your email? If you've ever been in a situation where you have been robbed of your cash, then you know how frightening it can be. You've been using Cash App to process all of your salary deposits and payments, but a hacker has taken your account. Naturally, you don't want this to happen to you. After all, your money is important, and it's hard to live without it. Hackers love Cash App. People have had their stocks, bitcoin, and money stolen. Squareup, which runs through the app, has also had problems with can someone hack your cash app with your email. Unfortunately, Cash App offers little help to users. These scammers often use email, text messages, and social media to lure unsuspecting users into giving them their personal information. And if you're worried that someone might try to hack your account, don't worry. We've listed some ways to protect you to avoid the situation of Cash App account hacked with your email: Keeping your information safe is key. Hackers don't need much else to access your account, but they do need your email address and your Cash App Pin. If your Cash App account is stolen, it won't be easy to recover. It's crucial to protect your account from being stolen and keep it safe. You don't want to lose your money, so ensure that your personal information is secure.
-
미해결스프링 시큐리티
FilterSecurityInterceptor의 인증예외에 관해서
FilterSecurityInterceptor가 인증예외를 터트릴때 1.익명사용자일때 2.rememberme 인증 사용자일때 라고 말씀해주셧는데요. 1번은 당연히 인증되지않는 사용자이므로 이해가됩니다. 2.rememberme사용자는 어쨋든 sc에 인증객체까지 담아서 인증이 완료된것인데 왜 인증예외를 터트리는것인가요? -->제 생각으로 는 예를들어 관리자계정같은경우는 rememberme로 다시 자동로그인이 된다면 관리자권한이 필요한 관리자페이지의경우에는 중요한페이지이므로 일부러 다시로그인 해달라고 하기위해서 설정해놓은 장치인가요?
-
미해결설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
sudo password를 하면 command not found라는 메세지가 뜹니다.
- 강의 내용외의 개인 질문은 받지 않아요 (개별 과제, 고민 상담 등..)- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 패스워드 설정부터 막혔습니다. 어떻게 해야하나요
-
미해결[C#과 유니티로 만드는 MMORPG 게임 개발 시리즈] 번외편: AWS로 시작하는 서버 운영
aws 프리티어
안녕하세요 루키스님. aws를 완강하고 mmo server를 ec2에 올리기 위한 작업을 시작했습니다. 1. visual studio 2019 설치 2. aws 그리고 ec2 방화벽 열어주기 3. ec2에 고정 domain 구입후 해당 ip ConnectToGame.cs 파일의 endPoint에 넣어주기 4. 서버에서 서버코드를 실행후 다른 기기에서 클라이언트 빌드 파일만으로 접속해보기 이러한 단계를 거쳐 서버를 열어 여러 pc에서 서버를 통해 접속할 수 있게 하려고 합니다. 현재 visual studio를 설치하는 과정에서 installer를 보니 이렇게 나오는데 ec2 자체의 용량 부족으로 설치를 못하는 상황인 것 같습니다. 추가적으로 구매할 의향이 있습니다. 그렇다면 제가 추가한 2개의 옵션 말고 추가적으로 필요한 부분이 있을까요?
-
미해결침투테스트 전문가 - 시스템 편 (모의해킹, 모의침투)
안녕하세요. [msfconsole] 강의 중 오류가 있어 문의드립니다.
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 10분 48초 강의 중 shell.exe 를 실행하면 실행이 되는데 제가 환경에서는 test.exe프로그램을 실행하지 못했습니다. 지정한 실행파일은 이 os플롯폼에 올바른 응용프로그램이 아닙니다 라고 뜹니다. 제 환경은 windows 10 64비트 환경이고 vm 환경에서는 이앱을 실행할수 없습니다. 실활겨에서는 .\test.exe 용어가 cmdlet, 함수 ... 실행할 수 있는 프로그램 이름으로 인식되지 않습니다. 라고 뜹니다. 강사님과 다른 명령창은 쉘만들때 To use retry middleware with Faraday v2.0+.... 이라고 뜹니다. 혹시 인터넷이 안되는 환경이라 faraday 를 설치해야만 정상동작할까요??
-
미해결
Buy Shipping Containers in Oklahoma
Buy Shipping Containers in Oklahoma:- Secret expenses, additional charges and high rates suck. Allow us to show you what having family in the business is like. Your bills will be straightforward and simple to peruse. Doesn't it suck when you NEED your crate yesterday? Or then again you really wanted your case got weeks prior? That will not occur with us. We make a solid effort to guarantee 24 hour conveyance and get. We make a special effort for you, not the investors or directorate. We can respond rapidly to offer modified support to address your issues. Read More:- https://containerselleronline.com/ Address:- 13555 S Stemmons St. Sanger, TX 76266 Call Us:- +17206234721 Office Hours:- Monday – Thursday: 8am – 5pm Friday: 8am – 3pm
-
미해결RDBMS Modeling 실습
코드 업로드 해주실 수 있으신가요?
강의 중에 사용하신 C# 파일, MSSQL ERD, SQL 파일 업로드 해주실 수 있으신가요? 그리고 좋은 강의 올려주셔서 정말 감사드립니다.
-
미해결
Seek professional help to unlock your cash app account?
Can I use a cash app card at ATM for money withdrawal? Do you want to know how to make the transaction on the cash app? How to unlock the cash app account? Cash app users can take quick assistance from the technical specialist for solving all issues. Call the professionals to resolve all these queries immediately.
-
미해결[개정판] 파이썬 머신러닝 완벽 가이드
min_samples_leaf 질문있습니다.
책 196페이지 마지막줄에 'min_samples_leaf = 4 로 설정하면 샘플이 4 이하이면 리프 노드가 되기 때문에 지니 게수 값이 ~ ' 라는 문장이 잘 이해가 가지 않습니다. min_samples_leaf은 리프 노드가 될 수 있는 샘플 데이터 건수의 최솟값이고 min_samples_leaf 보다 크거나 같은 샘플 값을 지니는 노드만 리프 노드가 될 수 있다고 이해했습니다. 197페이지 그림에도 'Sample이 4 이상인 노드는 리프 클래스 노드가 될 수 있으므로 규칙이 sample 4인 노드를 만들 수 있는 상황을 반영하여 변경됩니다'라고 명시돼있는데 그렇다면 196페이지 마지막줄에 샘플이 4 이하가 아니라 4 이상으로 표기되는 것이 맞는 것이 아닌지, 제가 잘못 이해하고 있는 부분이 있는 것인지 여쭤봅니다! 또, 마찬가지 맥락에서 201페이지에 'min_samples_leaf=6을 설정해 6개 이하의 데이터는 리프 노드를 생성할 수 있도록 리프 노드 생성 규칙을 완화한뒤 ~' 라는 문장이 잘 이해가 가지 않습니다...
-
미해결[개념은 호옹~, 실습 빡] 스프링 부트, 입문!
[질문] 15강 데이터 수정하기 - data.sql 생성 에러
안녕하세요 홍팍님. 현재 수강중에 있습니다. 따라하던 중 resource 폴더에 data.sql 을 추가하면 서버 실행이 되지않습니다. data.sql을 삭제하고 run을 하면 서버 실행이 잘됩니다. 현재 community Edition 사용하고 있는데 위에 메세지에 sql 파일은 ultimate(?) 버전에서 지원한다? 이런식으로 써있었는데.. IDE 버전 때문에 그런건가요..? dismiss 누르고 plugin에서 database 관련한거 3개 정도 설치했는데 여전히 안되네요ㅠ run에 대한 상황은 다음 아래와 같습니다. 1. data.sql 생성 후 실행하면 2. data.sql 삭제 후, run 실행 감사합니다.
-
미해결실전! Querydsl
@Transacitonal 사용이유에 대한 질문입니다!
@Transactional을 사용하면 롤백된다고 알고있는데 이 부분에서 왜 사용하는것인가요?트랜잭셔널을 넣으면 100개의 멤버가 다 롤백되지 않나요? 아니면 @Test에서 사용하는 방식과 일반 mvc방식에서 사용하는 방식의 차이점이 있는건가요? 예를들어 mvc방식에서는 에러가일어날경우 롤백인데 @Test인경우에는 에러가없어도 자동롤백이라던지요..
-
미해결프로그래밍 시작하기 : 파이썬 입문 (Inflearn Original)
예제문제 부탁드립니다
dankalman12@naver.com 으로 보내주시면 감사하겠습니다!
-
미해결[개정판] 파이썬 머신러닝 완벽 가이드
회귀 강의 관련 내용
p.391 이후의 내용들(회귀트리/stacking 등)에 대한 강의는 따로 없는건가요...? 감사합니다.
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
가격, 수량 범위 질문입니다
아이템 등록시 price 1000~1,000,000 수량 9999까지 허용하고 수정시에는 수량을 따로 제한을 두지 않으셨습니다. 그런데 수량을 9999999999999 무한대로 넘으면 숫자를 입력해주세요. 라고 오류메세지가 떠서 아마 Integer quantity;니까 int의 범위인 2,147,483,647 안에 들어야한다고 생각했고 21억 안의 범위 안의 숫자를 줬는데 수량은 정상으로 되는데 글로벌 오류메세지로 수정이 되지않습니다. 상품의가격*수량의 합은 10,000원 이상이어야합니다. 현재값= -1,942,337,536 이렇게 뜨는데 왜 마이너스값이 뜨고 등록이되지않을까요? 복합 룰 검증에 int resultPrice = form.getQuantity() * form.getPrcie(); if(resultPrice<10000) {...} 로 되어있습니다. 글로벌 메세지오류가 나는 이유를 모르겠고 -값으로 나오는 이유도 모르겠습니다. ++ 에러메세지에 Error in object 'item': codes [totalPriceMin.item,totalPriceMin]; arguments [10000,-1774902999]; default message [null] 으로 나타납니다.
-
미해결
[html & javscript] 변수에 담긴 이미지 주소를 다음 페이지로 이동시 함께 전달시키는 법이 궁금합니다.
안녕하세요 현재 웹을 배우고 있지는 않지만 프로젝트 마지막에 웹으로 구현되는 걸 보여주자고 해서 주먹구구식으로 웹을 만들고 있습니다. 질문하겠습니다.. (1) 파이썬으로 transfer_img_path = './static/testB/슬기.jpg' t_list = transfer_img_path.split('/') transfer_img= t_list[-2]+'/'+t_list[-1] 해당 코드를 사용하여 만들어진 transfer_img라는 변수를 1.html 파일로 전달했고, (2) 1.html에서 <img class='nst_img' src="{{url_for('static', filename=transfer_img)}}"> 을 이용하여 src의 주소 부분을 완성하게끔 했을 때, (3) 여기서 이 이미지 주소를 담은 변수 transfer_img를 다음 페이지 2.html 로 이동시 함께 전달하는 방법이 궁금합니다. transfer_img 변수를 함께 옮겨도 되고, 변수에 속한 값만 옮겨도 됩니다. 이미지 주소를 담은 변수나 변수의 값은 꼭 1.html에서 2.html로 전달되어야 합니다. 알고계신분들 답변 주시면 감사하겠습니다...
-
미해결[리뉴얼] React로 NodeBird SNS 만들기
실습환경 준비 질문드립니다
안녕하세요 제로초님 무료에 이어 유료강의도 수강하고 있습니다 근데 해당강의를 들으면서 잘 따라갔는데 npm run dev로 실행을 하니까 아래와 같은 오류가 발생하는데 어떻게 해결하면 될까요? ㅜㅜ > react-nodebird-front@1.0.0 dev > next Browserslist: caniuse-lite is outdated. Please run: npx browserslist@latest --update-db ready - started server on http://localhost:3000 Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:67:19) at Object.createHash (node:crypto:135:10) at module.exports (C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule._initBuildHash (C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\webpack\lib\NormalModule.js:417:16) at handleParseError (C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\webpack\lib\NormalModule.js:471:10) at C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\webpack\lib\NormalModule.js:503:5 at C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\webpack\lib\NormalModule.js:358:12 at C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\loader-runner\lib\LoaderRunner.js:373:3 at iterateNormalLoaders (C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\loader-runner\lib\LoaderRunner.js:214:10) at iterateNormalLoaders (C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\loader-runner\lib\LoaderRunner.js:221:10) Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:67:19) at Object.createHash (node:crypto:135:10) at module.exports (C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule._initBuildHash (C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\webpack\lib\NormalModule.js:417:16) at handleParseError (C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\webpack\lib\NormalModule.js:471:10) at C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\webpack\lib\NormalModule.js:503:5 at C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\webpack\lib\NormalModule.js:358:12 at C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\loader-runner\lib\LoaderRunner.js:373:3 at iterateNormalLoaders (C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\loader-runner\lib\LoaderRunner.js:214:10) at iterateNormalLoaders (C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\loader-runner\lib\LoaderRunner.js:221:10) node:internal/crypto/hash:67 this[kHandle] = new _Hash(algorithm, xofLen); ^ Error: error:0308010C:digital envelope routines::unsupported at new Hash (node:internal/crypto/hash:67:19) at Object.createHash (node:crypto:135:10) at module.exports (C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\webpack\lib\util\createHash.js:135:53) at NormalModule._initBuildHash (C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\webpack\lib\NormalModule.js:417:16) at handleParseError (C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\webpack\lib\NormalModule.js:471:10) at C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\webpack\lib\NormalModule.js:503:5 at C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\webpack\lib\NormalModule.js:358:12 at C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\loader-runner\lib\LoaderRunner.js:373:3 at iterateNormalLoaders (C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\loader-runner\lib\LoaderRunner.js:214:10) at Array.<anonymous> (C:\Users\Administrator\OneDrive\Desktop\react-nodebird\prepare\front\node_modules\loader-runner\lib\LoaderRunner.js:205:4) { opensslErrorStack: [ 'error:03000086:digital envelope routines::initialization error' ], library: 'digital envelope routines', reason: 'unsupported', code: 'ERR_OSSL_EVP_UNSUPPORTED' } Node.js v17.4.0