글

The ideal which contains unit is whole ring.

$R$ : ring with unity, $J$ : ideal of $R$. Suppose that unit $u \in J, \exists u\in R$. Then, $x \in R \implies x \cdot u^{-1} \in R \implies (x \cdot u^{-1}) \cdot u \in J \implies x \in J \  (\forall x \in R)$. Hence, $R \subseteq J$, and by definition of ideal, $J \subseteq R$. $\therefore R = J$

oppress vs repress vs suppress

  'v.탄압하다, 억압하다'  라는 뜻으로 사용될 때, oppress는 힘이나 권력, 권한으로 누군가를 압박하고 탄압한다는 뜻이 강합니다. repress는 욕망, 감정 행동, 눈물등을 억누른다는 뉘앙스가 강하고, suppress는 앞의 두개에 비해서 더 넓은 의미로 사용됩니다. Example Sentences oppress Madison, in particular, worried that a majority might oppress minorities and that elected representatives might legislate out of "passion". [The Economist] They tout arguments about the existence of a monarchy being a root cause of oppression, economic decline, and no doubt soon global warming. [Telegraph] repress I have come to believe that seasoned reporters seem to somehow repress their natural instincts. [The Age] Anger, especially in men, is often an undiagnosed sign of depression and repressed grief that needs a healthy expression and healing. [National Review] suppress There is no evidence he has falsified or suppressed data. [Washington Post] Several candidates have complained their ridings are being targetted to annoy voters and possibly suppress the vote on electi...

announce vs pronounce

  'v.선언하다, 발표하다, 알리다' 라는 뜻으로 사용될 때, pronounce는 announce에 비해서 좀더 격식을 차려서 공식적(authoritative, explicit, formally)으로 말할 때 쓴다. 굳이 구분하지 않고 섞어서 쓰는 경우도 있는 것 같다. 하지만 아래 예문에서 볼 수 있듯이 중요한 일일 경우 pronounce를 쓰는 경우가 많다. Example Sentences announce The government yesterday announced to the media plans to create a million new jobs. We are pleased to announce that all five candidates were successful. It was announced that new speed restrictions would be introduced. pronounce I   now   pronounce   you   man   and   wife . He   pronounced   the   country   to   be   in   a   state   of   war . On the death of Mary queen of Scots he was chosen to  pronounce  her eulogy. Reference  [1] Oxford Advanced Learner's English-Korean Dictionary

Precision safe conversion from float to double in Java

  Java/Kotlin에서 float 타입 변수를 double 타입 변수에 대입할 때, <Code 1> 과 같이 하게 되면 값의 precision에 문제가 생긴다. 물론, 개발자가 의도한 것일 수도 있지만, 가끔씩 이를 무시하고 지나치면 계산 결과가 달라질 수 있기 때문에 주의를 요해야 한다. 가장 간단한 해결책은 float 변수에 저장된 값을 String 타입으로 잠시 type casting한 다음 결과를 얻는 것이다.   그러면 결과적으로, float 타입의 precision으로 저장되어있던 실수값을 double type의 precision으로 변환할 수 있다. 이 문제는 단순히 Java Float native class의 toDouble 멤버함수의 문제이므로, 다른 언어에서는 발생하지 않을수도 있겠다. fun main(args: Array ) { // Kotlin var f: Float = 0.1f; var d_convert: Double = f.toString().toDouble(); var d_ordinary: Double = f.toDouble(); println("%.30f".format(f)); println("%.30f".format(d_convert)); println("%.30f".format(d_ordinary)); } <Code 1> 0.100000001490116120000000000000 0.100000000000000000000000000000 0.100000001490116120000000000000 <Result 1>

Wise saying from John B. Fraleigh

"Never underestimate a theorem that counts something" 

데니스 리치(Dennis Ritchie)께서는 X3J11 type qualifiers가 싫다고 하셨어.

Motivation 기억 안남 Article   [1] 은 데니스 리치가 X3J11 위원회가 제안한 C89 표준 내용 중 type qualifier에 이의를 제기하려고 보낸 메일 내용이다. 내가 이 고대문서에 흥미를 가지게 된 이유는, LLVM( Low Level Virtual Machine )에서 떡하니 자리를 차지하고 있는 'noalias' keyword가 데니스 리치에 의해서 과거 C표준으로 부터 제거되었다는 사실 때문이다. 그런데 이 메일에서 지적하고 있는 C 표준문서 버전 ANSI X3J11/88-001은 인터넷을 아무리 뒤져봐도 찾을 수가 없었다. [3] 에 따르면, 그나마 구할수 있는 가장 가까운 버전인  ANSI X3J11/88-090  에서는 'noalias' keyword에 관한 내용이 이미 수정된 것 같다. - X3J11?   X3J11은 ANSI의 C표준 위원회( 1983-1989) 이다. X3는 컴퓨팅(computing)과 관련되었다는 뜻이고, J는 X3안에서의 카테고리를 나타내며, 11은 그냥 위원회에게 주어지는 숫자이다. (X3J3 Fortran 위원회와 X3J16 C++ 위원회도 있음) 이 메일에서 리치는 ANSI X3J11/88-001의 문제점 두 가지에 대해서 이야기하고 있다. 1. 'const' type qualifier의 정의의 문제점. 2. 'noalias' type qualifier의 삭제. 1번은 그렇다 치고, 내가 관심있는 2번 내용이 C89/C90에서 삭제된 이후 C99에서 다시 'restrict' keyword로 부활했다는 점에대해서 조사해보고 싶은데, ANSI와 ISO 둘 다 C89/C90 시대의 draft들을 성실히 보관하지 않아서 진상을 확인할 수 없다. 혹시 X3J11/88-001 문서를 가지고 있거나, Archive URL을 알고계신 분이 있다면 도와주시면 감사하겠습니다. Reference [1] ...

영화 'Call me by your name'의 OST 중 'Visions of Gideons' 번역 및 해석

이미지
[주의] 영화의 마지막 장면을 가지고 쓴 글입니다. 영화를 안 보신 분 중 스포일러를 당하기 싫으시다면 '뒤로가기'를 눌러주세요. 얼마전 분수에 넘치게 'Call me by your name' 이란 영화를 정식 개봉전(!!)에 볼수있는 기회를 얻었다. 원작소설과는 다르게 현재진행형으로, 그리고 오직 영상미만 가지고 이야기를 풀어나가서 더 좋았다. 아, 그렇다고 원작소설에서 'Elio'가 1인칭 주인공시점으로 말하는게 재미없었다는건 아니다.  Call me by your name (2017), Luca Guadagnino 필자가 영화를 정정당당하게 봤음을 보여주는 사진 다른 영화같았으면 OST 가사가지고 포스팅 '씩이나' 쓰는 정성을 들이진 않았겠지만, 영화의 마지막 장면이 나에게 굉장한 임팩트로 다가왔기 때문에 몇글자 적어본다. Call me by your name (2017), Last scene Elio가 Oliver의 결혼 소식을 듣고 벽난로 앞에 앉아서 타오르는 불을 바라보며 기기묘묘한 표정을 짓는데, 이게 Sufjan Stevens(수프얀 스티븐스)의 'Visions of Gideons'와 맞물려서  감동의 쓰나미로 내 마음을 강타해 버렸다. 참고로, 'Visions of Gideons'는 있던 노래를 영화에 붙인게 아니라, Sufjan Stevens가 영화를 위해서 쓴 곡이다[4]. Lyrics of 'Visions of Gideons' I have loved you for the last time Is it a video? Is it a video? I have touched you for the last time Is it a video? Is it a video? For the love, for laughter, I flew up to your arms Is it a video...