728x90
반응형

전체 글 125

글자가 띄어쓰기 된 것처럼 보일 때 (반자, 전자)

가끔 문서작업을 하던가, 텍스트를 빠르게 입력하던가, 정확히 모르겠지만,뭔가 실수를 해서 글자 간격이 넓어지고 글자 사이사이 띄어쓰기 된 것처럼 보일 때가 있다.이유는 키보드 입력 설정이 전자로 되어있어서인데,우리가 일반적으로 키보드 입력을 사용할 때는 반자로 설정되어 있지만아마도 단축키 입력이 나도 모르게 되었을 때 전자로 변경된 거 같았다. 전자와 반자의 차이는 같은 글을 적어놓으면 확연히 알 수 있는데,반자 (반각, Half-Width)전자 (전각, Full-Width)한글 단어사이의 띄어쓰기나, 영어 알파벳사이, 숫자 사이, 특수기호 사이가 유독 넓어졌다고 느껴진다. 정확히 내가 언제 잘못 입력한 건지는 알 수 없지만,아마도 반자와 전자를 토글 하는 단축키를 실수로 입력한 것 같다. 해결1. ..

[MyBatis] NumberFormatException 에러

xml 파일에 쿼리를 작성하면서 MyBatis를 사용했는데 NumberFormatException 에러가 발생했다.내가 작성한 내용은 아래와 같다. paramFlg = #{paramFlag} NumberFormatException 에러는 숫자만 입력해야 하는데 숫자가 아닌 값을 입력했을 때 나오는 오류다.paramFlag 컬럼은 varchar형으로 문자이고, 'N'도 문자이고, 파라미터로 오는 parmaFlg도 String형으로 문자인데, 왜 숫자만 넣으라고 하는 걸까? MyBatis 조건문에서의 문법 주의MyBatis의 는 Java 문법이 아니라, OGNL (Object-Graph Navigation Language) 문법을 따르기 때문에 아래와 같은 규칙이 있다.표현식의미예시==숫자 비교year ..

[해커랭크(HackerRank) SQL 풀이] - Revising Aggregations - Averages

해커 랭크 - https://www.hackerrank.com/Prepare > SQL > Aggregation > Revising Aggregations - Averages  HackerRank - Online Coding Tests and Technical InterviewsHackerRank is the market-leading coding test and interview solution for hiring developers. Start hiring at the pace of innovation!www.hackerrank.com  CITY 테이블에서 모든 도시의 평균 인구를 구하고 가장 가까운 정수로 내림하는 쿼리를 작성하세요. Input Format  MySQLSELECT FLOOR(AVG..

[해커랭크(HackerRank) SQL 풀이] - Revising Aggregations - The Sum Function

해커 랭크 - https://www.hackerrank.com/ Prepare > SQL > Aggregation > Revising Aggregations - The Count Function HackerRank - Online Coding Tests and Technical Interviews HackerRank is the market-leading coding test and interview solution for hiring developers. Start hiring at the pace of innovation! www.hackerrank.com CITY 테이블에서 구역이 California인 모든 도시의 총 인구를 조회하는 쿼리를 작성하세요. Input Format MySQL SELECT..

[해커랭크(HackerRank) SQL 풀이] - Revising Aggregations - The Count Function

해커 랭크 - https://www.hackerrank.com/ Prepare > SQL > Aggregation > Revising Aggregations - The Count Function HackerRank - Online Coding Tests and Technical Interviews HackerRank is the market-leading coding test and interview solution for hiring developers. Start hiring at the pace of innovation! www.hackerrank.com CITY 테이블에서 인구가 100,000 보다 많은 도시의 수를 세는 쿼리를 작성하세요. Input Format CITY 테이블은 다음과 같이 설..

[해커랭크(HackerRank) JAVA 풀이] - Java SHA-256

해커랭크 - https://www.hackerrank.com/ Prepare > Java > Advanced > Java SHA-256 HackerRank HackerRank is the market-leading technical assessment and remote interview solution for hiring developers. Learn how to hire technical talent from anywhere! www.hackerrank.com 암호화 해시 함수는 디지털 데이터에서 실행되는 수학 연산입니다. 계산된 해시(즉, 해싱 알고리즘을 실행하여 생성된 출력)를 알려진 예상 해시 값과 비교하여 사람이 데이터의 무결성을 결정할 수 있습니다. 예를 들어 다운로드한 파일의 해시를 계산..

[해커랭크(HackerRank) SQL 풀이] - New Companies

해커 랭크 - https://www.hackerrank.com/ Prepare > SQL > Advanced Select > New Companies HackerRank - Online Coding Tests and Technical Interviews HackerRank is the market-leading coding test and interview solution for hiring developers. Start hiring at the pace of innovation! www.hackerrank.com Amber의 다각화된 기업이 새로운 회사들을 인수했습니다. 각 회사는 다음과 같은 계층 구조를 따릅니다. 아래의 테이블 스키마를 고려하여 company_code, 창업자 이름, 총 리드 매니..

[해커랭크(HackerRank) JAVA 풀이] - Java MD5

해커랭크 - https://www.hackerrank.com/ Prepare > Java > Advanced > Java MD5 HackerRank HackerRank is the market-leading technical assessment and remote interview solution for hiring developers. Learn how to hire technical talent from anywhere! www.hackerrank.com MD5(Message-Digest algorithm 5)는 128-bit 해시 값을 가진 널리 사용되는 암호화 해시 함수입니다. 다음은 MD5의 몇 가지 일반적인 용도입니다. 암호의 단방향 해시를 저장합니다. 전송된 파일이 손상되지 않고 도착했다는 ..

[해커랭크(HackerRank) SQL 풀이] - Binary Tree Nodes

해커 랭크 - https://www.hackerrank.com/ Prepare > SQL > Advanced Select > Binary Tree Nodes HackerRank - Online Coding Tests and Technical Interviews HackerRank is the market-leading coding test and interview solution for hiring developers. Start hiring at the pace of innovation! www.hackerrank.com 주어진 테이블 BST에는 두 개의 열이 있습니다: N과 P. 여기서 N은 이진트리의 노드 값을 나타내고, P는 N의 부모를 나타냅니다. 이진트리의 노드 유형을 값의 순서대로 정렬하여 ..

[해커랭크(HackerRank) JAVA 풀이] - Java Lambda Expressions

해커랭크 - https://www.hackerrank.com/ Prepare > Java > Advanced > Java Lambda Expressions HackerRank HackerRank is the market-leading technical assessment and remote interview solution for hiring developers. Learn how to hire technical talent from anywhere! www.hackerrank.com 이 Java 8 챌린지는 Lambda 표현식에 대한 지식을 테스트합니다! 지정된 작업을 수행하는 람다 식을 반환하는 다음 메서드를 작성합니다. PerformOperation isOdd(): 람다 식은 숫자가 홀수이면 tru..

728x90
반응형