바탕화면이 뜨지 않고, 계속 새로고침 되면서 렉이 걸리는 경우가 있다.

이때, 다른 해결 방법이 통하지 않는다면 파일이 너무 많아서 불러오지 못하는 경우다.

탐색기도 실행하지 못할 가능성이 크다. 따라서 cmd를 열고, cd Desktop 명령어를 통해

직접 바탕화면 폴더로 들어가서 dir을 치면 파일 목록이 나온다.

이때 원인이 되는 파일을 del *.(확장자) 명령어로 삭제한다.

PPT는 어찌저찌 해결했지만 한글 HWP 변환도 귀찮다.

외국 사이트라 그런지 웹 사이트 변환도 형편없다.

따라서 자체적으로 한글과 컴퓨터에서 제공하는 pdf 변환을 이용해보자.

프린터 목록에서 다음과 같은 프린터를 찾는다. 한글을 깔았다면 분명 있을 것이다.

 

프린터를 클릭해서 위와 같은 창을 열고 한글 파일을 드래그해서 넣으면 된다.

이름을 지정해줘야 하기 때문에 조금 번거롭지만, 하나하나 변환하는 것보다는 편하다.

 


추가 방법

한글 설치 폴더에 HwpPrnMng 라는 프로그램이 있다.

여기서 HancomPDF 나 Print to PDF 등의 PDF 인쇄 장치를 선택해서 인쇄한다.

여러 파일을 한번에 추가할 수도 있다.

 

 

https://www.adobe.com/kr/acrobat/online/pdf-editor.html?cgen=9MZL45FP&mv=other&mv2=t241
추가로 웹 상에서 pdf를 편집할 수 있는 어도비 공식 사이트가 있다.
설치 안해도 여러 기능을 이용할 수 있다는 점에서 간편 한 듯.

Better beware of notions like genius and inspiration; they are a sort of magic wand and should be used sparingly by anybody who wants to see things clearly. (José Ortega y Gasset, “Notes on the novel”)

Does one have to be a genius to do mathematics?

The answer is an emphatic NO. In order to make good and useful contributions to mathematics, one does need to work hard, learn one’s field well, learn other fields and tools, ask questions, talk to other mathematicians, and think about the “big picture”. And yes, a reasonable amount of intelligence, patience, and maturity is also required. But one does not need some sort of magic “genius gene” that spontaneously generates ex nihilo deep insights, unexpected solutions to problems, or other supernatural abilities.

The popular image of the lone (and possibly slightly mad) genius – who ignores the literature and other conventional wisdom and manages by some inexplicable inspiration (enhanced, perhaps, with a liberal dash of suffering) to come up with a breathtakingly original solution to a problem that confounded all the experts – is a charming and romantic image, but also a wildly inaccurate one, at least in the world of modern mathematics. We do have spectacular, deep and remarkable results and insights in this subject, of course, but they are the hard-won and cumulative achievement of years, decades, or even centuries of steady work and progress of many good and great mathematicians; the advance from one stage of understanding to the next can be highly non-trivial, and sometimes rather unexpected, but still builds upon the foundation of earlier work rather than starting totally anew. (This is for instance the case with Wiles‘ work on Fermat’s last theorem, or Perelman‘s work on the Poincaré conjecture.)

Actually, I find the reality of mathematical research today – in which progress is obtained naturally and cumulatively as a consequence of hard work, directed by intuition, literature, and a bit of luck – to be far more satisfying than the romantic image that I had as a student of mathematics being advanced primarily by the mystic inspirations of some rare breed of “geniuses”. This “cult of genius” in fact causes a number of problems, since nobody is able to produce these (very rare) inspirations on anything approaching a regular basis, and with reliably consistent correctness. (If someone affects to do so, I advise you to be very sceptical of their claims.) The pressure to try to behave in this impossible manner can cause some to become overly obsessed with “big problems” or “big theories”, others to lose any healthy scepticism in their own work or in their tools, and yet others still to become too discouraged to continue working in mathematics. Also, attributing success to innate talent (which is beyond one’s control) rather than effort, planning, and education (which are within one’s control) can lead to some other problems as well.

