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
390
多分これが一番早いと思います
JavaScript でデータ加工・統計コマンドを書いた話
http://connpass.com/event/25197/
Susisu
February 07, 2016
Tweet
Share
More Decks by Susisu
See All by Susisu
Mackerel のフロントエンドフレームワーク移行 序章 / Hatena Engineer Seminar #13
susisu
0
1.9k
スクリーンショット撮影のために Puppeteer を操る / Kyoto.js 16
susisu
0
720
BuckleScript 使ってみた
susisu
0
240
Atom パッケージ開発のすゝめ
susisu
1
2k
5分でわかる Curry–Howard 同型対応
susisu
0
780
ジェネレータを有効活用し隊 / Kyoto.js 11 LT
susisu
2
2k
遅延評価と健康
susisu
0
560
楽しく学ぶ難解プログラミング言語
susisu
0
650
私を SKI に連れてって
susisu
0
270
Other Decks in Programming
See All in Programming
Let's learn code review
riofujimon
2
430
冗長なエラーログを削減し、スタックトレースを手に入れる / Reducing Verbose Error Logs and Obtaining Stack Traces
upamune
0
790
PHP8.3の機能を振り返る / Review of PHP 8.3 features
seike460
PRO
1
110
Behind VS Code Extensions for JavaScript / TypeScript Linnting and Formatting
unvalley
5
930
Compose-View Interop in Practice (mDevCamp 2024)
stewemetal
0
140
MetricKitで予期せぬ終了を検知する話 / Detect unexpected termination with MetricKit
nekowen
1
190
Build Apps for iOS, Android & Desktop in 100% Kotlin With Compose Multiplatform (mDevCamp 2024)
zsmb
0
340
Fragment Composition of GraphQL
quramy
7
1k
VSCodeでのDatabricks開発もお勧めしたい/I would also recommend Databricks development with VSCode.
kazumain
0
260
PHPの次期バージョンはこの時期どうなっているのか - Internalsの開発体制について - PHPカンファレンス小田原
youkidearitai
PRO
1
190
FigmaとPHPで作る1ミリたりとも表示崩れしない最強の帳票印刷ソリューション
ttskch
43
19k
dbtのドメイン分割による データ基盤の改善とDigdagとの連携
sakama
0
350
Featured
See All Featured
A Tale of Four Properties
chriscoyier
151
22k
Making the Leap to Tech Lead
cromwellryan
124
8.5k
The Mythical Team-Month
searls
216
42k
Fight the Zombie Pattern Library - RWD Summit 2016
marcelosomers
227
16k
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
2
3.4k
Being A Developer After 40
akosma
57
580k
Building a Scalable Design System with Sketch
lauravandoore
456
32k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
501
140k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
6
1.5k
WebSockets: Embracing the real-time Web
robhawkes
59
7k
How STYLIGHT went responsive
nonsquared
92
4.8k
Designing Experiences People Love
moore
136
23k
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