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
310
Bug Requests & Pull Reports
rodreegez
2
140
Other Decks in Business
See All in Business
G.U.Group 会社紹介資料
gugroup
0
270
コーチ・エィ_会社紹介資料
coacha
1
940
Startup CTO of the year 2024 株式会社ハイヤールー
kkosukeee
0
3.5k
パーキング・チケット 発給設備のキャッシュレス化
tokyo_metropolitan_gov_digital_hr
0
260
20241027.jjug_ccc_creditsaison.pdf
lalha
4
2.5k
サスメド株式会社 Culture Deck
susmed
0
36k
kintoneを活用した緊急通行車両確認手続の迅速化
tokyo_metropolitan_gov_digital_hr
0
390
GovTech Express
botexpress
1
190
DeFimans 会社紹介資料 Company Deck
defimans
0
210
もしドラッカーがアジャイルコーチになったら / If Drucker Were an Agile Coach
fkino
2
410
Recruiting Deck_株式会社HACHI
hachi_hiring
1
530
ARI会社説明
arisaiyou
0
4.2k
Featured
See All Featured
The World Runs on Bad Software
bkeepers
PRO
65
11k
Performance Is Good for Brains [We Love Speed 2024]
tammyeverts
6
410
How to train your dragon (web standard)
notwaldorf
88
5.7k
Principles of Awesome APIs and How to Build Them.
keavy
126
17k
Music & Morning Musume
bryan
46
6.2k
Responsive Adventures: Dirty Tricks From The Dark Corners of Front-End
smashingmag
250
21k
Done Done
chrislema
181
16k
Unsuck your backbone
ammeep
668
57k
CoffeeScript is Beautiful & I Never Want to Write Plain JavaScript Again
sstephenson
159
15k
Teambox: Starting and Learning
jrom
133
8.8k
5 minutes of I Can Smell Your CMS
philhawksworth
202
19k
Happy Clients
brianwarren
98
6.7k
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