묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
미해결Next + React Query로 SNS 서비스 만들기
2:56 src/app/page.tsx 파일을 이동해도 메인페이지가 잘 나오는 이유가 궁금합니다.
[제로초 강좌 질문 필독 사항입니다]질문에는 여러분에게 도움이 되는 질문과 도움이 되지 않는 질문이 있습니다.도움이 되는 질문을 하는 방법을 알려드립니다.https://www.youtube.com/watch?v=PUKOWrOuC0c페러렐 라우트용 @modal 페이지를 메인 page.tsx ( src/app/page.tsx ) 에서 사용하기위해 (beforeLogin) 경로로 이동시켰는데, Next.js 가 어떻게 메인페이지를 인식하고 표시하는지가 궁금합니다.Next.js 프로젝트 폴더구조에서 가장 app 폴더와 근접해있는 page.tsx 파일이 메인으로 인식되는건가요.. ㅠㅠ?현재 app 폴더에 layout.tsx(RootLayout) 밖에 없는데 그 파일에서 children 으로 받아지는 page.tsx 가 어떻게 결정되는지가 궁금합니다.
-
미해결자바(Java) 알고리즘 문제풀이 입문: 코딩테스트 대비
11. 임시반장 정하기 런타임 에러 관련 질문 드립니다.
강사님 안녕하세요. 좋은 강의 잘 듣고 있습니다. 임시반장 정하기 문제에서 강사님이 작성해주신 코드와 동일하게 solution 메서드를 만들었다고 보이는데 런타임 에러로 나오는거 같습니다. 혹시 원인을 알 수 있을까요? 감사합니다. import java.util.*; public class Main { public int Solution(int n, int[][] array) { int answer=0, max=Integer.MIN_VALUE; for(int i=1; i <=n; i++) { int cnt = 0; for(int j=1; j<=n;j++) { for(int k=1; k<=5;k++) { if(array[i][k] == array[j][k]) { cnt++; break; } } } if(cnt>max) { max = cnt; answer = i; } } return answer; } public static void main(String[] args) { Scanner in=new Scanner(System.in); int n = in.nextInt(); Main T = new Main(); int[][] array = new int[n][n]; for(int i = 0; i < n ; i++) { for(int j = 0; j < n ; j++) { array[i][j] = in.nextInt(); } } System.out.println(T.Solution(n, array)); } }
-
해결됨AWS 배포 완벽가이드 (feat. Lightsail, Docker, ECS)
ecs deploy 용량 공급자
용량 공급자와 같은 설정에 대해서 질문이 있습니다기존의 fargate로 배포해놓은 ecs 서비스에 용량 공급자 설정을 fargate_spot으로 변경하여 서비스 업데이트 한 후,강사님께서 짜주신 ecs git action을 통해 배포하면 fargate spot이 적용이 될까요?
-
미해결
Best Architects and Interior Designers in Lahore | Hiline
IntroductionAt Hiline, we take pride in being amongst the best architects in Lahore and leading providers of architectural services that transcend the ordinary. Our commitment to crafting spaces that reflect individuality, functionality, and aesthetics sets us apart. From architectural marvels to innovative interior designs, we redefine spaces, making them more than just structures but reflections of unique visions. Hiline is one of the leading architecture and interior design firms in Lahore, Pakistan. With over a decade of experience, they have worked on various commercial and residential projects across the city. This article provides an overview of their services and some of their renowned projects.Architectural Design ServicesHiline employs licensed architects who are experts in conceptualizing, planning and designing structures. They start every project by thoroughly understanding the client's brief and vision. Their architects utilize the latest 3D modeling and rendering software to conceptualize designs. Various factors like site location, climate, budget and regulations are taken into consideration.For commercial projects, they have expertise in designing offices, hospitals, schools, malls and other such buildings. Their team of best architects in Lahore ensures that the designs are functional as well as aesthetically pleasing. Proper zoning, lighting and ventilation are some key aspects they focus on.Elevating Architectural VisionOur team comprises highly skilled and creative architects dedicated to turning your dreams into tangible, breathtaking structures. We understand the importance of merging aesthetics with functionality, ensuring that every design reflects your vision while adhering to practicality. Our services encompass a wide array of architectural needs, from residential to commercial projects, with a keen eye for detail and innovation.Interior Design ServicesIn addition to architecture, Hiline also provides top-notch interior design services. They employ some of the best interior designer in Lahore who have extensive experience in residential and commercial projects. These designers carefully plan out interior spaces, select finishes, furniture, fixtures and decor items.For homes, their designers offer concepts and execution for areas like living rooms, bedrooms, kitchens, bathrooms, outdoor spaces and more. Client preferences, lifestyle and budget are key factors. Modern, minimalist or eclectic styles can be achieved.Their commercial interior design services include planning office layouts, reception areas, cafeterias, conference rooms etc. Aspects like accessibility, aesthetics, functionality and branding are considered. Materials are picked to suit the use and look of each specific space.Exquisite Interior Designing ServicesThe role of interior designer in Lahore goes beyond mere decoration; it's about creating environments that resonate with occupants. Hiline’s interior designing services cater to diverse needs, whether it's revamping residential spaces or conceptualizing captivating commercial interiors. Our team’s expertise lies in understanding your preferences and transforming them into captivating, functional designs.Crafting Uniqueness in DesignIn a city like Lahore, where architecture is a fusion of heritage and modernity, our approach stands out. We blend contemporary trends with timeless elegance, ensuring that each project maintains a balance between cultural roots and futuristic designs. Our dedication to excellence and innovation guarantees that your space isn’t just another construction but a masterpiece that stands the test of time.Unmatched Commitment to QualityAt Hiline, we prioritize quality in every aspect of our work. From the materials we use to the precision in execution, our commitment remains unwavering. We believe in creating spaces that not only meet but exceed expectations, providing our clients with an experience that resonates with our ethos of excellence.ConclusionHiline stands as a beacon of creativity and proficiency in the realm of architecture and interior design in Lahore. Our mission is to transform spaces into living, breathing reflections of your aspirations and visions. Contact us to embark on a journey where innovation, elegance, and functionality converge seamlessly.
-
미해결[C++과 언리얼로 만드는 MMORPG 게임 개발 시리즈] Part2: 게임 수학과 DirectX12
이미지가 어둡게 보이는 현상
스크린샷에서 보이는 것 처럼 윈도우 사진 뷰어에서는 정상적으로 보이는 사진이 작성한 프로그램에서는 어둡게 보입니다.png 확장자만 이런가 싶었는데 동일 확장자 다른 사진은 정상적으로 출력되는걸 확인했습니다.혹시 같은 확장자라도 저장하는 방식이 다른걸까요? 마치 감마 보정이 한번 더 들어간 것처럼 보입니다.
-
해결됨홍정모의 따라하며 배우는 C++
공부방식
제가 강의를 듣고 있는데 너무 내용이 많아서요 ..저는 문제풀이를 하면서 해야 궁극적으로 실전능력이 는다고 생각하는데 다듣고 하면 앞에거 다까먹을것 같고 어떻게 활용해야 하나요 ?
-
미해결멀티OS 사용을 위한 가상화 환경 구축 가이드 (Docker + Kubernetes)
kubectl run 관련 문제
저번 실습 후, 복습 과정 중에 다시 테스트를 하려고 하니까 이런 오류가 발생합니다.. 저번 실습에서는 service type 변경하고 kubectl get services 에서 확인한 포트번호를 붙여서 웹 브라우저에 접속 시엔 잘 들어가지는데, 명령어가 안먹히네요!
-
미해결Nuxt.js 시작하기
node 버전 문제 질문입니다.
https://stackoverflow.com/questions/74726224/opensslerrorstack-error03000086digital-envelope-routinesinitialization-e이런 이슈 때문에처음에 빌드 시 에러가 나서 진행을 못하다가 버전을 20 -> 18 -> 16 하니까 이제되더라고요 혹시 어떤 문제인지 알수있을까 궁금합니다.
-
미해결Nuxt.js 시작하기
폴더구조 다른것 안내 부탁드려요
다른분이 문의하신것 처럼 파일 구조가 다르게 생성되어서 수업 중간부터 default.vue도 없고 앞으로 수업을 따라가기가 걱정되네요. 아무래도 초보인데 폴더구조부터 달라버리면 막히거든요….이런 혼동이 생기지 않도록 강의 초반에 안내를 해주셨으면 좋겠습니다. 그리고 추가 강의도 올려주신다고 댓글 달아주신거 같은데 어디서 확인할수있는지 안내 부탁드려요 ㅜㅜ
-
미해결스프링 DB 2편 - 데이터 접근 활용 기술
JPAQueryFactory 스프링 빈으로 등록하고 사용 시 질문
[질문 내용]JPA와 SPRING DATA JPA 모두 동적 쿼리 작성에 문제에 어려움이 있었고 이를 위해 querydsl을 적용하는것이기에 무의식적으로 JpaItemRepositoryV2를 복사해서 동적 쿼리 작성하는 부분만 변경하려했습니다. 테스트는 잘통과합니다만 위와 같이 JPAQueryFactory를 빈으로 등록하고 사용하는 것이 맞는걸까요? 아직 빈 등록 및 의존관계 주입하는 게 익숙치 않아서 스스로 확신이 안듭니다. 위 코드에서 빈으로 등록하고 주입되는 과정은 나름 알고있으나 좀 더 구조적?으로 개선될 방향이 있는지 궁금합니다.(문법적으론 문제가 없으나 이렇게 하면 더 좋다) 감사합니다
-
미해결[백문이불여일타] 데이터 분석을 위한 고급 SQL 문제풀이
세트2번 Binary Tree Nodes 질문입니다!
강사님과 동일한 코드로 작성했는데 왜 저는 error가 날까여 ㅜㅜㅜ
-
미해결설계독학맛비's 실전 Verilog HDL Season 1 (Clock부터 Internal Memory까지)
AWIDTH 와 DWIDTH
메모리에서 이해가 안가는 부분이 있어 질문 드립니다.AWIDTH 와 DWIDTH 가 이해가 안가는데 혹시 AWIDTH 는 메모리의 DEPTH 로DWIDTH 는 메모리의 WIDTH 로 이해하면 될까요?? 이렇게 됐을 때 tb쪽에서 mem_depth 가 뭘 의미하는지 이해가 가지 않습니다 =================현업자인지라 업무때문에 답변이 늦을 수 있습니다. (길어도 만 3일 안에는 꼭 답변드리려고 노력중입니다 ㅠㅠ)강의에서 다룬 내용들의 질문들을 부탁드립니다!! (설치과정, 강의내용을 듣고 이해가 안되었던 부분들, 강의의 오류 등등)이런 질문은 부담스러워요.. (답변거부해도 양해 부탁드려요)개인 과제, 강의에서 다루지 않은 내용들의 궁금증 해소, 영상과 다른 접근방법 후 디버깅 요청, 고민 상담 등..글쓰기 에티튜드를 지켜주세요 (저 포함, 다른 수강생 분들이 함께보는 공간입니다.)서로 예의를 지키며 존중하는 문화를 만들어가요.질문글을 보고 내용을 이해할 수 있도록 남겨주시면 답변에 큰 도움이 될 것 같아요. (상세히 작성하면 더 좋아요! )먼저 유사한 질문이 있었는지 검색해보세요.잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요.==================
-
해결됨Next + React Query로 SNS 서비스 만들기
/compose/tweet 새로고침 시 TweetModal 모달 안 뜨는..
https://github.com/ZeroCho/next-app-router-z/blob/master/ch3-1/src/app/(afterLogin)/compose/tweet/page.tsx3-1 보면서 학습 중입니다./compose/tweet 새로고침 시에도 모달이 보여야하는데 안 되길래.. /compose/tweet/page.tsx에 <TweetModal /> 이 빠져있어서 안 됐어요 혹시나 저같은 초보자들은 헤매실까봐.. 글 남겨둡니다~
-
미해결
The Best Website Design Company in Vancouver: Mapleweb
An Established Leader in Web DesignFor over 21 years, Mapleweb has been a leading website design and development firm based in Vancouver. Founded in 2002, the company got its start helping local businesses create an online presence through custom-designed websites. Since then, Mapleweb has grown to become a premier digital agency offering a full range of services including web design, development, hosting, and digital marketing. With a team of dedicated designers, developers, and strategists, Mapleweb has established itself as the top choice for website creation and support in the Vancouver area. Vancouver Web Design & Beyond: The Mapleweb AdvantageIn the heart of the bustling city of Vancouver lies a hub of digital innovation and design brilliance, where website design transcends mere aesthetics. Welcome to Mapleweb, a pioneering Vancouver web design company that redefines the digital landscape with its unparalleled expertise and a commitment to crafting the best website designs the city has ever witnessed.But Mapleweb's prowess extends beyond website design. Our forte also includes Vancouver digital marketing, where we redefine strategies and set new benchmarks. We're not just about creating websites; we're about catapulting businesses to unprecedented heights through comprehensive digital marketing services.From search engine optimization (SEO) to social media marketing, our holistic approach ensures that your online presence isn't just exceptional; it's an asset that propels your business growth. With a finger on the pulse of ever-evolving digital trends, we strategize, execute, and deliver results that speak volumes.Crafting a Digital Marvel: The Mapleweb WayAt Mapleweb, website design in Vancouver isn't just about creating visually stunning platforms; it's a meticulous process that seamlessly blends creativity, functionality, and user-centricity. Each design is meticulously curated to reflect the unique essence of every business while ensuring optimal user experience and conversion rates.Our team of seasoned designers doesn't just stop at visual allure. We believe in leveraging the latest trends and technologies to ensure that every website we create embodies innovation and sophistication. Whether it's implementing responsive design, intuitive navigation, or immersive user interfaces, we tailor-make each project to stand as a beacon of excellence in the digital realm.Advanced Digital Marketing SolutionsIn today's digital landscape, it is not enough for businesses to simply have an online presence - they must actively promote and market their brand across various online channels. This is where Mapleweb's full-service digital marketing division comes in. Leveraging strategies like search engine optimization (SEO), pay-per-click (PPC) advertising, social media marketing, and more, Mapleweb helps drive qualified traffic to their clients' websites.Through SEO, Mapleweb conducts keyword research, on-page optimization, link building, and technical SEO work to boost organic website rankings. For PPC, they handle campaign set up, bidding, ad group/keyword management, and reporting based on a client's industry and target audience. On the social front, Mapleweb develops engaging social media campaigns and content strategies tailored for platforms like Facebook, Instagram, Twitter, and LinkedIn. Their social media managers post regularly to build follower numbers and engagement.Mapleweb also provides email marketing solutions. Using platforms such as MailChimp and Constant Contact, they design responsive email templates and develop targeted email sequences to reach customers with promotions, newsletters, and other automated messaging. Performance analytics allow them to track open/click rates and continually refine email campaigns.Beyond Aesthetics: The Role of Vancouver Digital Marketing in Online SuccessA visually appealing website is only half the battle won. To truly excel in the online sphere, businesses must embrace Vancouver digital marketing services. Mapleweb extends its expertise beyond design, offering comprehensive digital marketing solutions. From search engine optimization (SEO) to social media marketing, their holistic approach ensures that websites not only look good but also perform exceptionally in the vast digital landscape.In conclusion The marriage of exceptional web design and strategic digital marketing is the key to unlocking success in Vancouver's competitive online landscape. A Vancouver web design company like Mapleweb not only crafts visually stunning websites but also propels businesses to new heights through comprehensive digital marketing services. As businesses strive to make their mark in the digital realm, partnering with experts like Mapleweb becomes a strategic move towards a thriving online presence.
-
해결됨재고시스템으로 알아보는 동시성이슈 해결방법
Redisson - 100개의 스레드가 동시에 tryLock을 호출하나요?
[Redisson을 활용하여 재고로직 작성하기] 강의 수강 후 궁금한 점이 있어 질문드립니다.100개의 스레드가 동시에 재고 감소를 시도하면, 모든 스레드가 동시에 trylock으로 락 획득을 요청하는 건가요? 그렇다면 waitTime이 15초 leaseTime이 1초인 경우, 16번째 스레드부턴 락을 획득할 수 없을 거라고 예상했는데 테스트는 통과하여 질문드립니다.stockService.decrease 작업이 1초보다 덜 걸려서 이게 가능한 건가요?
-
해결됨[퇴근후딴짓] 빅데이터 분석기사 실기 (작업형1,2,3)
실기 합격했습니다.
선생님 강의 듣고 12월 실시험 합격하였습니다.올해 6월 실기 강의 준비때 다른분 강의도 보고 실기책도 사서 봤는데, 선생님 강의로 많은 도움을 받았던거 같습니다.세번 도전만에 붙어서 기분이 좋네요. 나중에 다른 좋은 강의도 만들어주세요 감사합니다.
-
미해결배달앱 클론코딩 [with React Native]
No APNS token specified before fetching FCM Token
현재 실제 ios 기기에서 테스트 중입니다.2일 전에 푸시 알림 기능 구현 후 푸시 알림이 잘 오는 것 까지 모두 확인했습니다.이후 스플래시 화면 포함한 몇 가지 기능 구현 후 배포 전에 다시 푸시 알림 기능을 다시 테스트해봤는데No APNS token specified before fetching FCM Token이라는 에러가 뜹니다.혹시 어디서 잘못됐는지 알 수 있을까요?
-
해결됨코딩테스트 [ ALL IN ONE ]
딕셔너리를 활용한 two-sum 질문있습니다
기존코드def two_sum(nums, target): memo = {} for v in nums: memo[v] = 1 for v in nums: needed_number = target - v if needed_number in memo: return True return False기존 코드에서 첫번째 for문은 O(n)이고두번째 for문은 O(1)이 n번 실행되니까 최종적으로는 O(n)이 되어서 해당 알고리즘의 시간복잡도는 O(n)이되는데처음에 문제를 설명해주실때의 순서대로라면 4를 먼저넣고 target이 14니까 10이 있는지 확인해보고 없으니까 1을 넣고 13이없는지 확인해보고 없으니까 9를 넣고 5가 없으니까 7을 넣고 7이 없으니까 5를 넣고 9가 있으니까 true를 반환 이라고 생각을 했고 그렇게 로직을 짜면 아래와 같은 코드가 될것같습니다(제가 파이썬을 잘 몰라서 정확한지는 모르겠네요 ㅠㅠ)def two_sum(nums, target): memo = {} for v in nums: memo[v] = 1 needed_number = target - v if needed_number in memo: return True return False해당 코드에서는 첫번째 for문 내부의 시간복잡도가 전부다 O(1)이고 그걸 n번 반복하는것이니 O(n)이라는 최종적인 시간복잡도라고 생각을 하는게 맞을까요??만약에 아래에 짠 로직이 올바른 로직이라면위에 로직은 n번 연산하면서 dictionary에 넣고 후에 요소를 돌면서 답을 찾고아래로직은(코드가 맞다면) dictionary를 다 넣지 않더라도 중간에 값이 나오면 중간에 연산을 끝낼 수 있으니까 조금더 효율적이라고 생각을 했습니다제가 생각한 방식이 맞는지 그리고 이런 작은(?)효율성이 코딩테스트에서 의미있게 다가올지가 궁금합니다!
-
미해결SCSS(SASS)+GRID+FLEX 실전 포트폴리오 퍼블리싱
모달창에서 반응형 보여주기
안녕하세요 선생님.혹시 Modal 창으로 포트폴리오를 보여 줄 시, 창크기를 줄여서 반응형이 구현된다는 걸 보여 줄 수 있는 방법이 있을까요? (모달창의 창크기가 조절이 되게끔 하는 방법)수업시간에 지나갔는지 기억이 잘 안나네요 ㅎㅎ; 혹시나 불가능하다면, 어쩔 수 없이 링크버튼이 연결된 버튼을 따로 주는 방법이 좋을까요? 항상 감사드립니다.
-
미해결2시간으로 끝내는 코루틴
suspend function의 일시 중단 여부는 어떻게 결정되나요?
안녕하세요 강사님, 좋은 강의에 항상 감사드리고 있습니다! 다른게 아니라, 강의 중 suspend function은 일시 중단 되었다가 재개될 수도 있고 / 그렇지 않을 수도 있다고 설명 주셨습니다. 그렇다면 실제로 suspend function이 일시 중단되어야 하는지 여부는 어떻게 결정되나요?단순히 suspend function 내부에서 또 다른 suspend function을 호출하기만 하면 무조건 일시 중단 되는 것인지, 아니면 Node.js 진영의 libuv 라이브러리처럼 비동기적으로 처리되어야 하는 IO 작업을 내부적으로 인지하는 방식이 별도로 구현되어 있는지 궁금합니다!