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.2k
君だけのオリジナル 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
Swift Updates - Learn Languages 2025
koher
2
430
Laravel Boost 超入門
fire_arlo
2
190
プロポーザル駆動学習 / Proposal-Driven Learning
mackey0225
2
710
為你自己學 Python - 冷知識篇
eddie
1
340
testingを眺める
matumoto
1
130
速いWebフレームワークを作る
yusukebe
5
1.7k
TROCCO×dbtで実現する人にもAIにもやさしいデータ基盤
nealle
0
430
1から理解するWeb Push
dora1998
5
1.6k
ProxyによるWindow間RPC機構の構築
syumai
3
960
Testing Trophyは叫ばない
toms74209200
0
650
「手軽で便利」に潜む罠。 Popover API を WCAG 2.2の視点で安全に使うには
taitotnk
0
680
詳解!defer panic recover のしくみ / Understanding defer, panic, and recover
convto
0
210
Featured
See All Featured
4 Signs Your Business is Dying
shpigford
184
22k
Product Roadmaps are Hard
iamctodd
PRO
54
11k
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4k
Fantastic passwords and where to find them - at NoRuKo
philnash
52
3.4k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
162
15k
Let's Do A Bunch of Simple Stuff to Make Websites Faster
chriscoyier
507
140k
Intergalactic Javascript Robots from Outer Space
tanoku
272
27k
Building Applications with DynamoDB
mza
96
6.6k
The Psychology of Web Performance [Beyond Tellerrand 2023]
tammyeverts
49
3k
Sharpening the Axe: The Primacy of Toolmaking
bcantrill
44
2.5k
Evolution of real-time – Irina Nazarova, EuRuKo, 2024
irinanazarova
8
910
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
31
2.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