Of course, even if one dismisses the notion of genius, it is still the case that at any given point in time, some mathematicians are faster, more experienced, more knowledgeable, more efficient, more careful, or more creative than others. This does not imply, though, that only the “best” mathematicians should do mathematics; this is the common error of mistaking absolute advantage for comparative advantage. The number of interesting mathematical research areas and problems to work on is vast – far more than can be covered in detail just by the “best” mathematicians, and sometimes the set of tools or ideas that you have will find something that other good mathematicians have overlooked, especially given that even the greatest mathematicians still have weaknesses in some aspects of mathematical research. As long as you have education, interest, and a reasonable amount of talent, there will be some part of mathematics where you can make a solid and useful contribution. It might not be the most glamorous part of mathematics, but actually this tends to be a healthy thing; in many cases the mundane nuts-and-bolts of a subject turn out to actually be more important than any fancy applications. Also, it is necessary to “cut one’s teeth” on the non-glamorous parts of a field before one really has any chance at all to tackle the famous problems in the area; take a look at the early publications of any of today’s great mathematicians to see what I mean by this.

In some cases, an abundance of raw talent may end up (somewhat perversely) to actually be harmful for one’s long-term mathematical development; if solutions to problems come too easily, for instance, one may not put as much energy into working hard, asking dumb questions, or increasing one’s range, and thus may eventually cause one’s skills to stagnate. Also, if one is accustomed to easy success, one may not develop the patience necessary to deal with truly difficult problems (see also this talk by Peter Norvig for an analogous phenomenon in software engineering). Talent is important, of course; but how one develops and nurtures it is even more so.

It’s also good to remember that professional mathematics is not a sport (in sharp contrast to mathematics competitions). The objective in mathematics is not to obtain the highest ranking, the highest “score”, or the highest number of prizes and awards; instead, it is to increase understanding of mathematics (both for yourself, and for your colleagues and students), and to contribute to its development and applications. For these tasks, mathematics needs all the good people it can get.

Further reading:

  • How to be a genius“, David Dobbs, New Scientist, 15 September 2006. [Thanks to Samir Chomsky for this link.]
  • The mundanity of excellence“, Daniel Chambliss, Sociological Theory, Vol. 7, No. 1, (Spring, 1989), 70-86. [Thanks to John Baez for this link.]

출처 : Terence Tao, https://terrytao.wordpress.com/career-advice/does-one-have-to-be-a-genius-to-do-maths/

내가 exe로 만드려는 python 파일은

keyword.py 나 뭐 module.py 나 이딴 이름으로 하면

기존에 있던 모듈이랑 이름이 충돌해서 에러뜸

프로젝트 파일은 무조건 충돌 날 여지 없이 프로젝트 명으로 합시다.

 

partiAttributeError: partially initialized module 're' has no attribute 'compile' (most likely due to a circular import)

ImportError: cannot import name 'namedtuple' from 'collections'

 

검색 결과가 나올리가 없지...

서피스에 깔려 있던 원노트가 윈도우10버전이긴 어둡게 설정하기가 없는 업데이트가 안 된 버전이었다.

따로 업데이트 방법을 못찾아서 그냥 삭제하고 다시 깔아야지 했는데 다시 깔려고 공식 홈페이지에서

깔아보니까 자꾸 원노트2015만 깔렸다. 아무리 검색해도 절대 원노트 2019를 못찾아서 암이 걸릴 지경이었는데

 

아주 간단하게 마이크로소프트 스토어에서 원노트를 설치하면 해결된다. 심지어 최신버전이다.

머신러닝 공부를 본격적으로 시작하였다.

하지만 머신러닝을 공부하면 할 수록 통계학을 알 필요가 더 생긴다.

일단 기본적인 수식이나 원리들이 죄다 통계다. 통계를 조금이라도 모르면

말귀를 못 알아듣겠다. 그래서 몇가지 대안을 찾았는데..

 

이 책

Allen Downey - Think Stats

 이 강의

 

경제통계학 : 서울대학교 류근관 교수님

 http://www.kmooc.kr/courses/course-v1:SNUk+SNU212_204_1k+2019_T2/about

 

책을 볼까 강의를 들을까

아니면 둘 다 볼까?

 

통계적으로 조금 더 알면 머신러닝에 적용하는 통계학 서적으로

The Elemetns of Statistical Learning / Trevor Hastie

Modern Mathematical Statistics with Applications / Jay L. Devore

An Introduction to Statistical Learning (with Applications in R) / Gareth James 

Pattern Recognition and Machine Learning / Christopher M. Bishop 

 

정도가 업계 바이블로 꼽히는 것 같다. 하지만 영어다. 내용을 몰라서 어느정도 깊이의 통계학을 다루고 있는지

책을 이해할 수 있는 대상이 누군지 모르겠다. 하루 빨리 영어를 극복하지 않으면 안된다.

 

솔직히 이정도면 컴퓨터공학과 괜히 온 것 같다는 생각이 문뜩 들기도 한다.

컴퓨터는 계산기일 뿐이지, 핵심적인 아이디어는 전부 통계학인것 같다.

어차피 수학 공부할거면 통계학과가 나았나? 아니면 문과로 경제학과 갔어도 크게 상관없었을 것 같다.

