묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨디자인 시스템 with 피그마
정확한 수치로 편의성있게 디자인하는 것과 직관적으로 보이는 디자인 자체를 잘 하는 것 중 보통
어느 게 더 중요한가요? 둘 다 중요하겠지만어느 걸 더 중점있게 공부해야하는지 궁금합니다.
-
미해결Practical Testing: 실용적인 테스트 가이드
WebMvcTest에서의 when
Controller 테스트를 하실 때어떤 경우에서는 when으로 값을 세팅해주고어떤 경우에는 사용을 안하시는데기준이 있으실까요
-
미해결PHP 개발자의 최종 테크트리, 라라벨 강의
singleton 적용되지 않는 부분 문의드립니다.
안녕하세요, 강의중에 bind, singleton 부분에서 singleton 적용시에도 bind 처럼 동작하여 문의드립니다.비슷한 증상의 질문 봤어서 해당 질문 답변에 기재된 gmail 주소로 소스코드 압축하여 보내드렸습니다.확인해주실 수 있으실까요?ㅠㅠ app.php'providers' => ServiceProvider::defaultProviders()->merge([ /* * Package Service Providers... */ /* * Application Service Providers... */ App\Providers\AppServiceProvider::class, App\Providers\AuthServiceProvider::class, // App\Providers\BroadcastServiceProvider::class, App\Providers\EventServiceProvider::class, App\Providers\RouteServiceProvider::class, App\Providers\AProvider::class, ])->toArray(), web.phpRoute::get('/one', function () { for ($i=0; $i < 3; $i++) { echo app(Acontroller::class)->multiple(2); echo "<br />"; } return "------------"; }); Acontroller.phpnamespace App\Http\Controllers; use Illuminate\Http\Request; class Acontroller extends Controller { // 클래스 안에서만 쓸 수 있는 내부 변수 protected $result; protected $basecontroller; // 내부 함수의 기본값을 설정하는 __contruct (생성자) public function __construct(BaseController $basecontroller){ $this->basecontroller = $basecontroller; } public function multiple($num){ $this->result += $this->basecontroller->plus($num) * 10; return $this->result; } } BaseController.phpnamespace App\Http\Controllers; use Illuminate\Http\Request; class BaseController extends Controller { protected $result; public function __construct(){ $this->result = 0; } public function plus($num){ $this->result = $num + 5; return $this->result; } } AProvider.phpnamespace App\Providers; use Illuminate\Support\ServiceProvider; use App\Http\Controller\Acontroller; use App\Http\Controller\BaseController; class AProvider extends ServiceProvider { /** * Register services. */ public function register(): void { $this->app->singleton(Acontroller::class, function($app) { return new Acontroller($app->make(Basecontroller::class)); }); } /** * Bootstrap services. */ public function boot(): void { } }
-
미해결[개정판 2023-11-27] Spring Boot 3.x 를 이용한 RESTful Web Services 개발
@ApiModel 어노테이션
강의와 같이 ApiModel어노테이션을 달아보려해도 아래와 같이 어노테이션이 뜨지도 않고 다 입력을 해보아도 오류만 뜰 뿐입니다 ㅠㅠ 저 같은 분 있으신가요?
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
1-O 질문드립니다
http://boj.kr/34af1033b33c4392a7ea90529d920901while(scanf("%d", &n) != EOF) 로 코드를 만들었을땐한참 exe 파일을 찾을 수 없다고 나오다가while(cin >> n)로 변경하니까 정상 작동 되는데어떤게 문제였을까요?질문글 읽어주셔서 감사합니다!
-
미해결파이썬 알고리즘 문제풀이 입문(코딩테스트 대비)
완전탐색 문제 유형은 DFS로 푸는 것만 있나요?
안녕하세요, 해당 강의에서 풀어주는 완전탐색 문제는 DFS 방식으로 푸는 법만 있나요?프로그래머스 등과 같은 곳에서 완전탐색 유형 문제를 풀어보니, DFS 방식으로만 푸는 것은 아닌듯 하여 질문 드려요!
-
미해결<M.B.I.T> 테스트 페이지 만들기! with Django
makemygrations 오류
makemygrations을 실행 시키려니까 이런 오류가 발생합니다. 번역시켜보니까 'main_developer와 main_Question에 대해 지연 참조로 선언되었지만 앱 'main'이 제공하지 않습니다.' 라고 하는데 어떻게 해야 하나요?
-
해결됨실전! Redis 활용
List, Set, ZSet의 SORT
안녕하세요. 강의 잘 보고 있습니다. LIST, Set, ZSet의 item을 정렬하여 반환하는 SORT 명령어의 시간 복잡도가 O(N)이라고 설명해주셨는데, 어떻게 O(N)이 나온건지 궁금합니다.
-
미해결자바 ORM 표준 JPA 프로그래밍 - 기본편
ManyToOne 관계 설정 시 궁금한 점이 있습니다.
[질문 내용]안녕하세요! 강의를 들으며 제 사이드 프로젝트의 데이터베이스를 설계하는 과정에서 궁금증이 생겨 질문드립니다. 저는 Content라는 엔티티 클래스를 만들고 이를 상속받는 Post, Comment 클래스를 만들었습니다. Content라는 부모 엔티티 클래스를 만든 이유는 내용을 담는 body라는 필드를 Post와 Content가 동일하게 가지기 때문입니다. 후에 프로젝트가 커지면 image, link등과 같은 여러 필드들이 Content에 추가될 예정입니다. 이때 Post는 title 필드를 추가적으로 가지고 있고 Comment를 여러 개 가질 수 있는데, 일반적인 상황에서 동일한 엔티티 클래스를 상속받은 클래스끼리도 이러한 ManyToOne 관계를 가지게 설계하는지 궁금합니다.
-
미해결
Neelam Stone Price: A Comprehensive Guide
In the world of gemstones, few are as captivating and enchanting as the Neelam Stone, also known as Blue Sapphire. Its deep blue hues have intrigued gem enthusiasts and astrologers for centuries, not only for its exquisite beauty but also for the reputed astrological benefits it offers. In this comprehensive guide, we will delve deep into the world of Neelam Stone, exploring its origins, significance, qualities, and, of course, its price.The Origins of Neelam StoneNeelam Stone, derived from the mineral corundum, is one of the most sought-after gemstones globally, particularly due to its mesmerizing blue color. The finest Neelam Stones come from Sri Lanka, but they are also found in other parts of the world, such as Burma, Thailand, and Madagascar. The vibrant blue color is attributed to the presence of iron and titanium within the stone.The Significance of Neelam StoneBeyond its aesthetic appeal, Neelam Stone holds significant importance in astrology. It is associated with the planet Saturn and is believed to wield a potent influence on an individual's life. According to Vedic astrology, wearing a Neelam Stone can bring about positive changes in one's career, wealth, and overall well-being. It is often recommended for those born under the zodiac sign of Capricorn or Aquarius.Qualities of a Genuine Neelam StoneDetermining the authenticity and quality of a Neelam Stone is paramount, especially when considering its price. Here are the key qualities to look for:1. ColorThe most prized Neelam Stones exhibit a velvety, rich blue color with no hints of green or gray. The depth and purity of the blue hue significantly influence the stone's value.2. ClarityNeelam Stones should ideally be free from inclusions and blemishes. Stones with excellent transparency and minimal flaws are considered more valuable.3. CutA well-cut Neelam Stone enhances its brilliance and overall beauty. Precision in cutting is crucial to maximize the stone's potential.4. Carat WeightLike most gemstones, the price of a Neelam Stone increases with its carat weight. Larger stones are rarer and, therefore, more valuable.Neelam Stone Price FactorsNow, let's get to the crux of the matter: understanding the factors that influence the price of Neelam Stones. These factors play a pivotal role in determining the cost of this exquisite gem:1. Color and HueAs mentioned earlier, the color and hue of a Neelam Stone are paramount. Deeper, more intense blue hues command higher prices. Stones with secondary colors, like violet or green, are considered less valuable.2. ClarityThe presence of inclusions and flaws can significantly lower a Neelam Stone's price. Stones with excellent clarity and minimal imperfections are highly sought after.3. Cut and ShapeThe craftsmanship involved in cutting the stone can affect its price. A well-cut Neelam Stone with symmetrical facets and a pleasing shape will be more valuable.4. Carat WeightLarger Neelam Stones are rarer and, consequently, more expensive. However, the price per carat may vary depending on other factors like color and clarity.5. OriginThe origin of the Neelam Stone can also impact its price. Stones from renowned sources like Sri Lanka are often considered more valuable due to their historical significance and reputation for quality.Neelam Stone Price RangeThe price of Neelam Stones can vary significantly based on the factors mentioned above. Generally, you can find Neelam Stones in the following price ranges:Low Quality: Neelam Stones with poor color, clarity, and cut can cost anywhere from $10 to $50 per carat.Medium Quality: Stones with better color and clarity can range from $50 to $500 per carat.High Quality: Exceptional Neelam Stones with vivid blue hues, excellent clarity, and precision cuts can command prices from $500 to $5,000 per carat or more.Where to Buy Neelam StonesWhen looking to purchase a Neelam Stone, it's essential to buy from reputable sources and certified gem dealers. Ensure that the stone comes with a certificate of authenticity, detailing its quality and characteristics.ConclusionIn this comprehensive guide, we've explored the fascinating world of Neelam Stone, from its origins and significance to its qualities and price factors. Understanding these aspects is crucial when considering the purchase of this beautiful gemstone. Whether you are an avid gem collector or someone seeking the astrological benefits of Neelam Stone, remember to prioritize quality and authenticity when making your selection.
-
미해결모든 개발자를 위한 HTTP 웹 기본 지식
쿠키-세션 실습
학습하는 분들께 도움이 되고, 더 좋은 답변을 드릴 수 있도록 질문전에 다음을 꼭 확인해주세요.1. 강의 내용과 관련된 질문을 남겨주세요.2. 인프런의 질문 게시판과 자주 하는 질문(링크)을 먼저 확인해주세요.(자주 하는 질문 링크: https://bit.ly/3fX6ygx)3. 질문 잘하기 메뉴얼(링크)을 먼저 읽어주세요.(질문 잘하기 메뉴얼 링크: https://bit.ly/2UfeqCG)질문 시에는 위 내용은 삭제하고 다음 내용을 남겨주세요.=========================================[질문 템플릿]1. 강의 내용과 관련된 질문인가요? (예/아니오)2. 인프런의 질문 게시판과 자주 하는 질문에 없는 내용인가요? (예/아니오)3. 질문 잘하기 메뉴얼을 읽어보셨나요? (예/아니오)[질문 내용]이전 강의들은 항상 실습? 이 동반되어서 이해하기가 수월했는데 혹시 쿠키 & 세션은 실습이 없는건 간단해서 그런건가요? 궁금해서 질문 드립니다^^
-
해결됨따라하며 배우는 TDD 개발 [2023.11 업데이트]
[MAC] PORT:5000번 관련 에러
안녕하세요. PORT 5000으로 설정했더니이미 사용중인 포트로 나오더라구요.혹시 같은 증상 있으신 분 있으실 수 있을 것 같아서 남겨둡니다.맥 기준 시스템설정에서 '에어플레이 수신' 을 꺼주면 5000번 포트 사용할 수 있습니다.https://developer.apple.com/forums/thread/682332
-
해결됨초보자를 위한 <어바웃타임> 쉐도잉 마스터 클래스
노션 링크는 어디서 확인할 수 있나요?
노션 링크는 어디서 확인할 수 있나요?
-
미해결데이터 분석 SQL Fundamentals
직원 급여이력에서 가장 최근의 급여이력 쿼리
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.상관 서브 쿼리와 단순 비교 연산자 강의에서직원 급여 이력에서 가장 최근 급여 이력을 호출해라 문제를 봤습니다. 강사님께서는 설명해주실 때 select * from hr.emp_salary_hist a where todate = (select max(todate) from hr.emp_salary_hist x where x.empno= a.empno)쿼리로 설명해주셨습니다. 그런데, 그냥 select max(todate) from emp_salary_hist;로 최근 날짜 직원 급여 이력을 뽑으면 안되는걸까요?? 왜 서브쿼리로 셀프 조인을 하는 건지 궁금합니다.
-
미해결실전! 스프링부트 상품-주문 API 개발로 알아보는 TDD
steps 클래스를 사용하는 이유
안녕하세요!강의 잘 듣고 있습니다! steps 클래스를 따로 만드는 이유는 뭐라고 할 수 있을까요?? 감사합니다.
-
미해결비전공자를 위한 풀스택 맛집지도 만들기 프로젝트!: Front, Back-end 그리고 배포까지
카카오맵 마커에 찍히는 주소 유형 변경 방법을 알고싶습니다
안녕하세요. 강의를 모두 수강하고 웹사이트를 배포한 상태입니다. 지도에 마커도 잘 찍히고인포윈도우 정보도 잘 뜨고 있는 상태입니다. 원래 강의에서는 인포윈도우에 유튜브 섬네일과 영상 링크가 올라가도록 코드를 짜주셨는데혹시 저 섬네일과 주소를 네이버 지도 상에 있는 주소와 섬네일로 고칠 수 있는지 궁금해서 질문을 남깁니다.제가 다니고 있는 학교 주변의 식당 정보들이 마커에 찍히고 그 마커를 찍었을 때 네이버 지도에 나와있는섬네일과 주소 링크를 달고 싶습니다.위 코드는 선생님께서 최종 배포하신 코드 자료에 올려주신 코드중에 인포윈도우 창에 올라가는 정보들을 설정하는 부분입니다(map.js 파일) 이 부분을 어떻게 잘 수정하면 될 거 같은데 어떻게 하면 좋을까요?네이버 지도에서 제 학교 주변의 중국집을 검색해서 식당중 하나를 클릭하면https://map.naver.com/p/search/%ED%95%9C%EA%B2%BD%EB%8C%80%20%EC%A4%91%EA%B5%AD%EC%A7%91/place/37921639?c=15.00,0,0,0,dh&placePath=%3Fentry%253Dbmp이러한 웹주소가 뜨고 그 식당옆에 있는 섬네일을 클릭하면https://map.naver.com/p/search/%ED%95%9C%EA%B2%BD%EB%8C%80%20%EC%A4%91%EA%B5%AD%EC%A7%91/place/37921639?c=15.00,0,0,0,dh&placePath=%2Fphoto%3Fentry%253Dbmp이런식의 주소가 주소창에 표시가 됩니다. 이 주소 형식을 어떻게 잘 이용해서 위에 올린 인포윈도우 코드에 적용을 하면 강의 자료처럼유튜브의 섬네일과 주소가 아닌 네이버 지도의 섬네일과 주소를 불러올 수 있을거 같은데코드를 어떤식으로 수정해야 할지 조언을 얻을 수 있을까요?
-
미해결스프링과 JPA 기반 웹 애플리케이션 개발
안녕하세요 강의 잘보고있습니다,.
질문이 하나있습니다.8:48인데요 @PostMapping(SETTINGS_PASSWORD_URL)public String passUpdate(@CurrentUser Account account, @Valid PasswordForm passwordForm, Errors errors,Model model, RedirectAttributes attributes){System.out.println("errors : " + errors);if(errors.hasErrors()){ model.addAttribute(account);return SETTINGS_PASSWORD_URL;} 이부분인데 에러가 났을때 왜 model.addAttribute(account); (66라인)모델이 다시 담아주는건가요 ?? ==================================== 다시 생각해보니 account 객체가 nav-bar 에서 필요해서(account 객체에 따른 이미지 보여주기) 다시 담아주는거 같네요
-
미해결AWS Certified Solutions Architect - Associate 자격증 준비하기
수강기간 연장 부탁드립니다..
10월 28일 시험 예약해두고, 중간에 업무가 많아져서.. 연습문제를 이제서야 풀기 시작했습니다. 수강기한이 10월 13일까지라.. 시험기간까지 지난 강의를 다시 복습해서 보고 싶습니다.기간 연장 가능할까요? ㅠ ㅠ
-
미해결그림으로 배우는 쿠버네티스(v1.30) - {{ x86-64, arm64 }}
clusterIP가 없을 때 POD끼리의 통신가능 여부
[질문 하기] 안녕하세요 4.6 강의를 듣다가 궁금증이 생겨 질문드려요 CluterIP는 내부에서 POD끼리 통신을 위해 존재하는 서비스라고 이해를 했습니다. 그렇다면 ClusterIP가 없다면 POD끼리 통신이 불가능하지 않을까 생각이 들어 아래와 같은 yaml파일을 배포해봤습니다 apiVersion: apps/v1kind: Deploymentmetadata: name: deploy-nginx labels: app: deploy-nginxspec: replicas: 3 selector: matchLabels: app: deploy-nginx template: metadata: labels: app: deploy-nginx spec: containers: - name: chkip image: sysnet4admin/net-tools-ifn#---#apiVersion: v1#kind: Service#metadata:# name: cl-nginx#spec:# selector:# app: deploy-nginx# ports:# - name: http# port: 80# targetPort: 80# type: ClusterIP 처음에는 아래에 있는 주석을 풀어 ClusterIP를 생성하고 각 POD에 접속하여 pod끼리 ping을 날렸을 때는 당연히 ClusterIP 덕분에 통신이 된다고 생각했습니다 그리고, 주석을 추가해 ClusterIP없이 배포를 했습니다[root@m-k8s 4.6]# k get pod -o wideNAME READY STATUS RESTARTS AGE IP NODE NOMINATED NODE READINESS GATESdeploy-nginx-bc5885484-snsgf 1/1 Running 0 33s 172.16.221.160 w1-k8s <none> <none>deploy-nginx-bc5885484-tqcp2 1/1 Running 0 33s 172.16.132.51 w3-k8s <none> <none>deploy-nginx-bc5885484-x269c 1/1 Running 0 33s 172.16.103.178 w2-k8s <none> <none>net 1/1 Running 0 76m 172.16.132.43 w3-k8s <none> <none> [root@m-k8s 4.6]# k get serviceNAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGEkubernetes ClusterIP 10.96.0.1 <none> 443/TCP 10d 그런데 생각과는 달리 ClusterIP가 없어도 pod끼리 통신이 가능하더라고요[root@m-k8s 4.6]# k exec deploy-nginx-bc5885484-snsgf -it -- /bin/bash[root@deploy-nginx-bc5885484-snsgf /]# ping 172.16.132.51PING 172.16.132.51 (172.16.132.51): 56 data bytes64 bytes from 172.16.132.51: seq=0 ttl=62 time=0.806 ms64 bytes from 172.16.132.51: seq=1 ttl=62 time=0.497 ms ClusterIP가 없어도 통신이 가능한 이유가 어떻게 될까요??
-
해결됨Google 공인! 텐서플로(TensorFlow) 개발자 자격증 취득
슬랙 초대 메일 부탁드립니다!
안녕하세요~강의 잘 봤는데, 슬랙 초대 메일이 오지 않아서 요청드립니다.슬랙 초대 메일 부탁드립니다.!이메일은 kdjun111@gmail.com 입니다.