2016년 12월 23일 금요일

크리스마스 이브는 온천을...

오전 9시 27분 덕구온천행 시내버스를 탔다

몸에남은 피로를 툭툭털어내기 위해 ㅋㅋ

보통 크리스마스 이브는 이불속에서 보냈는데

상쾌한 기분으로 덕구온천을 가고있다 ~~

-------
약 2시간뒤 목욕을 마쳤다

입장료는 8000원이고 노천탕을 즐기려면
평일 주말 관계없이 28000원이다 여기에 수영복 대여료 5000원이 필요하다 (수영복을 가져와도 됨)

온천탕의 느낌은 기대보다는 별로다
내인생 최고의 목욕탕은 통영의 항남장에 정말 낡은 목욕탕이다 그곳은 시설은 몹시 안좋지만 수질은 장말 좋다 벌써 다녀온지 3년이 지나가는데 샤워후 느낌만은 잊을수 없다.
덕구온천은 글쎄 8천원의 가격에 비하면 훌륭하지만
기대만큼은 못미친다는 느낌이다


편의점에서 딸기,초코,바나나 3종 우유를 3천원에 사서 마시면서 다시 죽변으로 가고있다

2016년 12월 22일 목요일

인간의 삶이란

고민이 없는 삶은 과연 행복할까?

누구에게나 고민은 있다.  어떻게하면 슬기롭게 해쳐나갈수있을까 

현명한 사람이라면 어떻게 대처를 할까 

매순간순간 선택을 해야하고 고민을 해야하는게 인간이다.

요즘 드라마 '도망치는 것은 창피하지만 도움이 된다. ' 라는 일본드라마를 재미있게 보고 있다.

프로독신남의 (주제넘지만 센스있고 아름다운) 여성의 대쉬에 고민하는 것을 보면서 

나라면 행복하게 즐길텐데 라고 생각한다. 

누군가 나의 삶을 바라보고 같은생각을 하지않을까? 

고되지만 이전까지 해보지 못했던 현재의 일들을

즐길수 있을까?



2016년 11월 11일 금요일

코딩 트레이닝 3-9 방의면적 구하기


1리터로 9평방미터를 칠할수있는 페인트통의 수를 구하여라.

- 문자입력시 진행이 되지 않도록.
- 상수사용,
- 반드시 올림

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
66
67
68
69
70
71
72
73
74
75
76
77
78
<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title></title>
    <script   src="../lib/jquery-3.1.1.min.js"></script>
       <script   src="../lib/underscore-min.js"></script>
    <script>
 
    //입력
    var arrayVal, silingArea, paintCnt,num1,num2;
    
    const COVERAGE_AREA = 9;
    function inputProcess(){
 
        inputVal = prompt('세로, 가로를 ","를 이용하여 입력하여 주세요');
        arrayVal = inputVal.split(",");
       
        
       
    }
     
    function doProcess(){
        
        num1 = parseInt(arrayVal[0]);
        num2 = parseInt(arrayVal[1]);
        console.log(num1, num2)
        
        
        if(isNaN(num1)|| isNaN(num2)){
            $('#foo').append('문자열을 입력하여 연산을 할수없습니다.');
            paintCnt = 0;
            return paintCnt;
            
        }else{
              
        //처리 1리터로 9제곱미터를 칠할수 있다./    
        
        // 가로 세로를 곱해 제곱미터 면적을 구한다
        
        
        silingArea = arrayVal[0] * arrayVal[1];
        // 제곱미터 면적 / 9 를 한다.
        if(silingArea % COVERAGE_AREA != 0){
           paintCnt = Math.ceil((silingArea / COVERAGE_AREA ))
        }else{
            paintCnt = silingArea/COVERAGE_AREA;
        }
        
        return paintCnt;
        
        }   
      
    }    
       
    //출력
    $(document).ready(function(){
        inputProcess();
        paintCnt = doProcess();
        
        console.log(paintCnt);
        if(paintCnt != 0){
            $('#foo').append('You will need to purchase ' + paintCnt + ' liters of paint to cover ' +silingArea+ ' spare meters.');
        }
        
     
    });
 
    </script>
  </head>
  <body>
    <div id="foo">
 
    </div>
 
  </body>
</html>
 
cs

2016년 10월 31일 월요일

이쁜 아가씨가 들려주는 최순실 사태의 간결한 정리



최순실
박근혜
우병우
대우조선
검찰

관련대기업들

국가의 부패를 청산하기위한 검찰또한 부패


이미 귀국한 순실 choi는 더이상 숨기는게 없다고 하는데
과연 그말을 믿을수가 있을까?

이미 은닉한 재산, 관련자들은 내쪽으로 불똥이 튀지않을까 조바심이 나겠지..

