Welcome to the world's largest container registry built for developers and open source contributors to find, use, and share their container images. Build, push and pull.

入社して4ヶ月くらいたったので一旦まとめておきます。 フォーマットはどこかで見たことがある形ですが、その通りです。 完全に参考にさせて頂いてます。 仕事 クレジットカード会社様と協力し、オンラインカード明細にクーポンを出してます。 サービスの詳細は以下から。 Kanmu Card Linked Offer 組織 社長 デザイナー 営業 総務 エンジニアA エンジニアB 計6名 achikuはエンジニアBです。エンジニア絶賛募集中です! https://kanmu.co.jp/jobs/engineer 言語 Python カンムが提供するプロダクト全てに利用されています。特に強制しているわけではないのですが、今のところ全てPythonでまかなえているため、 今後もPythonで行けるところまで行く予定です。3.xへは利用しているWeb Application Frameworkが対応するタ
ItsDangerous¶ Sometimes you want to send some data to untrusted environments, then get it back later. To do this safely, the data must be signed to detect changes. Given a key only you know, you can cryptographically sign your data and hand it over to someone else. When you get the data back you can ensure that nobody tampered with it. The receiver can see the data, but they can not modify it unle
April 5, 2013 - python pytestを使い始めました。 pytest: helps you write better programs まだまだ機能は把握しきれていませんが、良いと思ったことは3つ。 テストがコケた箇所のコードがレポート内容に表示される テスト対象を初期化したものの受け渡し方をスマートにできる pytest.vimがなかなか使える 1.テストがコケた箇所のコードがレポート内容に表示される これが巷でよく聞く一番のメリットかとは思いますが、コケたときの情報が全然違います。 pytestはかなり詳細に表示してくれるので、レポートの内容だけでどこをどう直せば良いか把握できます。 unittestの実行結果(-vオプション付き) pytestの実行結果(-vオプション付き) 文字列比較の場合は差分表示してくれたりするので便利です。 2. テスト対象を初期化した
MOONGIFTはオープンソース・ソフトウェアを紹介するブログです。2021年07月16日で更新停止しました WYSIWYGなエディタは使い勝手が良さそうです。 Webベースのノート環境は幾つか存在しますが、利用の決め手になるのは機能よりも自分にとって手に馴染むがどうかが大きなポイントになるようです。その意味でwri.peはプログラマにとって手に馴染む人が多いようです。 今回はもう少し高機能なノートWebアプリケーションPryNotesを紹介します。ノート環境としてだけでなく、Webブラウジングのお供にぴったりなソフトウェアになります。 PryNotesの使い方 組織で使える 暗号化 どこからでもアクセスできる ファイルキャビネット プライバシー クラウド といった項目になります。 PryNotesは任意のWebサイトをコピーしてノート上に貼付けられる機能があります。スクラップを残しておく
This document is for an old version of Python that is no longer supported. You should upgrade and read the Python documentation for the current stable release. 3. Building C and C++ Extensions with distutils¶ Starting in Python 1.4, Python provides, on Unix, a special make file for building make files for building dynamically-linked extensions and custom interpreters. Starting with Python 2.0, thi
At Lyst we process a lot of products from a lot of retailers. However, the product information we get from retailers isn’t the same across the industry as: Retailers may categorise products differently to competitors, Retailers may not provide every bit of information that we need, Retailers may have large catalogues and use vague auto-generated descriptions. Due to this, we have to ensure that ea
Python API¶ Python/C APIチュートリアル : http://docs.python.org/extending/index.html Python/C APIリファレンス : http://docs.python.org/c-api/index.html Python APIはPythonインストール標準のC言語APIを使用し、拡張モジュールを作成します。 #include <Python.h> static PyObject * fact(PyObject *self, PyObject *args) { int n; int i; int ret=1; if (!PyArg_ParseTuple(args, "i", &n)) return NULL; for (i=n; i>0; i--) ret *= i; return Py_BuildValue("i",
I have a series of images that I want to create a video from. Ideally I could specify a frame duration for each frame but a fixed frame rate would be fine too. I'm doing this in wxPython, so I can render to a wxDC or I can save the images to files, like PNG. Is there a Python library that will allow me to create either a video (AVI, MPG, etc) or an animated GIF from these frames? Edit: I've alread
前回の記事の最後にcythonとnumpyを組み合わせても速くならなかったと書いてしまったのですが、@frontier45 さんから公式のチュートリアルをちゃんと読みましょう。と教えていただいたので、自分の勉強がてらブログにも書いておきます。 使用するコードは何のひねりもなく公式のチュートリアルから丸パクリです。 注意:以下のベンチマークはMacOS 10.7.3 MacBook Core2 Duo 2.26GHzでPythonとC/C++のコンパイラはMac標準のPython2.7.1, llvm-gccを使用しています。 Python/Cythonはipythonのtimeitを利用して実行時間を測定しています。 なお、以下の記録はあくまで私の環境、私の実装での記録なので比較の結果は正しいというものではないです。公式のチュートリアルでも実行時間が書かれていますので、そちらの方もご覧下さ
そうだクローラつくろう 研究テーマを探しつつ、なんとなくネットワークが面白そうと思っていた今日この頃。 研究で扱うのは、通信技術のネットワークではなくて、ノードとリンクに一般化したやつ。 「スモールワールド(small world phenomenon)」や「六次の隔たり(six degrees of separation)」など、一般的に知られてる部分もあって、経済現象とか感染症の拡散の理論にも適用できる(と言われている)ので、関連する分野がめちゃくちゃ広い。 ただ、実際のデータを無料で手っ取り早く集めるとなると、web上のドキュメントを解析するのが楽そう。ということで、クローラをつくってみる。 集めたデータをどう扱うかはまだ決めてない(!!)けど、とりあえず非リンク数とかの解析から始めようかと考えております。 Scrapy(すくれぴー) pythonのフレームワークにもいろいろあるみた
Easy One Click to Subscribe to Python411 on iTunes rss to subscibe to this podcast series Announcing the all new AwareTek November 15, 2014 E. O. Wilson: February 1 9, 2012 Merlin's Decision Analysis: May 16, 2011 Software Archaeology: April 10, 2011 Software is Not Magic: March 28, 2011 Mini Book Reviews: October 10, 2010 Interview with Bryan Lunduke, Creator of Illumination: September 11, 2010 C
Slow Website? Check out Luhnar for an easy way to speed up your client's Django, WordPress, or other CMS-based or custom site. www.luhnar.com In this latest round of performance testing, I take the Tornado web framework for a spin (heh, couldn’t help myself), and also play around with Cython. After FriendFeed was acquired several years ago, Tornado stagnated a bit, but this past year the community
ようやく自宅サーバや開発環境仮想マシンの構築手順を Ansible 化した。 この手のツールはハマりポイント+よく使うイディオムを抑えるのが大事。Pythonプロダクトらしく非常にドキュメントが充実しているのだけど、充実しすぎているのでポイントを自分のためにもまとめておくことにする。 例はおもに Ansible のドキュメントから引用させていただきました。 設定ファイルを書きかえる(一行) lineinfile モジュールを使う。使い方は以下のような形になる。 1name: enalbe sudo without password if user belongs to the wheel group 2lineinfile: "dest=/etc/sudoers state=present regexp='^%wheel' line='%wheel ALL=(ALL) NOPASSWD:
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く