Skip to content

Instantly share code, notes, and snippets.

View hagino3000's full-sized avatar

Takashi Nishibayashi hagino3000

View GitHub Profile
@hagino3000
hagino3000 / main.ipynb
Created April 25, 2016 08:17
Probability density of CVR 4%
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hagino3000
hagino3000 / README.md
Last active April 21, 2016 05:13
gopl chap 8.7

8.7 Multiplexing with select

select statement

select {
	case <- ch1:
		// ...
	case x := <-ch2:
@hagino3000
hagino3000 / main.md
Created March 30, 2016 05:00
go.pl Chapter 8

The Go Programming Language chapter 8

8. Goroutines and Channels

並行プログラミング、重要だよね。モバイルアプリはネットワーク通信の間アニメーションしたりする。並行性はI/Oのレイテンシを隠すために使われモダンなコンピューターのプロセッサを消費する。

Goは二つのスタイルの並行プログラミングを可能にしている。この章ではCommunicating Sequential Processes(CSP)をサポートする goroutinechannels を紹介する。

9章ではより伝統的なモデルの共有メモリマルチスレッドの一面をカバーしている。9章はさらにこの章で掘り下げなかった並行プログラミングの落し穴にも触れる。

@hagino3000
hagino3000 / Overview.md
Last active January 6, 2016 05:31
The Go Programming Language chap.2 (http://www.gopl.io/)

2.1 Names

名前は文字(unicode) or アンスコ始まり

キーワード25個

  • yieldとかclassとかない
  • chanある

nilやnewの予約語は36ぐらい

  • これらは上書きできる
@hagino3000
hagino3000 / chap8.ipynb
Last active October 19, 2016 17:51
データ解析のための統計モデリング入門 8章
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hagino3000
hagino3000 / main.ipynb
Created April 16, 2015 05:53
Thompson Sampling
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hagino3000
hagino3000 / 2015311.ipynb
Created March 11, 2015 04:06
Kaggle Titanic Competition
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@hagino3000
hagino3000 / prml2.3.5.ipynb
Last active August 29, 2015 14:15
PRML 2.3.5
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@interface NSObject (Debounce)
- (void)debounce:(SEL)action delay:(NSTimeInterval)delay;
@end