묻고 답해요
164만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결자바스크립트 제대로 배워볼래?
moment.js cdn 외부 링크 오류
자바스크립트 내장함수 -> Date 내장 함수 강의 내용 중 28:17 에서 외부 링크를 복붙하는데 저는 Failed to find a valid digest in the 'integrity' attribute for resource 'https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment.min.js' with computed SHA-512 integrity '+H4iLjY3JsKiF2V6N366in5IQHj2uEsGV7Pp/GRcm0fn76aPAk5V8xB6n8fQhhSonTqTXs/klFz4D0GIn6Br9g=='. The resource has been blocked.라고 오류가 뜨면서 사용이 불가능하다고 하는데 이유를 모르겠습니다..복붙한 외부링크 소스↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓↓<script src="https://cdnjs.cloudflare.com/ajax/libs/moment.js/2.29.4/moment.min.js" integrity="sha512-CryKbMe7sjSCDPl18jtJI5DR5jtkUWxPXWaLCst6QjH8wxDexfRJic2WRmRXmstr2Y8SxDDWuBO6CQC6IE4KTA==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
-
미해결[백문이불여일타] 데이터 분석을 위한 기초 SQL
Hacker 랭크 문제
안녕하세요 선생님 수업 잘 듣고 있습니다다름이아니라 해커랭크에서 문제 풀때문제만 한글로 볼 순 없을까요..?페이지를 한글로 번역해서보면 막 쿼리문 칠때도 한글로 막 바뀌고 불편해서요 감사합니다
-
미해결자바(Java) 알고리즘 문제풀이 입문: 코딩테스트 대비
팰린드롬(replaceAll) 문제 질문드립니다.
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 스트링 객체로 쓰지않고 변수 lt, rt잡아서 비교하면 안된다고 뜨는데, 잘못된 코드인가요?? import java.util.*; public class Main {public static void main(String[] args){Scanner sc = new Scanner(System.in);String s=sc.nextLine(); s = s.toUpperCase().replaceAll("[^A-Z]",""); int lt=0;int rt=s.length()-1;boolean flag = false;while(lt<=rt) {if(s.charAt(lt)==s.charAt(rt)) {lt++;rt--;flag = true;}else {break;}}if(flag) System.out.print("YES");else System.out.print("NO");}}
-
미해결TensorFlow Object Detection API 가이드 Part1 - 코드 10줄 수정으로 물체검출하기
1강_TF2_Detection_Model_ZOO_example_fasterrcnn_pedestrian_dataset.ipynb 내 파일 실행 실패
import matplotlib import matplotlib.pyplot as plt import io import scipy.misc import numpy as np from six import BytesIO from PIL import Image, ImageDraw, ImageFont import tensorflow as tf from object_detection.utils import label_map_util from object_detection.utils import config_util from object_detection.utils import visualization_utils as viz_utils from object_detection.builders import model_builder %matplotlib inline이것을 실행하니 아래와 같은 오류가 나옵니다. 어떤 점이 문제였을까요?--------------------------------------------------------------------------- ModuleNotFoundError Traceback (most recent call last) <ipython-input-4-49156a41fe80> in <module> 13 from object_detection.utils import config_util 14 from object_detection.utils import visualization_utils as viz_utils ---> 15 from object_detection.builders import model_builder 16 17 get_ipython().run_line_magic('matplotlib', 'inline') 2 frames/usr/local/lib/python3.7/dist-packages/object_detection/models/keras_models/resnet_v1.py in <module> 22 import tensorflow.compat.v1 as tf 23 ---> 24 from tensorflow.python.keras.applications import resnet 25 from object_detection.core import freezable_batch_norm 26 from object_detection.models.keras_models import model_utils ModuleNotFoundError: No module named 'tensorflow.python.keras.applications' --------------------------------------------------------------------------- NOTE: If your import is failing due to a missing package, you can manually install dependencies using either !pip or !apt. To view examples of installing some common dependencies, click the "Open Examples" button below. ---------------------------------------------------------------------------
-
미해결스프링 시큐리티
FormAuthentictaionDetailsSource 의존주입 관련 질문입니다
안녕하세요 선생님강의 정말 잘 듣고있습니다. 실전프로젝트편 8회차 강의에서 AuthenticationDetailsSource 인터페이스를 구현하는FormAuthenticationDetailSource 클래스를 만들고, Bean으로 등록하는 부분까지는 이해가 되었습니다그 이후에 SecurityConfig 파일에서 위에서 등록한 Bean을 의존주입을 해 줄때 왜 아래 사진과 같이 인터페이스로 의존주입을 받는지 궁금합니다.인터페이스로 의존주입을 받았는데 디버깅으로 돌려보면 FormAuthenticationDetailSource 객체가 잘 주입되어있어서, 스프링 시큐리티에서 알맞은 객체를 찾아 주입해주는 것인지 궁금합니다.감사합니다!
-
미해결
spider solitaire 2 suit
Coming to the world of classic card games, spider solitaire 2 suit gives players a great experience. Try to win and invite your friends to join this great game
-
미해결
What is acceptance testing?
Acceptance testing is a type of formal testing that is performed in accordance with user demands, requirements, and business procedures to determine whether a system meets the acceptance criteria and to allow users, clients, or other authorised organisations to decide whether or not to implement the approach. If you are looking for the best acceptance testing software then visit our official website.
-
미해결[코드팩토리] [중급] Flutter 진짜 실전! 상태관리, 캐시관리, Code Generation, GoRouter, 인증로직 등 중수가 되기 위한 필수 스킬들!
프로젝트 제작 시 진행순서에 관해서..
안녕하세여 강사님 저는 플러터 개발을 배우고 있는 초보 개발자 입니다. 강의랑은 상관없는 내용일 수 있지만 개인적으로 프로젝트 제작 과정에 대해서 상세한 설명을 듣고 싶습니다.플러터 중급 강의에서는 백앤드가 준비되어있는 상태에서 진행이 되었는데 만약 앱과 서버를 동시에 만들면서 제작을 진행해야 한다면 어떠한 방식으로 해야하는지, 강사님은 어떤것 부터 하고 어떤 방식으로 하는지가 궁금합니다. 풀스택 개발자의 위엄이 궁금합니다 ㅎ
-
미해결[리뉴얼] 처음하는 파이썬 머신러닝 부트캠프 (쉽게! 실제 캐글 문제 풀며 정리하기) [데이터분석/과학 Part2]
''kaggle'은(는) 내부 또는 외부 명령, 실행할 수 있는 프로그램, 또는 배치 파일이 아닙니다.' 문제가 발생했을 경우..
혹시나 수업을 들으면서 위와 같은 문제가 생기셨을 분들을 위해 남깁니다.시스템 환경 변수 -> 환경 변수 -> 시스템 변수 Path 편집 -> c:\users\<username>\appdata\roaming\python\python39\site-packages path변수에 추가해당 변수에 경로를 붙어넣기 해도 문제가 해결이 되지 않는 경우https://github.com/Kaggle/kaggle-api 참고하시면 좋을 것 같아요!
-
해결됨네트워크, 그림으로 이해하자(2022ver.)
네트워크 토폴리지 1분 45초
버스형 토폴리지같은 경우에 하나의 단말장치가 고장이 나더라도 전체 네트워크에는 영향없지 않나요??
-
미해결데이터 분석 SQL Fundamentals
집계함수(문자열) 사용 시, 행의 데이터 불일치 하는 이유
안녕하세요,강사님집계함수와 count(distinct) 실습 강의 듣다가 궁금한점이 있어 문의드립니다. 하기 코드를 실행시킨 후, 나오는 값을 보면 하기 이미지와 같습니다.select deptno, max(job), min(ename), max(hiredate), min(hiredate)from hr.empgroup by deptno;deptno가 10인 부서에서job은 MAX 집계라 알파벳 순서가 가장 늦은 'PRESIDENT'가 나오는데, ename은 MIN이라서 deptono = 10인 부서에서 ename으로 가장 앞 순서인 'CLARK'가 나오더라고요.근데 하기 데이터를 보면, job은 president인 사람의 이름은 KING인데... 이렇게 문자열에 집계함수를 사용하여 조회한 데이터는 행 정보가 일치하지 않는건가요? 즉, 직업정보,이름 정보는 서로 다 일치하지 않고, 개별 컬럼으로 계산되는 건지? 그 이유가 무엇인지 알고 싶습니다.
-
미해결Flutter 중급 1편 - 클린 아키텍처
강사님 안드로이드스튜디오에 master는 뭔가요?
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.터미널도 master이라고 나오던데 이건 따로 설치해야 하는건가요?
-
미해결직접 활용할 수 있는 Git과 Github - 기초부터 협업까지
sourcetree에 repository 가 안 넣어 집니다ㅠ
이런 에러가 뜨면서 추가가 안 됩니다. 왜 그럴까요?
-
미해결[코드팩토리] [초급] Flutter 3.0 앱 개발 - 10개의 프로젝트로 오늘 초보 탈출!
안드로이드 스튜디오 기본 질문
간단한 질문이지만 아무리 해도 안되 여쭤봅니다. 다트파일 생성할때 아래와 같이 하는데도 파일명에 _가 포함되면 다트파일이 아니라 일반 문서가 생성되는데 어떻게 고치나요
-
미해결초보를 위한 도커 안내서
docker-compose up을 해도 localhost:8000이 뜨질 않습니다.
docker-compose up을 실행한걸 확인하고 localhost를 들어가니 계속 웹페이지를 찾을수 없다고 뜨네요. 왜 이런건가요?
-
미해결배달앱 클론코딩 [with React Native]
[macOS] run android 시 build failed 문제 (build.gradle.kts)
https://reactnative.dev/docs/environment-setup 보면서 기초 세팅 하고나서 프로젝트 생성 후 rpx react-native run-android 명령어를 치면 다음과 같이 빌드에러가 발생합니다. [버전 정보]macOS: Monterey 12.6.1, 2.7GHz 쿼드 코어 Intel Core i7node-v: v18.12.1watchman-v: 2022.11.07.00 java -version: openjdk version "11.0.17" 2022-10-18 LTSANDROID_SDK_ROOT 환경변수 설정 후 adb 명령어 입력: Android Debug Bridge version 1.0.41공식문서에 나온대로 안드로이드 sdk 31 버전 다운로드하였습니다. [에러 메시지]~/Desktop/react-native-workspace/AweSomeProject 10:35:46 ❯ npx react-native run-android warn Multiple Podfiles were found: ios/Podfile,vendor/bundle/ruby/2.7.0/gems/cocoapods-core-1.11.3/lib/cocoapods-core/Podfile. Choosing ios/Podfile automatically. If you would like to select a different one, you can configure it via "project.ios.sourceDir". You can learn more about it here: https://github.com/react-native-community/cli/blob/master/docs/configuration.md info JS server already running. info Installing the app... FAILURE: Build failed with an exception. * Where: Build file '/Users/jihoon/Desktop/react-native-workspace/AweSomeProject/node_modules/react-native-gradle-plugin/build.gradle.kts' line: 12 * What went wrong: Error resolving plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.6.10'] > Could not resolve all dependencies for configuration 'detachedConfiguration1'. > Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven(http://maven.anypoint.tv/repository/public)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.5.1/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details. * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 3s error Failed to install the app. Make sure you have the Android development environment set up: https://reactnative.dev/docs/environment-setup. Error: Command failed: ./gradlew app:installDebug -PreactNativeDevServerPort=8081 FAILURE: Build failed with an exception. * Where: Build file '/Users/jihoon/Desktop/react-native-workspace/AweSomeProject/node_modules/react-native-gradle-plugin/build.gradle.kts' line: 12 * What went wrong: Error resolving plugin [id: 'org.jetbrains.kotlin.jvm', version: '1.6.10'] > Could not resolve all dependencies for configuration 'detachedConfiguration1'. > Using insecure protocols with repositories, without explicit opt-in, is unsupported. Switch Maven repository 'maven(http://maven.anypoint.tv/repository/public)' to redirect to a secure protocol (like HTTPS) or allow insecure protocols. See https://docs.gradle.org/7.5.1/dsl/org.gradle.api.artifacts.repositories.UrlArtifactRepository.html#org.gradle.api.artifacts.repositories.UrlArtifactRepository:allowInsecureProtocol for more details. * Try: > Run with --stacktrace option to get the stack trace. > Run with --info or --debug option to get more log output. > Run with --scan to get full insights. * Get more help at https://help.gradle.org BUILD FAILED in 3s at makeError (/Users/jihoon/Desktop/react-native-workspace/AweSomeProject/node_modules/execa/index.js:174:9) at /Users/jihoon/Desktop/react-native-workspace/AweSomeProject/node_modules/execa/index.js:278:16 at process.processTicksAndRejections (node:internal/process/task_queues:95:5) at async runOnAllDevices (/Users/jihoon/Desktop/react-native-workspace/AweSomeProject/node_modules/@react-native-community/cli-platform-android/build/commands/runAndroid/runOnAllDevices.js:109:5) at async Command.handleAction (/Users/jihoon/Desktop/react-native-workspace/AweSomeProject/node_modules/@react-native-community/cli/build/index.js:142:9) info Run CLI with --verbose flag for more details. [build.gradle.kts]에러의 12번줄에 해당하는 코드 = kotlin("jvm") version "1.6.10"/* * Copyright (c) Meta Platforms, Inc. and affiliates. * * This source code is licensed under the MIT license found in the * LICENSE file in the root directory of this source tree. */ import org.gradle.api.internal.classpath.ModuleRegistry import org.gradle.api.tasks.testing.logging.TestExceptionFormat import org.gradle.configurationcache.extensions.serviceOf plugins { kotlin("jvm") version "1.6.10" id("java-gradle-plugin") } repositories { google() mavenCentral() } gradlePlugin { plugins { create("react") { id = "com.facebook.react" implementationClass = "com.facebook.react.ReactPlugin" } } } group = "com.facebook.react" dependencies { implementation(gradleApi()) implementation("com.android.tools.build:gradle:7.2.1") implementation("com.google.code.gson:gson:2.8.9") implementation("com.google.guava:guava:31.0.1-jre") implementation("com.squareup:javapoet:1.13.0") testImplementation("junit:junit:4.13.2") testRuntimeOnly( files( serviceOf<ModuleRegistry>() .getModule("gradle-tooling-api-builders") .classpath .asFiles .first())) } java { sourceCompatibility = JavaVersion.VERSION_1_8 targetCompatibility = JavaVersion.VERSION_1_8 } tasks.withType<org.jetbrains.kotlin.gradle.tasks.KotlinCompile> { kotlinOptions { jvmTarget = JavaVersion.VERSION_11.majorVersion } } tasks.withType<Test>().configureEach { testLogging { exceptionFormat = TestExceptionFormat.FULL showExceptions = true showCauses = true showStackTraces = true } } 프로젝트를 생성하자마자 빌드에러가 떠서 에뮬레이터랑 연결할 수 없네요. 에러 메시지를 보면 maven 리포지토리 주소를 변경하라고 하는 것 같은데 어느 파일에 어느 위치에 변경해야할지 모르겠습니다.깃헙주소: github.com/kkj0712/AweSomeProject
-
미해결AWS Certified Solutions Architect - Associate 자격증 준비하기
S3는 데이터 유형 상관없이 저장 가능한가요?
안녕하세요 그 전 S3 개요 강의를 보니까데이터 저장 방식 유형에 따라-Object는 S3,-Block System은 EBS,-NFS는 EFS, FSx에 연결해서 저장하는 내용이었던 것 같습니다.게이트웨이로 연결하면 S3에는해당 유형 데이터 모두 저장할 수 있는 건가요? 아니면 원래 S3만 모두 저장할 수 있는 건가요?
-
미해결Node.js로 웹 크롤링하기
proxy 서버로 네이버 접근시 Error: net::ERR_TUNNEL_CONNECTION_FAILED 발생
connection fail이라 아예 연결 자체가 안되는거 같아 혹시 프록시 ip가 문제인가 고민해봤습니다. 문제 해결을 위해 한것const filtered = proxies.filter((v) => v.type.startsWith('HTTP')).sort((a,b) => a.latency - b.latency)1. 하나의 ip는 다운됫을수도 있기에 filtered[0].ip 뿐만아닌 차선책으로 filtered[1].ip, filtered[2].ip.. 등 여러 ip를 시도했지만 모두 같은 에러를 반환2. proxy-chain이라는 라이브러리를 인스톨하여 해당 라이브러리에 있는 메소드를 사용let fastestIp = await proxyChain.anonymizeProxy(`http://${filtered[0].ip}`) browser = await puppeteer.launch({headless:false, args:['--window-size=1920,1080', '--disable-notifications', `--proxy-server=${fastestIp}`]}) 1번 2번 모두 같은 에러를 반환하며 실패하였습니다. 해당 에러가 정확하게 어떤에러인지 또 어떤것을 시도해 봐야할지 조언 부탁드립니다.
-
미해결Nuxt.js 시작하기
asyncData를 methods에서 사용하려면
안녕하세요.asyncData에서 불려온 데이터를 methods 내에서 사용하고 싶은데요. 어떻게 해야 하나요?html에 쪽에선 리턴한 값에 컬럼명을 넣으면 출력이 되는데methods에서 사용을 하려고 하면 어떻게 해야 하는지 모르겠습니다.그동안 methods에서는 this로 data에 있는 변수를 가져오는 식으로만 했었지 asyncData에 있는 데이터를 가져오는 방법은 몰라서요.;;답변 부탁드립니다.
-
해결됨jQuery로 구현하는 NFT 마켓플레이스 (이더리움, 폴리곤)
혼자해보다 도저히 안되겠어 문의드립니다.
왜 안되는걸까요 혹시 문제를 알 수 있을까요