이올린에 북마크하기
2008/04/28 08:39 2008/04/28 08:39
Posted by 視畵



2006년 프랑스 여행 사진들...
이올린에 북마크하기
2008/04/16 05:20 2008/04/16 05:20
Posted by 視畵

오늘 하노이 탑 옮기기 기록을 재었다.
8단의 하노이 탑을 옮기는데 기록은 4분 53초 48 기록을 세웠다.

이올린에 북마크하기
2008/04/15 23:18 2008/04/15 23:18
Posted by 視畵

주식을 하는 사람들은 주가가 하락하는 시기에는 주가의 바닥이 어디인가에 대해서 늘 고민을 하게 된다.
결국 누구도 알수 없는 바닥에 대해서 서로 논쟁을 벌이게 된다.

다음 글은 인터넷에 올라온 미국주가가 바닥이라고 할수 없는 35가지 이유라는 글을 번역해 놓은 것이다.

이 글을 읽어 보면서 너무나도 공감이 가는 해학적인 글이라서 여기 옮겨 적어 놓는다.

=================================================
"바닥이라고 할 수 없는 이유 35가지"

마켓워치, 칼럼니스트 글 통해 증시상황 '해학적'으로 풀이

서브프라임 모기지 부실로 인한 신용경색이 정점을 지났다는 것을 두고 논란이 한창이다. 더불어 증시도 바닥을 확인했는지 찬반이 팽팽하게 맞선다. 월가에서 상하이증시까지 사정은 크게 다르지 않다. 미국 정부와 연준(FRB)의 적극적인 부양정책, JP모간체이스의 베어스턴스 인수, 저점에서 1000포인트 오른 다우지수 등을 보면 '최악은 지났다'는 생각이 들만하다.

온라인 경제 매체인 마켓워치는 지난 9일 토드 해리슨 칼럼니스트의 글을 통해 증시가 아직 바닥을 확인하지 않았다며 이에 대한 35가지 근거를 제시했다. 다소 장난기를 섞어 해학적으로 푼 내용이지만 지금의 증시 상황을 점검하는데 있어 참고할 만해 일부를 소개한다.


-수많은 대가들이 2000년초 기술주 버블 붕괴시 바닥이라며 주식을 사라고 추천한 것을 기억해라. 진짜 바닥은 대다수 사람들이 주식을 안사고 절망한 나머지 팔 때 형성된다.
-벤 버냉키 연준 의장이 여전히 침체가 아니라고 주장하고 있다. 문제를 인정하는 것이 해결을 위한 첫걸음이다.
-국제통화기금(IMF)은 지난주 이번 금융 위기가 대공황 이후 최악이라고 했다.
-아직 진심으로 항복하는 투자자는 많지 않다. 대출 거절, 이사, 패닉 등 여러 면에서 철저히 승복한 사람은 적다.
-전세계적으로 500조달러의 파생시장이 있다. 베어스턴스가 한순간에 '아마게돈'에 빠진 이유다. 파생시장을 통한 금융자산의 상호연관성을 볼 때 신용경색이 한순의 이벤트라고 볼 수 없다.
-비농업부문 고용이 5년 이래 최대폭 감소했다. 실업률은 4.8%에서 5.1%로 증가했다. 이는 2차 대전후 이같은 현상은 경기침체 없이 나타나지 않았다.
-주택건설업자들은 아직도 주택을 비싸게 거래하고 있다.
-패니 매와 프레디 맥이 아직 국유화되지 않았다.
-S&P500지수는 전후 10번의 침체기때 32% 하락했다. 지금 하락률은 19%다.
-증시 반등은 침체의 중반 시기부터 나타난다. 그런데 막대한 부채와 파생시장의 붕괴를 볼 때 우리가 얕은 침체에 있다고 볼 수 없다.
-금융주는 장부가 이하에서 역사적인 바닥이 있었다. 3월 저점때 S&P의 금융주는 장부가 대비 1.3배에 거래됐다.
-컨트리 와이드의 안젤로 모질로 회장은 아직도 일광욕을 하고 있다.
-1989~1991년의 침체기 금융주 유니버스의 25%가 사라졌다. 이번에는 7%도 안된다.
-칵테일 파티에서 자신이 금융회사에 다닌다고 말할 수 있다. 상대방도 큰 불평없이 지나갈 것이다.
-앨런 그린스펀 전 연준 의장은 아직도 연설을 하면 돈을 받는다.
-증시가 약달러인데도 랠리가 없다. 달러화가 랠리를 하면 증시는 더 어렵게될 가능성이 있다.
-연준의 유동성 투입으로 대형 은행들은 점점 더 커지고 있다. 돈은 극소수로 몰린다.
-버냉키 의장은 아직 의회 연설중 눈물을 흘리지 않았다.
-금값에 연동하는 ETF가 여전히 출시되지 않았다.
-조지 부시대통령이 아직 포클로저(차압)와의 전쟁에서 이겼다고 선언하지 않았다.
-비지니스위크 지가 아직 공황을 예고하지 않았다.
-중국이 아직 크라이슬러 본사 건물을 사지 않았다.
-1월달에 5% 하락했다. 역사적으로 1월에 이만큼 하락하고 1분기에 그 해의 저점이 일어난 예는 단 한번 있었다.
-금융기관 등이 안고 있는 부채는 둔화되고 있는 경제활동에 비해 절대적으로 많다. IMF는 신용경색 손실이 1조달러에 육박한다고 했다.
-많은 사람들이 여전히 이 글을 읽고 있다.

