Cookie Absent This website requires cookies to function properly. Please enable cookies in your browser and try again.
ScalaではReflectionを使うとより詳細な型情報を取得することができます。 クラス情報を取得 (Scala2.10以前) Scala2.10以前では、以下のように型情報を取得できます。 case class Person(id:Int, name:String, age:Option[Int]) val c = classOf[Person] // Class[Person]を取得 c.getSimpleName // Person c.getName // Personクラスのパッケージ名を含むfull path しかし、Personクラスにどのような型の変数が定義されているを知りたい場合、 javaのReflection機能を使う。Class.getDeclaredFields/Methodsなど javapやASMなどでコンパイル後のバイトコードを直接参照 ScalaSig
以前のブログで紹介した簡潔マルチビット木のc++による実装 (Succinct Multibit Tree (SMBT)) を公開致しました。ソフトウェアーはgoogle codeからダウンロードすることができます。 http://code.google.com/p/smbt/ SMBTは去年のWABIで発表した内容にもとづいています。 簡潔マルチビット木に関するブログ記事 : http://d.hatena.ne.jp/tb_yasu/20120808/1344415559 論文 : Yasuo Tabei: Succinct Multibit Tree: Compact Representation of Multibit Trees by Using Succinct Data Structures in Chemical Fingerprint Searches, Workshop
この記事は、 Vim Advent Calendar 2012 63日目の記事です。 Vim Advent Calendar 2012 : ATNDみなさん、vimにちは! いよいよ二月になりましたね。自分もクリスマスが待ち遠しくて、今更ながら参加してしまいました。 秒速でメモを書く条件 今回は「秒速でvimでメモを書く条件」ということで、普段の自分のvimでのメモ環境を紹介しようかなと思います。 EvernoteでもなくSimplenoteでもなくDropboxを使うはい、これで話の8割は終りました。まさに秒速ですね! メモのクラウド化はとても需要の高い分野で、例えば「Evernote」なり「Simplenote」なり様々なサービスがあります。 当然ながら、それらを扱うためのvimプラグインも充実しています。 PSP-4 Vim で Evernote にポスト!Markdown 対応の
Sunday, January 27, 2013 Computing Fibonacci The Fibonacci sequence is often used to introduce the concept of recursion to new programmers. It has also been given a lot of interest because of his relationship to φ (phi), the mathematical constant that has often been observed in nature such as a ratio describing the arrangement of a pine cone, the spiral of snail's shells and other natural phenomen
Reading Ruby’s C source code can be as easy as reading your own Ruby code Last week I discussed how Ruby’s C source code uses macros to access data values. I explained that this “MRI Idiom” can make Ruby’s source a bit confusing for C programmers to read, but at the same time can make it easier to follow for Ruby developers who aren’t experienced with C. Today I want to continue this series and ta
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
ANLAB Traces What is Twitter, a Social Network or a News Media? (WWW2010) Mining communities in networks: a solution for consistency and its evaluation (IMC2009) Consistent Community Identification in Very Large Networks (MICNET2009) Evaluation of VoIP Quality over WiBro (PAM2008) I Tube, You Tube, Everybody Tubes (IMC2007) Analysis of Topological Characteristics of Huge Online Social Networking S
音楽のブログ 主に作曲のブログです。 DTM作曲レッスンの生徒さんも随時募集しています。skypeを用いたWEBレッスンを行っております。ご興味がおありの方はこちらへどうぞ! http://uyuu.jp/lesson.html 作曲、編曲、ミックス関連、楽曲分析の本も電子書籍で書いています。 つい先日、以前作ったボーカロイド曲をまるごとやり直した。 その過程でたくさんの市販曲を研究したり、 初音ミクを扱う上で色々なことに気が付いたので、 同じくボーカロイド楽曲を作っている方のお役に立てばと思い、 気が付いたことを書いてみたい。 やり直しに際して最も苦労したのが 初音ミクのイコライジングだった。 まず初音ミクの周波数スペクトラムを見てみたい。 初音ミクの周波数スペクトラム(クリックで拡大) 分かり易いように各倍音の●に色を付けてマークしておいた。 ●基音、●2倍音、●3倍音、●4倍音、のよ
Our Senate forecasts proceed in seven distinct stages, each of which is described in detail below. For more detail on some of the terms below please see our FiveThirtyEight glossary. Stage 1. Weighted Polling AveragePolls released into the public domain are collected together and averaged, with the components weighted on three factors:* Recency. More recent polls receive a higher weight. The formu
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く