2018년 12월 26일 수요일

mutual dependency between base class and derived class

_( duckduckgo search:    C++ programming mutual include problem )_
result:
1
[https://stackoverflow.com/questions/625799/resolve-build-errors-due-to-circular-dependency-amongst-classes](Link URL)

2
[https://stackoverflow.com/questions/8526819/c-header-files-including-each-other-mutually](Link URL)

3
[https://stackoverflow.com/questions/5894385/c-include-problem](Link URL)

4
http://www.cplusplus.com/forum/articles/10627/

-
5
https://stackoverflow.com/questions/53515844/removing-circular-dependencies-between-classes-in-c
내가 찾던 스타일의 문제 해결로 보인다.
interface 를 도입해서 해결하는 방식으로...

--
하지만, 최종 해결은 class 라는 key-word 를 이용해서 forward declaration 을 통해 해결하였다. 위의 연결 1, 2, 3, 4 의 내용에 의한 해결 방법이다. interface 를 도입하는 것은 내가 겪은 문제에 대해서는 지나치게 복잡하고 관련성이 부족한 방법이었다고 결론 내렸다.
-
190203 ...
Effective C++ 2판 책 (번역본 대림출판사; Effictive C++ 2편 ISBN 89-7280-425-8)에 내가 겪은 것과 유사한 사례를 다루고 있었다.
(159쪽 [항목 34] 파일간의 컴파일 의존성(dependency)을 최소화하라
(159쪽부터 170쪽 까지)
(165쪽) 에는이 첵에서 다른 부분에서는 소개 되지 않는 용어가 나온다.
[Handle/Body] class
[Envelope/Letter] class

8쪽의 감사의 글 내용에 의하면, 이 [항목 34]에 나온 용어들은
(Jim Coplien) 저자의, ( Advanced C++: Programming Styles and Idioms )에 나오는 것이며, 이와 유사한 글이 현재 인터넷에 있는데, 같은 저자의 글이며, 이 글을 (디자인 패턴) 스타일로 고쳐서 쓴 것이라고 한다.
https://sites.google.com/a/gertrudandcope.com/info/Publications/Patterns/C--Idioms
이것은 GoF 의 디자인 패턴 목록에는 나오지 않는 것이다. 아마도 다른 저자(프로그래머)의 패턴 목록 확장으로 받아들이면 될 것 같다. 하지만, 그 글 자체(Advanced C++: Programming Styles and Idioms)는 GoF의 디자인 패턴 책보다 몇 년 이전에 나온 글이다.

여기의 목록 중에서, ....
https://sites.google.com/a/gertrudandcope.com/info/Publications#fullbib

아래의 항목을 찾으면 위의 ( C++ Idioms Patterns ) 문서를 아래와 같이 찾을 수 있다.
136
James O. Coplien. C++ Idioms Patterns. In Brian Foote, Neil Harrison, and Hans Rohnert, editors, Pattern Languages of Program Design 4, chapter 10, 167-197. Addison Wesley, Reading, MA, 2000.
-
아래의 page 에서 PDF file 을 다운로드 받을 수 있게 되어 있는데,
이 문서에는 위에서 나온 용어들에 대한 설명이 있는 백서(white paper) 를 download 받을 수 있다.

https://sites.google.com/a/gertrudandcope.com/info/Publications/Patterns/WhitePaper

PDF는 아래에서 다운로드
https://docs.google.com/viewer?a=v&pid=sites&srcid=Z2VydHJ1ZGFuZGNvcGUuY29tfGluZm98Z3g6MTI4MjVhZjFmMmJmY2NmOA

TDD, CDD
https://www.infoq.com/interviews/coplien-martin-tdd#anch19279
-
-

2018년 10월 3일 수요일

kee ANYWHERE (KeePass플러그인(plugin) ) 설정 기본 저장소 변경에 대한 의문

아래는 kee anywhere 라는 KeePass plugin 모듈 프로그램(독립개발 모듈)의
기존 저장소가 버전 올림에 딸 바뀌었다는 내용의 공지이다.
왜 바뀐 것인지 모르겠다. 궁금하다.
제목 말고 둘째 줄의 ( Noteworthy: ) 이후의 내용이 그것이다.
사용자(User)의 ( Roaming AppData ) 폴더가 디폴트가 되었다는 것이다. 왜 그럴까?
기존의 사용자(User)의 ( Local AppData ) 폴더는 왜 디폴트가 아니게 되었을까?

1.5.0 (2018-09-20)

This is mainly a bug-fixing release. KeePass 2.40 or newer is required now (was 2.35).
Noteworthy: Default Storage Location for settings is now in User's Roaming AppData instead of User's Local AppData.

Fixed

  • #90 Update OnHelpMeChooseAccountStorage uri
  • #96 default folder did not create automatically
  • #103 Caching database makes KeePass non-portable
  • #113 Adjust account storage location
  • #122 Fixes syntax in donation text
  • #138 Simple Spelling Correction
  • #141 Incompatible with KeePass 2.40

Improved

  • Updated Dependencies (AWS, Box, Dropbox, Google Drive, OneDrive) 
-
-
-

2018년 9월 17일 월요일

뷰티세이 전화 오는 일/ 자동차보험 견적 알아보기...

나는 여기 ( 뷰티세이 )에 가입한 적이 없다고 하니까. 가입되어 있다고 한다...
전화는02-2142-7963 이었다.

자기네들은 뷰티세이 라는  네이버 같은 포털 사이트라고 한다.
다시 나는 가입한 적이 없다니까, 고객센터로 전화 하란다.
고객센터 : 070-4632-4281 (평일 10~17시)

그런데, 꺼림칙하다. 홈페이지로 가 봤다.
http://www.beautysay.co.kr/common/lostpwd.php

매우 허약해 보이는 곳이다.
자료라고 하는 것들이 2015년에 올린 것들이 최신이다.

아이디 찾기 해봤다. 이것도 꺼림칙하다. 그냥 내 전화번호와 이름을 요구한다.

뉴스기사 목록을 봤다. 화장품이나 미용관련인 듯하다. 그런데 수상한 점이 있다.
뉴스에 날짜가 없다. 이게 무슨 뉴스지? 낯설다.


https://twitter.com/dolmen85/status/495419680283037696

2018년 8월 26일 일요일

소득주도 경제 성장....

지지한다.
--
하지만,너무 힘든 상황인 자영업자인 내게는 아무것도 다가오는 것이 없다.
그저 연명하고 있는 중... 얼마 안 있어 바닥남..
-
-
https://blog.naver.com/ntscafe/221340102845
-
-
http://www.hani.co.kr/arti/politics/bluehouse/859329.html
-
http://www.hani.co.kr/arti/international/international_general/859364.html?_fr=st1
-
-
-

2018년 7월 29일 일요일

Hg 사용방법 정보 ( tortoise Hg , Mercurial )

-
오래 전에 알게 된 적이 있는 조엘 스폴스키 ( Joel Spolsky ) 의 설명서
http://hginit.com/
한글로 번역된 것도 있을 것이다. 찾아봤다.
-
hginit 한글 번역 페이지 결론
https://surpreem.com/hg-init-a-mercurial-tutorial-introduction/
-
번역을 찾는데 곡절이 좀 있었다. 아래와 같다.
--
구글검색했는데, 아래의 bloodguy 의 연결은 번역한 내용에 대한 것은 깨져 있었다.
http://bloodguy.tistory.com/entry/Mercurial-%EC%A1%B0%EC%97%98-%EC%8A%A4%ED%8F%B4%EC%8A%A4%ED%82%A4%EC%9D%98-HgInitcom
-
어쨌든 surpreem 사이트에 있지 않을까해서 (발로 하는 번역실) 을 뒤져보기 시작해서, 찾아냈다.
-
지극히 편파적인 버전 관리 시스템에 대한 기억
https://surpreem.com/%ec%a7%80%ea%b7%b9%ed%9e%88-%ed%8e%b8%ed%8c%8c%ec%a0%81%ec%9d%b8-%eb%b2%84%ec%a0%84-%ea%b4%80%eb%a6%ac-%ec%8b%9c%ec%8a%a4%ed%85%9c%ec%97%90-%eb%8c%80%ed%95%9c-%ea%b8%b0%ec%96%b5/
여기 내용 맨 아래에 현재 유효한 연결이 나왔다.
-
surpreem 님의 정체(?)를 알아볼 만한 단서?
 C++ Primer 5판, 그리고 지난 기억(이제는 말할 수 있다?)
by Surpreem · Published July 12, 2012 · Updated April 2, 2016
https://surpreem.com/c-primer-5%ed%8c%90-%ea%b7%b8%eb%a6%ac%ea%b3%a0-%ec%a7%80%eb%82%9c-%ea%b8%b0%ec%96%b5%ec%9d%b4%ec%a0%9c%eb%8a%94-%eb%a7%90%ed%95%a0-%ec%88%98-%ec%9e%88%eb%8b%a4/#comment-579
-
hginit 한글 번역 페이지 결론
https://surpreem.com/hg-init-a-mercurial-tutorial-introduction/
-
-
 surpreem 님 관련 추가정보, 꼬리 물고 조금 더.
https://surpreem.com/https-%e2%86%92-http-%eb%8b%a4%ec%8b%9c-%ec%a0%84%ed%99%98/
-
https://hackya.com/kr/seo-%ec%b9%98%ed%8a%b8%ed%82%a4%eb%8a%94-%ec%a1%b4%ec%9e%ac%ed%95%98%eb%8a%94%ea%b0%80/
-
https://www.google.com/search?q=TTFB+SEO+%EC%86%8D%EB%8F%84&ie=utf-8&oe=utf-8
-
사용하기 좋은 서비스
모르겠는 것 / 팀 서비스 / 사용자(user) / 팀(team) / 계정(account)
https://bitbucket.org/product/pricing?tab=cloud
-
https://confluence.atlassian.com/bitbucket/teams-321853005.html
-
-

2018년 7월 26일 목요일

Thunderbird 썬더버드 한글 깨짐

최신(?) 썬더버드 메일 클라이언트 프로그램이 작년 말의 업데이트 쯤부터 한글이 깨지는 일이 자주 발생하기 시작했다. 기본 수신메일의 기본 인코딩 설정을 기존 한글 ( EUC-KR )로 바꿔도 마찬가지 였다. 오늘 발견한 것이, 저장 폴더를 프로그램 화면 왼쪽창(pane)에서  inbox (폴더) 항목을 마우스 오른쪽 버튼 클릭하면 나오는 popup 메뉴에서 Properties 항목을 선택하면 나오는 _( Folder Properties )_ 설정 창에서 기본적으로
표시되는 _( General Information )_ tab(탭)에 있는 _( Fallback Text Encoding: )_ 항목의
설정 내용을 _( Unicode (UTF8) )_ 항목으로 선택되어 있던 것을
_( Korean (EUC-KR) )_ 항목으로 선택을 바꾸니까. 글자 깨지는 문제가 거의 해결되었다.

-
-
-