이올린에 북마크하기
2008/04/14 22:47 2008/04/14 22:47
Posted by 視畵
TAG ,

MySQL table check

No category 2008/04/12 08:43

MySQL 의 DB partition 이 full 이 되어 테이블이 깨어지는 경우가 있다.
이럴 경우 myisamchk 라는 프로그램을 사용해서 index 를 복구시켜 주면 대부분 제대로 동작을 한다.

myisamchk  Ver 2.7 for redhat-linux-gnu at i686
By Monty, for your professional use
This software comes with NO WARRANTY: see the PUBLIC for details.

Description, check and repair of MyISAM tables.
Used without options all tables on the command will be checked for errors
Usage: myisamchk [OPTIONS] tables[.MYI]

Global options:
  -?, --help          Display this help and exit.
  -O, --set-variable var=option.
                      Change the value of a variable. Please note that
                      this option is deprecated; you can set variables
                      directly with '--variable-name=value'.
  -t, --tmpdir=path   Path for temporary files. Multiple paths can be
                      specified, separated by colon (:), they will be used
                      in a round-robin fashion.
  -s, --silent        Only print errors.  One can use two -s to make
                      myisamchk very silent.
  -v, --verbose       Print more information. This can be used with
                      --description and --check. Use many -v for more verbosity.
  -V, --version       Print version and exit.
  -w, --wait          Wait if table is locked.

Check options (check is the default action for myisamchk):
  -c, --check         Check table for errors.
  -e, --extend-check  Check the table VERY throughly.  Only use this in
                      extreme cases as myisamchk should normally be able to
                      find out if the table is ok even without this switch.
  -F, --fast          Check only tables that haven't been closed properly.
  -C, --check-only-changed
                      Check only tables that have changed since last check.
  -f, --force         Restart with '-r' if there are any errors in the table.
                      States will be updated as with '--update-state'.
  -i, --information   Print statistics information about table that is checked.
  -m, --medium-check  Faster than extend-check, but only finds 99.99% of
                      all errors.  Should be good enough for most cases.
  -U  --update-state  Mark tables as crashed if you find any errors.
  -T, --read-only     Don't mark table as checked.

