|記事一覧|Python.use(better) 《余録》代入 vs. 束縛 #2《Python3.1》 《著》真樹育未《監修》小泉ひよ子とタマゴ倶楽部第0版♪1988/10/12 Smalltalk-80 セミナー用に作成したテキスト(1988)をもとに、Jython 版(2003)を経て、Python 版(2009)として加筆/再構成した余録集です。 ■ 関連記事 Oh 脳《122》変数には値を代入できない:代入vs.束縛 - 続・ひよ子のきもち Smalltalk use: better《余録》代入 vs. 束縛 - 続・ひよ子のきもち 変数:代入モデルの隘路 代入モデルでは、オブジェクトを入れるのに「必要な大きさの箱」が用意されると考えます。 ■ 変数に値を代入する(初期化) Traceback (most recent call last): File "", line 1, i
About 南の島のプログラマ。 たまに役者。 Practical Schemeの主。 WiLiKi:Shiro 最近のエントリ 無限cxr高校受験Defense振り返ってみると2019年は色々学んで楽...覚えるより忘れる方が難しい(こともある)眼鏡のつると3DプリンタIris Klein Acting ClassSAG-AFTRA conservatory: Voice Acting創作活動って自分を晒け出さねばならないと...ループを使わずに1から100までMore... 最近のコメント shiro on 歳を取ると時間が速く過ぎるのは、新しいことに挑戦しないから? (2023/03/14)1357 on 歳を取ると時間が速く過ぎるのは、新しいことに挑戦しないから? (2023/03/01)ベアトリーチェ on ハイポハイポハイポのシューリンガン (2022/04/02)ベアトリーチ
3月25日14時30分(日本時間)から丸3日間にわたり、HackerRankにてLambda Calculi - March 2016という関数型言語縛りのプログラミングコンテストが開催され、私はそれに参加しました。Lambda Calculiを冠するコンテストは以前にも何度か開かれていたようですが、私にとってはこれが初めての参加でした。 コンテストの概要 私の結果および取り組み 第1問:Functions or Not? 第2問:Compute the Perimeter of a Polygon 第3問:Compute the Area of a Polygon 第4問:Concave Polygon 第5問:Tree manager 第6問:Fighting Armies 第7問:Simplify the Algebraic Expressions 感想 おわりに コンテストの概要
www.youtube.com github.com Parensymphonyはコーディングとコードが音楽になるライブコーディング環境の試作品です.ある授業の課題として作り,パフォーマンスをしました.動画を見ていただけるとわかるように,コーディングの操作に音がつきます.また,評価されたコードの構造からフレーズを生成していき,最終的に重なった音楽になります.動画中では,書いたコードで太鼓のパターン生成も行っています.つまり,コードが楽譜とプログラム二つの意味を持っていることになります. ちなみに名称の由来はCommon LispのJavaScriptトランスレータライブラリであるParenscriptからいただきました.恐らくParenthesisとscriptからつけられた名称だと思います. なぜつくったのか ライブコーディングで音楽をする作品には色々な環境,作品があります.Clojur
Clojure記事紹介<百日修行>では、英文で書かれたClojureの記事を要約してひたすら紹介していきます。モットーは「質より量」です。 紹介記事 Writing Friendlier Clojure 他の言語と同様、Clojureにおいても、気づいたらわかりにくいプログラムを書いてしまうことはよくあります。特に、REPL上で試行錯誤しながら少しずつ書き進めたコードだと、そうなりがちです。そこでこの記事では、とあるClojureのコードを取りあげ、それをリファクタリングする過程を通して、わかりやすいClojureコードを書くコツが紹介されています。 例題となるコード この記事で取りあげられているコードは、redditのClojureスレから持ってきたそうです。 (defn markov-data [text] (let [maps (for [line (clojure.string/s
κeenです。 isucon に@nitro_idiot(深町さん)と@Rudolph_MillerのCommon Lispチームで出てきました。チーム名clfreaks。勿論Common Lispで再実装しました。 因みに深町さんは今回使ったWebサーバーのwooを含めCommon Lispのライブラリを多数公開している世界一のCommon Lisper、ルドルフさんは元Common Lispの会社のCTO。 前日 κeen 「あとはwooがunixソケット使えたら嬉しいんですがまあ、いいでしょう。」 fukamachi 「今からやれば明日には間に合うな」 fukamachi 「ローカルでは一応動いた。間に合いそうである」 fukamachi 「5倍ちょっとくらい速いかな」 この間1時間半足らず。 κeen 「練習してて気付いたんですけどデプロイツールってどうしましょう。」 fukama
9/27(日)に開催されたISUCON5のオンライン予選に参加しました。 僕はアプリケーション側の改善、他の二人はインフラ寄りの対応をするように事前に役割分担をしていました。 “ISUCON”とは ISUCONは「Iikanjini Speed Up Contest」の略で、LINE株式会社 (昔はLivedoor) が主催する、アプリケーションやインフラのパフォーマンスチューニングを行ってそのスコアを競うイベントです。2〜3人のチームを作って参加します。 優勝賞金100万円!今年もやります ISUCON5 開催と日程のお知らせ #isucon : ISUCON公式Blog この週末の2日間にオンライン予選が行われました。 チームビルディング ISUCONというイベント自体は知っていたのですが、どうも自分には縁遠いものだと思っていました。まさか参加することになろうとは。 というのも、ISU
@AntiBayes つぼさか大先生が横にいらっしゃるだけで冷や汗でるくらい、全てについてdisりまくっていらっしゃってコワイ… @AntiBayes 施策:「テキストマイニング教育、一筋縄ではいかない。担当者も変わっていくので、ツールのオペレーションやテキストマイニングとはなにか、問い合わせできる体制をつくり、マニュアル化し、共有フォルダでどんどん知見を貯めていく必要がある。データとツールがあれば出来るものではない」 @AntiBayes 複雑な分析を見せびらかすと、大抵の人は嫌がる。単語頻度、係り受け頻度、言葉ネットワークなどという簡単な統計指標を用いて「こんなことやあんな事が出来ますよ」と紹介するのが重要。テクニカルな分析をテキストマイニングそもそも知らない人にいきなり見せないようにしましょう
There will always be things we wish to say in our programs that in all known languages can only be said poorly. -- Alan Perlis NOTE If you're going to send me email comments about this article, please keep a few things in mind: I wrote this article a long time ago (in 2001, if memory serves), and frankly I'm not that interested in discussing it anymore. These days I'd rather write programs and tea
The Scheme Programming Language Fourth Edition R. Kent Dybvig Illustrations by Jean-Pierre Hébert Table of Contents Preface Chapter 1. Introduction Section 1.1. Scheme Syntax Section 1.2. Scheme Naming Conventions Section 1.3. Typographical and Notational Conventions Chapter 2. Getting Started Section 2.1. Interacting with Scheme Section 2.2. Simple Expressions Section 2.3. Evaluating Scheme Expre
If you can't hear me, it's because I'm in parentheses. - Steven Wright October 1997: It has been six years since I finished Paradigms of AI Programming (or PAIP), and now seems like a good time to look back at how Lisp and AI programming have changed. Update: April 2002: It has now been over ten years, so I've updated this page. Is Lisp Still Unique? Or at Least Different? In 1991 Lisp offered a c
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く