We are not sure the true origins of some foods, especially seafood.

Today the cafeteria provided dongtae jjigae.

I ate all my frozen blueberries that I purchased when I had corona.

The Pastor at the Church there was very few people that attended the service due to the flu, so we have to be careful.

What does H1 and H2 stand for?
In short, H1 means the first half of the year and H2 means the second half of the year. Thus, H1 corresponds to January, February, March, April, May, and June. H2 corresponds then to July, August, September, October, November, and December.

 

correspond to : 일치하다, 부합하다, (~에) 해당[상응]하다


If I met a elderly person who knew about computers quite well, it would motivate me to study more as I age to protect myself from dementia.

 

dementia : 치매


The age to start learning is good for Hangul and English.

The 3 major fried chicken places frequently raise their prices which makes people angry.

If you eat too much of the same item you will get sick of it.

'English' 카테고리의 다른 글

Study English 23.08.18  (0) 2023.09.03
Study English 23.08.17  (0) 2023.09.03
Study English 23.08.15  (0) 2023.09.03
Study English 23.08.14  (0) 2023.08.30
Study English 23.08.13 Tuning Spark 번역4  (0) 2023.08.19

Semiconductor : 반도체

I don't think it's the right choice to refuse going to a chip manufacturer
and getting into medical school in order to earn a higher salary. 
Some people say they go to Coupang for a part time job.
Fulltime Workers at Coupang are forbidden from working two jobs.
What does a digital nomad do?
Digital nomads are people who are location-independent and use technology to perform their job, living a nomadic lifestyle. Digital nomads work remotely, telecommuting rather than being physically present at a company's headquarters or office.
I hope Korea can grow to accept various types of sexually oriented couples in the future.
The noodles are getting swollen from sitting in the lemonade for 30min.
I tried the 도시락 for the first time after a Sauna and it was super nice.
One of my friends living in Incheon for 5 years still doesn't know how to speak Korean fluently.

 

'English' 카테고리의 다른 글

Study English 23.08.17  (0) 2023.09.03
Study English 23.08.16  (0) 2023.09.03
Study English 23.08.14  (0) 2023.08.30
Study English 23.08.13 Tuning Spark 번역4  (0) 2023.08.19
Study English 23.08.12 Tuning Spark 번역3  (0) 2023.08.19

첫번째 줄 : 한글

두번째 줄 : translation myself

세번째 줄 : google bard

네번째 줄 : chatGPT

 

 

요새 계속 번아웃때문에 고생하고 있다.

These days I have suffered from burnout. 

- I've been struggling with burnout lately.

- Lately, I've been struggling a lot due to continuous burnout. 

 

퇴근하거나 주말이 되면 아무것도 하기 싫고 침대에 누워만 있고 싶다.

I don't wanna do anything, just lie down on the bed after work or at weekend.

- When I get off work or on weekends, I don't want to do anything and just want to lie in bed.

- When I finish work or it's the weekend, I don't feel like doing anything and just want to lie in bed.

 

그 좋아하던 운동도 가기 싫고 억지로 공원에 나가도 멍때리고 오기만 한다.

I'm sick of even working out I liked, and if I go to the park by force, I just space out.

- I don't even want to go to the gym that I love, and even if I go out to the park reluctantly, I just stare blankly.

- Even the exercise I used to enjoy feels unappealing, and when I force myself to go to the park, I end up just zoning out and coming back. 

 

reluctantly : 마지못해

unappealing : 매력없는

 

번아웃은 직장에서 매니저가 날 괴롭히기 때문에 왔다.

I got burnout because my manager bullies me.

- Burnout came because my manager at work was bullying me.

- The burnout has come from my manager at work constantly bothering me. 

 

내가 하는 일마다 트집을 잡고 시비를 건다.

He cavils and complains against what I do.

- He picks on and argues with me about everything I do.

- They nitpick and pick fights about everything I do. 

 

nitpick

1.자동사 구어 하찮은 일에 끙끙 앓다, 별것 아닌 트집[흠]을 잡다, 자잘한 일에까지 간섭하다
2.타동사 <별것 아닌 것을> 꼬치꼬치 캐다, …의 흠을 잡다

 

