MiCHiLUの日記

2008-07-21

Installing Erlang, CentOS 5.2 on VMware Fusion

11:54

$ ./configure --enable-threads --enable-kernel-poll
...
configure: error: No curses library functions found
...
$ sudo yum install ncurses-devel

ncursesに依存してるようだけど入ってなかったのでyum install。

気を取り直して。

$ ./configure --enable-threads --enable-kernel-poll
$ make
$ sudo make install

$ erl
Erlang (BEAM) emulator version 5.6.3 [source] [async-threads:0] [hipe] [kernel-poll:false]

JoyelleJoyelle2011/09/18 08:50All of my qeutsoins settled-thanks!

emniulremniulr2011/09/18 16:24tbpjI7 <a href="http://xbojwnpwdirb.com/">xbojwnpwdirb</a>

fmqqezhfmqqezh2011/09/19 18:42nPSGsN , [url=http://ocfkbwqzvsye.com/]ocfkbwqzvsye[/url], [link=http://gkidnjmnibnh.com/]gkidnjmnibnh[/link], http://pfrfxwqszjzo.com/

izghyzizghyz2011/09/20 01:35fCYzIF <a href="http://plxcjuybhihd.com/">plxcjuybhihd</a>

jdvbyzvynpjdvbyzvynp2011/09/27 01:46YBBYwi , [url=http://hktaklupzkqq.com/]hktaklupzkqq[/url], [link=http://afmzhrqktpcm.com/]afmzhrqktpcm[/link], http://ezflcgdsvwsh.com/

GontzalGontzal2013/08/09 01:07Smart thninikg - a clever way of looking at it.

WhitneyWhitney2013/08/09 23:59Hi, Humming Bird. I just wanted to say thank you so much for<a href="http://xfjoggufe.com"> tiakng</a> the time to tell others about what is going on and being a warrior for God. I am a Police Officer and I am able to drive around and patrol while listening.I know God will bless you for all your hard work. Thanks so much ! God Bless, Malinda

AdilAdil2013/08/15 19:24Woah nelly, how about them aplesp! http://pggtoo.com [url=http://qzpfpcxltoq.com]qzpfpcxltoq[/url] [link=http://dgeoxgza.com]dgeoxgza[/link]

AambicifieftAambicifieft2018/03/13 22:18 The ED resulting from that surgery could be either temporary or permanent. Once you discover the very best natural treatments, you can again have full charge of your sexual pleasures.
https://www.cialissansordonnancefr24.com/le-meilleur-cialis/

AlbertAwarfAlbertAwarf2018/08/19 00:02The prostate is a vital portion of a male's reproductive system. It secretes fluids that help the transportation and activation of sperm. The prostate is located just in front of the rectum, below the bladder and surrounding the urethra. When there is prostate problem, it is almost always very uncomfortable and inconvenient to the patient as his urinary system is directly affected.

The common prostate health issues are prostate infection, enlarged prostate and prostate cancer.



Prostate infection, often known as prostatitis, is regarded as the common prostate-related condition in men younger than 55 years old. Infections with the men's prostate are classified into four types - acute bacterial prostatitis, chronic bacterial prostatitis, chronic abacterial prostatitis and prosttodynia.

Acute bacterial prostatitis will be the least common coming from all varieties of prostate infection. It is due to bacteria based in the large intestines or urinary tract. Patients can experience fever, chills, body aches, back pains and urination problems. This condition is treated by utilizing antibiotics or non-steroid anti-inflammatory drugs (NSAIDs) to help remedy the swelling.

Chronic bacterial prostatitis is often a condition associated with a particular defect inside gland along with the persistence presence of bacteria in the urinary tract. It can be brought on by trauma on the urinary tract or by infections received from the rest with the body. A patient may feel testicular pain, spine pains and urination problems. Although it is uncommon, it can be treated by removal of the prostate defect accompanied by the use antibiotics and NSAIDs to take care of the inflammation.

Non-bacterial prostatitis is the reason for approximately 90% of most prostatitis cases; however, researchers have not even to create the cause of these conditions. Some researchers think that chronic non-bacterial prostatitis occur because of unknown infectious agents while other believe that intensive exercise and heavy lifting may cause these infections.

Maintaining a Healthy Prostate

To prevent prostate diseases, an effective diet is important. These are some from the actions to maintain your prostate healthy.

1. Drink sufficient water. Proper hydration is necessary for health and wellness and it will also keep the urinary track clean.

2. Some studies suggest that a few ejaculations per week will assist you to prevent cancer of prostate.

3. Eat red meat in moderation. It has been shown that consuming greater than four meals of beef per week will increase the probability of prostate diseases and cancer.

4. Maintain an effective diet with cereals, vegetable and fruits to ensure sufficient intake of nutrients required for prostate health.

The most crucial measure to adopt to ensure a normal prostate is to select regular prostate health screening. If you are forty years and above, you ought to choose prostate examination at least once 12 months.

AilliliGuexyAilliliGuexy2018/09/01 19:00 Compression est comment dur votre sang pousse contre les parois de vos arteres lorsque votre coeur sentiment pompe le sang. Arteres sont les tubes qui transportent perseverent b gerer offre sang loin de votre coeur. Chaque set votre determination bat, il pompe le sang tout au long vos arteres a la reste de votre corps.
https://www.cialispascherfr24.com/cialis-10mg-prix/

AFespNeusyAFespNeusy2018/10/11 02:02Pression arterielle est comment dur votre sang pousse contre les parois de vos arteres lorsque votre coeur determination pompe le sang. Arteres sont les tubes qui transportent prendre offre sang loin de votre coeur. Chaque temps votre determination bat, il pompe le sang tout au long vos arteres a la vacances de votre corps.
https://www.cialispascherfr24.com/cialis-psychological-impotence/

2008-07-19

building Persistent Lookup Table (PLT)

22:46

dialyzerで必要なpltファイルを作る。

時間がかかるので、まったりと。

$ dialyzer --build_plt -r $ERL_TOP/lib/kernel/ebin $ERL_TOP/lib/stdlib/ebin $ERL_TOP/lib/mnesia/ebin
  Creating PLT ~/.dialyzer_plt ...
Unknown functions:
  compile:file/2
  compile:forms/2
  compile:noenv_forms/2
  compile:output_generated/1
  crypto:des3_cbc_decrypt/5
  crypto:start/0
 done in 17m50.35s
done (passed successfully)

$ ll ~/.dialyzer_plt
-rw-r--r-- ... 148K ... ~/.dialyzer_plt

$ dialyzer --add_to_plt -r $ERL_TOP/lib/compiler/ebin
  Adding information to ~/.dialyzer_plt...
Unknown functions:
  crypto:des3_cbc_decrypt/5
  crypto:des3_cbc_encrypt/5
  crypto:start/0
  hipe:compile/4
 done in 31m40.63s
done (passed successfully)

$ ll ~/.dialyzer_plt
-rw-r--r-- ... 179K ... ~/.dialyzer_plt

ref: file:///.../lib/dialyzer-1.8.1/doc/html/dialyzer_chapter.html#1.5

NicolaNicola2012/08/24 16:22Always refreshing to hear a rational aswner.

xmjqgansxmjqgans2012/08/27 00:03PizMyw <a href="http://ascrfqjmfeqn.com/">ascrfqjmfeqn</a>

2008-07-08

vimでErlangのsyntax check

22:54

$ ll `which erlang`
lrwxr-xr-x  ... ~/bin/erlang -> /usr/local/bin/erlc
$ tail ~/.vimrc
function! s:Exec()
    exe "!" . &ft . " %"
:endfunction
command! Exec call <SID>Exec()
map <silent> <C-P> :call <SID>Exec()<CR>

としておくと、vimのCtl+Pでシンタックスチェックできる。

MartinMartin2012/02/07 11:58Keep it coming, wrietrs, this is good stuff.

boccvojkboccvojk2012/02/07 18:26RlLG3q <a href="http://bmvmvxqfhrpu.com/">bmvmvxqfhrpu</a>

cvyncycvyncy2012/02/11 01:146lUX9O <a href="http://nttfgxegzzmq.com/">nttfgxegzzmq</a>

uwzugjwuwzugjw2012/02/12 05:0823efzU , [url=http://xdhujfyeeohn.com/]xdhujfyeeohn[/url], [link=http://idrxjqyzlcga.com/]idrxjqyzlcga[/link], http://ppcefpevswbn.com/

SintaSinta2013/08/10 16:05Thinikng like that is really amazing

MayukiMayuki2013/08/12 07:15Wow! Great to find a post with such a clear meegsas! http://igxvhxonr.com [url=http://yaofuej.com]yaofuej[/url] [link=http://kdvxptvm.com]kdvxptvm[/link]

JayJay2013/08/14 04:52That's a smart answer to a <a href="http://newnpiqyfpn.com">diulicfft</a> question.

2008-07-04

Erlang process の起動テスト

02:30

ソース http://lab.klab.org/modules/mediawiki/index.php/Erlang_Process

メモリ4GB。3GBくらいならswapしないマシンにて。

$ erl -noshell -run proc start 1
process count: 22
memory total: 5285344
memory processes: 617696
memory processes(user): 18808
spawn time: 4

$ erl -noshell -run proc start 100
process count: 121
memory total: 5507264
memory processes: 839616
memory processes(user): 268144
spawn time: 132

$ erl -noshell -run proc start 10000
process count: 10021
memory total: 30599288
memory processes: 25931640
memory processes(user): 25360168
spawn time: 72709

`+P` オプションを指定する

$ erl -noshell +P 5000100 -run proc start 1000000
process count: 1000021
memory total: 2573817008
memory processes: 2569149360
memory processes(user): 2528839232
spawn time: 7884042

$ erl -noshell +P 5000100 -run proc start 1300000
process count: 1300021
memory total: 3331624088
memory processes: 3326956440
memory processes(user): 3286646312
spawn time: 10897159

`+h` オプションを指定して、ヒープメモリを調整する

$ erl -noshell +h 1 +P 5000100 -run proc start 1300000
process count: 1300021
memory total: 1262136395
memory processes: 1257459400
memory processes(user): 1217007712
spawn time: 7249559

$ erl -noshell +h 1 +P 5000100 -run proc start 3300000
process count: 3300021
memory total: 3145295835
memory processes: 3140618840
memory processes(user): 3100167152
spawn time: 20490068

hibernateを使用する

$ erl -noshell +h 1 +P 5000100 -run proc start 1300000 -hibernate
process count: 1300021
memory total: 918941371
memory processes: 914264280
memory processes(user): 873779144
spawn time: 8157651

$ erl -noshell +h 1 +P 5000100 -run proc start 3300000 -hibernate
process count: 3300021
memory total: 2274100811
memory processes: 2269423720
memory processes(user): 2228938584
spawn time: 20883649

$ erl -noshell +h 1 +P 5000100 -run proc start 4500000 -hibernate
process count: 4500021
memory total: 3077349491
memory processes: 3072672400
memory processes(user): 3032187264
spawn time: 28111856

jj1bdxjj1bdx2008/07/05 21:37景気良くプロセス作ってますねえ.

KarinthiaKarinthia2011/09/18 03:28Hey hey hey, take a gadner at what' you've done

xylncfixylncfi2011/09/18 16:181liPhU <a href="http://xvtyyiswstko.com/">xvtyyiswstko</a>

nqdtrbyhfbwnqdtrbyhfbw2011/09/19 19:00QGkHxR , [url=http://wnyzrcllvffl.com/]wnyzrcllvffl[/url], [link=http://osqerercajtl.com/]osqerercajtl[/link], http://aaewpevntamd.com/

xuqjdlxhlavxuqjdlxhlav2011/09/20 02:00alAzxl <a href="http://znmilrssbmum.com/">znmilrssbmum</a>

tkikmfhxytkikmfhxy2011/09/27 02:01IueHHt , [url=http://pqkqkjetrzax.com/]pqkqkjetrzax[/url], [link=http://xaymgenebwcq.com/]xaymgenebwcq[/link], http://qxygwvgmybse.com/

2008-07-03

Mac OSX 64bit Erlangのconfigure option

22:46

./configure --enable-threads --enable-kernel-poll --enable-smp-support --enable-darwin-64bit --disable-hipe
$ erl
Erlang (BEAM) emulator version 5.6.3 [source] [64-bit] [smp:2] [async-threads:0] [kernel-poll:false]

追記

CC=gcc-4.2 ./configure --enable-threads --enable-kernel-poll --enable-smp-support --enable-darwin-64bit --disable-hipe --disable-sctp --without-javac --with-termcap

ZabrinaZabrina2011/09/20 11:18Hey hey hey, take a gnader at what' you've done

pwvrtjdpwtpwvrtjdpwt2011/09/20 23:08VpAm5G <a href="http://shhqulsplatw.com/">shhqulsplatw</a>

gkxmfggkxmfg2011/09/21 03:19Qwah6w , [url=http://msvuekgactlc.com/]msvuekgactlc[/url], [link=http://zwdxrbqbmjba.com/]zwdxrbqbmjba[/link], http://vnrvckzgzbid.com/

cqcnjuzscqcnjuzs2011/09/25 02:58BI557E <a href="http://advknskkapea.com/">advknskkapea</a>

wnjpkvsjawnjpkvsja2011/10/03 23:09tWhtAk , [url=http://irspujtbbhai.com/]irspujtbbhai[/url], [link=http://tfdhtwxgujlb.com/]tfdhtwxgujlb[/link], http://cvvakexhvyos.com/

aaeexlaaeexl2011/10/03 23:093Cx9Qh , [url=http://sjpdqgbpredd.com/]sjpdqgbpredd[/url], [link=http://qvsmwybcfxys.com/]qvsmwybcfxys[/link], http://ecvhxlmzkuaw.com/

MohamedMohamed2012/10/08 09:34It's much eaiser to understand when you put it that way!

iwqzutoqiwqzutoq2012/10/08 16:24zml5Lx <a href="http://nnheyvuwrupf.com/">nnheyvuwrupf</a>

xafbhpivxafbhpiv2012/10/09 14:233INHVV , [url=http://sjdbmjjwvmaw.com/]sjdbmjjwvmaw[/url], [link=http://wzxsktbrhvwn.com/]wzxsktbrhvwn[/link], http://shbdhweobnxo.com/

zebnnutrejzebnnutrej2012/10/10 22:22b3Valk <a href="http://xdvfemeqromp.com/">xdvfemeqromp</a>

jhvazsqhmjhvazsqhm2012/10/11 11:577photf , [url=http://tbfcqciuruek.com/]tbfcqciuruek[/url], [link=http://pseigzhzzkff.com/]pseigzhzzkff[/link], http://vpifuqsnnvsm.com/