You can get it by installing
1 # cabal install wl-pprint
See Also
You can get it by installing
1 # cabal install wl-pprint
See Also
Now I am using Haskel and investigat
1 ghc-pkg list
And then I want to prepare cabal-inst
I had got it and extracted it. After that, I could build the module by this command.
1 runhaskellSetup.hs configure
At this point, I got error messages like this:
1 Setup.hs: At least the following dependencies are missing: 2 Cabal >=1.6&&<1.7, 3 network >=1&&<3, 4 HTTP >=4000.0.2&&<4001, 5 zlib >=0.4&&<0.6
It means I must get them in advance from the HackageDB.
After I got downloaded
1 runhaskellSetup.hs configure 2 runhaskell Setup.hs build 3 runhaskell Setup.hs install
If you are a Rubyist, you probably find the similarity
About 30 minutes went by...
Finally, I got the cabal command.
See Also
The edge version of do_postgre
1 ~ (1) SELECT "id", "digest", "fetched_at", "created_at ", "site_id" FROM "pages" WHERE ("site_id" IN (1)) ORDER BY "id" 2 ~ ERROR: syntax error at or near "("merb : worker (port 4000) ~ ERROR: syntax error at or near "(" - (PostgresEr ror)
The SQL that had been performed is here.
1 SELECT "id", "digest", "fetched_at", "created_at ", "site_id" FROM "pages" WHERE ("site_id" IN (1)) ORDER BY "id"
This is able to be performed successful
Updates
I found the bug.
For example, this code
1 Page.repository.adap ter.execut e('SELECT * FROM "pages" WHERE ("id" IN ?) AND ("site_id" = ?)', [1], nil)
generates this sql
1 SELECT * FROM "pages" WHERE ("id" IN (1)) AND ("site_id" = (NULL))
(NULL)
causes parsing error.
This issue happens if the first value is an Array and the succeeding
I am very surprised to hear this.
Needless to say, Eric Veach is a guru of GI researcher
I've been believing that GI problem has very rich context.
It can be used as the best tool to think algorithms
RubyGemsを使うときに、たびたびGemのバージョンを指定する機会があります。 '=', '>=', '>' などの等号、不等号は、対応するRubyのオペレータと同じような機能なのでわかりやすいのですが、'~>'についてはどういう意味なのか若干わかりにくい感じです。一応マニュアルにはこんな感じに書かれています。
'~>' は、悲観的(pessimisti
UIImageJPE
ファイルによって違うでしょうが参考までに。 下記にテストに使ったファイルを挙げておきます。
オリジナルのサイズ:5354x3570、3.3MB
photo by Joi
1600x1200、1.5MB
1200x1600.
なんか忘れて探したのでメモ:
1 /Users/satoko/Librar y/Applicat ion Support/iP hone Simulator/ User/Media /DCIM/100A PPLE
小ネタです:Passengerのステータス確認
1 passenger-status 2 ---------- - General informatio n ---------- - 3 max = 6 4 count = 6 5 active = 4 6 inactive = 2 7 Waiting on global queue: 43
上記の他にBacktraces
ばらばらとですが、メモ。
key(プライベート), 暗号化を解除したkey, pem(署名要求書CSR)を作成
Common Name ウェブサーバのFQDNです
Email Addres 入力不要です。 -
A challenge password 入力不要です。 -
An optional company name 入力不要です。
http://jp.globalsign .com/suppo rt/index.p hp?sid=757&lang=ja&action=art ikel&cat=21&id=201&artlang=ja
作成した証明書は以下のコマンドで内容の確認ができます。
1 openssl x509 -in cacert.pem-text http://openssl.robat a.org/
ただ単にkeyファイルに、送られて来た証明書ファイルの内容をprependするだけらしい(確かに発行しているコマンドは二つのファイルをcatして一個にしてるだけだ)
CAからサーバ証明書が送り返されてきたなら、必要に応じてプライベートキーとマージしてしてください。
(WebサーバやメールのTLS化では、プライベートキーとマージが必要です)
このときマージするキーはパスフェーズを解除したキーを利用してください。
http://postfix.robat a.org/tls- set.html
元の証明書(pem)を上のコマンドで確認し、Subject部分を再発行時に使うとよいかも:
1 Subject: O=s21g LLC...
Organizati
Organizati
Common Name => CN
ちなみにkey作成時、suコマンドができなくて困っていたら、下記を教えてもらいました:
1 sudo su
MySQLのbackupデータの復旧の際、掲題のエラーが発生したので、 対処法をメモしておきます。
このエラーに関する詳しい情報は以下のサイトにまとまっています。
とくに後者では、
段階 4: 非常に困難な修復
などと脅かされるのですが、my.cnfでInnoDB関係の設定が抜けている場合にも同じエラーがでるようです。その場合はInnoDBの設定を書き足せばなおります。