이번에 결혼 준비를 하며 생각보다 커플 사진을 안 찍었다는 걸 느꼈고,

식전 영상에 쓰일만한 사진을 한 번 찍어보기 위해 여자친구가 스냅 업체를 알아보았어요.

그러던 중 "우기웨딩"이란 곳을 알게 되어서 스냅을 찍어보게 되었어요.

012

원래 강아지와 찍는게 목적이 아니었지만... 제가 키우는 강아지를 웨딩 사진에 한 번쯤은 남겨보고 싶어

작가님께 요청을 드려봤습니다.........

작가님도 강아지 사진은 처음이라 고민이 많아지시더라구요 ㅎㅎㅎ

게다가 강아지가 아직 1살 조금 넘은터라 매우 활발하기 때문에 

과연 아무리 사진 작가님이어도 사진 찍는게 가능할까 의문이 들기도 했어요 ㅜㅜ

와 근데 강아지 사진 처음 찍어보신다고 하셨던 거 같은데 정말 잘 찍어주셨습니다..

우기웨딩은 1인 대표님이 직접 촬영하시는 거라 보조 스탭들도 없고 도와주시는 분이 없는데

혼자서 막 강아지 간식 흔드시면서 온 몸으로 강아지 관심을 끌기 위해

피나는 노력을 해주셨습니다 ㅎㅎㅎㅎ (온 몸이 땀으로 젖은 건 안 비밀)

0123

덕분에 저희 웨딩 사진 중 인생 첫 강아지이자 마지막 강아지와 함께 남길 수 있는 추억을 만들어주셔서

정말 감사하다는 표현 전달하고 싶습니다.
(사진 다 찍고 수정본이랑 원본을 1주 좀 넘으니 바로 주셨습니다.. 고생하셨어요...)

그리고 원래 예정엔 없었지만...

우리 잘생긴 똥개놈... 독사진도 많이 찍어주셔서

프사용 사진도 많이 건질 수 있었습니다 ㅎㅎㅎㅎㅎ

1석 2조...우기웨딩 만세.....!

Posted by 知彼知己百戰不殆
,
public class Main {
	public static void main(String[] args) {
		ParentsClass pc = new ChildClass();
		pc.a();
	}
}

class ParentsClass {
	public void a() {
		System.out.println("Parensts a() call");
		b();
		System.out.println("Parents a()");
	}
	public void b() {
		System.out.println("Parensts b() call");
		a();
		System.out.println("Parents b()");
	}
}

class ChildClass extends ParentsClass{
	public void a() {
		System.out.println("Child a() call");
		super.a();
		System.out.println("Child a()");
	}
	public void b() {
		System.out.println("Child b() call");
		System.out.println("Child b()");
	}
}

main함수에서 Parents 타입의 변수에 Child 클래스(Parents 상속)의 메소드 호출 시 호출 결과

Child클래스에서 super로 Parents 클래스의 a 메소드를 호출 했을 때 Parents 클래스의 a 메소드에서 b 메소드 호출.
머릿속으로는 Parents 클래스의 b 메소드가 호출될 줄 알았지만 Child 클래스의 b메소드가 호출되었다.

메소드 오버라이딩 하면 부모 클래스에서 호출하는 메소드가 자식 클래스에도 있으면 자식 클래스의 메소드가 우선 호출되는 것으로 보임.

 ❗️Child 클래스에서 b메소드를 주석처리 후 Parents 클래스의 b 메소드 안에 a()만 주석 처리 후 실행했더니

위와 같은 결과가 도출되었다.
메소드 오버라이딩이 없으면 부모 클래스에서 자식 클래스에 없는 메소드를 호출하면 부모 클래스의 메소드가 실행되었음

1년 동안 Java를 안 건드리다가 오랜만에 Java를 다시 보니 기억이 가물가물 ㅠㅠ

생성자 관련해서 예전에 썼던 글도 참고하면 좋을 듯

https://blair6383.tistory.com/249

 