아니면 이미 출국했다든가..


진짜 코딱지만한 나라에서 안좋은건 1등으로 하려고해





2016년 10월 27일 목요일

ian:accounts-ui-bootstrap-3 을 사용하다보면 맞닥드릴수 있는 에러메시지

 While building for web.browser:
   error: no plugin found for accounts_ui.styl in ian:accounts-ui-bootstrap-3; a plugin for *.styl was
   active when it was published but none is now


이런경우 
 ian: accounts-ui-bootstrap-3을 제거해주고
stylus 를 설치후 -> ian:accounts-ui-bootstrpa-3을 설치해준다.

설치 순서의 문제가 있어서 발생되는 에러인듯하다

meteor bcrypt gyp Error 잘알려진 에러라 합니다.;

gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/scar/.meteor/packages/meteor-tool/.1.4.2.hps3f3++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.4.0-45-generic
gyp ERR! command "/home/scar/.meteor/packages/meteor-tool/.1.4.2.hps3f3++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node"
"/home/scar/.meteor/packages/meteor-tool/.1.4.2.hps3f3++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/scar/.meteor/packages/npm-bcrypt/.0.7.7.15898a7++os.linux.x86_64+web.browser+web.cordova/npm/node_modules/.temp-1x4h3ae/node_modules/bcrypt
gyp ERR! node -v v4.6.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

