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
Spinning out DeskBeers
Search
rodreegez
January 28, 2016
Business
0
46
Spinning out DeskBeers
A talk given at Monki Gras 2016
rodreegez
January 28, 2016
Tweet
Share
More Decks by rodreegez
See All by rodreegez
How to win Designers and influence Developers - MagmaConf 2014 edition
rodreegez
0
120
How To Win Designers And Influence Developers
rodreegez
2
330
DAFT - Deploy All the F*ing Time
rodreegez
0
250
Bug Requests & Pull Reports 2.0
rodreegez
1
310
Bug Requests & Pull Reports
rodreegez
2
140
Other Decks in Business
See All in Business
【Marvel株式会社】Corporate Profile
00marvel
0
2.6k
Ampersand Company Profile
cuebicventures
PRO
0
520
【BRANU】若年層の建設業界への就職意識調査資料
branu
PRO
0
150
UIL広島駅前 利用検討者への事業所紹介
ymtyhka7o4o8
0
370
(7枚)具体と抽象の往復運動ができる上司と部下との4つの組合せ
nyattx
PRO
3
1.3k
デジタルで創れ!未来の東京消防庁
tokyo_metropolitan_gov_digital_hr
1
330
なぜ施策優先度を意思決定しなければならないのか? 経験から得た要因と対策
mkitahara01985
2
270
202412_CultureDeck
todoker
1
190
経験やセンスに頼らずに成果を出すためのチームマネジメント実践ガイド / Team Management Without Relying on Experience or Intuition
happy_imafuku
5
11k
WED Company Guide
wed
2
44k
【After】サービス紹介資料③_HP掲載用
redeslide
0
540
The AI-savvy operating model - Matthew Skelton, Conflux - Agile to Agility conference
matthewskelton
PRO
2
200
Featured
See All Featured
We Have a Design System, Now What?
morganepeng
51
7.3k
Done Done
chrislema
182
16k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Six Lessons from altMBA
skipperchong
27
3.5k
How To Stay Up To Date on Web Technology
chriscoyier
789
250k
Statistics for Hackers
jakevdp
796
220k
Embracing the Ebb and Flow
colly
84
4.5k
A designer walks into a library…
pauljervisheath
205
24k
GraphQLとの向き合い方2022年版
quramy
44
13k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
132
33k
XXLCSS - How to scale CSS and keep your sanity
sugarenia
248
1.3M
Building a Scalable Design System with Sketch
lauravandoore
460
33k
Transcript
SPINNING OUT
SPINNING OUT
DESKBEERS BEGAN AS A SIDE-PROJECT OF MINT BACK IN
NOV. 2013
SIMPLE PREMISE: DELIVER CRAFT BEER TO OFFICES.
AFTER A LITTLE OVER A YEAR, WE DECIDED WE HAD
A VIABLE BUSINESS.
MVP BUILT AND PROVEN.
100+ CUSTOMERS.
NON-TRIVIAL REVENUE.
CLEAR ROADMAP.
GRAND AMBITION.
WE DECIDED TO “SPIN OUT”.
IN MARCH 2015, WE COMPLETED A SEED ROUND VIA CROWDFUNDING.
DESKBEERS THE SIDE PROJECT BECAME DESKBEERS LTD.
SO FAR SO GOOD. WHAT NEXT?
A FINITE AMOUNT OF CASH IN THE BANK.
2 FULL-TIME EMPLOYEES.
OPERATION: DON’T GO BROKE.
USE COMPUTERS TO DO THINGS.
HOW DO WE MAKE SURE WE GET IT RIGHT?
DO THE WORK.
SPOT THE PATTERN.
WRITE THE CODE.
AN EXAMPLE:
EVERY WEEK WE BUY BEER FOR THE FOLLOWING WEEK.
DIFFERENT BREWERIES.
DIFFERENT QUANTITIES.
THINGS DON’T ALWAYS GO ACCORDING TO PLAN.
WHEN WE DON'T HAVE ENOUGH OF THIS WEEK’S BEER…
…IF WE’VE GOT ANY BEER IN STOCK, SEND THAT TO
NEW CUSTOMERS FIRST…
…AND / OR SEND EXISTING CUSTOMERS NEXT WEEK’S BEER.
EVERY WEEK WE DEAL WITH SOME VERSION OF THIS.
CAN GENERALLY BE SOLVED IN THE SAME WAY.
POTENTIAL BOXES = BOXES IN STOCK - CUSTOMER’S HISTORY
THIS IS A FORMULA…
…THAT CAN BE WRITTEN DOWN AS CODE…
…AND RUN AUTOMATICALLY.
“FOR EACH DESIRED CHANGE, MAKE THE CHANGE EASY (WARNING: THIS
MAY BE HARD), THEN MAKE THE EASY CHANGE” - @KENTBECK
WE NEED:
THE CONCEPT OF A “BOX”…
…THAT CAN BE APPLIED TO AN ORDER…
…THAT KNOWS ABOUT THE BEERS INSIDE IT…
…HOW MANY ARE IN STOCK…
…AND HOW LONG WE’VE HAD THEM.
potential_boxes = (boxes_in_stock - customer_history) chosen = potential_boxes.reject do |c|
c.quantity < @order.box_count end.first if chosen.present? @order.update_attribute(:box, chosen) chosen.decrement_quantity(@order.box_count) end
CREATING BOXES, STOCK MANAGEMENT & A BEER CMS WAS NOT
SO EASY.
CREATING A BOX- PICKING ALGORITHM AFTERWARDS WAS EASY.
IN ORDER TO “MAKE THE CHANGE EASY” WE HAD TO
REALLY UNDERSTAND THE PROBLEM.
AND FIND A LEVEL OF ABSTRACTION WE ARE CONFIDENT MAKES
SENSE.
THE WRONG ABSTRACTION IS FAR MORE DAMAGING THAN NO ABSTRACTION
AT ALL. - @SANDIMETZ
NOW WE HAVE A SIMPLE, EXTENDABLE, ROBUST SYSTEM FOR FUTURE
DEVELOPMENT.
PREFERENCES, RATINGS, MACHINE LEARNING? AI?
DO THE WORK
SPOT THE PATTERN
WRITE THE CODE
AUTOMATING THINGS IS OUR JOB.
THAT IS WHAT MAKES DESKBEERS A VIABLE BUSINESS…
…PROVIDE EXCELLENT CUSTOMER SERVICE…
…FIND F$*?ING GREAT BEER…
…DEVELOP NEW FEATURES…
…ACQUIRE NEW CUSTOMERS.
WHAT ELSE CAN WE AUTOMATE?
BOOKING DELIVERIES.
NOTIFYING CUSTOMERS.
ORDERING SUPPLIES.
ANYTHING ELSE WE SPEND TIME DOING.
DO THE WORK
SPOT THE PATTERN
WRITE THE CODE
CHEERS
@RODREEGEZ
None