並び順

ブックマーク数

期間指定

  • から
  • まで

81 - 91 件 / 91件

新着順 人気順

ERRの検索結果81 - 91 件 / 91件

  • python3でのstdin,out,errのencodingの変更 – planset blog

    暑くてとろけております。 涼しいはずの北海道で全国最高気温(と最低気温)とは・・・。 python3でのopen python3からopenの仕様が変更となり、text modeの場合(mode=rやwだけで開いた場合)には、encoding付きでopenするようになっています。 返されるオブジェクトもfileオブジェクトではなくTextIOWrapper, BufferedReaderまたはBufferedWriterとなっています。 例 [code]
 >>> f = open(‘sample.csv’, ‘r’) >>> f <_io.TextIOWrapper name=’sample.csv’ mode=’r’ encoding=’UTF-8′> >>> f.close() >>> f = open(‘sample.csv’, ‘w’) >>> f <_io.TextIOWrap

    • I'm Paginating Again — err.the_blog

      Update: The source and install instructions are now located at: http://github.com/mislav/will_paginate We’ve all been paginating for a few months now with will_paginate because it’s such a sweet plugin, but Koz put a call out on Rails Core wondering what the leading pagination plugins are. Somebody tell him to subscribe to Err already. Pagination is getting tossed out of Rails 2.0, so what better

      • vlook_err_escape

        • Go1.20からサポートされるtree構造のerrの紹介と、treeを考慮した複数マッチができるライブラリを作った話/introduction of tree structure err added since go 1_20

          Go1.20からサポートされるtree構造のerrの紹介と、treeを考慮した複数マッチができるライブラリを作った話/introduction of tree structure err added since go 1_20

            Go1.20からサポートされるtree構造のerrの紹介と、treeを考慮した複数マッチができるライブラリを作った話/introduction of tree structure err added since go 1_20
          • Tower.jsのnpm ERR! にはキャッシュを疑え。

            Tower.jsに限った話ではないのですが。 npm install でエラーが出て、update や uninstall を繰り返していると、今までインストールできていたパッケージがインストールできなくなったりします。 僕の場合、design.io や tower のインストールでこんなエラーが多発してどうしても治りませんでした。 $ npm install -g design.io npm http GET https://registry.npmjs.org/design.io npm http 200 https://registry.npmjs.org/design.io npm http GET https://registry.npmjs.org/design.io/-/design.io-0.3.0-6.tgz npm http 200 https://registry.n

              Tower.jsのnpm ERR! にはキャッシュを疑え。
            • The jSkinny on jQuery — err.the_blog

              j-j-j-jQuery. It’s on everyone’s lips, right? You love it or you hate it, or you’ve never tried it but you love it, or you’ve never tried it but you super-hate it. Yeah, we know. Well, PJ and I launched FamSpam a bit ago and made the bold move of powering all the jabbascript with jQuery. We even wrote our own Facbeook-style lightbox library in jQuery (Facebox). So while this is a Ruby blog, indulg

              • VB 見えない標準オブジェクト 〜 App, Screen, Printer, Err の説明

                Visual Basic 中学校 > VB6 テクニック > 12.見えない標準オブジェクト VBでは、コマンドボタンやテキストボックスはフォームに貼り付けないと使えないのですが、実は貼り付けなくても使えるオブジェクトが最初から用意されていることに気づいていましたか? たとえば、Appオブジェクトや、Screenオブジェクトです。 今回はこれらの「見えない標準オブジェクト」とでもいうべき、Appオブジェクト、Screenオブジェクト、Printerオブジェクト について紹介して、ちょっとだけErrオブジェクトについて触れます。これらのオブジェクトの活用方法を知らないと簡単にできることに気がつかないで難しいプログラムを書いてしまうことがありますから、知らない人はぜひ一読ください。 1.Appオブジェクトとは Appオブジェクト(私は「エーピーピーオブジェクト」と呼んでいます)はVBで作成し

                • Sake Bomb! — err.the_blog

                  Before moving to California, I’d never had sake. Ever. Any. What a mistake that was. My west coast friends made fun of me then promptly taught me the trick where you drop a shot of sake into a glass of beer then drink really fast. It’s called a sake bomb. Pretty intense. Also intense are Rake tasks, something you and I have talked about before. They are so handy! The only problem is I find myself

                  • COREBLOG.JPにブログを移転したらエラー 324 (net::ERR_EMPTY_RESPONSE) が頻発するのはAPCが原因? | ぴーや!どっとこむブログ

                    HOMEブログCOREBLOG.JPにブログを移転したらエラー 324 (net::ERR_EMPTY_RESPONSE) が頻発するのはAPCが原因? 冬休みを利用して当ブログをServersMan@VPSからCOREBLOG.JPへ引越ししたわけですが、COREBLOG.JP側の稼働を開始すると、なんか動きがおかしいのです。 ブログを開こうとすると6,7割くらいの確率で データを受信していません。サーバーからデータが送信されないためウェブページを読み込むことができません。 ヒント: このウェブページを後で読み込んでください。 エラー 324 (net::ERR_EMPTY_RESPONSE): サーバーはデータを送信せずに接続を切断しました。 というようなエラーをChromeが吐いてしまいます。 最初はDNSを変更したせいかと思いましたがそうでもないみたいです。これでは使い物になりませ

                    • NekoHtmlでHIERARCHY_REQUEST_ERR - 人類みんなごくつぶし

                      NekoHtmlでXHTMLをパースしたときにDocument#getDocumentElement()でHIERARCHY_REQUEST_ERRというエラーになることがある。 このMLの投稿によると http://marc.theaimsgroup.com/?l=xerces-j-dev&m=114614678604401&w=2 http://marc.theaimsgroup.com/?t=114614692100005&r=1&w=2 htmlのnamespaceまわりの問題らしい xhtmlでは宣言で、 <html xmlns="http://www.w3.org/1999/xhtml">と書いているが、NekoHtmlがそれをデフォルトネームスペースと見なさず、なんか子要素とかのパースで失敗するような感じ(ゆるいHTMLをうまいことパースするためのトレードオフ?イマイチよくわ

                        NekoHtmlでHIERARCHY_REQUEST_ERR - 人類みんなごくつぶし
                      • How to fix ERR_UNSAFE_PORT error on Chrome when browsing to unsafe ports

                        I'm getting this error when connecting to a web server on port 6666 (http://myserver:6666/): Error 312 (net::ERR_UNSAFE_PORT): Unknown error. Is there an easy way to resolve this without rebuilding Chrome from source?

                          How to fix ERR_UNSAFE_PORT error on Chrome when browsing to unsafe ports