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
45
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
110
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
300
Bug Requests & Pull Reports
rodreegez
2
140
Other Decks in Business
See All in Business
公開版_モノ売りからコト売りへ 製造業が向き合うビジネスとアジャイル
junki
1
470
株式会社Another works 採用資料
anotherworks
2
7.4k
ZEROFIELD会社紹介
zerofield
0
250
VISASQ: ABOUT US
eikohashiba
15
450k
立案決定文化の中でのスクラムは全然価値見出せないよって話
masamichisato
1
250
crage 全職種共通募集要項
crage
0
53k
株式会社スピークバディ 会社紹介資料
speakbuddy
1
210k
コーポレートストーリー(新規投資家様向け会社説明資料)
gatechnologies
1
8.2k
enechain company deck
enechain
PRO
6
85k
イークラウド会社紹介 ~ひとりひとりの想いをつなぎ、挑戦に力を~
ecrowd
1
1.9k
株式会社CloudSoft 会社説明資料
csmatsushita
0
440
Company Introduction Slides
recruiting
0
920
Featured
See All Featured
[RailsConf 2023 Opening Keynote] The Magic of Rails
eileencodes
28
8.9k
I Don’t Have Time: Getting Over the Fear to Launch Your Podcast
jcasabona
26
1.9k
GitHub's CSS Performance
jonrohan
1030
450k
RailsConf & Balkan Ruby 2019: The Past, Present, and Future of Rails at GitHub
eileencodes
131
32k
The Straight Up "How To Draw Better" Workshop
denniskardys
230
130k
Build your cross-platform service in a week with App Engine
jlugia
228
18k
Creatively Recalculating Your Daily Design Routine
revolveconf
215
12k
Docker and Python
trallard
39
3k
How GitHub Uses GitHub to Build GitHub
holman
472
290k
Save Time (by Creating Custom Rails Generators)
garrettdimon
PRO
24
610
jQuery: Nuts, Bolts and Bling
dougneiner
61
7.4k
The Art of Programming - Codeland 2020
erikaheidi
48
13k
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