Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Codemotion keynote - Bruce Lawson

Codemotion keynote - Bruce Lawson

Amsterdam 11 May 2016

6f3ec7315ad0715ae2a5f89a52877218?s=128

bruce lawson

May 11, 2016
Tweet

More Decks by bruce lawson

Other Decks in Technology

Transcript

  1. World-Wide Web not Wealthy Western Web Bruce Lawson AMSTERDAM 11-12

    MAY 2016
  2. World-Wide Web, not Wealthy Western Web Bruce Lawson, Opera Software

  3. Make the web better for… Consumers Business owners The next

    4 billion 4bn Developers
  4. ICT access by population Total 
 global population ~7.4 billion

    High-speed
 internet 1.1 billion Total 
 internet users 3.2 billion Mobile phones 5.2 billion Within mobile coverage 7 billion
  5. The world’s offline population Total 
 internet users 3.2 billion

    High-speed
 internet 1.1 billion India 1.063 billion Countries outside of the top 20 China 755 million Indonesia 213 million Pakistan 165 million Bangladesh 148 million Nigeria 111 million Brazil 98 million Ethiopia 95 million Mexico 70 million Congo, Dem. Rep. 68 million Philippines 63 million Russian Federation 55 million Iran, Islamic Rep. 54 million Myanmar 53 million Vietnam 52 million United States 51 million Tanzania 49 million Thailand 48 million Egypt, Arab Rep. 42 million Turkey 41 million
  6. WHERE WILL YOUR NEXT COSTUMERS COME FROM?

  7. None
  8. None
  9. None
  10. None
  11. None
  12. None
  13. Jon Hicks’ map

  14. None
  15. ▪ Black Friday + Cyber Monday: $2.9 Bn ▪ Double

    11 Day: $9.2 Bn Sources: Nanjing Marketing Group, Q4 2014 Ecommerce (top sales day)
  16. Total online retail spending in China reached $307 billion in

    2013 and is forecast to grow at a compound annual rate of nearly 20% until 2019, when it should exceed $1 trillion. “ $1 trillion by 2019 - China Online Retail Forecast Forrester
  17. None
  18. in Indonesia 75% of users are on older 2G, or

    GSM/ EDGE, networks, and the nation’s geography (it is made up of thousands of islands) presents additional challenges… more than half of Indonesian smartphone users said they experienced network problems daily. “ Indonesia - Measuring and improving network performance Ericsson, September 2014
  19. None
  20. in 1993, Bangladesh became the first South Asian country to

    adopt cellular technology … household ownership of at least 1 working mobile phone grew from 29.85% in [2008] to 56.07% in [2011]. “ - Johns Hopkins Bloomberg School of Public Health Feb 2015
  21. None
  22. Five years ago, buying a cell phone SIM card in

    Myanmar could set you back more than $2,000… In August [2014], Qatar’s Ooredoo began selling data-enabled cards with a 3G connection for $1.50. “ SIM: was $2,000 now $1.50 - When a SIM Card Goes From $2,000 to $1.50 Bloomberg (29 Sept '14)
  23. None
  24. we expect the number of Internet users to at least

    double, from 190 million in 2014 to 400 million in 2018 … We expect the Internet to contribute $200 billion to India’s GDP (5% of total GDP) by 2020. “ - Boston Consulting Group (BCG), 23 April 2015
  25. WHAT DO THESE NATIONS HAVE IN COMMON?

  26. 56% in emerging economies saw themselves first and foremost as

    global citizens rather than national citizens. In Nigeria (73%), China (71%), Peru (70%) and India (67%) the data is particularly marked. “ - Globescan poll for BBC, April 2016
  27. http://www.bbc.com/news/world-36139904

  28. None
  29. 1. google.com 2. facebook.com 3. youtube.com 4. wikipedia.org 5. yahoo.com

    Top domains: USA 6. twitter.com 7. wellhello.com 8. addthis.com 9. wordpress.com 10. apple.com
  30. 1. Apple iPhone 2. Apple iPad 3. Samsung Galaxy S

    Duos 2 4. Samsung Galaxy S3 5. Samsung Galaxy Grand Prime Top handsets: USA 6. Samsung Galaxy Grand Neo Plus 7. Samsung Galaxy grand Neo GT 8. Nokia Asha 201 9. Samsung Galaxy Note III 10.TracFone LG 306G
  31. 1. facebook.com 2. google.com 3. google.co.id 4. wordpress.com 5. youtube.com

    Top domains: Indonesia 6. blogspot.co.id 7. wikipedia.org 8. indosat.com 9. liputan6.com 10. xl.co.id
  32. 1. Nokia X201 2. Nokia Asha 210 3. Nokia C3-00

    4. Generic WAP 5. Nokia Asha 205.1 Top handsets: Indonesia 6. Samsung Galaxy V SM-G313HZ 7. Nokia 215 8. Nokia X2-02 9. Samsung GTS5260 Star 2 10. Nokia 5130 XpressMusic
  33. 1. google.com.ng 2. facebook.com 3. google.com 4. naij.com 5. youtube.com

    Top domains: Nigeria 6. bbc.com 7. opera.com 8. wikipedia.org 9. goal.com 10. waptrick.com
  34. 1. Nokia Asha 200 2. Nokia Asha 210 3. Nokia

    X2-01 4. Nokia C3-00 5. TECNO P5 Top handsets: Nigeria 6. Nokia Asha 205 7. Nokia Asha 201 8. TECNO M3 9. Infinix Hot Note X551 10. Infinix Hot 2 X510
  35. SUPPLY-SIDE IMPROVEMENTS

  36. Making the web work on lower-spec devices

  37. Progressive Web Apps ▪ “install” to the home screen ▪

    have their own icon (defined by the web developer) ▪ can launch full-screen, portrait or landscape ▪ but “live” on the Web
  38. Most installed apps are not used often. The average app

    user has 36 apps installed on his or her smartphone. Only one in four of those apps are used daily, while 1 in 4 apps are never used. “ Native Apps take up space - How Consumers Really Find and Use Your Apps (Google research, May 2015)
  39. None
  40. Downloading a typical app with 20 MB APK can take

    more than 30 minutes on a 2G network, and the download is likely to fail before completion, due to the flaky nature of the network. “ - How we built Facebook Lite for every Android phone and network
  41. 
 
 With space this limited, the user is comparing

    their personal photo collection with the adoption of a new app on their phone. “ - Mobile App Developers Are Suffering
  42. Africa: mobile phone use

  43. we didn’t stand a chance as we were fighting with

    both our competitors and other apps for a few more MB of room inside people’s phones. “ Birdly - Why you shouldn’t bother creating a mobile app
  44. Manifest file stores metadata for your web app: icons, description,

    colors, and related info that lets browsers create high-quality experiences for the launcher icon, task switcher, and splash screen.
  45. <link rel="manifest" href="/manifest.json"> all in the <head>

  46. { "name": "Simple web app demo", "short_name": "Demo", "icons": [

    { "src": "icon-medium.png", "sizes": "96x96" },{ "src": "icon-large.png", "sizes": "192x192" } ], "theme_color": "#3F51B5", "background_color": "#F5F5F5", "display": "standalone", "orientation": "portrait", "start_url": "/simple-demo/?home=true" }
  47. STARTING A PWA

  48. None
  49. { "name": "Simple web app demo", "short_name": "Demo", "icons": [

    { "src": "icon-medium.png", "sizes": "96x96" },{ "src": "icon-large.png", "sizes": "192x192" } ], "theme_color": "#3F51B5", "background_color": "#F5F5F5", "display": "fullscreen", "orientation": "portrait", "start_url": "/simple-demo/?home=true" }
  50. { "name": "Air Horner", "short_name": "Air Horner", "icons": [ {

    "src": "icon-medium.png", "sizes": "96x96" },{ "src": "icon-large.png", "sizes": "192x192" } ], "theme_color": "#2196F3", "background_color": "#2196F3", "display": "fullscreen", "orientation": "portrait", "start_url": "/?home=true" }
  51. { "name": "Simple web app demo", "short_name": "Demo", "icons": [

    { "src": "icon-medium.png", "sizes": "96x96" },{ "src": "icon-large.png", "sizes": "192x192" } ], "theme_color": "#990000", "background_color": "#DFCFAF", "display": "fullscreen", "orientation": "landscape", "start_url": "/inbox-attack/?home=true" } https://andreasbovens.github.io/inbox-attack/
  52. Tools Manifest Generator http://brucelawson.github.io/manifest/ 
 Manifest validator manifest-validator.appspot.com
 List of

    PWAs pwa.rocks
  53. { "name": "Simple web app demo", "short_name": "Demo", "icons": [

    { "src": "icon-medium.png", "sizes": "96x96" },{ "src": "icon-large.png", "sizes": "192x192" } ], "theme_color": "#3F51B5", "background_color": "#F5F5F5", "display": "standalone", "orientation": "portrait", "start_url": "/simple-demo/?home=true" }
  54. Flipkart Lite ▪ 40% returning visitors week over week
 ▪

    +63% conversions from Home screen visits
 ▪ 3x time spent on FlipKart Lite
  55. We want Flipkart Lite available on every phone over every

    flaky network in India “ Engagement + Reach - Amar Nagaram (Flipkart engineering)
  56. Progressive Web Apps ▪ live on the server so no

    update distribution lag
 ▪ require no app store or gatekeeper
 ▪ are a normal website on browsers such as Opera Mini, Safari, Windows phones
 ▪ searchable, indexable, linkable
 ▪ can work offline
  57. None
  58. None
  59. None
  60. Also with Service Worker ▪ Push Notifications
 ▪ Background Sync

  61. None
  62. None
  63. Responsive images

  64. None
  65. ▪ <picture> ▪ srcset attribute ▪ x descriptor ▪ w

    descriptor ▪ sizes attribute Video, tutorials New HTML thingies
  66. Average Bytes per Page by Content Type Total 2296 kB

    Stylesheets 76 kB HTML 66 kB Images 1,457 kB Other 4 kB Video 203 kB Fonts 126 kB Scripts 358 kB Data: httparchive.org, 15 April 2016 (Alexa Top 1,000,000 Sites)
  67. Citizens of rich nations pay on average just 1- 2%

    of their monthly income to connect. In the 51 countries we analysed … the price for an entry-level mobile broadband package hovers at just above 10% of monthly incomes. “ Affordability of access - The Affordability Report, 2014
  68. 500MB data: hours worked

  69. NETWORK PROBLEMS

  70. WHAT ARE PROXY BROWSERS?

  71. None
  72. None
  73. Meet Thor

  74. Stop! Hammer Time

  75. ad-blocking

  76. Opera Mini consumes on an average 14% less battery and

    89% less data when compared to other mobile browsers. “ Testing in India - Cigniti Technologies (Chrome, UC browser, CM browser and UC Mini on WiFi, 2G and 3G networks in India, March April 2015)
  77. A third of Indian citizens, especially in the rural parts

    of the country remains without power, as does 6% of the urban population. During peak hours the shortage was 9.8 percent. “ Battery life matters - Federation of Indian Chambers of Commerce & Industry (2012)
  78. Nearly 30 per cent of our annual smartphone unit sales

    have power banks bundled in," said Alok Gupta, managing director and chief executive of The Mobile Store, India's largest cellphone retailer. "Two years ago, less than 1 per cent of our annual smartphone sales had power banks bundled in." “ Battery life matters 2 - Business Insider (October 2015)
  79. 120k transactions/second 23 PB last month

  80. Approximately 600 million times per second, particles collide within the

    Large Hadron Collider (LHC)…Electronic circuits record the passage of each particle …and send the data to the CERN Data Centre… Physicists must sift through the 30 petabytes or so of data produced annually. “ - CERN computing
  81. None
  82. None
  83. None
  84. In India, only 96k of the 736k cell towers are

    3G enabled, but more critically, only 35k of those towers have a fiber optic connection to the backbone, which results in inconsistent connection. “ Single connection - India's mobile Internet: The revolution has begun Avdendus (2013)
  85. None
  86. Design considerations for developing markets

  87. None
  88. None
  89. None
  90. Tech constraints for lower- spec markets

  91. Everything happens on the server ▪ Everything needs user interaction

    ▪ Everything needs a server roundtrip ▪ JS on page load runs for 5 seconds ▪ JS-only APIs do NOT work More: Opera Mini and JavaScript.
  92. Design won't always be preserved ▪ No CSS rounded corners

    or gradients ▪ Animations (CSS/ SVG) show only first frame ▪ No web fonts ▪ Don't use icon fonts; use SVG Make SVG icons (even more!) responsive.
  93. None
  94. None
  95. we've launched our first Holy Grail app into production! …

    It looks exactly the same as the app it replaced, however initial pageload feels drastically quicker “ Holy Grail App - AirBnB
  96. because we serve up real HTML instead of waiting for

    the client to download JavaScript before rendering. Plus, it is fully crawlable by search engines. … It feels 5x faster. “ Holy Grail App #2 - AirBnB
  97. Rise of The Smartphones

  98. India emerged as the world's third largest smartphone market after

    the U.S. and China. Total smartphone shipments are expected to increase to reach more than 150 million units in 2018. “ - Busiess Korea (8 May '15)
  99. Smartphone shipments to the Middle East and Africa saw unprecedented

    year-on-year growth of 83% in 2014… Feature phones have been hit hard … with shipments down 4.5% year on year in 2014. “ - International Data Corporation (IDC) (26 Apr '15)
  100. None
  101. Bruce’s law of Smartness™

  102. None
  103. 91.7% live within range of a 2G network. At less

    than a quarter the speed of a 56K dialup modem, 2G/ GSM (9.6 KBPS) is insufficient for practical use of the internet. 48.7% live within range of a 3G mobile network. “ Infrastructure - State of Connectivity 2014 internet.org
  104. Opera Mini: modes ▪ High mode: WebView (≈ 50% compression)


    ▪ Extreme mode: Server (up to 90% compression)
 ▪ iOS defaults to High mode
 ▪ Android defaults to Extreme mode (except Poland, USA, Sweden, Norway, Russia and Germany, which default to High)
 ▪ WindowsPhone, Feature Phones: Extreme mode only
  105. DEMAND-SIDE PROBLEMS

  106. None
  107. Smartphone growth? ▪ Global smartphone shipments fell 3 percent annually

    from 345.0 million units in Q1 2015 to 334.6 million in Q1 2016. Strategy Analytics (28 April 2016) ▪ According to IDC, the market grew by 0.2 per cent year-on-year to 334.9 million units, marking “the smallest ever year-on-year growth on record”. Mobile World Live, 28 April 2016
  108. None
  109. In Africa, 7 in 10 people who do not use

    the internet say they just don’t know how to use it, and almost 4 in 10 say they do not know what the internet is. 
 In high-income Poland and the Slovak Republic, one- fifth of adults cannot use a computer. “ Africa: digital illiteracy web? - World Bank
  110. 41% do not use the internet at all, 53% do

    not have broadband access at home, and 23% do not use cell phones. “ American seniors - Older Adults and Technology Use (Pew Research Centre, April 2014)
  111. None
  112. Video by ClubInternet, Pakistan. 
 Used by kind permission. http://clubinternet.co/

    https://vimeo.com/116787124
  113. None
  114. None
  115. None
  116. Developing countries are home to 94% of the global offline

    population. “ - State of Connectivity 2014, internet.org
  117. Digital Divide: Africa 2011-12 Individuals who use the internet (%)

    0 5 10 15 20 25 Bottom Upper
 40% 60% Mature Young
 (45+) (15-24) Rural Urban Women Men
 Gender Location Age Income distribution
 (household)
  118. Rural mobile internet users grew by a staggering 93% between

    December 2014-Dec 2015, yet only nine per cent of the hinterland has access to the technology. In comparison, 53% of urban areas had mobile internet connectivity and grew at 71% during the same period. “ Digital Divide (India) - Times of India, 3 Feb 1016
  119. Making the internet universally accessible and affordable should be a

    global priority. “ World Bank
  120. In Nigeria, the data needed to watch just 2 minutes

    of online video a day can cost more than sending a child to school for a month. “ Nigeria - How To Make Internet Affordable
  121. Digital products are taxed as luxury goods Import tariffs (%)

    0 5 10 15 20 C uba C am bodia Argentina Brazil C am eroon C entral 
 African R ep. C had C ongo, D em . 
 R ep. G abon Liberia Belarus M adagascar Sam oa M ozam bique C hile Computers Laptops Computers and laptops
  122. Digital products are taxed as luxury goods Import tariffs (%)

    0 5 10 15 20 25 30 35 Fiji Pakistan Sam oa D om inican 
 R epublic C abo Verde Bangladesh Zim babw e Antigua and
 Barbuda Barbados Belize D om inica G renada G uyana Jam aica Mobile phones Mobile phones
  123. None
  124. • Settle on fair and transparent ICT taxes. • Get

    governments and donors to step up efforts. • Agree on “affordability”: 1 GB for 2% • Invest in public access solutions. • Make getting women online a top priority. Fast Africa
  125. Online work can prove particularly beneficial for women, youth, older

    workers, and the disabled, who may prefer the flexibility of working from home or working flexible hours. “ Online work
  126. Women 25% Men 75% Total nonagricultural employment Women 44% Men

    56% Online work (Elance) Web empowers women
  127. Online work: Most important advantages Able to earn extra money

    Friends and family do not 
 understand what I am doing Able to work from home 
 and work flexible hours Reduce time and 
 cost for job search Provide access to the 
 job market which 
 was limited before Higher chances of 
 getting a job that matches 
 my skills and interests 0 10 20 30 40 50 Men Women Percent of respondents
  128. Online work: Most important disadvantages Payment is not 
 good

    enough Friends and family 
 do not understand 
 what I am doing Do not have any 
 social benefits Require access to an 
 online payment system Require access to internet Require internet and 
 computer skills The job is temporary, 
 and it is not for a 
 long-term career 0 10 20 30 40 Men Women Percent of respondents
  129. The government of the Indian state of Kerala set up

    the Kudumbashree project to outsource information technology services to cooperatives of women from poor families; 90 percent of the women had not previously worked outside the home. “ “Prosperity of the family”
  130. Access to the internet is critical, but not sufficient “

    World Bank:
  131. the full benefits of the information and communications transformation will

    not be realized unless countries continue to improve their business climate, invest in people’s education and health, and promote good governance. “
  132. an increase in Internet maturity similar to the one experienced

    in mature countries over the past 5 years creates an increase in real GDP per capita of $500 on average during this period. “ Internet matters - The Net’s sweeping impact on growth, jobs, and prosperity (McKinsey Global Institute)
  133. It took the Industrial Revolution of the 19th century 50

    years to produce the same result. “ Internet matters - The Net’s sweeping impact on growth, jobs, and prosperity (McKinsey Global Institute)
  134. brucel@opera.com opera.com/developer brucelawson.co.uk @brucel

  135. Resources ▪ Population forecast video by Hans Rosling (raw data

    from United Nations) ▪ More than half of humanity lives within this circle (Washington Post)) ▪ Hours worked for 500MB data plan ▪ By 2011, 56% of Bangladeshi households had access to a mobile phone ▪ Indonesia: social media capital of the world Indonesia #3 nation on Twitter, #4 on Facebook ▪ Myanmar: When a SIM Card Goes From $2,000 to $1.50 ▪ Population and GDP figures from CIA World Fact Book ▪ Stats on page size/ images ratio from httparchive.org ▪ Opera’s work to reduce Chromium’s memory use ▪ Opera signs licensing agreement with Microsoft ▪ Average app user has 36 apps on smartphone. 25% used daily (social/ comms/ gaming); 25% never used. Goo gle, May 2015. PDF ▪ Fast Africa: How Do We Get FAST Internet? (Policy Advice)
  136. Thanks ▪ Me by HTML sign in Tokyo by Doug

    Schepers (@shepazu), used with permission. All rights reserved. ▪ World Development Report 2016: Digital Dividends ▪ “Is Google usable” video - clubinternet.co; used with permission. All rights reserved. https://vimeo.com/116787124 ▪ Opera's Blink commits cake photographed by Andreas Bovens. All rights reserved. ▪ Opera Mini and Angular by Jeremy Keith. All rights reserved. ▪ Overloaded truck, monks buying phones, packed tuk-tuk, Bangkok cables - Bruce Lawson. All rights reserved. ▪ Putri photo used with Putri's permission; all rights reserved. ▪ Proxy browser market share graph by Scentia Mobile, used with permission. http://data.wurfl.io/MOVR/ pdf/2016_q1/MOVR_2016_q1.pdf
  137. Maps ▪ True size of Africa by Kai Krause (Public

    Domain) ▪ Map of Indonesia Single Color by FreeVectorMaps.com ▪ Map of India Single Color by FreeVectorMaps.com ▪ Map of Bangladesh Single Color by FreeVectorMaps.com ▪ Map of Myanmar Single Color by FreeVectorMaps.com ▪ Map of China Single Color by FreeVectorMaps.com ▪ Map of Africa Single Color by FreeVectorMaps.com ▪ Map of Asia Single Color by FreeVectorMaps.com