2014年6月9日のブックマーク (8件)

  • Python to OCaml: retrospective - Thomas Leonard's blog

    In 2013, I spent 6 months converting 0install's 29,215 lines of Python to OCaml (learning OCaml along the way). In this post, I'll describe the approach I took and how it went. There will be graphs. If you don't want to read the whole thing, the take-away is this: The new code is a similar length (slightly shorter), runs around 10x faster, and is statically type checked. ( This post also appeared

    tanakh
    tanakh 2014/06/09
  • 男性用下着の最終進化系はたぶんこれで決まり!

    勝負下着...なのかな? ブリーフからトランクス、そしてボクサーパンツにたどり着いた僕の下着遍歴。ここが安住の地だと思ってましたが、まだ先があるのかもしれません。Tバック?いえいえ、もっともっとセクシーなパンツがありました。 いやはや、なんと表現したらいいのやら。一応これ、フランスの高級ランジェリーブランドInderwear製なんですが...とりあえず僕は遠慮しとこうかな。。 ちなみにこちらのサイトから22ユーロ(約2800円)で購入できます。勇気のある方、自信のある方はどうぞ〜。 [Inderwear via 米版 , J-tokkyo] (KITAHAMA Shinya)

    男性用下着の最終進化系はたぶんこれで決まり!
    tanakh
    tanakh 2014/06/09
    良い尻
  • ヘッドフォンもLightningケーブル対応へ

    アップルのヘッドフォン新スタンダード。 先週のWWDCで行なわれた「iOSやOS X端末用のアクセサリ開発」のセッションにて、新たなヘッドフォン/イヤフォンのあり方が提示されました。 発表されたのは、Lightningヘッドフォンモジュール。従来のイヤフォンジャックではなく、Lightningケーブルを介して音を聞けるようになるわけです。新モジュールはより広いバンド幅対応で、音質が向上するだけでなく、ヘッドフォンとアプリを連携することでより複雑なコントロールができるようになるといいます。 加えて、Lightningケーブルを使うことでヘッドフォンをiPhoneやiPodで充電することもできるようになります。つまり、充電ケーブルの必要ないヘッドフォンなんてアクセサリがでてくる可能性もあるということ。 アクセサリを制作するサードパーティにとって、これは大きな変更点となりそうです。 まずは、Be

    tanakh
    tanakh 2014/06/09
    (´・_・`)・・・
  • 斎藤佑樹の年俸は田中将大の5日分 上回るのは学歴程度の評

    メジャーデビュー以来、8勝1敗(6月4日現在。以下同)と好投を続ける田中将大は、今や押しも押されもせぬ、ニューヨーク・ヤンキースのエースに成長。ア・リーグ最多の5勝(1敗)を挙げた5月は、初の月間MVPを受賞した。 米スポーツ専門チャンネルESPNは、「リーグ月間MVPを勝ち取るには十分すぎる素晴らしいピッチング」と激賞。2012年8月から続いていた公式戦連勝記録は「34」で途切れたが、その後も安定した投球を見せる右腕を手放しで褒め称えた。マー君はオールスターの先発に加え、新人王どころかサイ・ヤング賞候補の声も聞こえてきている。 それに引き替え、かつての“ライバル”斎藤佑樹の姿はあまりにも対照的だ。 早大卒業後、ドラフト1位で日ハムに入団。2年目の2012年には開幕投手を務め、プロ入り初完投勝利を収めたが、それ以降はパッとせず、二軍暮らしが続き、昨年11月には右肩関節唇損傷の故障が発覚。

    斎藤佑樹の年俸は田中将大の5日分 上回るのは学歴程度の評
    tanakh
    tanakh 2014/06/09
    やめたげてよぉ・・・
  • Haskell in the Browser With Haste

    Haskell in the Browser With Haste Lars Kuhtz 2014-05-17 Preparation Get the code: git clone https://github.com/alephcloud/bayhac2014 cd bayhac2014 Build Haste: cabal sandbox init echo 'constraints: scientific<0.3' >> cabal.config cabal install haste-compiler -j export PATH=./.cabal-sandbox/bin:$PATH Setup Haste: echo 'solver: topdown' >> ~/.cabal/config haste-boot sed -i '/solver: topdown/d' ~/.ca

    tanakh
    tanakh 2014/06/09
  • Haskell in web browser - HaskellWiki

    Comment 2010 August: This tutorial is interesting, but neither of the two support packages (HsWTK nor DOM.Level2) can be found on hackage, thus the code cannot be compiled. Yhc is no longer supported Preface This Tutorial is written in connection with launch of the experimental Yhc Web Service, an online tool to explore the possibilities of Haskell use as a language to program client part (that is

    tanakh
    tanakh 2014/06/09
    ヴォーめっちゃ充実し取るやん
  • BayHac2014 - HaskellWiki

    tanakh
    tanakh 2014/06/09
  • Haste (Same Language, Multiple Platforms) and Tagless Final Style (Same Syntax, Multiple Interpretations)

    I discuss Haste, which compiles Haskell code to Javascript to be run on the browser. I then cover Tagless Final Style, which is a technique for creating flexible and extensible DSLs.Read less

    Haste (Same Language, Multiple Platforms) and Tagless Final Style (Same Syntax, Multiple Interpretations)
    tanakh
    tanakh 2014/06/09