ときどきの雑記帖″

最新ページへのリンク
目次ページへのリンク

一つ前へ 2014年6月(中旬)
一つ後へ 2014年7月(上旬)

ホームへ

2014年06月30日

■_

そしきかいへーん。

■_

Coffee Time Challenges 最初の二問やってみた。

C:\Users\kbk>irb
irb(main):001:0> (1..8).each{|e| (1..8).each{|f| (1..8).each{|g| s=e.to_s+f.to_s+g.to_s; puts s if s.to_i(10)==s.reverse.to_i(9)}}}
445
=> 1..8
C:\Users\kbk&factor 1000000
1000000: 2 2 2 2 2 2 5 5 5 5 5 5

あとは 2^6 と 5^5 をかけるだけ。

3はよくわかんなかったけど、組み合わせを潰していくよりない? ヒントによれば候補を絞ることができそうだけど。

■_

2014年06月29日

■_

マイクロチップの魔術師 (新潮文庫)
マイクロチップの魔術師 (新潮文庫)

■_

■_

Juliacon どうなったんだろか。

■_

SRGM ネタ。 まだやってるんですが、やっぱり生のデータがないと検証とかできんわー ○| ̄|_

2014年06月28日

■_

渋谷の東急プラザも壊しちゃうのね。

行ってきた。 小松崎茂グラフィック展が6/23より開催、幻の国防科学雑誌『機械化』も公開へ - エキサイトニュース

鉄分不足らしい。

第一次世界大戦勃発から100年とか。 で、こんな twitter アカウントが WW1 Foreign Office (WW1FO)さんはTwitterを使っています

折りたたみ傘用傘袋なんてのを目撃。 たしかにふつーの傘用のものでは色々具合が悪い。 が、もうちとなんとかならんもんかねえ>傘袋全般

■_

2014年06月27日

■_

2014年06月26日

■_

ちょっと面白そう Coffee Time Challenges

帰りの電車で「ああはなりたくないねえ」というのに二回遭遇してしまいぐんにょり。

■_

■_ more

続きが出るらしい The Pragmatic Bookshelf | Seven More Languages in Seven Weeks The Pragmatic Bookshelf | Seven More Languages in Seven Weeks

The Pragmatic Bookshelf | Seven More Languages in Seven Weeks

   Introduction
        The Lay of the Land
        Bruce Tate (Elixir and Elm)
        Fred Daoud (Factor)
        Ian Dees (Lua, Idris)
        Jack Moffit (Julia, miniKanren)
        Who Should Read This Book
        A Final Charge
        Online Resources

Elixir、Elm、Factor、Lua、Idris、Julia、miniKanren。で7言語かな。

2014年06月25日

■_

「日本SF展・SFの国」が世田谷文学館で開催 - 手塚治虫や星新一、筒井康隆など | ニュース - ファッションプレス

2014年06月24日

■_

日経ソフトウエア。 Yさんの連載、今回は「番兵法」を取りあげているんだけど、 C の文字列終端の \0 を「番兵」と呼ぶのはともかく EOF も「番兵」にしちゃうのはどうなんだろう… と思ったらそういう用法あるのか! Sentinel value - Wikipedia, the free encyclopedia

Sentinel value - Wikipedia, the free encyclopedia

Below are some examples of common sentinel values and their uses:

    Null character for indicating the end of a null-terminated string
    Null pointer for indicating the end of a linked list
    A negative integer for indicating the end of a sequence of non-negative integers
    End-of-file, a non-character value returned by certain input routines to signal that no further characters are available from a file
    High Values, a key value of hexadecimal 0xFF used in business programming

■_

■_

連載第3回。 John Von Neumann | Linux Voice

文中にあるこれは EDVAC 用のプログラム。なのかな。

John Von Neumann | Linux Voice

Here’s a loop version of our squares code using assembly language (with thanks to the writers of the IAS Sim
software for the loop control code):

loop:   S(x)->Ac+   n   ; load n into AC
        Cc->S(x)    sq  ; if n >= 0, go to sq
        halt
        .empty
  
sq:     S(x)->R     n
        S(x)*R->A   n
        R->A
        At->S(x)    out
        S(x)->Ac+   3
        S(x)->Ah+   one
        Ap’->S(x)   3
        S(x)->Ac+   n
        S(x)->Ah-   one
        At->S(x)    n
        Cu->S(x)    loop
        .empty
  
n:      .data   10
one:    .data   1
out:    .data   0

EDSAC とくらべてみよー

■_

2014年06月23日

■_

新井俊一のソフトウェアビジネスブログ: プログラミングで自分の人生を切り開く生き方 DEC64 is intended to be the only number type in the next generation of application programming languages. : programming

2014年06月22日

■_

この方がこういう本を書いたのかー 親切ガイドで迷わない 大学の微分積分
親切ガイドで迷わない 大学の微分積分

げ。BSフジでこんなのやってたのかー しかし月~金毎日放送では観ている時間がとれない○| ̄|_ 中国時代劇『蘭陵王』 - オフィシャルサイト - BSフジ 項羽と劉邦 King's War - BSフジ

■_

2014年06月21日

■_

あいかわらず寺山修司読んでまして。 Amazon.co.jp: 幸福論 (角川文庫): 寺山 修司: 本 これの解説がなかなかに響いた。

次辺りこれかな。タイトルだけは昔からよく聞いてるんだけど どういう話なのかはしらんのだよねw Amazon.co.jp: カスタマーレビュー: 書を捨てよ、町へ出よう (角川文庫)

■_


一つ前へ 2014年6月(中旬)
一つ後へ 2014年7月(上旬)

ホームへ


リンクはご自由にどうぞ

メールの宛先はこちらkbk AT kt DOT rim DOT or DOT jp