열심히 하려고 한 일을 곡해해서 일부러 나쁜 의도를 갖고 있다고 혼자 생각하더라.

He misunderstands what I do with bad purpose even It was what I tried better.

- He misinterprets my hard work and thinks to himself that I have a bad intention on purpose.

- I even started to believe that they intentionally have ill intentions by complaining about my hard efforts.

 

misinterpret : 잘못 해석하다, 잘못 이해하다

 

게다가 내 커리어에 도움이 안 되는, 처음 다뤄보는 Spring 기반 프로젝트를 하면서 욕을 먹는데 이게 너무 힘들다.

Moreover, when I get blamed while I do a Spring project which I've never treated and doesn't help to my career, I feel tired.

- In addition, I am being criticized for working on a Spring-based project that is not helpful to my career and is new to me, and this is too difficult.

- Moreover, I'm dealing with a Spring-based project that I've never encountered before, and it's tough to handle the criticism, especially when it doesn't contribute to my career. 

 

내 커리어에 도움이 되는 일을 하면서 욕먹으면 그나마 다행일텐데.

It would be better to get blamed while I do some projects which helps to my career.

- It would be a blessing if I was criticized while doing something that is helpful to my career.

- It would be somewhat better if I faced criticism while doing something beneficial for my career. 

 

아무튼 나의 젊은 날은 고난과 번아웃으로 버려지고 있다.

Anyways, My young season has dumped by troubles and burnout.

- Anyway, my youth is being wasted by hardship and burnout.

- Anyway, my youthful days are being consumed by hardships and burnout. 

 

세상이 주는 역경을 헤쳐나갈 수 있도록 마음을 굳게 먹는다.

I fully determine to overcome many troubles from the world.

- I make up my mind to overcome the adversity the world gives me.

- I resolve to strengthen my heart to overcome the challenges life presents.

 

adversity : 역경

 

나는 할 수 있다.

I can do it.

 

나는 내가 바라는 내가 되어 걱정없이 행복하게 살 것이다.

I will be happy without any concern as me who I've been eagar to become.

- I will become the person I want to be and live happily without worries.

- I will become the person I aspire to be and live happily without worries. 

 

나는 할 수 있다!

I CAN DO IT!

 

 

'English' 카테고리의 다른 글

Study English 23.08.16  (0) 2023.09.03
Study English 23.08.15  (0) 2023.09.03
Study English 23.08.13 Tuning Spark 번역4  (0) 2023.08.19
Study English 23.08.12 Tuning Spark 번역3  (0) 2023.08.19
Study English 23.08.11 Tuning Spark 번역2  (0) 2023.08.19

 

class MyClass{
	enum Enum1 {A,B,C}
	
	enum Enum2{
		A(1), B(2), C(4);

		private int value;
		private Enum2(int value) {
			this.value = value;
		}
		public int getValue() {
			return this.value;
		}
	}
	
	public void printEnum() {
		System.out.println(Enum1.A); //A
		System.out.println(Enum1.B); //B
		System.out.println(Enum2.A.getValue()); //1
		System.out.println(Enum2.C.getValue()); //4
	}
}

 

 

Enum 내부의 상수들은... 의미상 상수처럼 쓸 수 있지만 사실 인스턴스이다....

enum 이 class 라고 생각하면 더 이해하기 편할 듯

 

위에 예제에서 Enum1 내부 A, B, C 는 사실 Enum1 자기 자체를 구현한 인스턴스들임.

Enum1 A = new Enum1();

Enum1 B = new Enum1();

Enum1 C = new Enum1();

 

그럼에도 불구하고 출력했을 때 왜 "A", "B" 가 나오는지는 모르겠음.

 

이와 동일하게, Enum2 내부 A, B, C 도 마찬가지로 Enum2 를 구현한 인스턴스들임.

Enum2 A = new Enum2(1);

Enum2 B = new Enum2(2);

Enum2 C = new Enum2(4);

 

Enum2 는 자체 생성자를 갖고있기 때문에,

생성자에 맞춰서 실행 한 것.

 

 

