1.定期的に休憩をとっていますか? ペアプログラミングは、精神的な体力を消耗します。定期的に休憩をとってリフレッシュすることがとても大切です。
2.「色々な実装方針がある」という認識がありますか?
もしあなたが新しいプログラム、例えばテキストエディタを作るとしたら、どの言語で作る? | |
Suppose you want to write a new program, something like a text editor. What language would you write it in? | |
* できるだけ速く。なのでインタプリタ言語はダメ。 | |
* It has to be as fast as possible, so interpreted languages are out. | |
* ちまちまメモリ管理なんてしたくない。だからCはダメ。 | |
* You don't want to micro manage memory, so C is out. | |
* プログラマに学位をとれなんて言いたくない。だからC++はダメ。 | |
* You don't want to require programmers to have a degree, so C++ is out. | |
* できるだけ起動は速いほうがいいし、ランタイムには依存させたくない。だからJavaはダメ。 |
// ==UserScript== | |
// @name Tumblr Queue Latest Link Maker | |
// @namespace http://nplll.com/greasemonkeys | |
// @description Tumblr Queueの最新ページへのリンクを生成するGreasemonkey | |
// @version 1.1.2 | |
// @downloadURL https://gist.github.com/raw/614547/tumblr_queue_latest_link.user.js | |
// @updateURL https://gist.github.com/raw/614547/tumblr_queue_latest_link.user.js | |
// @include http://www.tumblr.com/blog/* | |
// @include https://www.tumblr.com/blog/* | |
// @include http://www.tumblr.com/dashboard* |
# 厨2病フレーズだけで記述できるプログラミング言語 のイメージ | |
何ッ () | |
もしも それ が 真実 なの ならば——— | |
これ は 大変なことになるぞ! (いや?)\ | |
まぁ…… いい… | |
ククク…… 見せてもらおうじゃないか…… ←\ | |
旋律 の 傀儡師 の 実力とやらを! # TODO なぜだ!? 動く!? | |
> perl -E 'say "生" & "死"' | |
愛 | |
生 Life U+751F \xe7\x94\x9f 11100111 10010100 10011111 | |
死 Death U+6B7B \xe6\xad\xbb 11100110 10101101 10111011 | |
愛 Love u+611B \xe6\x84\x9b 11100110 10000100 10011011 |
#!/usr/bin/env perl | |
use strict; | |
use warnings; | |
use Pod::Usage; | |
use Text::Markdown 'markdown'; | |
use HTML::TreeBuilder; | |
use List::Util 'max'; | |
use Encode; |
/* top 100 repos for Ruby by number of pushes */ | |
SELECT repository_name, count(repository_name) as pushes, repository_description, repository_url | |
FROM [githubarchive:github.timeline] | |
WHERE type="PushEvent" | |
AND repository_language="Ruby" | |
AND PARSE_UTC_USEC(created_at) >= PARSE_UTC_USEC('2012-04-01 00:00:00') | |
GROUP BY repository_name, repository_description, repository_url | |
ORDER BY pushes DESC | |
LIMIT 100 |
var shareButton = Ti.UI.createButton({title:'share'}); | |
shareButton.addEventListener('click',function(e) { | |
var shareText = 'share the text'; | |
// ボタン押したら、ACTION_SEND対応のアプリへ暗黙インテント発行 | |
var intent = Ti.Android.createIntent({ | |
action: Ti.Android.ACTION_SEND | |
}); | |
// EXTRA_TEXTとして、shareTextの内容を渡す | |
intent.putExtra(Ti.Android.EXTRA_TEXT,shareText); |
<?xml version="1.0" encoding="utf-8"?> | |
<!-- | |
Copyright 2012 GitHub Inc. | |
Licensed under the Apache License, Version 2.0 (the "License"); | |
you may not use this file except in compliance with the License. | |
You may obtain a copy of the License at | |
http://www.apache.org/licenses/LICENSE-2.0 |