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.4k
君だけのオリジナル async / await を作ろう / TSKaigi 2025
susisu
18
15k
null or undefined
susisu
25
7.6k
Mackerel のフロントエンドフレームワーク移行 序章 / Hatena Engineer Seminar #13
susisu
0
2.2k
スクリーンショット撮影のために Puppeteer を操る / Kyoto.js 16
susisu
0
910
BuckleScript 使ってみた
susisu
0
360
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
『毎日の移動』を支えるGoバックエンド内製開発
yutautsugi
2
240
私はどうやって技術力を上げたのか
yusukebe
43
18k
All About Angular's New Signal Forms
manfredsteyer
PRO
0
140
Software Architecture
hschwentner
6
2.3k
ALL CODE BASE ARE BELONG TO STUDY
uzulla
18
2.9k
Devvox Belgium - Agentic AI Patterns
kdubois
1
120
その面倒な作業、「Dart」にやらせませんか? Flutter開発者のための業務効率化
yordgenome03
1
130
The Past, Present, and Future of Enterprise Java
ivargrimstad
0
340
(Extension DC 2025) Actor境界を越える技術
teamhimeh
1
250
なぜあの開発者はDevRelに伴走し続けるのか / Why Does That Developer Keep Running Alongside DevRel?
nrslib
3
400
Things You Thought You Didn’t Need To Care About That Have a Big Impact On Your Job
hollycummins
0
220
bootcamp2025_バックエンド研修_WebAPIサーバ作成.pdf
geniee_inc
0
100
Featured
See All Featured
Templates, Plugins, & Blocks: Oh My! Creating the theme that thinks of everything
marktimemedia
31
2.5k
Dealing with People You Can't Stand - Big Design 2015
cassininazir
367
27k
Thoughts on Productivity
jonyablonski
70
4.9k
Helping Users Find Their Own Way: Creating Modern Search Experiences
danielanewman
30
2.9k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3.1k
Speed Design
sergeychernyshev
32
1.2k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Build your cross-platform service in a week with App Engine
jlugia
232
18k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
1.6k
Making the Leap to Tech Lead
cromwellryan
135
9.6k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Into the Great Unknown - MozCon
thekraken
40
2.1k
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