MessagePackが文字列とバイナリをわけないのは問題?
Objective Cの実装使ってるとある問題にぶちあたった.なので,文字列をちゃんとバイナリ(Raw)と分けるべき,という提案
(*) 俺は熟読したわけではないので,中身が気になる人はちゃんと本スレを読みましょう
0e20b800 abs V, V | |
5ee0b800 abs D, D | |
1a000000 adc W, W, W | |
1a1f0000 adc W, W | |
9a000000 adc X, X, X | |
9a1f0000 adc X, X | |
3a000000 adcs W, W, W | |
3a1f0000 adcs W, W | |
ba000000 adcs X, X, X | |
ba1f0000 adcs X, X |
\documentclass{jarticle} | |
\makeatletter | |
\def\tuple#1{% | |
\begingroup | |
\newcount\@fuck@i | |
\newcount\@fuck@ii | |
\@fuck@i = -1 | |
\@fuck@ii = 0 |
#include <iostream> | |
#include <random> | |
#include <algorithm> | |
#include <boost/format.hpp> | |
#include <xmmintrin.h> | |
#include <immintrin.h> | |
#include <osakana/stopwatch.hpp> |
#!/bin/bash | |
# jlatexdiff: latexdiffを日本語LaTeX文書でうまく扱えるようにする | |
# 参考:http://blogs.yahoo.co.jp/pentainformation/28571072.html | |
# 実行時に指定された引数の数、つまり変数 $# の値が 2 でなければエラー終了 | |
if [ $# -ne 2 ]; then | |
echo "指定された引数は$#個です." 1>&2 | |
echo "実行するには2個の引数が必要です." 1>&2 | |
echo "jlatexdiff [old file name] [new file name]" 1>&2 |
MessagePackが文字列とバイナリをわけないのは問題?
Objective Cの実装使ってるとある問題にぶちあたった.なので,文字列をちゃんとバイナリ(Raw)と分けるべき,という提案
(*) 俺は熟読したわけではないので,中身が気になる人はちゃんと本スレを読みましょう
#include <string> | |
#include <ctime> | |
#include <msgpack.hpp> | |
struct message | |
{ | |
std::string tag; | |
std::time_t time; | |
std::string text; | |
MSGPACK_DEFINE(tag, time, text); |
set-window-option -g utf8 on | |
set -g mode-mouse on | |
set -g mouse-resize-pane on | |
set -g mouse-select-pane on | |
set -g mouse-select-window on | |
set-option -g prefix C-q | |
set -g history-limit 50000 | |
unbind-key C-b | |
bind-key q send-prefix | |
set -g base-index 1 |
prefix=@prefix@ | |
exec_prefix=@exec_prefix@ | |
libdir=@libdir@ | |
includedir=@includedir@ | |
Name: gmp | |
Description: GNU Multiple Precision Arithmetic Library | |
URL: http://gmplib.org | |
Version: @PACKAGE_VERSION@ | |
Libs: -L${libdir} -lgmp |
/* | |
* GraxRabble | |
* 04 MAY 2014 | |
* Note this was created for the 4.5 version of libSodium. | |
*/ | |
#include <stdio.h> | |
#include <stdlib.h> | |
#include <string.h> | |
#include "sodium.h" /* library header */ |
Mental MahjongとはP2Pの仕組みを用いて、不誠実な(不正をするかもしれない)プレイヤー同士で、 第三者的の公平なジャッジサーバーを用いずに公平なゲームをする方法です。 Mental Pokerという ゲームを参考に僕(@yyu)と @shincblや@re_Ord、 @linerlock、@mimizunohimono