Generic 을 한 눈에 파악하기 위해 간단한 샘플 코드를 작성해 봄

 

public class Test {

	public static void main(String[] args) {
		MyClass<String> TisString = new MyClass<>("Hi!");
		System.out.println(TisString.getItem()); //Hi!
		
		MyClass<Integer> TisInteger = new MyClass<>(123);
		System.out.println(TisInteger.getItem()); //123
	}
}

class MyClass<T>{
//	static T staticItem; //T 는 static 멤버의 타입으로 넣을 수 없음
	T item;
	MyClass(T item){
		this.item = item;
	}
	T getItem() {
		return this.item;
	}
}

 

만약 MyClass 에 extends 를 통해 제한을 걸게된다면?

public class Test {

	public static void main(String[] args) {
		MyClass<String> TisString = new MyClass<>("Hi!");
		System.out.println(TisString.getItem()); //Hi!
		
		//Integer 는 String 의 자손이 아니기 때문에, 아래부터 컴파일 에러가 뜸 
		//MyClass<Integer> TisInteger = new MyClass<>(123);
		//System.out.println(TisInteger.getItem()); //123
	}
}

class MyClass<T extends String>{
	T item;
	MyClass(T item){
		this.item = item;
	}
	T getItem() {
		return this.item;
	}
}

 

 

Generic Class 를 파라미터로 갖는 메소드를 사용하려면 다음과 같이 가능하지만

String, Integer 외에 다른 타입, 이를테면 Character, Long 등의 타입을 받으려면 printT3, printT4.... 를 더 만들어야 함

 

public class Test {

	public static void main(String[] args) {
		MyClass<String> TisString = new MyClass<>("Hi!");
		printT1(TisString);
		
		MyClass<Integer> TisInteger = new MyClass<>(123);
		printT2(TisInteger);
	}
	
	static void printT1(MyClass<String> myClass) {
		System.out.println(myClass.getItem());
	}

	static void printT2(MyClass<Integer> myClass) {
		System.out.println(myClass.getItem());
	}
    
    //필요하면 더 만들어야 함..
}

class MyClass<T>{
	T item;
	MyClass(T item){
		this.item = item;
	}
	T getItem() {
		return this.item;
	}
}

 

따라서 메소드에 Wildcard 를 사용하여 모든 타입을 받아줄 수 있도록 함

여기서 static 의 유무는 Generic 과는 상관 없음

public class Test {

	public static void main(String[] args) {
		MyClass<String> TisString = new MyClass<>("Hi!");
		printT(TisString);
		
		MyClass<Integer> TisInteger = new MyClass<>(123);
		printT(TisInteger);
	}
	
	static void printT(MyClass<?> myClass) {
		System.out.println(myClass.getItem());
	}
}

class MyClass<T>{
	T item;
	MyClass(T item){
		this.item = item;
	}
	T getItem() {
		return this.item;
	}
}

혹은 다음과 같이 Generic Method 를 만들면, Method 에 Generic 을 넣을 수 있다.

public class Test {

	public static void main(String[] args) {
		MyClass<String> TisString = new MyClass<>("Hi!");
		printT(TisString);
		
		MyClass<Integer> TisInteger = new MyClass<>(123);
		printT(TisInteger);
	}
	
	static <T> void printT(MyClass<T> myClass) {
		System.out.println(myClass.getItem());
	}
}

class MyClass<T>{
	T item;
	MyClass(T item){
		this.item = item;
	}
	T getItem() {
		return this.item;
	}
}

 

WildCard 랑 Generic Method 랑 무슨 차인지 모르겠음

WildCard 에만 상한/하한 제한을 줄 수 있다는 것 외에는...

 

Generic 타입은 컴파일러에 의해 모두 제거된다.

예를 들어, Generic 이 아름답게 수놓아진 코드를 컴파일한다고 하자.

이 코드 내의 Generic 은 컴파일러에 의해 String, MyClass, Integer ,,,, 등으로 바뀐다.

그래서 그 결과물(.class 파일) 내에서 Generic (T) 은 없다.

 

 

 

+ Recent posts