Code Archive Skip to content Google About Google Privacy Terms
class SmallSample var _random = Random() def randomString(length as int, alphabet as String) as String require length > 0 alphabet <> '' ensure result.length == length test utils = SmallSample() assert utils.randomString(5, 'ab').length == 5 s = utils.randomString(1000, 'a') for c in s, assert c == 'a' body sb = StringBuilder() for i in length c = alphabet[_random.next(alphabet.length)] sb.append(
PC は忙しい時ほど壊れる. 先週は職場の PC にこの経験則が降りかかった. 頻繁にフリーズしはじめる VisualStudio 2008. VS 単体での修復では問題が直らず困り果て, 結局 OS から入れ直す羽目に. まあディスクが故障しなかっただけ幸いだと思おう... OS の入れ直しは生活習慣を見直し悪習を捨てる機会でもある. 私の Windows 生活で最大の悪習は cygwin だ. ホスト OS への敬意を欠く cygwin には以前から後ろめたさを感じていたが, 惰性でずるずると使い続けていた. 今回のトラブルは良き市民たれという神(シアトル在住)の思し召しかもしれない. 啓示に耳を傾け, しばらく cygwin なしでがんばってみたい. PowerShell cygwin を捨てるということはシェルを乗り換えるということだ. いま Windows 民の間でホットなシェル
Get Ready for macOS Mojave macOS Mojave was designed with advanced technologies to provide cutting-edge performance and robust security. Core ML 2 and the new Create ML framework let your apps deliver intelligent functionality faster and more easily than ever. Maximize the graphics and compute potential of your apps using advancements in Metal 2. Build richer web experiences in Safari. And with up
NOTE: If you would like some Python development done, my company, Stochastic Technologies, is available for consulting. This tutorial is available as a short ebook. The e-book features extra content from follow-up posts on various Python best practices, all in a convenient, self-contained format. All future updates are free for people who purchase it. Preliminary fluff So, you want to learn the Py
リリース、障害情報などのサービスのお知らせ
最新の人気エントリーの配信
処理を実行中です
j次のブックマーク
k前のブックマーク
lあとで読む
eコメント一覧を開く
oページを開く