time programming
play

Time & Programming @markhibberd Ticking away the moments that - PowerPoint PPT Presentation

Hanging on in Quiet Desperation: Time & Programming @markhibberd Ticking away the moments that make up a dull day. You fritter and waste the hours in an offhand way. And then one day you find ten years have got behind you. No one


  1. Hanging on in Quiet Desperation: Time & Programming @markhibberd

  2. “ Ticking away the moments that make up a dull day. You fritter and waste the hours in an offhand way. … And then one day you find ten years have got behind you. No one told you where to run, you missed the starting gun.” - Roger Waters

  3. Complexity.

  4. 1986.

  5. Complexity. Conformity. Changeability. Invisibility.

  6. 2006.

  7. 2011.

  8. Present Day.

  9. 1948.

  10. 1958-1963.

  11. The big idea.

  12. If we can reason about all the states of a system.

  13. And we can understand how each state is arrived at.

  14. We can make better decisions, and start to unwind the interdependencies and complexity caused by time and ordering.

  15. Present Day.

  16. 2004-2006.

  17. Disconnected networks.

  18. {dock:0 ,red:0 ,purple:0} {dock:0 ,red:0 ,purple:0} owner|id|item|count red |0 |x |99 {dock:0 red |1 |y |1 ,red:0 dock |2 |z |33 ,purple:0}

  19. {dock:0 ,red:7 ,purple:0} {dock:3 ,red:0 ,purple:0} {dock:0 ,red:0 ,purple:1}

  20. {dock:0 ,red:7 ,purple:1} {dock:5 ,red:0 ,purple:0} {dock:0 ,red:7 ,purple:1}

  21. {dock:0 ,red:7 ,purple:1} {dock:5 ,red:0 ,purple:0} {dock:3 ,red:7 ,purple:1}

  22. {dock:0 ,red:8 ,purple:1} {dock:7 ,red:7 ,purple:3} {dock:7 ,red:7 ,purple:3}

  23. {dock:7 ,red:8 ,purple:3} {dock:7 ,red:8 ,purple:3} {dock:7 ,red:8 ,purple:3}

  24. 2009-2010.

  25. The most complex system I ever worked on.

  26. A web API with 2 resources.

  27. POST /activate Call to activate a product, validate and register license details POST /check Check license and validate installation details.

  28. What could possibly go wrong?

  29. POST /activate POST /check

  30. POST /activate POST /check POST /check2007

  31. POST /activate?magik=true POST /check POST /check2007

  32. POST /activate?magik=true POST /check POST /activatev3 POST /check2007

  33. POST /activate?magik=true POST /check POST /activatev3 POST /check2007 POST /check9

  34. POST /activate?magik=true POST /check POST /activatev3 POST /check2007 POST /activate-new POST /check9

  35. POST /activate?magik=true POST /check POST /activatev3 POST /check2007 POST /activate-new?legacy=1 POST /check9

  36. POST /activate?magik=true POST /check POST /activatev3 POST /check2007 POST /activate-new?legacy=1 POST /check9

  37. POST /activate?magik=true POST /check POST /activatev3 POST /check2007 POST /activate-new?legacy=1 POST /check9

  38. POST /activate?magik=true POST /check POST /activatev3 POST /check2007 POST /activate-new?legacy=1 POST /check9

  39. POST /activate?magik=true POST /check POST /activatev3 POST /check2007 POST /activate-new?legacy=1 POST /check9

  40. From: https://stripe.com/blog/api-versioning

  41. 2013-2017.

  42. Full circle. A machine learning problem.

  43. We need to describe the world, now and in the past.

  44. cause( π )( α )

  45. at(I)(desk)

  46. at(I)(desk) at(desk)(home)

  47. at(I)(desk) at(desk)(home) ∴ at(I)(home)

  48. TX CUSTOMER ITEM AMOUNT TIMESTAMP 1 X0001 Pen $5 2016-08-01T12:24:13 2 X0001 Notepad $20 2017-01-01T02:19:01 3 X0002 Calculator $55 2015-01-01T09:55:21 4 X0003 Book $30 2017-07-01T15:34:53

  49. CUSTOMER LOCATION X0001 NY X0002 SINGAPORE X0003 HONG KONG X0004 SYDNEY X0005 SYDNEY

  50. CUSTOMER LOCATION TIMESTAMP X0001 NY 2016-08-01T00:00:00 X0002 SINGAPORE 2017-08-04T00:00:00 X0003 HONG KONG 2016-01-21T00:00:00 X0004 SYDNEY 2016-08-01T00:00:00 X0005 SYDNEY 2014-12-24T00:00:00

  51. CUSTOMER LOCATION TIMESTAMP X0001 NY 2016-08-01T00:00:00 X0002 SINGAPORE 2017-08-04T00:00:00 X0003 HONG KONG 2016-01-21T00:00:00 X0004 SYDNEY 2016-08-01T00:00:00 X0005 SYDNEY 2014-12-24T00:00:00 X0001 LONDON 2017-09-07T00:00:00

  52. What is in a time?

  53. World Time System Time

  54. When is this When did we fact valid? learn this fact?

  55. Intervals. X0001 NY 2016-08-01T00:00:00 X0001 LONDON 2017-09-07T00:00:00

  56. Instants. 1 X0001 Pen $5 2016-08-01T12:24:13

  57. Horizons. 1 X0001 Pen $5 2016-08-01T12:24:13

  58. Horizons. 1 X0001 Pen $5 1234

  59. 2013-2017.

  60. Operations as a system.

  61. This is complexity.

  62. Techniques!

  63. How does time impact the system?

  64. 2014.

  65. towards ann ɛ x

  66. Semantic versioning is not the whole story.

  67. Open world.

  68. Time matters.

  69. commit

  70. ci

  71. publish

  72. platform test

  73. production

  74. performance

  75. cve

  76. napoleon snowball boxer eminence

  77. boxer 1.2.1 commit: bd2f074…02 api-signature: […] feature: it-works artifact: tag: bin/boxer flags: […] address: e2f1…bc74

  78. :boxer :has :feature “multi-part-put” :has :commit “abcd-1345” :has :branch “master” :snowball :is :compatable-with atom/… :napoleon :semver >= 1.3 < 1.4 :no-cve +annex.example.com@HEAD

Recommend


More recommend