npm ERR! Linux 4.4.0-45-generic
npm ERR! argv "/home/scar/.meteor/packages/meteor-tool/.1.4.2.hps3f3++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node"
"/home/scar/.meteor/packages/meteor-tool/.1.4.2.hps3f3++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm" "rebuild" "--update-binary"
npm ERR! node v4.6.1
npm ERR! npm  v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! bcrypt@0.7.7 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt@0.7.7 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls bcrypt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/scar/.meteor/packages/npm-bcrypt/.0.7.7.15898a7++os.linux.x86_64+web.browser+web.cordova/npm/node_modules/.temp-1x4h3ae/npm-debug.log
../src/bcrypt_node.cc: In destructor ‘virtual {anonymous}::baton_base::~baton_base()’:
../src/bcrypt_node.cc:118:18: error: ‘class v8::Persistent<v8::Function>’ has no member named ‘Dispose’
callback.Dispose();
^
../src/bcrypt_node.cc: At global scope:
../src/bcrypt_node.cc:202:19: error: variable or field ‘GenSaltAsync’ declared void
void GenSaltAsync(uv_work_t* req) {
^
../src/bcrypt_node.cc:202:19: error: ‘uv_work_t’ was not declared in this scope
../src/bcrypt_node.cc:202:30: error: ‘req’ was not declared in this scope
void GenSaltAsync(uv_work_t* req) {
^
../src/bcrypt_node.cc:487:30: error: expected ‘}’ at end of input
NODE_MODULE(bcrypt_lib, init);
^
../src/bcrypt_node.cc:85:13: warning: ‘void crypto_lock_init()’ defined but not used [-Wunused-function]
static void crypto_lock_init(void) {
^
../src/bcrypt_node.cc:95:13: warning: ‘void crypto_lock_cb(int, int, const char*, int)’ defined but not used [-Wunused-function]
static void crypto_lock_cb(int mode, int n, const char* file, int line) {
^
../src/bcrypt_node.cc:105:22: warning: ‘long unsigned int crypto_id_cb()’ defined but not used [-Wunused-function]
static unsigned long crypto_id_cb(void) {
^
../src/bcrypt_node.cc:144:5: warning: ‘int {anonymous}::GetSeed(uint8_t*, int)’ defined but not used [-Wunused-function]
int GetSeed(uint8_t* seed, int size) {
^
../src/bcrypt_node.cc:154:6: warning: ‘bool {anonymous}::ValidateSalt(const char*)’ defined but not used [-Wunused-function]
bool ValidateSalt(const char* salt) {
^
make: *** [Release/obj.target/bcrypt_lib/src/bcrypt_node.o] 오류 1
gyp ERR! build error
gyp ERR! stack Error: `make` failed with exit code: 2
gyp ERR! stack     at ChildProcess.onExit (/home/scar/.meteor/packages/meteor-tool/.1.4.2.hps3f3++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/node-gyp/lib/build.js:276:23)
gyp ERR! stack     at emitTwo (events.js:87:13)
gyp ERR! stack     at ChildProcess.emit (events.js:172:7)
gyp ERR! stack     at Process.ChildProcess._handle.onexit (internal/child_process.js:200:12)
gyp ERR! System Linux 4.4.0-45-generic
gyp ERR! command "/home/scar/.meteor/packages/meteor-tool/.1.4.2.hps3f3++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node"
"/home/scar/.meteor/packages/meteor-tool/.1.4.2.hps3f3++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/lib/node_modules/npm/node_modules/node-gyp/bin/node-gyp.js" "rebuild"
gyp ERR! cwd /home/scar/.meteor/packages/npm-bcrypt/.0.7.7.15898a7++os.linux.x86_64+web.browser+web.cordova/npm/node_modules/.temp-1x4h3ae/node_modules/bcrypt
gyp ERR! node -v v4.6.1
gyp ERR! node-gyp -v v3.4.0
gyp ERR! not ok

npm ERR! Linux 4.4.0-45-generic
npm ERR! argv "/home/scar/.meteor/packages/meteor-tool/.1.4.2.hps3f3++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/node"
"/home/scar/.meteor/packages/meteor-tool/.1.4.2.hps3f3++os.linux.x86_64+web.browser+web.cordova/mt-os.linux.x86_64/dev_bundle/bin/npm" "rebuild" "--update-binary"
npm ERR! node v4.6.1
npm ERR! npm  v3.10.9
npm ERR! code ELIFECYCLE
npm ERR! bcrypt@0.7.7 install: `node-gyp rebuild`
npm ERR! Exit status 1
npm ERR!
npm ERR! Failed at the bcrypt@0.7.7 install script 'node-gyp rebuild'.
npm ERR! Make sure you have the latest version of node.js and npm installed.
npm ERR! If you do, this is most likely a problem with the bcrypt package,
npm ERR! not with npm itself.
npm ERR! Tell the author that this fails on your system:
npm ERR!     node-gyp rebuild
npm ERR! You can get information on how to open an issue for this project with:
npm ERR!     npm bugs bcrypt
npm ERR! Or if that isn't available, you can get their info via:
npm ERR!     npm owner ls bcrypt
npm ERR! There is likely additional logging output above.

npm ERR! Please include the following file with any support request:
npm ERR!     /home/scar/.meteor/packages/npm-bcrypt/.0.7.7.15898a7++os.linux.x86_64+web.browser+web.cordova/npm/node_modules/.temp-1x4h3ae/npm-debug.log



https://github.com/meteor/meteor/issues/7469


benjamn commented on 26 Jul
This seems to be the canonical resource for this problem. Try these commands?
$ cd /usr/local/lib
$ sudo ln -s ../../lib/libSystem.B.dylib libgcc_s.10.5.dylib
$ sudo ln -s ../../lib/libSystem.B.dylib libgcc_s.10.4.dylib
And then meteor npm install bcrypt again?

벤자민 횽님이 해결법을 제시해 줬다.

그런데도 똑같은 오류가 뜬다 ㅠ

bcrypt가 0.7.7 <-- 올드버전이어서  0.8.7을 설치해도 0.7.7을 로드하는경우

meteor add npm-bcrypt@0.8.7   패키지에 이거 설치해서

다시 account-password를 설치하면 간단하게 해결이 된다. 

2016년 10월 26일 수요일

맥북 프로 출시 예고

공개 홈페이지를 보면 미국 현지시간 2016.10.27 오전 10시
ios 7을 스트리밍으로 공개한다고 한다.

http://www.apple.com/apple-events/october-2016/

Live streaming uses Apple’s HTTP Live Streaming (HLS) technology. HLS requires an iPhone, iPad, or iPod touch with Safari on iOS 7.0 or later, a Mac with Safari 6.0.5 or later on OS X v10.8.5 or later, or a PC with Microsoft Edge on Windows 10. Streaming via Apple TV requires an Apple TV (2nd or 3rd generation) with software 6.2 or later or an Apple TV (4th generation).


워낙 동종 기기에 비해 고가의 장비이고 그 고가의 이유가 소프트웨어에 있으니
IOS7은 어떤변화가 있을지 궁금하다.

앱등이라는 비속어가 있지만 개인적으로 사용자 친화적이라는 이유만으로 애플의 소프트웨어는
많은추종자가 생기는것이 의아하지 않다.

windows가 최적화에 높은 점수를 줄수 있다면 OSX는 사용자 편의성에 높은점수를 줄수 있을거라고 생각한다.

콘솔게임을 제외한 PC게이머들은 윈도우즈를 많이 사용하며
보편적으로 뭔가를 생산하는 유저 (음악, 코드, 그래픽)는 애플을 선호한다 (osx로 게임을 안한다는것은아니다. 크래시오브클랜이나 캐쥬얼게임은 osx에서도 넘치게 잘돌아간다. )

롤을 osx에서 구동하는 방법)
http://macnews.tistory.com/3301



ios7이 어떤모습일지 기대가 된다.

환상의 목소리