묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
~연산자 질문있습니다 :)
안녕하세요 선생님 🙂 ~연산자 부분에서 이해가 되지 않는 부분이 있어서 질문드립니다. 양의 정수와 음의 정수 상관없이 ~연산자를 사용하면 -(value + 1)이 되는 것을 확인했습니다. 이건 1의 보수 값인가요 2의 보수 값인가요?
-
미해결PHP 개발자의 최종 테크트리, 라라벨 강의
우분투 서버에서 개발한 프로그램 서비스하기
기존에 VUE를 선행학습을 했어서 기본적인 라라벨을 공부하면서 라이브와이어에 대한 부분은 패스 햇습니다. 그리고 남는 PC에 우분투 서버 24.XX 를 설치하고 PC에서 개발한 후에 서버로 이전해서 서비스를 하려 하는데요 . sail환경에서 작업을 해서 서버로 옮기려 하니 S3와 조금 달라서. 이럴때는 어떻게 실제 서비스에 적용하는지에 대한 가이드가 없는지요?
-
미해결[초중급편] 안드로이드 데이팅 앱 만들기(Android Kotlin)
혹시.. 지금 최신 환경 상, 강의 내용대로 진행이 안 되는 걸까요?
선생님 ㅠ card-stack-view를 외부 라이브러리에 설치하는 것부터 막히네요 ㄷㄷ
-
해결됨한 입 크기로 잘라 먹는 리액트(React.js) : 기초부터 실전까지
배포후 다이어리, 수정페이지 새로고침시 404에러
안녕하세요,로컬에서는 새로고침 하여도 페이지가 정상적으로 보여지는데배포후에는 다이어리, 수정페이지 새로고침시 404에러가 뜹니다. isLoading(false) 코드도 잘 작성한것 같은데 뭐가 문제인지 모르겠네요ㅠㅠ 깃허브 :https://github.com/jw118g/ONE-BITE-REACTvercel :https://emotion-diary-woad.vercel.app/
-
미해결스프링 MVC 2편 - 백엔드 웹 개발 활용 기술
css관련 url이 함께 출력되는 것 같습니다.
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]여기에 질문 내용을 남겨주세요. 캐시가 안들어와서 정적 리소스도 호출되는것같은데 어떤식으로 해결하면될까요 ? 수업듣는데 가독성을 높이고 싶어서 이런 부분을 해결하고싶습니다
-
미해결실습으로 배우는 프로메테우스 - {{ x86-64, arm64 }}
operator alertmanager 연결 관련 문의
안녕하세요. 배운 내용을 가지고 회사에서 prometheus를 잘 활용하고 있습니다. 다만 막힌 부분이 있어 문의를 드립니다.Prometheus operator로 prometheus 와 alertmanager가 잘 연계되어있는지 확인하는 방법을 문의드립니다.코드 첨부가 어렵지만, 간단하게 말씀드리면,prometheus operator를 통해 prometheus A 와 alertmanager X를 띄우고 연결이 잘되어 있는 상황 (alertmanager X ui에서 a의 prometheusrules로 정의한 값의 firing 된 것을 확인 가능함 -> ui)prometheus operator를 통해 prometheus B를 띄우고 이 B도 alertmanager X를 이용하려고 했으나, B의 prometheusurule로 정의한 값이 firing 되어도 alertmanager X UI에 값이 나오지 않음. 이런 상황입니다. 기존 A가 연결된 alertmanager X에, 추가로 Prometheus B를 연결하고 싶습니다.이 부분에 대해서 제가 확인한 것은, prometheus B를 띄우고 edit으로 prometheus 값 수정 (config reload가 설정되어있음)alerting: alertmanagers: - apiVersion: v2 name: ~ // alertmanager 이름 입력 (service 명), 기존 잘 연결된 A와 동일한 값 namespace: ~~ // alertmanager X 의 namespace 입력, 기존 잘 연결된 A와 동일한 값 pathPrefix: / port: http-web2. 현재 같은 클러스터, namespace에 존재PrometheusRule 로 생성한 Rule이 Prometheus B의 UI Rule 메뉴에서 정상적으로 firing 된 것을 확인prometheus B의 pod에 log를 확인. -> 해당 로그에 alert이라는 값이 존재하지 않음기존에 연결되어 있던 prometheus A의 config 설정의 alerting 부분과 설정은 동일함. 위 와 같은 상황이며, alertmanager X UI에 B에서 firing 된 값이 나오지가 않습니다.혹시 제가 놓친 부분이 있는지, 아니면 잘 연결이 되어 있는지 추가적으로 더 검사할 방법이 있을까요?
-
해결됨딥러닝 이론 + PyTorch 실무 완전 정복
Section 7 [Activation Function의 종류] Softmax logit 분포와 Entropy 질문이 있습니다
안녕하세요 선생님해당 강의 마지막 참고사항: what is entropy 부분에서 Temperature가 낮을수록 softmax logit의 분포가 쏠리면 Entropy가 감소하게 되는 것이 아닌지 궁금합니다! 확인해주셔서 감사합니다!
-
해결됨자바 ORM 표준 JPA 프로그래밍 - 기본편
em.detach(entity) 에 대해 질문 있습니다.
em.detach(entity) 을 할 경우 영속성 컨텍스트의 1차 캐시에서 entity도 날라가고 쓰기 지연 저장소에 저장되어 있던 entity에 의해 발생한 변경 관련 쿼리문도 삭제 되는건가요?
-
미해결
🎮아진코 코딩 스터디 동아리 부원 모집!!
안녕하세요, 코딩 기초 스터디 동아리 아진코입니다!코딩 어떻게 시작해야 할지 망설이시고 계신 분 있으신가요~??이번 여름방학을 마친 대학생들이 모야이제는 코딩이 일이 아닌 코딩을 게임처럼 즐기며 함께 스터디 해봐요▪이런분들 원해요 - 코딩 각잡고 할 건 아니고 맛보기만 하고 싶은 사람 - 학원까지는 부담스럽고 인강으로 스터디처럼 해보고 싶은 사람 - 혼자 공부하고 있는데 같이 하면서 의지가 필요한 사람 - 자바, 파이썬, C++ 중에서 하나는 공부해보고 싶은 사람아진코는 "요즘 비전공자도 코딩 배워서 개발자된대! 나도 배워볼까?" 에서 시작된 동아리에요 여름방학 마치고 이제는 다시 학교로 돌아가야 되는 여름을 지나고 코딩 찍먹할 파티원들을 찾고 있어요!🎮동아리 운영방식 - 스터디 모임: 주 1회 오프라인/온라인 - 개별 학습: 각자 자유롭게 인강 시청 및 과제 수행 - 커뮤니티 활동: 질문/답변, 정보 공유, 프로젝트 협업🎮기본 커리큘럼 1. 자바 (Java) - 기초 문법 및 객체지향 프로그래밍 - 간단한 콘솔 프로그램 만들기 - 미니 프로젝트: To-Do List 어플리케이션 개발 2. 파이썬 (Python) - 기초 문법 및 데이터 처리 - 웹 크롤링 및 데이터 분석 - 미니 프로젝트: 날씨 정보 제공 챗봇 만들기 3. C++ - 기초 문법 및 메모리 관리 - 기본 자료구조와 알고리즘 - 미니 프로젝트: 텍스트 기반 게임 만들기🎮모집 내용 - 모집기간: 2024년 7월 10일 ~ 7월 26일 - 모집인원: 총 30명 (각 언어별 10명) - 활동장소: 서울 인근(상호 협의 예정) - 지원방법: [ 구글폼 작성 ] : https://forms.gle/Rr7PpaTSM6ECUrka9지금 바로 지원해서 방학 동안 재미있고 유익한 코딩 경험을 쌓아봅시다!‼대학생 자치적으로 운영되며 정치, 종교, 시민단체와 전혀 관련이 없음을 밝히는 바입니다!
-
해결됨자바 ORM 표준 JPA 프로그래밍 - 기본편
jpa에서 쿼리 보내는 시점에 대해 질문 있습니다.
수정, 삭제, 삽입 같은 경우에는 데이터 변경이라 영속성 컨텍스트의 쓰기 저장소에 보관되어 있다가 커밋 직전에 한번에 보내지는 반면 em.find()를 통해 발생하는 조회 쿼리는 find() 사용시 바로 디비에 전송이 되는건지 궁금합니다.em.find()를 통해 발생한 조회 쿼리는 트랜잭션 커밋 종료에 상관없이 디비에 바로바로 전송이 되는건지 궁금합니다.
-
해결됨실무에서 사용중인 AWS 클라우드 IAM 이해와 보안
IRSA 의 토큰이 최대 24시간인데 만료되면 어떻게 되나요?
안녕하세요우선 좋은 강의 감사합니다. 강의 시청 중 IRSA 부분을 진행 중인데, 웬만한 것들은 이해가 되는데 한가지 궁금한 것이 있습니다.결국 파드가 AWS 리소스에 접근할 수 있는 토큰을 특정 마운트 경로에 가지고 있는 것인데, 임시 자격 증명은 영구적인 것이 아니고 최대 24시간까지만 유지가 되는데, 이 유효 시간이 지나면 어떻게 되나요? 예를 들어 파드 A 는 S3 에 접근을 해야 해서 IRSA 를 사용하고 있습니다. 최대 만료 시간인 24시간 지난 후에도 여전히 S3 에 접근이 가능한데, 이게 왜 가능한지가 궁금합니다. 무언가 토큰을 갱신해주는 쿠버네티스 컨트롤러나 오퍼레이터 같은 것이 있는 걸까요?(근데 암만 찾아봐도 mutatingwebhookconfigurations 의 pod-identity-webhook 외에는 관련된 것을 못찾겠네요 ㅜㅜ)
-
해결됨팀 개발을 위한 Git, GitHub 입문
강의자료부탁드립니다!
감사합니다!
-
미해결실전! 스프링 데이터 JPA
테스트 코드 문의
DTO 쿼리 작성 시 join fetch로 작성하는 경우는 에러가 발생하고 join으로 작성하는 경우에는 에러가 발생하지 않았는데요. join fetch의 개념은 결국 지연로딩을 작동시키지 않고 한 번에 연관된 것들 다 가져온다는 것인데 왜 여기선 안 되는 것인지 궁금합니다.엔티티 @Query문하고 DTO @Query 테스트 코드를 돌렸는데 서로 영향을 미쳐 테스트가 실패라고 뜹니다. @Transactional을 붙여 롤백이 되게끔 하여 해결은 했지만 궁금한 점이 있습니다. 스프링 데이터 JPA 테스트를 돌릴 때 @SpringBootTest 어노테이션 붙이면 자동으로 롤백이 되는 것이 아닌가요?package study.springdatajpa.repository; import org.assertj.core.api.Assertions; import org.junit.jupiter.api.Test; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.boot.test.context.SpringBootTest; import org.springframework.transaction.annotation.Transactional; import study.springdatajpa.domain.Member; import study.springdatajpa.domain.Team; import study.springdatajpa.dto.MemberDto; import java.util.List; @SpringBootTest class MemberRepositoryTest { @Autowired private MemberRepository memberRepository; @Autowired private TeamRepository teamRepository; @Test @Transactional void testQuery() { Member m1 = new Member("AAA", 10); Member m2 = new Member("BBB", 20); memberRepository.save(m1); memberRepository.save(m2); List<Member> result = memberRepository.findUser("AAA", 10); Assertions.assertThat(result.get(0)).isEqualTo(m1); } @Test @Transactional void testDtoQuery() { Team team = new Team("teamA"); teamRepository.save(team); Member m1 = new Member("AAA", 10); Member m2 = new Member("BBB", 20); m1.setTeam(team); m2.setTeam(team); memberRepository.save(m1); memberRepository.save(m2); List<MemberDto> dtoList = memberRepository.findUserDto(); Assertions.assertThat(dtoList.size()).isEqualTo(2); } }
-
미해결파이썬 무료 강의 (기본편) - 6시간 뒤면 나도 개발자
사전형 데이터 타입 vs JSON 데이터 타입
JSON 데이터와 파이썬의 사전형 타입에 대해서 알고있는것도 좋을거 같아요!밑에는 Chat GPT쪽에서 물어본 결과입니다. 참고하세요 🙂 파이썬 사전형 데이터 (Dictionary) • 내부 구성: 키-값 쌍으로 이루어져 있어. 예를 들어 { "name": "Alice", "age": 25 } 같은 식이야.• 사용 방법: 파이썬 내부에서 데이터를 쉽게 다루기 위해 만들어졌어.• 기능: 추가, 삭제, 수정 등의 다양한 기능을 가지고 있어. 예를 들어, my_dict["name"]으로 “Alice”를 불러올 수 있어. JSON 데이터 (JavaScript Object Notation) • 내부 구성: 역시 키-값 쌍으로 이루어져 있지만, 텍스트 기반 포맷이야. 예를 들어, "{"name": "Alice", "age": 25}"처럼 문자열로 표현돼.• 사용 방법: 주로 데이터를 주고받을 때 사용해. 웹 서버와 클라이언트 사이에서 데이터를 주고받을 때 많이 쓰여.• 기능: 데이터를 직렬화(serialize)하고 역직렬화(deserialize)하는데 초점이 맞춰져 있어. 예를 들어, 파이썬에서 JSON 문자열을 파이썬 사전형으로 변환하려면 json.loads()를 사용해. 차이점 요약 1. 포맷과 사용 목적: 파이썬 사전형은 파이썬 프로그램 내에서 사용하는 데이터 구조고, JSON은 주로 데이터 교환을 위한 텍스트 포맷이야.2. 표현 방식: 사전형은 파이썬 문법을 따르고, JSON은 텍스트 기반이라 언어에 관계없이 사용할 수 있어.3. 기능과 제약: 사전형은 다양한 조작이 가능하지만, JSON은 데이터를 주고받는 용도로 제한적인 기능을 갖고 있어.요약: -> 똑같이 생겼지만 사전형 데이터 타입은 파이썬의 세계관안에서 바로 사용이 가능하며, 파이썬 세계관안에서 자유롭게 구사 가능하다. -> JSON 데이터 타입은 직렬화와 역직렬화에 초점이 맞춰져있으며 주고 받기 위한 데이터 타입이다.다른 언어 세계관에 들어가면 디코딩 (역직렬화)가 필요하고 다른 언어 세계관으로 보낼때는 인코딩 (직렬화)가 필요하다.
-
미해결처음 만난 리액트(React)
바인딩 시점에 대한 질문입니다
위 소스에서 질문입니다.생성자에서 this.handleClick 에 값을 대입할때 handleClick 함수가 정의되지않은 상태인데 어떻게 접근하는건지 궁금합니다 !
-
해결됨디지털 회로설계 실무 : Computer Architecture 와 SoC 프로토콜 Digital IP 설계하기
강의자료
수업하시는 ppt 자료는 혹시 어디서 확인 가능할까요 ?
-
미해결
Fortis Hospital in India: A Comprehensive Exploration of Excellence in Healthcare
India's healthcare landscape has seen remarkable growth and development over recent decades, establishing the country as a global leader in medical services. At the forefront of this transformation is Fortis Healthcare, an institution that has redefined the standards of care with its expansive network and commitment to innovation. This article delves into Fortis Hospital in India, highlighting Fortis Hospital Delhi and Fortis Hospital Noida, the notable doctors associated with Fortis, and the significance of medical tourism in India. Fortis Hospital in India: A Beacon of Healthcare ExcellenceFortis Healthcare, founded in 1996, is one of India's premier healthcare providers. The organization operates over 50 hospitals across the country, offering a comprehensive range of services from general healthcare to specialized treatments. Fortis is known for its advanced technology, highly skilled medical professionals, and patient-centered care, which has helped it become a trusted name in Indian healthcare.Mission and ValuesFortis Healthcare’s mission is to deliver high-quality, accessible, and affordable healthcare to its patients. The organization emphasizes a holistic approach to health, focusing not just on treatment but also on preventive care, wellness, and patient education. Its core values of integrity, compassion, and excellence are reflected in every aspect of its operations, from clinical care to administrative functions.Innovations and Technological AdvancementsFortis Hospitals are equipped with state-of-the-art technology, enabling them to provide cutting-edge medical care. The integration of advanced diagnostic tools, such as high-resolution MRI and CT scanners, along with robotic surgery systems, ensures that patients receive precise and effective treatments. Fortis is also involved in continuous research and development, incorporating the latest medical advancements into its practices.Fortis Hospital Delhi: A Pinnacle of Medical ExcellenceFortis Hospital Delhi stands as a premier institution within Fortis Healthcare, located in the heart of India’s capital. This flagship hospital is renowned for its extensive range of medical services and commitment to delivering exceptional patient care.World-Class InfrastructureFortis Hospital Delhi boasts a modern infrastructure designed to cater to a wide array of medical needs. The hospital features advanced diagnostic and therapeutic equipment, including state-of-the-art operating theaters, intensive care units, and patient monitoring systems. This infrastructure supports a wide range of specialties and complex procedures.Specialties and ServicesThe hospital excels in several medical specialties, including cardiology, neurology, oncology, orthopedics, nephrology, and more. It is particularly renowned for its cardiac care unit, which offers advanced treatments for heart diseases. The oncology department at Fortis Hospital Delhi is another highlight, providing comprehensive cancer care, including chemotherapy, radiation therapy, and surgical interventions.Patient-Centric CareFortis Hospital Delhi is committed to providing patient-centric care, focusing on individualized treatment plans that address each patient’s unique needs. The hospital offers a range of support services, including nutritional counseling, psychological support, and rehabilitation programs, to ensure a holistic approach to patient recovery.Fortis Hospital Noida: A Hub of Advanced Medical CareFortis Hospital Noida, located in the thriving city of Noida, is a key component of the Fortis Healthcare network. Known for its excellence in medical care and patient services, Fortis Noida is an important healthcare provider in northern India.Best Doctors in Fortis Hospitals: Leading Medical MindsFortis Hospitals are home to some of the most esteemed doctors in India, whose expertise and contributions have set new standards in medical care. These leading professionals are integral to the success of Fortis Healthcare.Dr. Ashok SethDr. Ashok Seth, Chairman of Fortis Escorts Heart Institute in Delhi, is a prominent cardiologist known for his groundbreaking work in cardiovascular medicine. His expertise in complex heart surgeries and pioneering techniques has earned him national and international recognition. Dr. Seth’s contributions to cardiac care have significantly advanced the field, making Fortis Escorts Heart Institute a leading destination for heart patients.Dr. Randeep GuleriaDr. Randeep Guleria, Director of Pulmonology at Fortis, is an eminent specialist in respiratory medicine. His extensive research and clinical experience have greatly influenced the treatment of respiratory diseases in India. Dr. Guleria’s approach to patient care combines clinical expertise with a focus on research, contributing to advancements in pulmonology.Dr. IPS OberoiDr. IPS Oberoi, a leading orthopedic surgeon at Fortis, is renowned for his skills in joint replacement and spinal surgeries. His innovative techniques and successful outcomes have made him one of the top orthopedic surgeons in the country. Dr. Oberoi’s work has helped countless patients regain mobility and improve their quality of life.ConclusionAs medical tourism in India continues to grow, Fortis Hospitals are well-positioned to cater to the increasing demand for high-quality, affordable healthcare. By combining state-of-the-art technology, expert medical professionals, and a patient-centric approach, Fortis Healthcare remains at the forefront of delivering exceptional healthcare services both domestically and internationally.
-
미해결실전! 스프링 데이터 JPA
양방향 매핑 제거시 - fetch join/enityGraph
[질문 템플릿]1. 강의 내용과 관련된 질문인가요? 아니요2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? 모르겠습니다..ㅜㅜ 안보이더라고요3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/[질문 내용]강사님 fetch join과 entityGraph에 대해서 공부를 해서, 연관된 객체에 대해서 가져올때, fetch join을 통해서 한방에 가져오는 법을 배웠는데, 만약 양방향 매핑을 풀고, 단방향 매핑으로 코드를 작성하려고 하는데, @Data @NoArgsConstructor @Entity(name ="team") public class TeamJpaEntity { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name ="team_id") private Long id; private String name; @OneToMany(mappedBy = "myTeamId") private List<MemberJpaEntity> memberJpaEntityList = new ArrayList<>(); } ---------- @Data @NoArgsConstructor @Entity(name = "user") public class MemberJpaEntity { @Id @GeneratedValue(strategy = GenerationType.IDENTITY) @Column(name ="user_id") private Long id; private String name; @Column(name = "team_id") private Long myTeamId; }일때, 양방향 매핑을 끊어서, 단반향 매핑만 되게끔 수정을 했는데, 이렇게 되면 패치조인을 못 하지않나여? 궁금해서 질문을 올립니다...ㅜ 순환참조를 삭제하려고 없애고, TeamJpaRepository.findById(teamId)로 팀이 필요할때 조회할 수 있게 만들었는데, 한방으로는 못 가져오나여?
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
균형 이진 트리 질문 있습니다
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.안녕하세요균형 이진트리의 경우 모든 노드에서 왼쪽 하위트리와 오른쪽 하위트리의 높이차이가 1이하여야 한다고 이해했습니다. 그러나 이번 영상 5:03초에 아래 그림의 트리구조가 균형 이진트리라고 설명해주셨는데, 제가 빨간색으로 표시한 노드를 기준으로 보았을때왼쪽 하위트리 높이가 0오른쪽 하위트리 높이가 2이기 때문에높이차이가 2나기 때문에 해당 트리 구조가 균형 이진트리가 아니라고 판단하였는데, 제 개념에 오류가 있는것인지 궁금합키다..!
-
해결됨실전! 스프링 부트와 JPA 활용1 - 웹 애플리케이션 개발
Run JpashopApplication 시간 초과
안녕하세요, 마지막 커리큘럼 웹계층 강의를 따라하면서 JpashopApplication.main()을 실행시켰는데 5분이 지나도 계속 실행중이고 콘솔도 어느 지점에서 멈춰서 해결방법 질문드립니다.https://drive.google.com/file/d/1vK3NAMKt6E7nTU69Rb0F6qELZEF3pCwU/view?usp=drive_link -실행 중지시키면 아래와 같이 뜨는데 제가 빨간색 강조해놓은 부분이 원인일까요? Execution failed for task ':JpashopApplication.main()'.> Build cancelled while executing task ':JpashopApplication.main()'* 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.Deprecated Gradle features were used in this build, making it incompatible with Gradle 9.0.You can use '--warning-mode all' to show the individual deprecation warnings and determine if they come from your own scripts or plugins.For more on this, please refer to https://docs.gradle.org/8.8/userguide/command_line_interface.html#sec:command_line_warnings in the Gradle documentation.BUILD FAILED in 5m 56s3 actionable tasks: 2 executed, 1 up-to-date