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
HASEGAWA Tomoki
August 04, 2017
Technology
1
3.6k
Discovered Something New?
builderscon tokyo 2017のLT資料です!
HASEGAWA Tomoki
August 04, 2017
Tweet
Share
More Decks by HASEGAWA Tomoki
See All by HASEGAWA Tomoki
PHPからはじめるコンピュータアーキテクチャ / From Scripts to Silicon: A Journey Through the Layers of Computing Hiroshima 2025 Edition
tomzoh
0
140
PHPからはじめるコンピュータアーキテクチャ / From Scripts to Silicon: A Journey Through the Layers of Computing
tomzoh
5
550
低レイヤを知りたいPHPerのためのCコンパイラ作成入門 完全版 / Building a C Compiler for PHPers Who Want to Dive into Low-Level Programming - Expanded
tomzoh
6
3.9k
カンファレンスのつくりかた / The Conference Code: What Makes It All Work
tomzoh
10
1.9k
低レイヤを知りたいPHPerのためのCコンパイラ作成入門 / Building a C Compiler for PHPers Who Want to Dive into Low-Level Programming
tomzoh
1
710
PHPで印刷所に入稿できる名札データを作る / Generating Print-Ready Name Tag Data with PHP
tomzoh
0
650
asumikamというカンファレンスオーガナイザの凄さを語る / The Brilliance of Asumikam
tomzoh
1
540
なぜキャッシュメモリは速いのか 余談集 / Why is Cache Memory So Fast? Extended.
tomzoh
0
310
なぜキャッシュメモリは速いのか / Why is Cache Memory So Fast?
tomzoh
3
1.7k
Other Decks in Technology
See All in Technology
カンファレンスに託児サポートがあるということ / Having Childcare Support at Conferences
nobu09
1
570
能登半島地震で見えた災害対応の課題と組織変革の重要性
ditccsugii
0
930
Oracle Base Database Service 技術詳細
oracle4engineer
PRO
12
80k
AWSでAgentic AIを開発するための前提知識の整理
nasuvitz
2
160
研究開発部メンバーの働き⽅ / Sansan R&D Profile
sansan33
PRO
3
20k
Contract One Engineering Unit 紹介資料
sansan33
PRO
0
8.8k
リセラー企業のテクサポ担当が考える、生成 AI 時代のトラブルシュート 2025
kazzpapa3
1
330
Node.js 2025: What's new and what's next
ruyadorno
0
310
能登半島地震において デジタルができたこと・できなかったこと
ditccsugii
0
200
Simplifying Cloud Native app testing across environments with Dapr and Microcks
salaboy
0
160
新規事業におけるGORM+SQLx併用アーキテクチャ
hacomono
PRO
0
280
AI時代こそ求められる設計力- AWSクラウドデザインパターン3選で信頼性と拡張性を高める-
kenichirokimura
3
320
Featured
See All Featured
Done Done
chrislema
185
16k
10 Git Anti Patterns You Should be Aware of
lemiorhan
PRO
657
61k
Connecting the Dots Between Site Speed, User Experience & Your Business [WebExpo 2025]
tammyeverts
9
590
Exploring the Power of Turbo Streams & Action Cable | RailsConf2023
kevinliebholz
35
6.1k
Build your cross-platform service in a week with App Engine
jlugia
232
18k
Creating an realtime collaboration tool: Agile Flush - .NET Oxford
marcduiker
33
2.3k
Docker and Python
trallard
46
3.6k
YesSQL, Process and Tooling at Scale
rocio
173
14k
Chrome DevTools: State of the Union 2024 - Debugging React & Beyond
addyosmani
8
910
Building Adaptive Systems
keathley
44
2.8k
How to Create Impact in a Changing Tech Landscape [PerfNow 2023]
tammyeverts
55
3k
CSS Pre-Processors: Stylus, Less & Sass
bermonpainter
359
30k
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とは思えない確率で ひっくりかえった状態になる