Upgrade to Pro
— share decks privately, control downloads, hide ads and more …
Speaker Deck
Features
Speaker Deck
PRO
Sign in
Sign up for free
Search
Search
多分これが一番早いと思います
Search
Susisu
February 07, 2016
Programming
0
420
多分これが一番早いと思います
JavaScript でデータ加工・統計コマンドを書いた話
http://connpass.com/event/25197/
Susisu
February 07, 2016
Tweet
Share
More Decks by Susisu
See All by Susisu
Go で言うところのアレは TypeScript で言うとコレ / Kyoto.なんか #7
susisu
7
2.3k
君だけのオリジナル async / await を作ろう / TSKaigi 2025
susisu
18
14k
null or undefined
susisu
25
7.6k
Mackerel のフロントエンドフレームワーク移行 序章 / Hatena Engineer Seminar #13
susisu
0
2.1k
スクリーンショット撮影のために Puppeteer を操る / Kyoto.js 16
susisu
0
900
BuckleScript 使ってみた
susisu
0
350
Atom パッケージ開発のすゝめ
susisu
1
2.2k
5分でわかる Curry–Howard 同型対応
susisu
0
1.1k
ジェネレータを有効活用し隊 / Kyoto.js 11 LT
susisu
2
2.2k
Other Decks in Programming
See All in Programming
@Environment(\.keyPath)那么好我不允许你们不知道! / atEnvironment keyPath is so good and you should know it!
lovee
0
130
基礎から学ぶ大画面対応(Learning Large-Screen Support from the Ground Up)
tomoya0x00
0
5k
AI Coding Agentのセキュリティリスク:PRの自己承認とメルカリの対策
s3h
0
240
Android 16 × Jetpack Composeで縦書きテキストエディタを作ろう / Vertical Text Editor with Compose on Android 16
cc4966
2
270
パッケージ設計の黒魔術/Kyoto.go#63
lufia
3
440
意外と簡単!?フロントエンドでパスキー認証を実現する WebAuthn
teamlab
PRO
2
780
Testing Trophyは叫ばない
toms74209200
0
900
ProxyによるWindow間RPC機構の構築
syumai
3
1.2k
はじめてのMaterial3 Expressive
ym223
2
920
Ruby Parser progress report 2025
yui_knk
1
460
🔨 小さなビルドシステムを作る
momeemt
4
690
私の後悔をAWS DMSで解決した話
hiramax
4
210
Featured
See All Featured
For a Future-Friendly Web
brad_frost
180
9.9k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.5k
GitHub's CSS Performance
jonrohan
1032
460k
Why You Should Never Use an ORM
jnunemaker
PRO
59
9.5k
Art, The Web, and Tiny UX
lynnandtonic
303
21k
Faster Mobile Websites
deanohume
309
31k
The Power of CSS Pseudo Elements
geoffreycrofte
77
6k
GraphQLの誤解/rethinking-graphql
sonatard
72
11k
Large-scale JavaScript Application Architecture
addyosmani
513
110k
Java REST API Framework Comparison - PWX 2021
mraible
33
8.8k
We Have a Design System, Now What?
morganepeng
53
7.8k
How to train your dragon (web standard)
notwaldorf
96
6.2k
Transcript
ガチソツケン たくさんਐをग़せ!
None
ͨ ͘ ͞ Μ σ ʔ λ ͕ ग़ Δ
Ճ ɾ ౷ ܭ ϓ ϩ ά ϥϜ Λ
ຖ ճ ॻ ͖ ͨ ͘ ͳ ͍
ϑ Ν Πϧ ͷ ಡ Έ ࠐ Έ σ ʔ
λ ͷ ύʔε ͳ Μͯ ઈ ର ʹ ॻ ͖ ͨ ͘ ͳ ͍
ߦ ͝ ͱ ͷ ܭ ࢉ ↓ a w k
$ awk '{print 2*$1+$2}' foo.dat
૯ ฏ ۉ ࢄ ૬ ؔ
e t c .
$ awk '{sum+=$1}END{print sum}' foo.dat
$ awk '{sum1+=$1;sumSq1+=$1*$1;sum2+= $2;sumSq2+=$2*$2}END{print sum1/NR, sqrt((sumSq1-sum1*sum1/NR)/(NR-1)), sum2/NR,sqrt((sumSq2-sum2*sum2/NR)/ (NR-1))}' foo.dat
a w k w a rd
None
s u m $ 1
$ npm install -g @susisu/est
ߦ ͝ ͱ ͷ ܭ ࢉ + ྻ ͝ ͱ
ͷ ܭ ࢉ ↓ e s t
$ est 'sum $1' foo.dat
$ est '2*$1+$2' foo.dat
$ est -t '[avg $1,stddev $1, avg $2,stddev $2]' foo.dat
▪ ෳͷσʔλϑΝΠϧͷಡΈࠐΈ ▪ ࣜͷ࠷దԽʢࣗಈϝϞԽʣ ▪ JavaScript ʹΑΔػೳ֦ு
໐ ͔ ͵ ͳ Β ࡞ ͬͯ ͠ ·
͑ ΄ ͱ ͱ ͗ ͢ 2 0 1 6 2 ݄ 7 ୈ 3 ճ O U C C LT ձ @ s u s i s u 2 4 1 3 ϝΧ
ଟ ͜ Ε ͕ Ұ ൪ ૣ ͍
ͱ ࢥ ͍ · ͢ 2 0 1 6 2 ݄ 7 ୈ 3 ճ O U C C LT ձ @ s u s i s u 2 4 1 3