タグ

2010年2月17日のブックマーク (6件)

  • Howto base64 encode with C/C++ and OpenSSL

    I've been doing a little C programming lately and I have found that if you have a up to date distribution of linux there are a lot of libraries out there that make doing things you do in other languages like java easier. As I have time I'm going to post some examples of what I have found. The first here is how to base64 encode a chunk of memory using OpenSSL. #include <string.h> #include <openssl/

  • Bazaar 2.1 がリリースされました : DSAS開発者の部屋

    Bazaar 2.1 がリリースされました。まだソースコードのみですが、ここからダウンロードできます。 Bazaarは 2.0 のリリース からUbuntuのような半年ごとのリリーススケジュールに移行していて、ほぼスケジュール通りのリリースとなりました。 今回も、私の基準でこの半年間のBazaarやその周辺の改良を紹介しておきます。 Bazaar体の改良 まずはbzr体の改善点です。 bzr+ssh でも bzr+sftp のように、 ~ でホームディレクトリを指定できるようになりました。 自分のホームディレクトリ以下にリポジトリ置き場を持っている人は、 bzr+ssh://host/~/bzr/proj/branch の用に短いURLを利用できるようになります。 メモリ使用量や速度が向上しました。特にタプルというPythonの軽量なデータ構造をさらに軽量にしたStaticTupleの

    Bazaar 2.1 がリリースされました : DSAS開発者の部屋
  • Linux Audio and Sound - Application and Software Index [Linux-Sound]

    This part of the wiki lists Linux Audio applications. They are divided into several categories to ease out browsing. Do also check out the wiki start page and the Hardware Database. The site is a public collaboration platform, collecting resources for the Linux-Sound community from newbie to old-hat developer. You are welcome to suggest features, request applications for review or inclusion, help

  • Emacs Lisp

    Author: Naohiro Aota Date: 2010-07-08 木 HTML generated by org-mode 6.35i in emacs 24

    khiker
    khiker 2010/02/17
  • llvm : tutorial : optimize - sileのブログ

    チュートリアル第四章『4. Kaleidoscope: Adding JIT and Optimizer Support — LLVM 3.4 documentation』。 タイトルの通り、ここではJIT(を用いたRead-Eval-Print-Loop)とoptimizeがKaleidoscopeに加わっている。 前者は少しやっかいなので、分割して今回は後者だけを扱うことにする。 optimize実現方法 章では、C++のIRBuilderとFunctionPassManagerというクラスを組み合わせて最適化を行う方法が説明されている。 ただ-前回と同様に-common lisp向けには、そういった便利なモジュールは提供されていないので、代わりにllvmのoptというコマンドを利用して最適化を行うことにする。※ optコマンドに関しては『opt - LLVM optimizer —

    llvm : tutorial : optimize - sileのブログ
  • No Such Blog or Diary

    https でファイルをアップロードした場合,アップロード中にファイルが壊れる確率ってのはどんな程度なんだろう? 「Moodle にファイル提出したらファイルが壊れた!」って話が出てたのだけど,ファイルがもとから壊れてたのか転送中に壊れたのか Moodle が壊したのか,よく分からんという…… 確率がわかればとりあえずの一番怪しいところが考えられるので確率どんなもんなのかなと. 今日までお祭りの予定だったけど,昨日で終わってしまったので今日はお休みにして南阿蘇のアスペクタへと河津桜の様子見に行ってみた. とりあえず駐車場(ステージ)のあたり.ここから上と,入口の下の方が河津桜.上の方は(まだ?)元気よく咲いてない感じだった. ということで下の方へ.結構な量の河津桜があった.これだけの規模なものを見たのは久々で満足(家の河津町以外では初めて?). あと,ここからだと阿蘇山を背景に撮れるのが