머신러닝과 컴퓨터공학의 교집합을 최대한 생각해보자.

결국, 머신러닝으로 나를 이끈 것도 컴퓨터에 대한 애정이니,,

일괄변환 프로그램이나 사이트는 많다. 

하지만 이미지가 이리저리 깨지는 경우가 생김.

파워포인트로 열고, 그 안에서 pdf로 내보내기 하면 정상.

파워포인트 내에서는 일괄적으로 변환하기 어렵다.

 

파워포인트 매크로를 이용해서 폴더안에 있는 pptx 파일을 

파워포인트를 통해서 한번에 pdf 로 내보내기 할 수 있다.

날짜를 입력하고 슬라이드 쇼를 연 다음 버튼을 누르자.

# 혹시 매크로를 보안 문제로 막아놓은 경우 풀고 사용하자.

 

파일로 만들어놓았으니 다운받아서 사용하세요
PPTX PDF 일괄변환210707.pptm
0.05MB

# code

Sub PPTFilesToPDF()

Dim objPresentaion As Presentation
Dim objSlide As Slide
Dim objTextBox As Shape

Set objPresentaion = ActivePresentation
Set objSlide = objPresentaion.Slides.Item(1)
Set objTextBox = objSlide.Shapes.Item(1)


    Dim sFolder As String
    Dim sFile As String
    Dim ppApp As PowerPoint.Application
    Dim ppPres As PowerPoint.Presentation
    Dim bNewInstance As Boolean
    
    sFolder = objTextBox.TextFrame.TextRange.Text 'change the path accordingly'
    If Right(sFolder, 1) <> "\" Then
        sFolder = sFolder & "\"
    End If
    
    sFile = Dir(sFolder & "*.pptx", vbNormal)
    
    If Len(sFile) = 0 Then
        MsgBox "No files found.", vbExclamation
        Exit Sub
    End If
    
    On Error Resume Next
    Set ppApp = GetObject(, "PowerPoint.Application")
    If ppApp Is Nothing Then
        Set ppApp = CreateObject("PowerPoint.Application")
        bNewInstance = True
    End If
    On Error GoTo 0
    
    Do While Len(sFile) > 0
        Set ppPres = ppApp.Presentations.Open(sFolder & sFile)
        sFile = Left(sFile, Len(sFile) - 5)
        ppPres.ExportAsFixedFormat sFolder & sFile & ".pdf", ppFixedFormatTypePDF, ppFixedFormatIntentPrint
        ppPres.Close
        sFile = Dir
    Loop
    
    If bNewInstance Then _
        ppApp.Quit
    
    Set ppApp = Nothing
    Set ppPres = Nothing
    
    MsgBox "Completed...", vbInformation
    
End Sub

21.07.07 

화질 저하 이슈에 대해.

 

ppPres.ExportAsFixedFormat sFolder & sFile & ".pdf", ppFixedFormatTypePDF, ppFixedFormatIntentScreen

웹 저장용 화질 (저화질)

 

ppPres.ExportAsFixedFormat sFolder & sFile & ".pdf", ppFixedFormatTypePDF, ppFixedFormatIntentPrint

인쇄용 화질(고화질) 

 

필요에 따라 매크로 수정.

파일은 고화질 저화질 선택할 수 있도록 수정했습니다.

 

소스코드를 외부에서 불러오면 빌드했을때 이런거 뜸

내 경우의 정답을 찾았다. 빌드 버전이니 컴파일러니 링커니 그딴거 상관없고

외부에서 불러온 소스 파일이 C 인데 내가 원래 쓰던 소스파일이 CPP 이다 하면

맛이 가는 현상이 일어난다는 것. 그러므로 그냥 소스 파일 확장자를 cpp로 바꿔주자.

 

이쪽에 페이지 제목 맨 윗줄 1픽셀이 잘림.

지금은 해결된 상태고 검색해도 안나와서 너무 빡침

여기서 글씨 크기를 조정하면 끝. 부작용도 없음.

 

두번째 방법은

고급배율에서 기본 125%에서 124% 아니면 그 밑으로 줄이면 됨.

나는 전체적으로 너무 작아진다 싶어서 1포인트만 낮췄다.

다만 PC카카오톡이 작아짐. 10의 배수 % 설정이 아니면 인식을 못하는건지 모르겠음.

그런 의미에서 120%해도 괜찮음. 

 

물론, 124% 비율에서 작아진 카톡도

설정에서 이렇게 125퍼 하면 다시 커짐.

다른 프로그램도 이렇게 작아지거나 하면 알아서 크기 조정하면 됨.

 

 

+ Recent posts