클래스 상속과 클래스 타입 참조변수 확인

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 public class GrandParents { String pStr = "grand parents"; GrandParent

blair6383.tistory.com

 

'언어 > JAVA' 카테고리의 다른 글

class 초기화 블럭(initialization block)  (0) 2023.09.10
인스턴스 변수와 this  (0) 2023.09.10
Math.random과 Random 클래스 차이  (0) 2022.11.18
Scanner객체 NoSuchElementException 오류  (0) 2021.06.20
Java 버전별 달라진 점.  (0) 2020.07.22
Posted by 知彼知己百戰不殆
,

맥북을 새로 바꾸게 되면서 git프로젝트를 가져왔으나 lombok이 설치되어 있지 않아 오류가 잔뜩 터졌다...
그래서 얼른 https://projectlombok.org/download lombok 링크로 들어가 lombok.jar파일을 다운 받았다.
그리고 터미널을 열고 lombok.jar 위치에서 java -jar lombok.jar를 실행하고 IDE를 못 찾는다는 오류가 나왔다.

그래서 직접 수동으로 SpringToolSuite4.ini 파일을 찾아서 선택해줌.

선택 후 Install / Update를 눌렀으나... 오류... 권한이 없단다...
구글링 하니 sudo쓰래.. 그래...다시 sudo java -jar lombok.jar 실행... 반복... 오류.... 며칠을 삽질했다. 
진짜 구글링 하면서 나오는 모든 오류 해결법은 다 해본듯... 
그렇게 포기를 다짐할 찰나... 기분좋게 음주를 하고 온 날 불현듯 스치는 뇌리

설마! 파일자체의 권한이 없어서 그런가??

흠...소유자 권한은 7인데 나머지 권한은 5였다. 즉, rwxr-xr-x였다.
젠쟝ㅠㅠ 이것부터 확인했었으면 그 동안 개뻘짓 안 했을텐데 시간이 정말 아까웠다 ㅠㅠ
오랜만에 토이 프로젝을 다시 시작하려고 하니 별의 별일이 많이 생긴다 ㅠㅠ

chmod 775 SpringToolSuite4.app 후 터미널에서 다시 lombok.jar 실행 => 결론은 성공

'OS > Mac OS' 카테고리의 다른 글

Java home 설정  (1) 2025.03.11
SpringToolSuite4 can't be opened 오류  (0) 2023.03.27
Mac 부하테스트(stress test)  (0) 2020.12.27
Eclipse for mac OS Catalina  (0) 2019.12.02
MACOS Sieera able to Unidentified Apps  (0) 2018.01.22
Posted by 知彼知己百戰不殆
,

개발하기 위해 Mac을 샀으니 개발 tool을 설치했다. 

평소 window컴에서 자주 사용하던 sts4를 설치했다. 설치한 날은 문제없이 실행돼서 git repository도 다운받았다. 

하지만 다음 날 코드 수정하기 위해 들어갔으나 can't be opened 오류가 발생하면서 sts가 열리지 않았다.

https://stackoverflow.com/questions/71183897/the-application-sts-cant-be-opened

 

The application "STS" can't be opened

The first installation of STS on my Mac works fine, and this error pops up after restarting the computer. The problem with stS4-4.13.1 installed is still the same. Attempting to specify the jdk ver...

stackoverflow.com

해답은 여기서 찾을 수 있었다. 

Eclipse 기반인 STS가 열리면서 패키지 내용을 수정하는 것 같은데 그 때 처음 sts를 설치할 때의 서명이 깨지게 되어 위변조 파일이라 생각하여 열리지 않는 것. 따라서 다시 서명을 한 번 해줘야 함.

sudo codesign --force --sign - /Applications/SpringToolSuite4.app

현재 STS4 앱에 다시 자체 서명을 함으로써 해당 버전이 최종 버전으로 인식하게 하는 것

'OS > Mac OS' 카테고리의 다른 글

Java home 설정  (1) 2025.03.11
[오류] Spring Tool Suite4 Lombok 설치  (0) 2023.04.29
Mac 부하테스트(stress test)  (0) 2020.12.27
Eclipse for mac OS Catalina  (0) 2019.12.02
MACOS Sieera able to Unidentified Apps  (0) 2018.01.22
Posted by 知彼知己百戰不殆
,

다운로드 URL: https://adoptium.net/temurin/releases/?version=11

위 사이트에 들어가서 tar파일로 다운 받은 후 압축 해제 후 

/Library/Java/JavaVirtualMachines

위의 경로에 압축 해제한 파일을 옮겨놓고 터미널에서 java -version을 입력하여 버전 확인을 한다.

 

Posted by 知彼知己百戰不殆
,
Math.random() Random
- static 함수
- seed 값이 현재시간으로 고정
- 실행 시킬 때마다 계속 다른 난수 발생
- java.util 클래스
- seed 값 고정 가능

Random 함수는 seed를 100으로 고정 후 같은 코드를 2번 실행 후 캡처 한 결과

Random함수의 결과는 첫 번째 결과와 두 번째 결과가 값이 같았다.
그러나 Math.random()의 결과는 실행 할 때마다 결과가 달라졌다.

리얼한 무작위 난수를 뽑아내고 싶다면 Math.random() 함수를 사용하거나 Random 함수에서 seed값을 제거 후 사용하면 random함수에서도 무작위 난수가 뽑힌다.

Posted by 知彼知己百戰不殆
,

github에 기존 프로젝트를 다른 컴퓨터에서 clone 후 gradle 프로젝트 실행을 했으나 gradle refresh 할 때 오류 발생.

"Could not run phased build action using connection to Gradle distribution"

"General error during conversion: Unsupported class file major version 61"

위와 같은 오류 메시지들을 확인 할 수 있었다.

구글링 해보니 gradle/wrapper/dists 폴더에 안 쓰는 gradle jar파일을 삭제해야 한다고 함.

그래서 오늘자로 새로 바뀐 파일인 7.1.1 버전 삭제...했으나 그래도 gradle refresh 안 됨.

gradle-wrapper.properties 에서 distributionUrl 을 변경 후 완료.

Posted by 知彼知己百戰不殆
,

현재 운영 중인 서버의 catalina.out 로그는 일별로 catalina.2022-01-01.out 형식으로 로그가 쌓인다. 그런데 매번 logs폴더 밑으로 들어가서 해당하는 날짜의 파일을 선택해서 보기가 불편해서 매일 똑같은 명령어만 치면 해당 로그를 실시간으로 보고 싶어 현재일자가 파일명 뒤에 자동으로 따라붙는 alias를 주고 싶었다.

alias vlog='tail -f ~~(생략)~~/logs/catalina.`date '+%Y-%m-%d'`.out'
(date다음 한 칸 띄워야 함)

위와 같이 작성하면 catalina.(현재일).out으로 로그 파일명을 실시간 확인이 가능하다.

Posted by 知彼知己百戰不殆
,

개발 도움 사이트

IT 정보 2022. 2. 23. 16:16

WWDC(애플 세계 개발자 회의) : https://developer.apple.com/wwdc21/

 

WWDC21

Join the Apple worldwide developer community for an all-online WWDC21.

developer.apple.com

Google IO(구글 개발자 지향 컨퍼런스) : https://io.google/2021/?lng=en 

 

Google I/O 2021

 

io.google

우아한 형제들 : https://techblog.woowahan.com

 

우아한형제들 기술블로그

우아한형제들 기술조직의 이야기를 전합니다

techblog.woowahan.com

 

카카오 : https://tech.kakao.com/blog/

 

blog

[vc_row][vc_column][blog type="" show_excerpt="1" show_footer="1" pagination="1" pagination_type="load-more" posts="6" sort_by="" sort_order="desc" heading="" heading_type="head-c" view_all="" link="" offset="" cat="" terms="" tags="" post_format="" post_t

tech.kakao.com

네이버 : https://d2.naver.com/home

네이버블로그 : https://m.blog.naver.com/naver_search/221217634238

 

네이버 검색의 스마트한 경보 시스템

칼라하리 사막의 바람 까마귀와 미어캣의 공생관계를 아시나요? 바람 까마귀는 독수리가 나타나면 미어캣 ...

blog.naver.com

라인 : https://engineering.linecorp.com/ko/blog/

 

Blog - LINE ENGINEERING

#Android #iOS

engineering.linecorp.com

쿠팡 : https://medium.com/coupang-engineering

 

테크 노트 – Coupang Engineering – Medium

Coupang's development story. Read about our engineers and how they are changing the face of e-commerce and beyond.

medium.com

토스 : https://toss.tech

 

토스 기술 블로그, 토스테크

토스 기술에 대한 모든 이야기를 다룹니다.

toss.tech

직방 : https://medium.com/zigbang/about

 

About 직방 기술 블로그 – Medium

Read more about 직방 기술 블로그. 사람들이 공간을 경험하는 방식을 바꾸고자 합니다.

medium.com

NHN : https://meetup.toast.com/

 

NHN Cloud Meetup - NHN 기술 블로그

기술을 공유하고 함께 성장해가는 개발 문화, NHN이 추구하는 가치입니다.

meetup.toast.com

당근마켓 : https://medium.com/daangn

 

당근마켓 팀블로그 – Medium

당근마켓은 동네 이웃 간의 연결을 도와 따뜻하고 활발한 교류가 있는 지역 사회를 꿈꾸고 있어요.

medium.com

요기요 : https://techblog.yogiyo.co.kr/

 

YOGIYO Tech Blog— 요기요 기술 블로그

요기요 서비스 개발 및 함께 일하는 방식과 문화, 구성원들이 함께 성장하는 경험에 대한 이야기를 나눕니다.

techblog.yogiyo.co.kr

라인 엔지니어링 : https://engineering.linecorp.com/ko/blog/

 

Blog - LINE ENGINEERING

#Android #iOS

engineering.linecorp.com

쏘카 : https://tech.socarcorp.kr/

 

SOCAR Tech Blog

쏘카 기술 블로그

tech.socarcorp.kr

리디북스 : https://www.ridicorp.com/story-category/tech-blog/

 

Tech Blog Archives - 리디주식회사 RIDI Corporation

프론트엔드 기술 스택 대통합 리디북스 모바일 앱, 크로스 플랫폼 도입 과정 5개월 만에 개발해서 1년 만에 300만 다운로드 리디 웹팀에서 경험한 개발자 온보딩 프로세스와 업무 내용을 공유합

ridicorp.com

 

해외 기술 블로그

페이스북(메타) : https://engineering.fb.com/

 

Engineering at Meta

News about Infrastructure Systems, Open Source, Connectivity, Data Center Engineering, and Developer Tools

engineering.fb.com

아마존 : https://developer.amazon.com/en-US/blogs/alexa

 

Amazon (Alexa)

 

developer.amazon.com

애플 : https://developer.apple.com/

 

Apple Developer

There’s never been a better time to develop for Apple platforms.

developer.apple.com

넷플릭스 : https://netflixtechblog.com/

 

Netflix TechBlog

Learn about Netflix’s world class engineering efforts, company culture, product developments and more.

netflixtechblog.com

구글 : https://developers.googleblog.com/

 

Google Developers Blog

News and insights on Google platforms, tools, and events.

developers.googleblog.com

MS : https://techcommunity.microsoft.com/t5/custom/page/page-id/Blogs

 

Blogs - Microsoft Tech Community

238 Views

techcommunity.microsoft.com

링크드인 : https://engineering.linkedin.com/blog

 

LinkedIn Engineering Blog

Co-authors: Samir Jafferali, Viranch Mehta, and Thanglalson Gangte We announced the completion of LinkedIn’s migration to Azure’s edge offering, Azure Front Door (AFD), in June of 2020 and since then we have seen numerous benefits from the switch. Micr

engineering.linkedin.com

슬랙 : https://slack.engineering/

AirBnB : https://medium.com/airbnb-engineering

 

The Airbnb Tech Blog – Medium

Creative engineers and data scientists building a world where you can belong anywhere. http://airbnb.io.

medium.com

Zoom : https://medium.com/zoom-developer-blog

 

Zoom Developer Blog – Medium

All the ways you can join, build, and create on the Zoom Developer platform.

medium.com

Riot Games : https://technology.riotgames.com/

 

The Riot Games Tech Blog

What’s it like to be a part of Riot Tech? Explore everything from titles and personal development to tech challenges and philosophies.

technology.riotgames.com

핀터레스트 : https://medium.com/@Pinterest_Engineering

 

Pinterest Engineering – Medium

Read writing from Pinterest Engineering on Medium. https://medium.com/pinterest-engineering | Inventive engineers building the first visual discovery engine https://careers.pinterest.com/.

medium.com

PayPal : https://medium.com/paypal-tech

 

The PayPal Technology Blog – Medium

The PayPal Technology Blog.

medium.com

eBay : https://tech.ebayinc.com/

 

Tech Blog - eBay Inc.

The eBay Tech Blog is a platform for the company’s engineers, researchers, and product managers to share their work with the worldwide technical community.

tech.ebayinc.com

트위터 : https://blog.twitter.com/engineering/en_us

 

English (US)

Information from Twitter's engineering team about our tools, technology and services.

blog.twitter.com

우버 : https://eng.uber.com/

 

Uber Engineering Blog

Software engineering and technologies that set the world in motion

eng.uber.com

구글 플레이 : https://medium.com/googleplaydev

 

Google Play Apps & Games – Medium

Tips, trends, and industry thoughts for app and game developers building businesses on Google Play.

medium.com

스포티파이(음원 스트리밍) : https://engineering.atspotify.com/

 

Spotify Engineering

Spotify’s official technology blog

engineering.atspotify.com

드롭박스 : https://dropbox.tech/

 

Dropbox Tech Blog

The (not so) hidden cost of sharing code between iOS and Android

dropbox.tech

 

Posted by 知彼知己百戰不殆
,

***************************
APPLICATION FAILED TO START
***************************
Description: Failed to bind properties under 'spring.datasource.hikari' to com.zaxxer.hikari.HikariConfig: Property: spring.datasource.hikari.driver-class-name Value: net.sf.log4jdbc.sql.jdbcapi.DriverSpy Origin: class path resource [application.properties]:4:44 Reason: Failed to load driver class net.sf.log4jdbc.sql.jdbcapi.DriverSpy in either of HikariConfig class loader or Thread context classloader

구글링을 해도 gradle을 새로고침 하라는 얘기밖에 없었다. 하지만 난 이미 jar파일을 가지고 있었고, devtool로 스프링부트를 구동중이었으므로 변경되면 자동으로 스프링부트가 업데이트 되므로 당연히 적용이 돼있을 줄 알았다. 하지만 계속 에러가 나길래 서버를 완전히 끄고 재기동 했더니 잘 올라간다...

devtool로 실행해도 gradle로 새로 가져온 jar파일은 바로 적용이 안되는 것 같다.

Posted by 知彼知己百戰不殆
,