SlideShare a Scribd company logo
Perl入学式の成果と過程
門松宏明 @note103
お品書き
自己紹介
自作スクリプト紹介
Perl入学式の感想
お品書き
自己紹介
自作スクリプト紹介
Perl入学式の感想
編集者です
担当書籍
坂本龍一監修CDブック
『schola(スコラ)』
坂本龍一監修CDブック
『schola(スコラ)』
坂本龍一 企画/
監修のもと
2008年から
刊行開始された
CDブック型
音楽全集
坂本龍一監修CDブック
『schola(スコラ)』
担当:
ブック編集
制作進行全般
坂本龍一監修CDブック
『schola(スコラ)』
最新刊:
第13巻
電子音楽
坂本龍一監修CDブック
『schola(スコラ)』
仕事:
以上です。
Perl入学式に
参加した経緯
きっかけはたぶん
YAPC::Asia
2008 TOKYO
YAPC::Asia 2008
IRC と Ustream で
ずっと張りついて
聞いていた
何を言っているのかは
わからなかったが…
昨年ふと
もう少し本腰入れて
プログラミング入門
したい気になった
プログラミング入門
最初はRubyの
つもりで『初め
てのプログラミ
ング』など読ん
でいたが…
ちょうどその頃
YAPC::Asia 2013
先行予約開始
YAPC::Asia 2008
の記憶が甦る…
行ってみるか…
知り合いゼロだが…
先行予約ならTシャツ
もらえるらしい…
安いし…
とりあえず申し込み!!
しかし開催まで時間がない
何も知らないまま行くのは
不安 … そんなとき …
https://twitter.com/Perl_Entrance/
status/375411435868028928
Perlの基礎に触れられる
Perlな人たちの空気感を
知れそう
しかも無料
とはいえ
かなりアウェー…
正直びびる…
けどまあ
いきなりYAPC
行くよりは
よいはず!
という流れで参加
関連ブログ記事
Perl入学式#3補講に行ってきた - 103
http://d.hatena.ne.jp/
note103/20130910/1378807142
YAPC::Asia2013に行ってきた - 103
http://d.hatena.ne.jp/
note103/20130922/1379853213
お品書き
自己紹介
自作スクリプト紹介
Perl入学式の感想
自作スクリプトの紹介
概要
スクリプトの中身
自己評価
自作スクリプトの紹介
概要
スクリプトの中身
自己評価
Perl入学式で学んだこと
をもとに作った
自作スクリプトのご紹介
ツール名は
chat2spreadsheet
ファイル名は
c2s.pl
GitHubに公開してます
https://github.com/
note103/chat2spreadsheet
これは何?
ログ管理支援ツール
もう少し詳しく
画像で
説明します
1. HipChatに色々投稿
2. おもむろにコピー
3. エディタ(in.txt)に貼り付け
4. ターミナルで実行して
エディタ(out.txt)に出力
5. 出力先を眺める
これをExcelに
コピペすると…
6. それぞれの列(カテゴリ)に
収まってる
Congrats!
\(^o^)/
なぜ作ったか
仕事を確実に
こなしていくには
ログ管理が不可欠
過去の作業を
どの程度の速度で
行ったか把握
することで
未来の作業速度を
予測できる
はず…
ちなみにかつては
1本のテキストファイル
にやったことをひたすら
記録していた
それはそれで
悪くなかったが…
懸案:
モバイルから
書き込みづらい
願望:
TwitterとかLINE
みたいにサクサク
投稿したい
解決案:
非公開設定できる既存
のチャットサービスで
専用の部屋を作って投
稿しよう
しかしチャットも
いろいろある…
投稿用チャットサービス
に求める要件
要件1:
すべての投稿に
絶対日時が
表示されること
「∼時間前」
とかの
「相対日時」
ではなく
何年何月何日何時何分
とか明確じゃないと
振り返りに使えない
Lingr/Twitterは
相対時間表示
なのでNG
要件2:
PC/モバイルで
負担なく使える
Skype脱落
(モバイルから使いづらいので)
要件3:
複数のデバイス
から利用可能
LINEもなし
(1端末1アカウントなので)
いずれも惜しい中
idobata
が良かったので
しばらく利用
しかし idobata は
Webアプリなので
ブラウザ開くのが面倒
Twitterクライアントみ
たいな独立したスタンド
アローン・アプリから
サクサク投稿したい
HipChat の
Macクライアント
+ iOSアプリを試す
悪くない
そのまま定着
自作スクリプトの紹介
概要
スクリプトの中身
自己評価
スクリプトの中身
for文6回
まわしてる
1周目: for文, if文, 正規表現で
ログをタブ区切りで分解/整理
2周目: 任意の語句($tags)をif文+
正規表現の入れ子で複数抽出&格納
3周目: 人名($people)を複数
抽出&格納
4周目: さらに別の列に格納したい
内容($rate)も回す
5周目: 日付などを調整して出力開始
6周目: さらに色々調整して最終出力
自作スクリプトの紹介
概要
スクリプトの中身
自己評価
自己評価
以前の方法で出来たのは
「メモをとる」ことまでだった
memo.txtidea
入力
???
以上!
モバイルからも入力できなかった
memo.txt
idea_PC
入力
???
以上!
idea_Mob
NG!
しかし今は
モバイルOK! 入力後の整理もOK!!
memo.txtidea_PC
入力
???
以上!
HipChat
idea_PC
入力
memo.xlsx
整理
idea_Mob
OK!
Before
After
OK!!
でもその先は…?
HipChat
idea_PC
入力
memo.xlsx
整理
idea_Mob
OK!
OK!!
???
有効に再利用できないと意味ない
HipChat
idea_PC
入力
memo.xlsx
整理
idea_Mob
OK!
OK!!
???
再利用
NG!
どうしたい?
今後の展望1:
入力したログが直接
データベースに格納
されてほしい
今後の展望2:
格納したデータを
さまざまな条件で迅速
&簡便に抽出したい
Webアプリの
勉強
必須フラグ…
いろいろ
教えて下さい!!
お品書き
自己紹介
chat2spreadsheet
Perl入学式の感想
Perl入学式の感想
Perl入学式に
参加した当初は
『これを作りたい』
なんてなかった
あるわけない!!
プログラミングで
何ができるかすら
わからない…
それが初心者…
初めはたんに
「YAPCすげー!」
「カッコいい!!」
とか
そこに「加わりたい!」
「まぜてほしい!」
とか思っただけ
それがやがて…
「この技術を使えば」
「あれを解決できる!」
とかだんだん出てくる
しかし何より…
途中で挫けず
心折れずに
続けられたのは
サポーターの皆さんの
おかげです
補講が毎回開催された
のもありがたかった
※5回出席したうち
3回が補講だった
とめどなく
なりそうなので
ここまで…
忘れてた
受講生&サポーターさん
が気軽に意見交換や
質疑応答などできる
場所がほしい!!
idobata,
Lingr,Yancha
など選択肢として
良さそうですが
どうでしょうか
???
> サポーター&
受講生のみなさん
今度こそ
ほんとに
おしまい
みなさんありがと
うございました!
今後ともよろしく
お願いします!!
(終)
To be
Continued...

More Related Content

Featured

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
Kurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
SpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Lily Ray
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
Rajiv Jayarajah, MAppComm, ACC
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
Christy Abraham Joy
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
Vit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
MindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
RachelPearson36
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Applitools
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
GetSmarter
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
Alireza Esmikhani
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
Project for Public Spaces & National Center for Biking and Walking
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
DevGAMM Conference
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
Erica Santiago
 

Featured (20)

PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
Unlocking the Power of ChatGPT and AI in Testing - A Real-World Look, present...
 
12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work12 Ways to Increase Your Influence at Work
12 Ways to Increase Your Influence at Work
 
ChatGPT webinar slides
ChatGPT webinar slidesChatGPT webinar slides
ChatGPT webinar slides
 
More than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike RoutesMore than Just Lines on a Map: Best Practices for U.S Bike Routes
More than Just Lines on a Map: Best Practices for U.S Bike Routes
 
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
Ride the Storm: Navigating Through Unstable Periods / Katerina Rudko (Belka G...
 
Barbie - Brand Strategy Presentation
Barbie - Brand Strategy PresentationBarbie - Brand Strategy Presentation
Barbie - Brand Strategy Presentation
 

Perl Entrance LT 2014-03-29