MessagePackが文字列とバイナリをわけないのは問題?
Objective Cの実装使ってるとある問題にぶちあたった.なので,文字列をちゃんとバイナリ(Raw)と分けるべき,という提案
(*) 俺は熟読したわけではないので,中身が気になる人はちゃんと本スレを読みましょう
MessagePackが文字列とバイナリをわけないのは問題?
Objective Cの実装使ってるとある問題にぶちあたった.なので,文字列をちゃんとバイナリ(Raw)と分けるべき,という提案
(*) 俺は熟読したわけではないので,中身が気になる人はちゃんと本スレを読みましょう
http://mozilla-remix.seesaa.net/article/313529718.html | |
Fasterfox Liteで送信されているのは | |
- 起動時にUserAgentやユニークidを送る。 | |
- 存在しないドメインにアクセスした場合に、そのドメイン名を送る(フルのURLではない) | |
「閲覧URLに関わる情報」で送られるのは、最大でもドメイン名まで。(ソースを参照) | |
Fasterfox Liteの過去バージョン(3.9.5-3.9.8) も調べてみたが、同様に閲覧URLを収集する機能は存在しないか、コメントアウトされていた。 | |
ソース中 |
#プロトタイプと、あとクラス、継承、ミックスインと呼ばれている物の説明
この文書はなるべく正確な情報を書きたいのでちょくちょく更新されます。あと、ちょくちょくキャラが変わるのは気にしないでください。修正した部分に関する情報は コメント やリビジョンを参照してください。
Javascriptの変数にはプリミティブ型とオブジェクト型が存在する。
###プリミティブ型
# sprk2012 pull req graph | |
require 'date' | |
require 'time' | |
require 'octokit' | |
client = Octokit::Client.new({:auto_traversal => true}) | |
pulls = client.pulls("sprk2012/sprk2012-cfp") | |
days = (Date.new(2012,4,26)..Date.new(2012,5,25)).to_a.map{|d| [d.to_s, 0]} |
require "open-uri" | |
[ | |
"http://pastebin.com/raw.php?i=Kc9ng18h", | |
"http://pastebin.com/raw.php?i=vCMndK2L", | |
"http://pastebin.com/raw.php?i=JdQkuYwG", | |
"http://pastebin.com/raw.php?i=fw43srjY" | |
].each do |url| | |
open(url).each_line do |line| | |
name, password = line.chomp.split(/:/) |
# RSpec 2.0 syntax Cheet Sheet by http://ApproachE.com | |
# defining spec within a module will automatically pick Player::MovieList as a 'subject' (see below) | |
module Player | |
describe MovieList, "with optional description" do | |
it "is pending example, so that you can write ones quickly" | |
it "is already working example that we want to suspend from failing temporarily" do | |
pending("working on another feature that temporarily breaks this one") |
#Model | |
@user.should have(1).error_on(:username) # Checks whether there is an error in username | |
@user.errors[:username].should include("can't be blank") # check for the error message | |
#Rendering | |
response.should render_template(:index) | |
#Redirecting | |
response.should redirect_to(movies_path) |