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
ファミコンでPHPを動かす / PHP on the Famicom
tomzoh
2
1.5k
3Dプリンタでコレはこう作る! - マルチディスプレイ用モニタアームマウンタの作り方 / Made with a 3D Printer: DIY Multi-Display Monitor Arm Mount
tomzoh
0
170
デシリアライゼーションを理解する / Inside Deserialization
tomzoh
0
1.2k
PHPer Book Revue: CPUの創りかた / How to Build a CPU
tomzoh
0
130
超入門3Dプリンタ: 生活を便利にするモノを作ろう / Getting Started with 3D Printing: Making small things that quietly improve your daily life.
tomzoh
0
110
最新ハードウェアの中の8ビットCPU / The Hidden Power of 8-Bit CPUs in Modern Hardware
tomzoh
0
360
PHPからはじめるコンピュータアーキテクチャ / From Scripts to Silicon: A Journey Through the Layers of Computing Hiroshima 2025 Edition
tomzoh
0
470
PHPからはじめるコンピュータアーキテクチャ / From Scripts to Silicon: A Journey Through the Layers of Computing
tomzoh
5
990
低レイヤを知りたいPHPerのためのCコンパイラ作成入門 完全版 / Building a C Compiler for PHPers Who Want to Dive into Low-Level Programming - Expanded
tomzoh
6
5k
Other Decks in Technology
See All in Technology
AI駆動開発を組織で促すために
lycorptech_jp
PRO
7
8.8k
Oracle AI Databaseデータベース・サービス: BaseDB/ExaDB-Dの可用性
oracle4engineer
PRO
1
970
[RSJ26] Flow as Flow: Modeling Robot Velocity Fields as Probability Velocity Fields
keio_smilab
PRO
0
130
Distributed Transactions Under Fire: Building a Zero-Oversell Flash Sale Platform with Amazon Aurora DSQL
yama3133
1
110
hookで自作する Claude Code の「実況ボード」
shinyasaita
2
240
AI × Datadog MCP でコスト削減まで実現した Metric Streams の導入
three_mouth_ago
0
110
LLMアプリ、 雰囲気で運用してませんか? 〜LLMOpsの現在地〜
taka_aki
1
580
カーネルまで探検して理解するふたつの自動計装
sumiyae
0
340
アクセスキーが漏れた日にやるべきこと- 無効化の先にある本当の対応
kazzpapa3
0
370
会計事務所と顧問先の契約関係をOIDC・OAuthで表現する
terara
0
520
Introduction to Sansan, inc / Sansan Global Development Center, Inc.
sansan33
PRO
0
3.2k
Digitization部 紹介資料
sansan33
PRO
2
7.8k
Featured
See All Featured
A better future with KSS
kneath
240
18k
Designing Experiences People Love
moore
143
24k
Large-scale JavaScript Application Architecture
addyosmani
515
110k
The Spectacular Lies of Maps
axbom
PRO
1
950
世界の人気アプリ100個を分析して見えたペイウォール設計の心得
akihiro_kokubo
PRO
74
42k
Producing Creativity
orderedlist
PRO
348
40k
How to Get Subject Matter Experts Bought In and Actively Contributing to SEO & PR Initiatives.
livdayseo
0
180
A Soul's Torment
seathinner
6
3.5k
Navigating the Design Leadership Dip - Product Design Week Design Leaders+ Conference 2024
apolaine
2
410
WCS-LA-2024
lcolladotor
0
810
We Analyzed 250 Million AI Search Results: Here's What I Found
joshbly
1
1.9k
Leadership Guide Workshop - DevTernity 2021
reverentgeek
1
350
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とは思えない確率で ひっくりかえった状態になる