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
Discovered Something New?
Search
Sponsored
·
SiteGround - Reliable hosting with speed, security, and support you can count on.
→
HASEGAWA Tomoki
August 04, 2017
Technology
3.8k
1
Share
Embed
Copy iframe code
Copy JS code
Copy link
Start on current slide
Discovered Something New?
builderscon tokyo 2017のLT資料です!
HASEGAWA Tomoki
August 04, 2017
More Decks by HASEGAWA Tomoki
See All by HASEGAWA Tomoki
3Dプリンタでコレはこう作る! - マルチディスプレイ用モニタアームマウンタの作り方 / Made with a 3D Printer: DIY Multi-Display Monitor Arm Mount
tomzoh
0
90
デシリアライゼーションを理解する / Inside Deserialization
tomzoh
0
670
PHPer Book Revue: CPUの創りかた / How to Build a CPU
tomzoh
0
89
超入門3Dプリンタ: 生活を便利にするモノを作ろう / Getting Started with 3D Printing: Making small things that quietly improve your daily life.
tomzoh
0
91
最新ハードウェアの中の8ビットCPU / The Hidden Power of 8-Bit CPUs in Modern Hardware
tomzoh
0
170
PHPからはじめるコンピュータアーキテクチャ / From Scripts to Silicon: A Journey Through the Layers of Computing Hiroshima 2025 Edition
tomzoh
0
420
PHPからはじめるコンピュータアーキテクチャ / From Scripts to Silicon: A Journey Through the Layers of Computing
tomzoh
5
890
低レイヤを知りたいPHPerのためのCコンパイラ作成入門 完全版 / Building a C Compiler for PHPers Who Want to Dive into Low-Level Programming - Expanded
tomzoh
6
4.8k
カンファレンスのつくりかた / The Conference Code: What Makes It All Work
tomzoh
11
2.3k
Other Decks in Technology
See All in Technology
ブロックチェーン / Blockchain
ks91
PRO
0
110
ポケモンの型をTypeScriptの型システムで表現してみた
subroh0508
0
350
MIERUNE JCT 発表資料「宇宙から伊能忠敬ごっこ」
syuchimu
0
190
AI Testing Talks: Challenges of Applying AI in Software Testing: From Hype to Practical Use
exactpro
PRO
1
140
タクシーアプリ『GO』の実践的データ活用
mot_techtalk
3
170
新規ゲーム開発におけるAI駆動開発のリアル
202409e2
0
2.8k
AIにフローを作らせようとして挫折した話
hamatsutaichi
0
220
「コーディング」しない人のための Claude Code 入門 ChatGPT の次の一歩 — 業務に組み込む 育成・共有・自動化
rfdnxbro
2
1.2k
AI と創る新たな世界 / A New World Created with AI
ks91
PRO
0
120
Diagnosing performance problems without the guesswork
elenatanasoiu
0
170
Unlocking the Apps
pimterry
0
250
AI-DLCを活用した高品質・安全なAI駆動開発実践 / AI Driven Development
yoshidashingo
1
380
Featured
See All Featured
The Illustrated Children's Guide to Kubernetes
chrisshort
51
52k
Exploring the relationship between traditional SERPs and Gen AI search
raygrieselhuber
PRO
2
4k
The Success of Rails: Ensuring Growth for the Next 100 Years
eileencodes
47
8.2k
Designing Dashboards & Data Visualisations in Web Apps
destraynor
231
55k
ラッコキーワード サービス紹介資料
rakko
1
3.6M
The Spectacular Lies of Maps
axbom
PRO
1
790
Visual Storytelling: How to be a Superhuman Communicator
reverentgeek
2
550
Put a Button on it: Removing Barriers to Going Fast.
kastner
60
4.3k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
32
3.3k
Into the Great Unknown - MozCon
thekraken
41
2.5k
Ruling the World: When Life Gets Gamed
codingconduct
0
250
How to Ace a Technical Interview
jacobian
281
24k
Transcript
Discovered Something New? 長谷川 智希 @tomzoh
長谷川 智希 デジタルサーカス株式会社 副団長CTO Digital Circus, Inc. Vice-master CTO Tokyo,
Japan @tomzoh
ライフワーク: Web / iOSアプリ開発, ビール, 電子工作, サッカー観戦, レンタルカートレース, … 長谷川
智希 Web / iOS App Development, Beer, IoT, Watch soccer match, Rental Kart Racing, … デジタルサーカス株式会社 副団長CTO Digital Circus, Inc. Vice-master CTO Tokyo, Japan Lifeworks: @tomzoh
None
None
WE ARE HIRING!! Web Development with http://www.dgcircus.com Omotesando, Tokyo
Discovered Something New? 長谷川 智希 @tomzoh
好きなもの: ベストトーク賞
ベストトーク賞 • YAPC::Asia Tokyo 2015 で始めて「ベストトーク賞」を 体験。(来場者として) • オモシロイ! •
大好き!
None
None
盛り上がったし楽しかった
閑話休題
ワンモア好きなもの: 名札
名札?
現代社会の問題 •オンラインコミュニケーション •名前と顔とアイコンとアカウント名が 一致しない
ソリューション •全員が名札を着用する •名札にはSNSアイコンを印刷する
None
名札 ベストトーク賞
やりたいです!
出来上がったのがこちら:
None
None
SNSアイコン と QR
困難がいろいろある
困難1: どうやって印刷すんの?
見当も付かない
知らない概念はググれない
魔法のことば:
バリアブル印刷
バリアブル印刷 •差し込み印刷。 •aiと画像ファイルとCSVを入稿する。 •ネットよりリアル印刷屋さんがお勧め。
困難2: 画像集める
SNSアイコン •ここにアップロードしてくださいね。 •SNSアカウント教えてね。
None
None
with no validations
何が起きるか
ひとことで言うと:
フリーダム
Twitterアカウントのパターン • @なしアカウント名 • @付きアカウント名 • http://twitter.com/アカウント名 • https://twitter.com/アカウント名 •
twitter.com/アカウント名 • twitter.com のところが mobile.twitter.com になってるパターン
public function normalizeTwitter($string) { $string = str_replace('https://', '', $string); $string
= str_replace('http://', '', $string); $string = str_replace('mobile.twitter.com/', '', $string); $string = str_replace('twitter.com/', '', $string); if (substr($string, 0, 1) === '@'){ $string = substr($string, 1); } if (substr($string, -1, 1) === '/'){ $string = substr($string, 0, -1); } return $string; }
ふう。アカウントが揃った。
めんどくさかったな。
さて、画像を取得しよう。
Twitterアイコン取得の難 •TwitterAPIを叩く必要がある •正方形でない場合がある •画像フォーマット、拡張子、サイズに おおらか
出てきた拡張子 +1( +1&( KQH KQFH QOH HJG
サイズ •48 x 48 〜 2,105 x 2,105
Twitter氏おおらかすぎでは
SNSアイコン推奨サイズ •今回の名札、40mm x 40mm (= 1.6inch x 1.6inch) •350dpi
= 350 dots per inch •560px x 560px あると理想的だった!
Twitter以外は •GitHub: アカウント名から機械的に画像URL が決まる。けど、全員がアカウントあると は思えない。 •Facebook: GraphAPIで取れなくなった。 暗黒魔法を使った。
どれも結構つらい
これからやる方がんばって
困難3: チケット販売期限と入稿期限の戦い
そんな困難を乗り越えて…
None
None
• 投票してね! • 投票はいつでもできるし いつでも変更できます!
• 投票してね! • 投票はいつでもできるし いつでも変更できます!
• 投票してね! • 投票はいつでもできるし いつでも変更できます!
何故こんなことを言うのか
このシステムの管理画面:
None
None
投票してください!
してくれるよね?
1階席〜!
2階席〜!
よろしく〜!
さて…
None
None
Discover Something New
Discover Something New
Discover Something New 知識、情熱、興奮
Discover Something New 知識、情熱、興奮 人とのつながり
Discovered Something New?
None
懇親会 & 明日 名札を活用して Discover Something New してください!
Thanks @tomzoh #builderscon / ブログ / 懇親会
None
None
Q: なぜ2つ折り名札なのか
A: 名札は1/2とは思えない確率で ひっくりかえった状態になる