1ban

13.8K posts

1ban banner
1ban

1ban

@1ban

I'm a programmer.

Tokyo, Japan Katılım Haziran 2008
396 Takip Edilen391 Takipçiler
1ban
1ban@1ban·
structもgenericにできることに気づいたので Map[K cmp.Ordered, V any] みたいな利用しやすい形になった #file-map_test-go" target="_blank" rel="nofollow noopener">gist.github.com/ichiban/7036cf…
日本語
0
0
1
134
1ban
1ban@1ban·
Goのgenericsをゴニョゴニョしてたら便利そうなものができた。bump allocationでGCにやさしい赤黒木 #file-rbtree_test-go" target="_blank" rel="nofollow noopener">gist.github.com/ichiban/7036cf…
日本語
0
0
1
130
1ban
1ban@1ban·
If the next character is either a layout char (whitespace) or single line comment, it's an end token. So the Prolog processor knows it's `X = 3.14.` #prolog
English
0
0
0
109
1ban
1ban@1ban·
When a Prolog interpreter sees `3.`- a period following a sequence of decimal digit chars (0-9), it peeks the next character. If the next character is also a decimal digit char, then it's a float number token. #prolog
English
1
0
0
125
1ban
1ban@1ban·
In Prolog, terms (statements) are separated by periods yet you can write a float like `3.14`. So how does a Prolog interpreter know it's `X = 3.14.` not `X = 3.` and `14.`? 🧵 #prolog #programming #language #syntax
English
1
2
1
248
1ban
1ban@1ban·
『街灯の下で、失くした鍵を探す』
日本語
0
0
0
182
1ban
1ban@1ban·
Goの上で動くオタク向け言語
日本語
0
0
0
188
1ban
1ban@1ban·
未知の領域に入った
1ban tweet media
日本語
1
0
1
203
1ban retweetledi
🗜️ Connor
🗜️ Connor@connorshepherd·
I think the net effect of businesses offering AI products in their current incarnation will mainly come in the form of reduced margins. Most value will accrue to the users and it will be tough for a while to make money. connor-shepherd.ghost.io/ai-is-a-margin…
English
5
4
39
6.7K
1ban
1ban@1ban·
伸び悩んでる
1ban tweet media
日本語
0
0
0
165
1ban
1ban@1ban·
はじめた時は79だったのでだいぶ改善してきた
1ban tweet media
日本語
0
0
1
175
1ban
1ban@1ban·
VMの命令セットをGoのsliceにあった形に変更したら爆速になった気がする
日本語
0
0
0
127
1ban
1ban@1ban·
@ikawaha JSONならJS由来のnumber型しかなくてとりあえずfloatで受けるしかない的なふるまいかもですね
日本語
1
0
0
77
ikawaha
ikawaha@ikawaha·
これは json を挟んでるから・・・なのかな・・・
日本語
1
0
0
128
ikawaha
ikawaha@ikawaha·
interface{} に数値を突っ込むと float64 になることがある、みたいなのに盛大にハマった😇。これ誰か正確に説明してくれないだろうか・・・
日本語
1
0
0
267
1ban
1ban@1ban·
@MarkusTriska Thank you! This is just telling the Go API is fixed. I'll keep improving it!
English
0
0
1
29
Markus Triska
Markus Triska@MarkusTriska·
@1ban Wow! Congratulations, and thank you!
English
1
0
2
79
1ban
1ban@1ban·
@guregu Thanks! I couldn't have made it this far without your contribution!
English
0
0
1
27