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
440
0
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
多分これが一番早いと思います
JavaScript でデータ加工・統計コマンドを書いた話
http://connpass.com/event/25197/
Susisu
February 07, 2016
More Decks by Susisu
See All by Susisu
tsc.rip を支える技術 / Kyoto.なんか #8
susisu
0
120
これって Effect でできたのでは? / TSKaigi Mashup Kansai #2
susisu
0
250
Stage 3 Decorators でできること / できないこと / TSKaigi 2026
susisu
1
2.3k
Go で言うところのアレは TypeScript で言うとコレ / Kyoto.なんか #7
susisu
7
2.8k
君だけのオリジナル async / await を作ろう / TSKaigi 2025
susisu
20
16k
null or undefined
susisu
25
7.9k
Mackerel のフロントエンドフレームワーク移行 序章 / Hatena Engineer Seminar #13
susisu
0
2.3k
スクリーンショット撮影のために Puppeteer を操る / Kyoto.js 16
susisu
0
1k
BuckleScript 使ってみた
susisu
0
430
Other Decks in Programming
See All in Programming
go-spidermonkeyでAIエージェントのCode Modeを実装する
syumai
0
100
改善しないと、タスクが回らない。 “てんこ盛りポジション” を引き継いだ情シスの、入社3ヶ月の業務改善録
krm963
0
280
そこに3びきプロダクトがいるじゃろう——生成AI時代における“価値が届かない理由”の構造
kosuket
0
560
プロポーザルを書いてもらう
pvcresin
0
570
Jindong: Introducing Declarative Haptics in Compose Multiplatform
l2hyunwoo
0
130
Hono + Inertia + React で LP を構築した話
oukayuka
2
140
Cloudflare is Agents
chimame
0
180
FastAPI の並行処理モデルを完全に理解する
hoto17296
8
2.7k
Building a Meta Ray-Ban display app
akkeylab
0
180
「寝てても仕事が進む」Claude Codeで組む第二の脳
tomoyafujita2016
0
350
Discordを用いたラボオートメーション関連情報収集の自動化
noguhiro2002
0
370
AIと壁打ちしながら進めるコスト管理
fufuhu
2
1.5k
Featured
See All Featured
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
12
1.8k
How to build a perfect <img>
jonoalderson
1
5.9k
Data-driven link building: lessons from a $708K investment (BrightonSEO talk)
szymonslowik
1
1.2k
How People are Using Generative and Agentic AI to Supercharge Their Products, Projects, Services and Value Streams Today
helenjbeal
1
280
DevOps and Value Stream Thinking: Enabling flow, efficiency and business value
helenjbeal
1
360
Paper Plane (Part 1)
katiecoart
PRO
1
10k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
360
30k
Self-Hosted WebAssembly Runtime for Runtime-Neutral Checkpoint/Restore in Edge–Cloud Continuum
chikuwait
0
730
Beyond borders and beyond the search box: How to win the global "messy middle" with AI-driven SEO
davidcarrasco
3
210
Getting science done with accelerated Python computing platforms
jacobtomlinson
2
450
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
4.4k
A Soul's Torment
seathinner
6
3.5k
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