묻고 답해요
158만명의 커뮤니티!! 함께 토론해봐요.
인프런 TOP Writers
-
해결됨스프링 DB 1편 - 데이터 접근 핵심 원리
javax.transaction.Transactional 질문
안녕하세요.javax.transaction.Transactional annotation에 대해 추가 질문드립니다. @Transactional annotation은 총 2가지가 있습니다.Spring에서 제공: org.springframework.transaction.annotation.TransactionalJava에서 제공: javax.transaction.Transactional 강의에서는 spring에서 제공하는 annotation을 사용으로 추천해주셨고, 대부분 org.springframework.transaction.annotation.Transactional으로 사용을 하더라구요. 직접 찾아본 바로는 두가지 모두 트랙잭션 자체에 대한 동작은 동일하지만, spring에서 제공하는 Transactional이 더 많은 부가 기능을 가지고 있어 사용을 권장한다고 하네요. 이렇게 이해하고 넘어가면 될까요?!의견이 궁금해서 질문드립니다.
-
해결됨코딩은 실전이다! - Git알못을 위한 깃린이코스(Git, Github 실습위주)
슬랙 초대 부탁드립니다 :)
- 학습 관련 질문을 남겨주세요. 상세히 작성하면 더 좋아요! - 먼저 유사한 질문이 있었는지 검색해보세요. - 서로 예의를 지키며 존중하는 문화를 만들어가요. - 잠깐! 인프런 서비스 운영 관련 문의는 1:1 문의하기를 이용해주세요. wjl0831@gmail.com
-
해결됨홍정모의 따라하며 배우는 C언어
3:00쯤에 selctionSort함수를 이런식으로 작성해도 괜찮나요??
void selectionSort(char* arr[], int n){ for (int i = 0; i < n; i++) { for (int j = 0; j < n; j++) { if (strcmp(arr[j], arr[i]) < 0) swap(&arr[i], &arr[j]); } }}
-
미해결Arm 아키텍처: 가상화(Virtualization) [저자직강 3부-2]
익셉션 모델을 이용한 하이퍼바이저를 구현 질문
안녕하세요.익셉션 모델을 이용해서 하이퍼바이저를 구현하는 방식말고 다른 방법,모델로 하이퍼바이저를 구현하는 방법이 더 있는지 문의드립니다.익셉션 모델을 이용해서 하이퍼바이저를 구현한다라는 포괄적인 의미가 잘 이해되지 않아서 이런 질문이 발생한 것 같습니다.감사합니다.
-
미해결대세는 쿠버네티스 (초급~중급편)
Limit Range, Resource Quota
단일 네임 스페이스에 resource quouta와 limit range 둘 다 적용 가능한 것으로 이해했습니다그렇다면, 둘 다 적용하는 경우가 있나요?뭔가 둘 다 적용하면, 네임스페이스에 걸린 제약들을 이해하는데 복잡해지는 것 같아서 질문 드립니다
-
해결됨직장인에게 꼭 필요한 파이썬-아래아한글 자동화 레시피
join(val) 코드 해석
챕터명: [응용] 엑셀문서 값을 필드에 입력하기# 셀범위 값 전부 읽어오기 xlsx_values = [list(i) for i in ws.UsedRange()] # 날짜 문자열 수정하기 for idx, val in enumerate(xlsx_values): if idx: # [0]은 제목이므로 생일 수정안함 xlsx_values[idx][2] = xlsx_values[idx][2].strftime("%Y년 %#m월 %#d일") print(xlsx_values) # >>> [['이름', '성별', '생일', '취미'], # ... ['마크', '남', '1984년 5월 14일', 'VR'], # ... ['빌', '남', '1955년 10월 28일', '기부'], # ... ['일론', '남', '1971년 6월 28일', '트위터'], # ... ['제프', '남', '1964년 1월 12일', '독서'], # ... ['리사', '여', '1969년 11월 7일', '게임'], # ... ['슬아', '여', '1983년 6월 16일', '쇼핑']] # 1페이지 복사해 둠 hwp.Run("CopyPage") for idx, val in enumerate(xlsx_values[1:]): if idx: # idx가 0인 경우는 제외 hwp.Run("PastePage") # 페이지 붙여넣기 hwp.PutFieldText(f"이름{{{{{idx}}}}}\x02성별{{{{{idx}}}}}\x02생일{{{{{idx}}}}}\x02취미{{{{{idx}}}}}", "\x02".join(val)) # 4개의 값을 한 번에 배치삽입하는 방법. "\x02"로 구분함.위 코드에서 hwp.PutFieldText(f"이름{{{{{idx}}}}}\x02성별{{{{{idx}}}}}\x02생일{{{{{idx}}}}}\x02취미{{{{{idx}}}}}", "\x02".join(val))이 부분이 이해가 잘 안됩니다. hwp.PutFieldText("이름", "홍길동") 이게 기본 형태로 알고 있는데, 저건 어떤 형태인가요?? 해석이 안되네요idx가 1인 경우에 대입하면, hwp.PutFieldText("이름{{1}} 성명{{1}} 생일{{1}} 취미{{1}}") 이렇게 있는데, 이름{{1}} 뒤에 1을 더하는 식으로 각 필드명에 적용한다는 건가요?? 그리고 마지막 join(val)은 무슨 역할인가요???
-
해결됨코딩테스트 [ ALL IN ONE ]
노션 공유
노션 공유 해주셨다고 했는데 cng121958@gmail.com으로 다시 공유해주실 수 있나요? 공유가 아직 안된 것 같습니다..
-
미해결Arm 아키텍처: 가상화(Virtualization) [저자직강 3부-2]
lower exception level 핸들러 질문
다음 두가지중에 어떤 것이 맞는지 문의드립니다.1. wfe, wfi, hvc를 이용해서 guest exit을 했을때 익셉션이 발생하면 synchronous 익셉션 주소로 분기2. wfe, wfi, hvc를 이용해서 guest exit을 하면 무조건 synchronous 익셉션 주소로 분기
-
미해결Arm 아키텍처: 가상화(Virtualization) [저자직강 3부-2]
익셉션 벡터 테이블 질문
안녕하세요. 강의 내용을 다음과 같이 이해했는데 맞는지 문의드립니다. "현재 하이퍼바이저 모드(EL2)가 동작하는 시스템인데, 게스트 OS 커널(EL1)에서 Synchronous 익셉션이 발생하면 VBAR_EL2 + 0x400 으로 PC를 설정한다" 감사합니다.
-
해결됨독하게 시작하는 C 프로그래밍
qsort 함수에 관한 질문입니다.
stdlib에서 제공하는 qsort 함수qsort(void base, size_t width, int(*compare)(const void* key, const void* element))에서 compare부분이 비교함수를 가리키는 함수 포인터라고 알고있습니다.그렇다면,qsort(aList, 5, sizeof(int), *myCompare); 같이 넣지 않고qsort(aList, 5, sizeof(int), myCompare); 처럼 넣는 이유가 뭔가요?
-
미해결[핵집] 2025 빅데이터 분석기사(필기)_과목 1~2
불균형 데이터 처리의 문제
출제자의 눈_2과목(1) 강의를 보면,2) 불균형 데이터를 그대로 사용하여 모델링할 경우 모델의 정확도가 떨어질 수 있음위와 같이 기술되어 있고, 강사님 또한 그렇게 설명하고 있습니다. 그러나 2과목 주요 문제 해설 강의를 보면,"불균형 문제를 해결하지 않으면 모델은 ...(중략)... 정확도(Accuracy)가 높아지고, 재현율(Recall)은 낮아짐"이렇게 설명되고 있습니다. 저는 위 내용이 상반된다고 생각하는데요, 이에 대하여 추가 설명 부탁합니다.감사합니다.
-
미해결
Special Events Templates for Invitation: Simplify Your Invitation Creation Process
Introduction What are special events templates for invitation?Special events templates for invitations are pre-designed layouts that serve as a foundation for creating personalized invitations. These templates come in various formats, including digital and printable, and are often customizable to match the theme and style of your event.Importance of using templates for invitationsUsing templates for invitations offers several advantages over creating them from scratch. Not only do they save time and effort, but they also ensure a professional-looking result without the need for graphic design skills.Types of Templates for InvitationWhen it comes to special events templates for invitation, there are several types to choose from:Digital templatesDigital templates are downloadable files that can be edited using graphic design software or online editing tools. They're perfect for sending invitations via email or social media platforms.Printable templatesPrintable templates are designed to be printed at home or at a professional printing service. They come in various sizes and formats and are ideal for traditional paper invitations.Customizable templatesCustomizable templates allow you to personalize every aspect of the invitation, from the text and fonts to the colors and images. They offer flexibility and creative freedom while still providing a structured layout to work with.Benefits of Using Templates for InvitationThe use of templates for invitations offers numerous benefits:Time-savingWith templates, you can create professional-looking invitations in minutes, saving you valuable time during the event planning process.Cost-effectiveTemplates are often more affordable than hiring a graphic designer to create custom invitations, making them a budget-friendly option for any event.Professional appearanceEven if you're not a design expert, templates ensure that your invitations have a polished and cohesive look, giving off a professional impression to your guests.Customization optionsMost templates allow for easy customization, allowing you to tailor the invitation to suit your event's theme, color scheme, and personal preferences.Where to Find Special Events Templates for InvitationThere are several places where you can find special events templates for invitation:Online marketplacesWebsites like Etsy, Creative Market, and GraphicRiver offer a wide range of customizable invitation templates created by talented designers.Graphic design websitesPlatforms like Canva and Adobe Spark provide a variety of free and premium invitation templates that can be easily customized using their intuitive design tools.Stationery storesMany stationery stores carry a selection of printable invitation templates that you can purchase and personalize at home.DIY websites and blogsFor those who prefer a hands-on approach, DIY websites and blogs often offer tutorials and free printable templates for creating custom invitations from scratch.Considerations When Choosing Templates for InvitationBefore selecting a template for your invitations, consider the following factors:Theme and styleChoose a template that complements the theme and style of your event, whether it's rustic and whimsical or sleek and modern.Customization optionsLook for templates that offer plenty of customization options, such as editable text fields, color palettes, and layout variations.Printing requirementsConsider the printing requirements of the template, including paper size, printing method, and any additional embellishments or finishes.Budget constraintsStick to your budget when choosing a template, taking into account any additional costs such as printing and postage.Tips for Using Templates for InvitationTo ensure your invitations turn out perfectly, follow these tips:Personalize the templateAdd your own text, images, and details to make the template uniquely yours and reflective of your event.Use high-quality imagesIf including images in your invitation, make sure they're high-resolution and relevant to the theme of your event.Pay attention to detailsDouble-check all text and information for accuracy and clarity before finalizing your invitations.Test prints before finalizingPrint a test copy of your invitation to check for any formatting or layout issues before printing the final batch.Examples of Special Events Templates for InvitationSpecial events templates for invitation can be used for a variety of occasions, including:Wedding invitationsBirthday party invitationsBaby shower invitationsCorporate event invitationsNo matter the event, there's a template available to suit your needs and help you create the perfect invitation to set the tone for your special day.ConclusionIn conclusion, special events templates for invitation offer a convenient and cost-effective solution for creating personalized invitations for any occasion. Whether you're planning a wedding, birthday party, or corporate event, using a template can save you time and effort while ensuring a professional-looking result. With so many options available online and in stores, finding the perfect template for your event has never been easier.FAQs (Frequently Asked Questions)Can I customize the text and colors of the templates?Yes, most templates offer customizable text, colors, and layout options to suit your preferences.Are there templates available for digital invitations?Absolutely! Many templates are designed specifically for digital invitations and can be easily shared via email or social media.Can I use templates for invitations for free?While some templates are available for free, others may require a small fee for download. However, they're often more affordable than hiring a designer.How do I print the invitations once I've customized them?You can print the invitations at home using a standard printer or take them to a local print shop for professional-quality results.Can I edit the templates after I've purchased them?Yes, most templates come with editable files that allow you to make changes even after purchase, ensuring your invitations are perfect down to the last detail.
-
해결됨Arm 아키텍처: 가상화(Virtualization) [저자직강 3부-2]
트랩 명령어 질문
안녕하세요.HVC, TWI, TWE 명령어에서 각각의 용도 및 차이점이 궁금합니다. 즉 어떤 상황에서 HVC, TWI, TWE가 사용하도록 권장되는지 궁금합니다.감사합니다.
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
[8-J] 3635: 영화 수집 질문
안녕하세요 큰돌님~8-J 팬윅트리 강의를 듣고 좌표이동 코드를 반영한 코드를 작성해보았는데요~ 백준에서 계속 틀렸다고 나와서 질문드립니다..http://boj.kr/70d1231d67094c51b254c2c6b9c34d65
-
미해결[백문이불여일타] 데이터 분석을 위한 고급 SQL
이 문제 inner join이 이해가 안됩니다.
DELETE p1 FROM Person p1 INNER JOIN Person p2 ON p1.Email = p2.Email WHERE p1.Id > p2.Id;inner join만 했을때 결과물p1.Id | p1.Email | p2.Id | p2.Email1 | john@example.com | 1 | john@example.com1 | john@example.com | 3 | john@example.com2 | bob@example.com | 2 | bob@example.com3 | john@example.com | 1 | john@example.com3 | john@example.com | 3 | john@example.com이 테이블에서 WHERE 조건을 걸면p1.Id | p1.Email | p2.Id | p2.Email1 | john@example.com | 1 | john@example.com1 | john@example.com | 3 | john@example.com2 | bob@example.com | 2 | bob@example.com3 | john@example.com | 3 | john@example.com이후 delete p1까지 했을때p1.Id | p1.Email1 | john@example.com1 | john@example.com // id 3인 행이 삭제돼서 inner join 조건에 맞지 않아 join이 풀리면서 합쳐짐2 | bob@example.com3 | john@example.com // id가 3인 행이 삭제돼서 삭제됐다제가 이해한대로가 맞는지 궁금합니다.
-
해결됨독하게 시작하는 C 프로그래밍
함수 포인터 강의에서 질문이 있습니다.
int(*pfGetMax)(int,int,int) = GetMax; 를 통해함수 포인터 선언 정의를 동시에 하고printf("MAX: %d\n", pfGetMax(1,3,2)); 를 하셨는데함수 포인터를 사용하여 GetMax 함수를 호출하는 과정에서pfGetMax(1,3,2)를 사용하셨는데 이 표현이 이해가 가지 않았습니다.포인터의 간접지정을 통해서 값을 가져와야 한다고 생각했는데(*pfGetMax)(1,3,2) 처럼 해야하는 것이 아닌가요?
-
미해결앨런 iOS 앱 개발 (15개의 앱을 만들면서 근본원리부터 배우는 UIKit) - MVVM까지
선생님 혹시 카메라
카메라 필터 관련으로 추가 강의 해주시면 안될까요?필터앱 만들고싶은데 너무어려워요!ㅠㅠ
-
해결됨Next + React Query로 SNS 서비스 만들기
[28강 오류 해결] https://loremflickr.com 외부 이미지 불러오기 오류
Invalid src prop (https://loremflickr.com/640/480?lock=5661426936971264) on `next/image`, hostname "loremflickr.com" is not configured under images in your `next.config.js` faker를 통해 https://loremflickr.com 에서 외부 이미지를 가져올 때 위 오류 발생하시는 분들은 next.config.js 또는 next.config.mjs에 아래와 같이 추가해주시면 됩니다. /** @type {import('next').NextConfig} */ const nextConfig = { images: { remotePatterns: [ { protocol: "https", hostname: "loremflickr.com", port: "", pathname: "/640/480/**", }, ], }, }; export default nextConfig;
-
미해결10주완성 C++ 코딩테스트 | 알고리즘 코딩테스트
c++ 교안에서 질문이 있습니다
안녕하세요 큰돌님! c++ 교안으로 공부를 하다가 궁금한 점이 있습니다.41쪽에 한글이 한 글자당 3바이트라고 하셨는데, 여태까지 2바이트로 알고있어서 헷갈립니다. 복잡한 한글은 3바이트인 것인지, 아니면 원래 한글이 3바이트인지 알려주시면 감사하겠습니다!
-
미해결파이썬을 활용한 머신러닝 딥러닝 입문
tf.data 를 이용한 shuffling and batch 구성 관련 문의
좋은강의 감사합니다.tf.data 를 이용한 shuffling and batch 구성 관련 문의 드립니다.tf.data 를 이용한 shuffling and batch 구성하는 경우의 코드(아래코드)를tf.data 를 이용한 shuffling and batch 구성하지 않는 경우로 변경하는 경우 아래코드를 어떻게 변경해야하나요?-아래-train_ds = tf.data.Dataset.from_tensor_slices((X_train_scaled, y_train_onehot))\.shuffle(10000).batch(128)test_ds = tf.data.Dataset.from_tensor_slices((X_test_scaled, y_test_onehot)).batch(128)..history = model.fit(train_ds, epochs=5, validation_data=test_ds)답변부탁드립니다.2024.3.9