career advice for young grasshoppers
play

Career Advice For Young Grasshoppers (or I whish someone - PowerPoint PPT Presentation

www.applied-duality.com Career Advice For Young Grasshoppers (or I whish someone told me this 30 years ago) IOBservable<IObservable<Experience>> career


  1. www.applied-­‑duality.com ¡

  2. Career ¡Advice ¡For ¡Young ¡Grasshoppers ¡ (or ¡I ¡whish ¡someone ¡told ¡me ¡this ¡30 ¡years ¡ago) ¡

  3. IOBservable<IObservable<Experience>> ¡ career ¡ ¡ ¡= ¡life.Window(TimeSpan.FromYears(10)); ¡ architect ¡ child ¡ student ¡ teenager ¡ academic ¡ founder ¡

  4. Causality ¡ Mike ¡Lee's ¡"One ¡Minute" ¡Keynote ¡ Haskell ¡ Solve ¡ let's ¡not ¡ ¡talk ¡ Web ¡ the ¡real ¡ about ¡this ¡ programming ¡ problems ¡ architect ¡ child ¡ student ¡ teenager ¡ academic ¡ founder ¡ denota<onal ¡ C# ¡ seman<cs ¡ Play ¡ ¡ Rx, ¡Ix, ¡Ax ¡ category ¡theory ¡ Henk ¡Barendregt ¡on ¡Buddhism ¡

  5. Ideas ¡ ¡ you ¡ ¡ produce ¡ overflow ¡ What ¡ excep<on ¡ your ¡ environment ¡ can ¡absorb ¡

  6. Amount ¡ of ¡coding ¡ Amount ¡ of ¡mee<ngs ¡ fail ¡ succeed ¡

  7. VP ¡ $$$$$ ¡ partner ¡ principal ¡ senior ¡ Ability ¡ ¡ to ¡do ¡crazy ¡shit ¡ janitor ¡

  8. Data ¡ Compute ¡ Cloud ¡

  9. What ¡shall ¡we ¡falsify ¡today? ¡ Scien<fic ¡method ¡has ¡been ¡prac<ced ¡in ¡ some ¡form ¡for ¡at ¡least ¡one ¡thousand ¡years [4] ¡and ¡is ¡the ¡process ¡by ¡which ¡science ¡is ¡ carried ¡out. ¡Because ¡science ¡builds ¡on ¡ previous ¡knowledge, ¡it ¡consistently ¡ improves ¡our ¡understanding ¡of ¡the ¡world. ¡ The ¡scien<fic ¡method ¡also ¡improves ¡itself ¡ in ¡the ¡same ¡way, ¡meaning ¡that ¡it ¡gradually ¡ becomes ¡more ¡effec<ve ¡at ¡genera<ng ¡new ¡ knowledge. ¡For ¡example, ¡ the ¡concept ¡of ¡ falsifica<on ¡(first ¡proposed ¡in ¡1934) ¡ reduces ¡confirma<on ¡bias ¡by ¡formalizing ¡ the ¡aEempt ¡to ¡disprove ¡hypotheses ¡ Ibn ¡al-­‑Haytham ¡(Alhazen), ¡ ¡ rather ¡than ¡prove ¡them. ¡ 965–1039 ¡Iraq. ¡

  10. Does ¡your ¡data ¡really ¡look ¡like ¡this? ¡

  11. Modelers ¡ Developers ¡

  12. Modelers ¡== ¡Nouns ¡ DECLARE ¡ Customers ¡TABLE ¡ ¡ ¡(ID ¡int ¡PRIMARY ¡KEY, ¡…) ¡ DECLARE ¡ Orders ¡TABLE ¡ ¡ ¡(ID ¡int ¡PRIMARY ¡KEY, ¡CID ¡int ¡ REFERENCES ¡Customers(ID), ¡…) ¡ DECLARE ¡ LineItems ¡TABLE ¡ ¡ ¡(ID ¡int ¡PRIMARY ¡KEY, ¡OID ¡int ¡ REFERENCES ¡Orders(ID), ¡…) ¡

  13. No ¡abstrac*on ¡ ¡ Customers ¡ Orders ¡ Need ¡ in*mate ¡ knowledge ¡ to ¡do ¡joins ¡ Hard ¡to ¡get ¡a ¡single ¡ Sta*cally ¡typed ¡ value ¡ ¡ LineItem ¡

  14. "Declara*ve" ¡ SELECT ¡ ¡ ¡Customer, ¡ ¡ ¡LineItem.Category, ¡ ¡ ¡Sum(LineItem.Price) ¡ FROM ¡ ¡ ¡Customers, ¡Orders, ¡LineItems ¡ WHERE ¡ ¡ ¡Customers.ID ¡= ¡Orders.CID ¡ ¡ AND ¡ ¡ ¡Orders.ID ¡= ¡LineItems.OID ¡ GROUP ¡BY ¡ ¡ ¡LineItem.Category ¡

  15. "Declara*ve" ¡ WITH ¡RECURSIVE ¡temp ¡(n, ¡fact) ¡AS ¡ ¡ ¡(SELECT ¡0, ¡1 ¡ ¡ ¡ ¡ ¡UNION ¡ALL ¡ ¡ ¡ ¡ ¡SELECT ¡n+1, ¡(n+1)*fact ¡ ¡ ¡ ¡ ¡FROM ¡temp ¡ ¡ ¡ ¡WHERE ¡n ¡< ¡9) ¡ SELECT ¡* ¡FROM ¡temp; ¡

  16. No ¡recursion ¡(typically) ¡ Sta*c ¡ No ¡call ¡stack ¡ Dataflow ¡"engine" ¡

  17. Term Description A tomic ¡ Either ¡all ¡of ¡the ¡opera<ons ¡in ¡the ¡ transac<on ¡succeed ¡or ¡none ¡of ¡the ¡ opera<ons ¡persist. ¡ C onsistent ¡ If ¡the ¡data ¡are ¡consistent ¡before ¡the ¡ transac<on ¡begins, ¡then ¡they ¡will ¡be ¡ consistent ¡ader ¡the ¡transac<on ¡finishes. ¡ I solated ¡ The ¡effects ¡of ¡a ¡transac<on ¡that ¡is ¡in ¡ progress ¡are ¡hidden ¡from ¡all ¡other ¡ transac<ons. ¡ D urable ¡ When ¡a ¡transac<on ¡finishes, ¡its ¡results ¡are ¡ persistent ¡and ¡will ¡survive ¡a ¡system ¡crash. ¡

  18. SET ¡TRANSACTION ¡ISOLATION ¡LEVEL ¡ ¡ ¡ ¡ ¡{ ¡READ ¡UNCOMMITTED ¡ ¡ ¡ ¡ ¡| ¡READ ¡COMMITTED ¡ ¡ ¡ ¡ ¡| ¡REPEATABLE ¡READ ¡ ¡ ¡ ¡ ¡| ¡SNAPSHOT ¡ ¡ ¡ ¡ ¡| ¡SERIALIZABLE ¡ ¡ ¡ ¡ ¡} ¡

  19. The ¡ closed ¡world ¡ assump<on ¡is ¡the ¡ presump<on ¡that ¡what ¡is ¡ not ¡currently ¡known ¡to ¡ be ¡true ¡is ¡false. ¡ ¡

  20. The ¡fallacies ¡of ¡Distributed ¡ The ¡fallacies ¡of ¡Declara<ve ¡ Compu<ng ¡ Compu<ng ¡ 1. The ¡network ¡is ¡reliable. ¡ 1. Excep<ons ¡do ¡not ¡exist. ¡ 2. Latency ¡is ¡zero. ¡ 2. Sta<s<cs ¡are ¡precise. ¡ 3. Bandwidth ¡is ¡infinite. ¡ 3. Memory ¡is ¡infinite. ¡ 4. The ¡network ¡is ¡secure. ¡ 4. There ¡are ¡no ¡side-­‑effects. ¡ 5. Topology ¡doesn't ¡change. ¡ 5. Schema ¡doesn't ¡change. ¡ 6. There ¡is ¡one ¡administrator. ¡ 6. There ¡is ¡one ¡developer. ¡ 7. Transport ¡cost ¡is ¡zero. ¡ 7. Compila<on ¡<me ¡is ¡free. ¡ 8. The ¡network ¡is ¡homogeneous. ¡ 8. The ¡language ¡is ¡homogeneous. ¡

  21. A ¡RDMS ¡can ¡do ¡all ¡its ¡magic ¡ precisely ¡because ¡it ¡ assumes ¡a ¡closed ¡word! ¡

  22. Just ¡give ¡me ¡ ¡ your ¡B-­‑tree ¡ and ¡I'll ¡be ¡happy ¡ (leaky ¡abstrac<ons ¡are ¡a ¡GOOD ¡THING) ¡

  23. The ¡"real" ¡world ¡is ¡ open ¡

  24. The ¡opposite ¡of ¡the ¡ closed ¡world ¡assump<on ¡ is ¡the ¡ open ¡world ¡ assump<on , ¡sta<ng ¡that ¡ lack ¡of ¡knowledge ¡does ¡ not ¡imply ¡falsity. ¡

  25. Programming, ¡ Motherfucker ¡ Do ¡you ¡speak ¡it? ¡ hkp://programming-­‑motherfucker.com/ ¡

  26. ¡ ¡ Intermezzo ¡ (by ¡popular ¡demand) ¡

  27. Gumball ¡ lgebra ¡

  28. .Result ¡ Remove ¡

  29. Once ¡out, ¡Never ¡in ¡

  30. .Select( ¡ ¡ ¡ ¡ ¡) ¡

  31. Never ¡ underes<mate ¡ the ¡power ¡of ¡the ¡ magic ¡ pony ¡

  32. Franchise ¡

  33. .Select(…) ¡ .Franchise() ¡ ContinueWith ¡

  34. .ContinueWith() ¡

  35. Gumball ¡Machines ¡ are ¡comonads! ¡ S ¡ S ¡Result<S>( ¡ ¡ ¡xs) ¡ S ¡ T ¡ ¡ ¡ ¡ContinueWith<S,T>( ¡ ¡ ¡ ¡xs, ¡ ¡ S ¡ ¡ ¡ ¡ ¡Func< ¡ ¡ ¡ ¡,T> ¡continuation) ¡ ¡ ¡ ¡ ¡ ¡

  36. IEnumerable<S> ¡ Singleton <S>( ¡ ¡ ¡S ¡item) ¡ S ¡Result<S> ¡ Result ( ¡ ¡ ¡Task<T> ¡task) ¡ IEnumerable<T> ¡ SelectMany <S,T>( ¡ ¡ ¡IEnumerable<S> ¡src, ¡ ¡ ¡ ¡Func<S, ¡IEnumerable<T>> ¡selector) ¡ Task<T> ¡ ContinueWith <S,T>( ¡ ¡ ¡Task<S> ¡src, ¡ ¡ ¡ ¡Func<Task<S>, ¡T> ¡continuation) ¡

  37. End ¡of ¡Intermezzo ¡

  38. Developers ¡== ¡Verbs ¡ "Impera*ve" ¡ “… ¡ An ¡object ¡can ¡also ¡offer ¡simple-­‑to-­‑use, ¡standardized ¡ methods ¡for ¡performing ¡par<cular ¡opera<ons ¡on ¡its ¡ data, ¡while ¡concealing ¡the ¡specifics ¡of ¡how ¡those ¡tasks ¡ are ¡accomplished . ¡ In ¡this ¡way ¡altera0ons ¡can ¡be ¡made ¡ to ¡the ¡internal ¡structure ¡or ¡methods ¡of ¡an ¡object ¡without ¡ requiring ¡that ¡the ¡rest ¡of ¡the ¡program ¡be ¡modified .” ¡ "Abstrac*on" ¡

  39. Single-­‑core ¡ class ¡Dictionary<K,V> ¡ ¡ : ¡IDictionary<K,V> ¡ , ¡ICollection<KeyValuePair<K,V>> ¡ , ¡IEnumerable<KeyValuePair<K,V>> ¡ , ¡IDictionary ¡ , ¡ICollection ¡ , ¡IReadOnlyDictionary<K,V> ¡ , ¡IReadOnlyCollection<KeyValuePair<K,V>> ¡ , ¡IEnumerable ¡ , ¡Iserializable ¡ , ¡IDeserializationCallback ¡

Download Presentation
Download Policy: The content available on the website is offered to you 'AS IS' for your personal information and use only. It cannot be commercialized, licensed, or distributed on other websites without prior consent from the author. To download a presentation, simply click this link. If you encounter any difficulties during the download process, it's possible that the publisher has removed the file from their server.

Recommend


More recommend