Skip to content

Instantly share code, notes, and snippets.

Takashi Nishibayashi hagino3000

Block or report user

Report or block hagino3000

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
@hagino3000
hagino3000 / main.ipynb
Created Apr 25, 2016
Probability density of CVR 4%
View main.ipynb
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 Apr 21, 2016
gopl chap 8.7
View README.md

8.7 Multiplexing with select

select statement

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

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 Jan 6, 2016
The Go Programming Language chap.2 (http://www.gopl.io/)
View Overview.md

2.1 Names

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

キーワード25個

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

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

  • これらは上書きできる
@hagino3000
hagino3000 / chap8.ipynb
Last active Oct 19, 2016
データ解析のための統計モデリング入門 8章
View chap8.ipynb
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 Apr 16, 2015
Thompson Sampling
View main.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View prml2.5.ipynb
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 Mar 11, 2015
Kaggle Titanic Competition
View 2015311.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View prml2.3.5.ipynb
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
View NSObject+Debounce.h
@interface NSObject (Debounce)
- (void)debounce:(SEL)action delay:(NSTimeInterval)delay;
@end
You can’t perform that action at this time.