Repair options (When using '-r' or '-o'):
  -B, --backup        Make a backup of the .MYD file as 'filename-time.BAK'.
  --correct-checksum  Correct checksum information for table.
  -D, --data-file-length=#  Max length of data file (when recreating data
                      file when it's full).
  -e, --extend-check  Try to recover every possible row from the data file
                      Normally this will also find a lot of garbage rows;
                      Don't use this option if you are not totally desperate.
  -f, --force         Overwrite old temporary files.
  -k, --keys-used=#   Tell MyISAM to update only some specific keys. # is a
                      bit mask of which keys to use. This can be used to
                      get faster inserts.
  --max-record-length=#
                      Skip rows bigger than this if myisamchk can't allocate
                      memory to hold it.
  -r, --recover       Can fix almost anything except unique keys that aren't
                      unique.
  -n, --sort-recover  Forces recovering with sorting even if the temporary
                      file would be very big.
  -p, --parallel-recover
                      Uses the same technique as '-r' and '-n', but creates
                      all the keys in parallel, in different threads.
  -o, --safe-recover  Uses old recovery method; Slower than '-r' but can
                      handle a couple of cases where '-r' reports that it
                      can't fix the data file.
  --character-sets-dir=...
                      Directory where character sets are.
  --set-collation=name
                      Change the collation used by the index.
  -q, --quick         Faster repair by not modifying the data file.
                      One can give a second '-q' to force myisamchk to
                      modify the original datafile in case of duplicate keys.
                      NOTE: Tables where the data file is currupted can't be
                      fixed with this option.
  -u, --unpack        Unpack file packed with myisampack.

Other actions:
  -a, --analyze       Analyze distribution of keys. Will make some joins in
                      MySQL faster.  You can check the calculated distribution
                      by using '--description --verbose table_name'.
  --stats_method=name Specifies how index statistics collection code should
                      threat NULLs. Possible values of name are "nulls_unequal"
                      (default for 4.1/5.0), "nulls_equal" (emulate 4.0), and
                      "nulls_ignored".
  -d, --description   Prints some information about table.
  -A, --set-auto-increment[=value]
                      Force auto_increment to start at this or higher value
                      If no value is given, then sets the next auto_increment
                      value to the highest used value for the auto key + 1.
  -S, --sort-index    Sort index blocks.  This speeds up 'read-next' in
                      applications.
  -R, --sort-records=#
                      Sort records according to an index.  This makes your
                      data much more localized and may speed up things
                      (It may be VERY slow to do a sort the first time!).
  -b,  --block-search=#
                       Find a record, a block at given offset belongs to.

Default options are read from the following files in the given order:
/etc/my.cnf ~/.my.cnf /etc/my.cnf
The following groups are read: myisamchk
The following options may be given as the first argument:
--print-defaults        Print the program argument list and exit
--no-defaults           Don't read default options from any options file
--defaults-file=#       Only read default options from the given file #
--defaults-extra-file=# Read this file after the global files are read

Variables (--variable-name=value)
and boolean options {FALSE|TRUE}  Value (after reading options)
--------------------------------- -----------------------------
character-sets-dir                (No default value)
data-file-length                  0
keys-used                         18446744073709551615
max-record-length                 9223372036854775807
set-auto-increment                0
set-collation                     (No default value)
sort-records                      0
tmpdir                            (No default value)
key_buffer_size                   520192
key_cache_block_size              1024
myisam_block_size                 1024
read_buffer_size                  262136
write_buffer_size                 262136
sort_buffer_size                  2097144
sort_key_blocks                   16
decode_bits                       9
ft_min_word_len                   4
ft_max_word_len                   84
ft_stopword_file                  (No default value)
stats_method                      nulls_unequal

이올린에 북마크하기
2008/04/12 08:43 2008/04/12 08:43
Posted by 視畵
TAG

진해 여좌천

사진/풍경 2008/04/05 13:22


오늘 아침 여좌천변 풍경이다.

이올린에 북마크하기
2008/04/05 13:22 2008/04/05 13:22
Posted by 視畵