안녕하세요,강사님 집계함수와 count(distinct) 실습 강의 듣다가 궁금한점이 있어 문의드립니다. 하기 코드를 실행시킨 후, 나오는 값을 보면 하기 이미지와 같습니다. select deptno, max(job), min(ename), max(hiredate), min(hiredate) from hr.emp group by deptno; deptno가 10인 부서에서 job은 MAX 집계라 알파벳 순서가 가장 늦은 'PRESIDENT'가 나오는데, ename은 MIN이라서 deptono = 10인 부서에서 ename으로 가장 앞 순서인 'CLARK'가 나오더라고요. 근데 하기 데이터를 보면, job은 president인 사람의 이름은 KING인데... 이렇게 문자열에 집계함수를 사용하여 조회한 데이터는 행 정보가 일치하지 않는건가요? 즉, 직업정보,이름 정보는 서로 다 일치하지 않고, 개별 컬럼으로 계산되는 건지? 그 이유가 무엇인지 알고 싶습니다.
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 터미널도 master이라고 나오던데 이건 따로 설치해야 하는건가요?
https://reactnative.dev/docs/environment-setup 보면서 기초 세팅 하고나서 프로젝트 생성 후 rpx react-native run-android 명령어를 치면 다음과 같이 빌드에러가 발생합니다. [버전 정보] macOS: Monterey 12.6.1, 2.7GHz 쿼드 코어 Intel Core i7 node-v: v18.12.1 watchman-v: 2022.11.07.00 java -version: openjdk version "11.0.17" 2022-10-18 LTS ANDROID_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
안녕하세요 그 전 S3 개요 강의를 보니까 데이터 저장 방식 유형에 따라 -Object는 S3, -Block System은 EBS, -NFS는 EFS, FSx 에 연결해서 저장하는 내용이었던 것 같습니다. 게이트웨이로 연결하면 S3에는 해당 유형 데이터 모두 저장할 수 있는 건가요? 아니면 원래 S3만 모두 저장할 수 있는 건가요?
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번 모두 같은 에러를 반환하며 실패하였습니다. 해당 에러가 정확하게 어떤에러인지 또 어떤것을 시도해 봐야할지 조언 부탁드립니다.
안녕하세요. asyncData에서 불려온 데이터를 methods 내에서 사용하고 싶은데요. 어떻게 해야 하나요? html에 쪽에선 리턴한 값에 컬럼명을 넣으면 출력이 되는데 methods에서 사용을 하려고 하면 어떻게 해야 하는지 모르겠습니다. 그동안 methods에서는 this로 data에 있는 변수를 가져오는 식으로만 했었지 asyncData에 있는 데이터를 가져오는 방법은 몰라서요.;; 답변 부탁드립니다.
express server port 문의드립니다. express 서버가 잘 실행되고 있다가 ctrl+z로 서버를 종료시키고, npm server.js로 재구동시킬때 기존 port가 계속 사용중이여서 오류가 발생해요. 포트를 kill하거나 다른 포트로 변경하면서 수강하고 있는데, 혹시 제가 express 종료방법을 잘못 알고 있는 걸까요?
결론: 와이파이 가 바뀌면 ip 주소 바뀌니까 mongoDB 에 network access 에 create Ip 해서 새 ip 등록해줬습니다. 공용와이파이 일 경우 2시간마다 ip 주소가 바뀌니 편집으로 바꿔보세요 ip4 주소 찾는법 구글링해도 나오고 window 는 cmd(관리자권한 실행) - ipconfig 입력 상황: 콘솔창에는 504 게이트 웨이 오류가 터미널에는 HRM 로컬호스트 3000 로컬호스트 5000 뭐시기랑 app chashed 도 동시에 떳었습니다. HRM 앞줄에는 Error: Cannot find module '../models/Product' 이거는 models 에 product 파일 생성하니 사라짐 파일을 아직 만들지는 않았지만 auth.js 파일에서 위 파일을 호출하니 강사님 깃헙 완성코드 에서 ../models/product.js 파일 복붙해주니 해결되었으나 또 다음으로 HRM throw er 이런식으로 떠서 HRM 다시뜸 504 gateawqy 발생 npm run dev 는 client 폴더가 아닌 (server 폴더 안에서도 아님!) root 폴더에서 실행하기 혹시 클론을 해서 실행시킨다면, root folder > npm install client folder > npm install install을 먼저 하는 것 잊지 않기 위 강의처럼 다른 옵션들 ... dropzone 같은 모듈을 사용했다면 해당 모듈에 대한 install들도 한 번씩 더 해보기 npm install bcrypt --save 다시 시도하기 4-1. bcrypt 버전을 5.0.0 으로 dependencies에서 수정 -> npm install -> npm run 컴퓨터 껐다 키기 위에 해결방법 다해도 몽고디비 연결이 안되는 거같아 몽고디비에서 새마음으로 처음부터 클러스터, 몽고 uri 사용자 이름, 비밀번호 새로하고 ip 주소 추가해주니 모든 에러 사라졌습니다. 저도 매 초마다 떨리는 순간으로 코드 작성하고 run 하고 있습니다. 여러분 모두에게 행운을 빕니다. ^^ *
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. 이 강의를 모두 수강하고 다음 강의로 선생님이 개설하신 강의를 들으려고 하는데 이 강의를 다 듣고 아래 강의를 듣는데 혹시 순서가 괜찮을까요??? 다른 선생님의 강의를 듣고 아래 강의를 수강하는게 나을까요??
설계독학맛비's 실전 AI HW 설계를 위한 바이블, CNN 연산 완전정복 (Verilog HDL + FPGA 를 이용한 가속기 실습)
안녕하세요! 강의를 듣다 궁금한 것이 생겨서 질문 남깁니다! 제목에서 언급한 부분의 내용은 MNIST CNN review 부분인데 처음 input feature 의 channel이 1이고 output feature channel이 24, kernel 이 3*3인데, 제가 공부하면서 output feature의 channel은 kernel과는 관련이 없다고 생각했는데 강의를 들으면서 kernel이 3*3이기 때문에 output feature의 channel이 24이다 라는 의미로 말하시는 것 같아서 질문 드려요! output feature의 channel은 kernel의 size와 관계가 있는 건가요? 있다면 어떻게 있는지 궁금합니다!
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요. 1. 강의 내용과 관련된 질문을 남겨주세요. 2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요. (자주 하는 질문 링크: https://bit.ly/3fX6ygx) 3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요. (질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG) 질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요. ========================================= [질문 템플릿] 1. 강의 내용과 관련된 질문인가요? (예/아니오) 2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오) 3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오) [질문 내용] 여기에 질문 내용을 남겨주세요. 안녕하세요. jpa 회원가입 & 로그인 진행 시 this.em is null 에러가 뜹니다. java.lang.NullPointerException: Cannot invoke "javax.persistence.EntityManager.createQuery(String, java.lang.Class)" because "this.em" is null 에러가 나는 코드는 List<Member> result = em.createQuery("SELECT m FROM Member m WHERE m.name = :name", Member.class) .setParameter("name", name) .getResultList(); 이 부분인데, pdf랑 비교해봐도 틀린 곳이 없는 것 같아요. JpaMemberRepository 전체 소스 사진 첨부합니다. 감사합니다.
제가 스프링과 스프링 부트 공부를 하려고 하는데 김영한 강사님 수업들을 보면 스프링부트라고 적혀있는 것은 스프링 부트와 JPA 를 제외하면 전부 스프링으로 적혀 있더군요. 전부 스프링으로 가르치나요??? 그리고 인텔리제이로 가르치는 걸로 알고 있는데 유료버전인가요 아니면 무료버전인가요?
분명히 똑같이 따라했는데 왜 안풀리는지 봐줄수 있을까요?? 5번까지는 잘 따라했는데 6번 스크립트를 실행하면 첫번째 화면처럼 됩니다. 첫번째 화면에서 [SM-G973N::fridalab]-> 쉘이 시작되고 10초뒤에 10sec start! 라는 문구가 표시되고 그후 별다른 응답이 없습니다... 뭔가 달라진건가요..?
안녕하세요. 이게 살짝 강의에 내용을 벗어날수도 있는 질문인데요. 소켓 통신시에 그 운영체제가 버퍼(파일) 자원을 어떻게 할당하는지에 대해 좀 더 알고 싶어서요. 검색해보니까 약간 겉핡기같은 내용이 많이 나와서 그런데, 혹시 관련해서 설명해주시거나 참고할만한 링크하나만 추천해주실 수 있나요 ? 그리고 유튜브도 제가 가끔 보는데, 소켓 통신에 대해 말씀하실때 파일, 버퍼, 스트림 이 세 단어를 뭔가 번갈아가면서 쓰셨는거 같은데 각 단어의 차이를 한번 말씀해주시면 감사하겠습니다. 수고하세요 :)