Deleted articles cannot be recovered. Draft of this article would be also deleted. Are you sure you want to delete this article?

現在のパスワードを教えてくれるからといって、「平文で保存してる!くぁwせdrftgyふじこlp」と脊髄反射してはいけません。 JALの6桁数字パスワードがどう格納されているか? 古いシステムなのでMD5でハッシュ化していると想定しますが、もちろんsaltは付けているでしょう。 さて、そんなパスワード保管方式で、現在のパスワード問合せに応答するシステムを作ってみます。 パスワードを「567890」、saltを「hoge」として、データベースには"hoge$567890"のMD5値"4b364677946ccf79f841114e73ccaf4f"が格納されているとします。 総当りしてみましょう。 (ns six-length.core (:require [clojure.core.reducers :as r]) (:import [java.security MessageDigest
The original document appears at http://clojure.org/rationale. The translation is based on November 27, 2009 version of the page. 読みにくくて申し訳ないです。数多くの間違いがあると思いますので、ご指摘ください。 顧客や出資家は、業界標準のプラットフォームであるJava仮想マシン (Java Virtual Machine; JVM) に相当な投資をしており、そのパフォーマンス、セキュリティ、安定性などに満足している。Java開発者は、動的言語の簡潔さ、柔軟さ、生産性をうらやましく思うものの、顧客の環境で動かせるかどうか、既存のコードやライブラリが使えるかどうか、そして動作速度などについて心配するかもしれない。また、ネイティブ・スレッドやロッキングによる並行処理に
The document shows code examples of printing "Hello" greetings in different programming languages like Common Lisp, Scheme, Clojure, Ruby, and using different approaches like functions, macros. It also demonstrates basic Clojure REPL usage, loading files, documentation lookup, source viewing, and different ways to read lines from a file in Clojure.
Stuart Sierra, Luke VanderHart 著、福嶋雅子、株式会社トップスタジオ 訳 本書は、ClojureScriptを使ったクライアントサイドプログラミングの基礎を概説する書籍です。プログラミング言語Clojureとほぼ同じ 文法から、Google Closure Libraryを用いて最適化されたJavaScriptへと変換できる、ClojureScriptの魅力を紹介します。開発環境のインストール、コンパイルの方法、基本的な文法、ライブラリの呼び出し方から、関数型プログラミングの手法など、限られた内容の中でClojureScriptの魅力をお伝えします。なお本書はEbookのみの販売となります。 まえがき 1章 はじめに――ClojureScriptを使う理由 ブラウザアプリケーションの隆盛 JavaScriptの隆盛 さらに良い言語を探して ClojureScr
Releases, Offers & More Be the first to hear about our newest content, best promotions and upcoming events. Plus get 25% off your next purchase. Newsletter Sign Up Download Accounts Your email address is your account identifier. You can create a password, or just download from the links sent via email. My Orders (Resend order emails) How We're Different Hands-on instructions Solutions to real-worl
はじめに こんにちは、ピクトリンク事業部開発部サーバサイド開発課のkitajimaです。弊社サービスピクトリンクは、システム再構築の一環として
リスト、ハッシュマップ、ベクタ、集合のリテラルがある ;リスト (1 2 3 4) ;ハッシュマップ {:a 1, :b 2, :c 3} ;ベクタ [1 2 3 4] ;集合 #{1 2 3 4} よく使う基本データ型のリテラルがあるというのはソースコードに図が入ってるみたいで考えるよりも早く理解できる。しかもいじりやすい。他の多くの言語でもこれらの基本データ型のリテラルは用意されているが、Clojure ではこれらはとてもよく使う重要なビルディングブロック。 リスト、ハッシュマップ、ベクタ、集合、文字列 をシーケンスとして抽象化 (take 2 '(a b c d)) ;リスト ;=> (a b) (take 2 {:a 1 :b 2 :c 3 :d 4}) ;ハッシュマップ ;=> ([:a 1] [:b 2]) (take 2 [:a :b :c :d]) ;ベクタ ;=> (:a
Clojure is a robust, practical, and fast programming language with a set of useful features that together form a simple, coherent, and powerful tool. The Clojure Programming Language Clojure is a dynamic, general-purpose programming language, combining the approachability and interactive development of a scripting language with an efficient and robust infrastructure for multithreaded programming.
このエントリは変態アドベントカレンダー11/15です 今日は変態のためのWebサイトを、clojureというJVM上で動く関数型言語を使って開発してみようと思います。 今回の開発にあたって、次のライブラリを用いています。 このライブラリの使い方をざっくりと追いかけながら、hentaiwebサイトを作っていこうと思います。 webフレームワーク compojure テンプレートエンジン fleet Compojure compojureはclojureで書かれたwebフレームワークです。 sinatraの影響が強く反映されており、シンプルで最小限の機能を提供しています。 どうも、clojure界隈ではデファクトスタンダードらしく、資料の少ないclojureにしてはそこそこ情報が見つかります。 というわけで、こいつとRingで動くwebアプリはこんな感じです。 hentai.core.clj
The IT sphere, which is constantly changing and developing. New professions and directions regularly appear here, and therefore the need for experienced specialists is very high.
Ever wondered what closures where and how they worked? You can learn about this advanced computer science concept right now through interactive lessons in JavaScript. Let's get started! Here is an example of some JavaScript code. Doesn't it look pretty? var f = function (x) { return x + 1; } Don't worry, we're not just going to sit around and look at pretty code. We're going to be writing code! Va
leiningen = rubygems + bundlerclojars.org = rubygems.orgnailgun = SWANKvimclojure = SLIME Clojure + Leiningen leiningen入れるとclojureも入る。 % curl -O https://raw.github.com/technomancy/leiningen/stable/bin/lein % chmod +x lein % lein repl Using JLine for console I/O; install rlwrap for optimum experience. REPL started; server listening on localhost:29973. rlwrap入れたほうが良いと出るので入れる。 % brew install rlwrap %
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く